...
Figure 1. BGP Route Reflector Configuration
Procedure
This section describes the steps to configure basic BGP functions on SwitchA, SwitchB, SwitchC and SwitchD, configure Switch D as the route reflector for Switch B and Switch C.
Switch A
Step1 Configure the VLANs and VLAN interfaces.
...
Code Block |
---|
admin@SwitchA# set protocols bgp router-id 1.1.1.1 admin@SwitchA# set protocols bgp local-as 100 admin@SwitchA# set protocols bgp neighbor 192.168.20.2 remote-as 200 |
...
Step3 Enable IP routing.
Code Block |
---|
admin@SwitchA# set ip routing enable true |
Step4 Commit the configurations.
...
Code Block |
---|
admin@SwitchB# set protocols bgp router-id 2.2.2.2 admin@SwitchB# set protocols bgp local-as 200 admin@SwitchB# set protocols bgp neighbor 192.168.20.1 remote-as 100 admin@SwitchB# set protocols bgp neighbor 192.168.40.2 remote-as 200 |
...
Step3 Enable IP routing.
Code Block |
---|
admin@SwitchB# set ip routing enable true |
Step4 Commit the configurations.
...
Code Block |
---|
admin@SwitchC# set protocols bgp router-id 3.3.3.3 admin@SwitchC# set protocols bgp local-as 200 admin@SwitchC# set protocols bgp neighbor 192.168.50.2 remote-as 200 |
...
Step3 Enable IP routing.
Code Block |
---|
admin@SwitchC# set ip routing enable true |
Step4 Commit the configurations.
...
Code Block |
---|
admin@SwitchD# set protocols bgp ipv4 unicast neighbor 192.168.40.1 route-reflector-client admin@SwitchD# set protocols bgp ipv4 unicast neighbor 192.168.50.1 route-reflector-client |
...
Step4 Enable IP routing.
Code Block |
---|
admin@SwitchD# set ip routing enable true |
Step5 Commit the configurations.
...