Specifying route-map continuation clauses – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 474
This feature supports a more programmable route map configuration and route filtering scheme for
BGP4 peering. It can also execute additional instances in a route map after an instance is executed
with successful match clauses. You can configure and organize more modular policy definitions to
reduce the number of instances that are repeated within the same route map.
This feature currently applies to BGP4 routes only. For protocols other than BGP4, continue
statements are ignored.
Specifying route-map continuation clauses
This section describes the configuration of route-map continuation clauses. The following sequence of
steps (with referenced items in the screen output in bold) is described:
• The configuration context for a route-map named test is entered.
• Two route-map continue statements are added to route-map test .
• The show route-map output displays the modified route-map test .
• Subsequent neighbor commands identify the route map test in the inbound and outbound
directions for the neighbor at 10.8.8.3.
• The show ip bgp config output shows inbound and outbound route-map test for the neighbor at
10.8.8.3.
device(config-bgp)# route-map test permit 1
device(config-routemap test)# match metric 10
device(config-routemap test)# set weight 10
device(config-routemap test)# continue 2
device(config-routemap test)# route-map test permit 2
device(config-routemap test)# match tag 10
device(config-routemap test)# set weight 20
device(config-routemap test)# continue 3
device(config-routemap test)# router bgp
device(config-bgp)# exit
device(config-bgp)# show route-map test
route-map test permit 1
match metric 10
set weight 10
continue 2
route-map test permit 2
match tag 10
set weight 20
continue 3
device(config-bgp)# neighbor 10.8.8.3 route-map in test
device(config-bgp)# neighbor 10.8.8.3 route-map out test
device(config-bgp)# show ip bgp config
Current BGP configuration:
router bgp
local-as 100
neighbor 10.8.8.3 remote-as 200
address-family ipv4 unicast
neighbor 10.8.8.3 route-map in test
neighbor 10.8.8.3 route-map out test
exit-address-family
address-family ipv6 unicast
exit-address-family
end of BGP configuration
Syntax: [no] route-map map-name permit | deny num
The no form of the command deletes the route map. The map-name is a string of up to 80 characters
that specifies the map.
The permit option means the device applies match and set clauses associated with this route map
instance.
The deny option means that any match causes the device to ignore the route map.
Specifying route-map continuation clauses
474
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04