Multicast and Routing Guide K/KA/KB.15.15
HP Switch(bgp)# neighbor 192.1.1.2 remote-as 200
# Add network 1.0.0.0/8 to the BGP routing table.
HP Switch(bgp)# network 1.0.0.0
HP Switch(bgp)# exit
# Configure Switch B.
HP Switch(config)# router bgp 200
HP Switch(bgp)# bgp router-id 2.2.2.2
HP Switch(bgp)# neighbor 192.1.1.1 remote-as 100
HP Switch(bgp)# neighbor 193.1.1.1 remote-as 200
HP Switch(bgp)# neighbor 193.1.1.1 next-hop-self
HP Switch(bgp)# exit
# Configure Switch C.
HP Switch(config)# router bgp 200
HP Switch(bgp)# bgp router-id 3.3.3.3
HP Switch(bgp)# neighbor 193.1.1.2 remote-as 200
HP Switch(bgp)# neighbor 194.1.1.2 remote-as 200
HP Switch(bgp)# exit
# Configure Switch D.
HP Switch(config)# router bgp 200
HP Switch(bgp)# bgp router-id 4.4.4.4
HP Switch(bgp)# neighbor 194.1.1.1 remote-as 200
HP Switch(bgp)# exit
3. Configure the route reflector.
# Configure Switch C.
HP Switch(config)# router bgp 200
HP Switch(bgp)# neighbor 193.1.1.2 route-reflector-client
HP Switch(bgp)# neighbor 194.1.1.2 route-reflector-client
HP Switch(bgp)# exit
BGP configuration examples 323










