Enterasys Networks Security Router X-PeditionTM User Manual

Page 176

Advertising
background image

Configuring BGP Peer Groups

6-28 Configuring the Border Gateway Protocol

XSR(config-router)#bgp confederation identifier 100
XSR(config-router)#bgp confederation peer 10 20 30
XSR(config-router)#neighbor 192.168.57.50 remote-as 15
XSR(config-router)#neighbor 192.168.57.50 route-map 55 out
XSR(config-router)#neighbor 192.168.58.2 remote-as 10

XSR(config-router)#route-map 55 permit 10
XSR(config-route-map)#match ip address 1
XSR(config-route-map)#set community local-as

In the final example, confederation 100 holds three AS’s: 10, 20, and 30. For network 2.0.0.0, the
command

route map set-no-export

specifies that the routes advertised have the community

attribute “no-export.”

XSR(config)#router bgp 20
XSR(config-router)#bgp confederation identifier 100
XSR(config-router)#bgp confederation peer 10 20 30
XSR(config-router)#network 2.0.0.0 mask 255.0.0.0
XSR(config-router)#neighbor 192.168.57.1 remote-as 10
XSR(config-router)#neighbor 192.168.57.1 route-map 29 out
XSR(config-router)#set community no-export

Advertising