BGP and BGP4+ Commands

If it does not find a match, it discards the route or update message. This means that route maps end with an implicit deny entry. To permit all non-matching routes or update messages, end your route map with an entry that has an action of permit and no match clause.

Examples To enter route-map mode for entry 1 of the route map called route1, and then add a match and set clause to it, use the commands:

awplus# configure terminal

awplus(config)# route-map route1 permit 1

awplus(config-route-map)# match as-path 60

awplus(config-route-map)# set weight 70

To enter route-map mode for entry 2 of the route map called route1, and then add a match and set clause to it, use the commands:

awplus# configure terminal

awplus(config)# route-map route1 permit 2

awplus(config-route-map)# match interface vlan2

awplus(config-route-map)# set metric 20

Note how the prompt changes when you go into route map configuration mode.

To make the device process non-matching routes instead of discarding them, add a command like the following one:

awplus(config)# route-map route1 permit 100

Related Commands bgp dampening (BGP) neighbor default-originate (BGP) neighbor route-map (BGP) neighbor unsuppress-map (BGP) network (BGP)

redistribute (into BGP) (BGP) show ip bgp route-map (BGP) show route-map (Route Map)

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.202

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 300
Image 300
Allied Telesis BGP4, VERSION 5.4.3-2.6 manual Awplusconfig# route-map route1 permit