NOTE
By default, routes that do not match a prex list are learned or advertised. To prevent a route from being learned or advertised,
you must congure a prex list to deny the route.
To congure a prex list, enter commands such as the following.
device(config)# ip prefix-list list1 permit 10.53.4.1 255.255.255.0
device(config)# ip prefix-list list2 permit 10.53.5.1 255.255.255.0
device(config)# ip prefix-list list3 permit 10.53.6.1 255.255.255.0
device(config)# ip prefix-list list4 deny 10.53.7.1 255.255.255.0
The prex lists permit routes to three networks, and deny the route to one network.
Because the default action is permit, all other routes (routes not explicitly permitted or denied by the lters) can be learned or advertised.
Syntax: [no] ip prex-list name {permit | deny} {source-ip-address | any source-mask | any}
To apply a prex list at the global level of RIP, enter commands such as the following.
device(config-rip-router)# prefix-list list1 in
Syntax: no prex-list name {in | out}
To apply prex lists to a RIP interface, enter commands such as the following.
device(config-if-e1000-1/1/2)# ip rip prefix-list list2 in
device(config-if-e1000-1/1/2)# ip rip prefix-list list3 out
Syntax: no ip rip prex-list name {in | out}
In is for Inbound ltering. It applies the prex list to routes the Brocade device learns from its neighbor on the interface.
Out is for Outbound ltering. It applies the prex list to routes the Brocade device advertises to its neighbor on the interface.
The commands apply RIP list2 route lters to all routes learned from the RIP neighbor on the port and applies the lists to all routes
advertised on the port.
To congure a route-map, enter commands such as the following.
device(config)#access-list 21 deny 160.1.0.0 0.0.255.255
device(config)#access-list 21 permit any
device(config)# route-map routemap1 permit 21
device(config-routemap routemap1)# match ip address 21
device(config)# route-map routemap2 permit 22
The route-map permit routes to two networks, and denies the route to one network.
Syntax: [no] route-map map-name {permit | deny} num
To apply a route map to a RIP interface, enter commands such as the following.
device(config-if-e1000-1/1/2)# ip rip route-map map1 in
Syntax: [no] ip rip route-map name {in | out}
The route-map can be a
prex list or an ACL. Setting this command can change the metric.
In applies the route map to routes the Brocade device learns from its neighbor on the interface.
Out applies the route map to routes the Brocade device advertises to its neighbor on the interface.
The commands apply route map map1 as route lters to routes learned from the RIP neighbor on the port.
Conguring RIP parameters
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 209