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

Page 180

Advertising
background image

152

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Displaying BGP4 information

Syntax: show route-map map-name

The map-name is the name of the route map.

Syntax: show ip bgp route

In the following example, the continue clause of instance 1 has been changed so that program flow
jumps to instance 5. The resulting BGP4 route only has the weight updated and as-path
prepended. These changes show route-map route name

Syntax: route-map

Syntax: [no] continue instance number

Syntax: show ip bgp route

In this example, a match clause has been added to instance 8. Because the match clause of
instance 8 does not get fired, the search for the next instance continues to the end of the
route-map. The set statements set the weight to 10, prepend 300, prepend 100 to the as-path, set
the community to none, and set the local preference to 70. The results of this route-map traversal
appear in the output of the show ip bgp route command.

Brocade# show route-map test

route-map test permit 1

set weight 10

continue 2

route-map test permit 2

set metric 20

continue 3

route-map test permit 3

set community 10:20

continue 4

route-map test permit 4

set community 30:40

continue 5

route-map test permit 5

set as-path prepend 300

continue 6

Brocade(config-routemap test)# show ip bgp route

Total number of BGP Routes: 1

Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED

E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH

S:SUPPRESSED F:FILTERED s:STALE

Prefix Next Hop Metric LocPrf Weight Status

1 10.8.8.0/24 10.8.8.3 20 100 10 BE

AS_PATH: 300 200

Advertising