Specifications

Switch Protection
ExtremeWare XOS 11.0 Concepts Guide 163
Policy Examples
The following sections contain examples of policies. The examples are:
Translating an access profile to a policy on page 163
Translating a route map to a policy on page 164
Translating an access profile to a policy. You may be more familiar with using access profiles on
other Extreme Networks switches. This example shows the policy equivalent to an ExtremeWare access
profile.
ExtremeWare Access-Profile:
Seq_No Action IP Address IP Mask Exact
5 permit 22.16.0.0 255.252.0.0 No
10 permit 192.168.0.0 255.255.192.0 Yes
15 deny any 255.0.0.0 No
20 permit 10.10.0.0 255.255.192.0 No
25 deny 22.44.66.0 255.255.254.0 Yes
Equivalent ExtremeWare XOS policy map definition:
entry entry-5 {
If {
nlri 22.16.0.0/14;
}
then {
permit;
}
}
entry entry-10 {
if {
nlri 192.168.0.0/18 exact;
}
then {
permit;
}
}
entry entry-15 {
if {
nlri any/8;
}
then {
deny;
}
}
entry entry-20 {
if {
nlri 10.10.0.0/18;
}
then {
permit;