Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 120

Advertising
background image

92

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Filtering

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.

The num parameter specifies the instance of the route map defined in the route-map context that
the CLI enters. Routes are compared to the instances in ascending numerical order. For example, a
route is compared to instance 1, then instance 2, and so on.

Syntax: [no] continue [instance-number]

Brocade(config-bgp)# route-map test permit 1

Brocade(config-routemap test)# match metric 10

Brocade(config-routemap test)# set weight 10

Brocade(config-routemap test)# continue 2

Brocade(config-routemap test)# route-map test permit 2

Brocade(config-routemap test)# match tag 10

Brocade(config-routemap test)# set weight 20

Brocade(config-routemap test)# continue 3

Brocade(config-routemap test)# router bgp

Brocade(config-bgp)# exit

Brocade(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

Brocade(config-bgp)# neighbor 10.8.8.3 route-map in test

Brocade(config-bgp)# neighbor 10.8.8.3 route-map out test

Brocade(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 ipv4 multicast

exit-address-family

address-family ipv6 unicast

exit-address-family

address-family ipv6 multicast

exit-address-family

address-family vpnv4 unicast

exit-address-family

end of BGP configuration

Advertising