![Brocade Communications Systems ICX 7250 series Скачать руководство пользователя страница 197](http://html1.mh-extra.com/html/brocade-communications-systems/icx-7250-series/icx-7250-series_configuration-manual_2817203197.webp)
NOTE
By default, routes that do not match a prefix list are learned or advertised. To prevent a route from being learned or advertised,
you must configure a prefix list to deny the route.
To configure a prefix 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 prefix 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 filters) can be learned or advertised.
Syntax:
[no] ip prefix-list
name
{
permit
|
deny
} {
source-ip-address
|
any
source-mask
|
any
}
To apply a prefix list at the global level of RIP, enter commands such as the following.
device(config-rip-router)# prefix-list list1 in
Syntax:
no prefix-list
name
{
in
|
out
}
To apply prefix 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 prefix-list
name
{
in
|
out
}
In
is for Inbound filtering. It applies the prefix list to routes the Brocade device learns from its neighbor on the interface.
Out
is for Outbound filtering. It applies the prefix list to routes the Brocade device advertises to its neighbor on the interface.
The commands apply RIP list2 route filters to all routes learned from the RIP neighbor on the port and applies the lists to all routes
advertised on the port.
To configure 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 prefix 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 filters to routes learned from the RIP neighbor on the port.
Configuring RIP parameters
Brocade FastIron Layer 3 Routing Configuration Guide
53-1003903-04
197
Содержание ICX 7250 series
Страница 2: ...Brocade FastIron Layer 3 Routing Configuration Guide 2 53 1003903 04...
Страница 16: ...Brocade FastIron Layer 3 Routing Configuration Guide 16 53 1003903 04...
Страница 20: ...Brocade FastIron Layer 3 Routing Configuration Guide 20 53 1003903 04...
Страница 36: ...Brocade FastIron Layer 3 Routing Configuration Guide 36 53 1003903 04...
Страница 124: ...Brocade FastIron Layer 3 Routing Configuration Guide 124 53 1003903 04...
Страница 174: ...Brocade FastIron Layer 3 Routing Configuration Guide 174 53 1003903 04...
Страница 188: ...Brocade FastIron Layer 3 Routing Configuration Guide 188 53 1003903 04...
Страница 202: ...Brocade FastIron Layer 3 Routing Configuration Guide 202 53 1003903 04...
Страница 470: ...Brocade FastIron Layer 3 Routing Configuration Guide 470 53 1003903 04...