beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 516

background image

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

route-map test permit 6

set as-path prepend 100

continue 7

route-map test permit 7

set community none

set local-preference 70

continue 8

route-map test deny 8

match metric 60

set metric 40

continue 9

device(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 0 70 10 BE

AS_PATH: 100 300 200

Syntax: show route-map

Syntax: shop ip bgp route

For this example, an existing route map is displayed by the show route-map command, then the
addition of instance 8 adds a deny parameter but no match clause. As a result, no incoming routes are
accepted (see last line of the show output).

device# show route-map test

route-map test permit 1

set weight 10

continue 5

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

route-map test permit 6

set as-path prepend 100

continue 7

route-map test permit 7

set community none

set local-preference 70

continue 8

device(config-routemap test)#route-map test deny 8

device(config-routemap test)#set metric 40

device(config-routemap test)#continue 9

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

BGP Routing Table is empty

Syntax: show route-map map-name

Configuring BGP4 (IPv4)

516

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04