Owner's Manual
352 | Chapter 14. Routing Policies
NETGEAR 8800 User Manual
Applying Routing Policies
To apply a routing policy, use the command appropriate to the client. Different protocols
support different ways to apply policies, but there are some generalities.
Commands that use the keyword import-policy are used to change the attributes of routes
installed into the switch routing table by the protocol. These commands cannot be used to
determine the routes to be added to the routing table. The following are examples for the
BGP and RIP protocols:
configure bgp import-policy [<policy-name> | none]
configure rip import-policy [<policy-name> | none]
Commands that use the keyword route-policy control the routes advertised or received by
the protocol. For BGP and RIP, here are some examples:
configure bgp neighbor [<remoteaddr> | all] {address-family [ipv4-unicast |
ipv4-multicast]} route-policy [in | out] [none | <policy>]
configure bgp peer-group <peer-group-name> {address-family [ipv4-unicast |
ipv4-multicast]} route-policy [in |out] [none | <policy>]
configure rip vlan [<vlan-name> | all] route-policy [in | out] [<policy-name> |
none]
Other examples of commands that use routing policies include:
configure ospf area <area-identifier> external-filter [<policy-map> |none]
configure ospf area <area-identifier> interarea-filter [<policy-map> | none]
configure rip vlan [<vlan-name> | all] trusted-gateway [<policy-name> | none]
To remove a routing policy, use the none option in the command.
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 BGP route.
Table 40. Policy Actions (Continued)
Action Description










