Routing Policies
ExtremeWare XOS 11.1 Concepts Guide
195
Policy Examples
The following sections contain examples of policies. The examples are:
●
Translating an access profile to a policy on page 195
●
Translating a route map to a policy on page 197
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.
community [add | delete] [no-advertise | no-export |
no-export-subconfed | <community_num>
{<community_num1> <community_num2> ….
<community_numN>} | <as_num> :
<community_num> {<as_num1>
<community_num1> <as_num2>
<community_num2> ….}];
Adds/deletes communities to/from a route's community
attribute. Communities must be enclosed in double quotes
("").
community remove;
Strips off the entire community attribute from a route.
Communities must be enclosed in double quotes ("").
cost <cost(0-4261412864)>;
Sets the cost/metric for a route.
cost-type {ase-type-1 | ase-type-2 | external |
internal};
Sets the cost type for a route.
dampening half-life <minutes (1-45)> reuse-limit
<number (1-20000)> suppress-limit <number (1-
20000)> max-suppress <minutes (1-255)>;
Sets the BGP route flap dampening parameters.
deny;
Denies the route.
local-preference <number>;
Sets the BGP local preference for a route.
med {add | delete} <number>;
Performs MED arithmetic. Add means the value of the
MED in the route will be incremented by <number>, and
delete means the value of the MED in the route will be
decremented by <number>.
med {internal | remove};
Internal means that the Interior Gateway Protocol (IGP)
distance to the next hop will be taken as the MED for a
route. Remove means take out the MED attribute from the
route.
med set <number>;
Sets the MED attribute for a route.
next-hop <ipaddress>;
Sets the next hop attribute for a route.
nlri [<ipaddress> | any]/<mask-length> {exact};
nlri [<ipaddress> | any] mask <mask> {exact};
These set statements are used for building a list of IP
addresses. This is used by PIM to set up the RP list.
origin {igp | egp | incomplete};
Sets the BGP route origin values.
permit;
Permits the route.
tag <number>;
Sets the tag number for a route.
weight <number>
Sets the weight for a route.
Table 29: Policy actions (Continued)
Action
Description
Содержание ExtremeWare XOS 11.1
Страница 16: ...Contents ExtremeWare XOS 11 1 Concepts Guide 16...
Страница 20: ...Preface ExtremeWare XOS 11 1 Concepts Guide 20...
Страница 21: ...1 Using ExtremeWare XOS...
Страница 22: ......
Страница 78: ...Managing the ExtremeWare XOS Software ExtremeWare XOS 11 1 Concepts Guide 78...
Страница 168: ...Virtual LANs ExtremeWare XOS 11 1 Concepts Guide 168...
Страница 200: ...Policies and ACLs ExtremeWare XOS 11 1 Concepts Guide 200...
Страница 252: ...Security ExtremeWare XOS 11 1 Concepts Guide 252...
Страница 265: ...2 Using Switching and Routing Protocols...
Страница 266: ......
Страница 294: ...Ethernet Automatic Protection Switching ExtremeWare XOS 11 1 Concepts Guide 294...
Страница 354: ...Extreme Standby Router Protocol ExtremeWare XOS 11 1 Concepts Guide 354...
Страница 416: ...IP Multicast Routing ExtremeWare XOS 11 1 Concepts Guide 416...
Страница 417: ...3 Appendixes...
Страница 418: ......
Страница 432: ...Software Upgrade and Boot Options ExtremeWare XOS 11 1 Concepts Guide 432...