beautypg.com

Using route-map continue statements, Using a route map to configure dampening, Clearing configurations – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 639

background image

NOTE
The first command configures a community ACL containing community numbers 12:99 and 12:86. The
remaining commands configure a route map that matches on routes whose destination network is
specified in ACL 1, and deletes communities 12:99 and 12:86 from those routes. The route does not
need to contain all the specified communities in order for them to be deleted. For example, if a route
contains communities 12:86, 33:44, and 66:77, community 12:86 is deleted.

Using route-map continue statements

To configure continue statements in a route map:

switch(config)# rbridge-id 5

switch(config-rbridge-id-5)# route-map mcontroutemap1 permit 1

switch(config-routemap-mycontroutemap/permit/1)# match metric 10

switch(config-routemap-mycontroutemap/permit/1)# set weight 10

switch(config-routemap-mycontroutemap/permit/1)# match metric 10

switch(config-routemap-mycontroutemap/permit/1)# continue 2

switch(config-routemap-mycontroutemap/permit/1)# route-map mcontroutemap1 permit 2

switch(config-routemap-mycontroutemap/permit/2)# match tag 10

switch(config-routemap-mycontroutemap/permit/2)# set weight 20

NOTE
This configures the route map to continue to evaluate and execute match statements after a successful
match occurs. The continue statement proceeds to the route map with the specified sequence number.
If no sequence number is specified, the statement proceeds to the route map with the next sequence
number (an "implied" continue).

Using a route map to configure dampening

To apply the dampening half-life established in a route map:

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# route-map myroutemap permit 1

switch(config-route-map-myroutemap/permit/1)# set dampening 20

NOTE
To change any of the parameters, you must specify all the parameters with the command. To leave any
parameters unchanged, enter their default values.

Clearing configurations

To refresh all BGP4 neighbor routes:

switch# clear ip bgp neighbor all

To refresh a route to a specific neighbor:

switch# clear ip bgp neighbor 10.11.12.13

To clear BGP4 routes:

switch# clear ip bgp routes 10.0.0.0/16

To clear the BGP4 message counters:

switch# clear ip bgp traffic

Using route-map continue statements

Network OS Administrator’s Guide

639

53-1003225-04