Configuring BGP Peer Groups

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-exportspecifies 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

6-28 Configuring the Border Gateway Protocol

Page 176
Image 176
Enterasys Networks X-PeditionTM manual Configuring BGP Peer Groups