User Manual

Configuring Advanced Routing Policies
258 Enterasys X-Pedition User Reference Manual
Importing a Selected Subset of Routes from One RIP Trusted Gateway
Router R1 has several RIP peers. Router R41 has an interface on the network 10.51.0.0. By default,
router R41 advertises network 10.51.0.0/16 in its RIP updates. Router R1 would like to import all
routes except the 10.51.0.0/16 route from its peer R41.
1. Add the peer 140.1.1.41 to the list of trusted and source gateways.
2. Create a RIP import source with the gateway as 140.1.1.41 since we would like to import all
routes except the 10.51.0.0/16 route from this gateway.
3. Create the Import-Policy, importing all routes except the 10.51.0.0/16 route from gateway
140.1.1.41.
Importing a Selected Subset of Routes from All RIP Peers Accessible Over a Certain
Interface
Router R1 has several RIP peers. Router R41 has an interface on the network 10.51.0.0. By default,
router R41 advertises network 10.51.0.0/16 in its RIP updates. Router R1 would like to import all
routes except the 10.51.0.0/16 route from all its peer which are accessible over interface 140.1.1.1.
1. Create a RIP import source with the interface as 140.1.1.1, since we would like to import all
routes except the 10.51.0.0/16 route from this interface.
2. Create the Import-Policy importing all routes except the 10.51.0.0/16 route from interface
140.1.1.1
Example 2: Importing from OSPF
Due to the nature of OSPF, only the importation of ASE routes may be controlled. OSPF intra-and
inter-area routes are always imported into the XP routing table with a preference of 10. If a tag is
specified, the import clause will only apply to routes with the specified tag.
rip add source-gateways 140.1.1.41
rip add trusted-gateways 140.1.1.41
ip-router policy create rip-import-source ripImpSrc144 gateway 140.1.1.41
ip-router policy import source ripImpSrc144 network all
ip-router policy import source ripImpSrc144 network 10.51.0.0/16 restrict
ip-router policy create rip-import-source ripImpSrc140 interface 140.1.1.1
ip-router policy import source ripImpSrc140 network all
ip-router policy import source ripImpSrc140 network 10.51.0.0/16 restrict