SNR S2989G-48TX-RPS [234/553] Troubleshooting

Превью страниц Страница 234 / 553
SNR S2989G-48TX-RPS [234/553] Troubleshooting
S2989G-24TX Operation Manual
Chapter 4 Routing Protocol Related Configuration
4-9
AS1
192.68.11.1
VLAN1
SwitchA
AS2
VLAN2
VLAN3
192.68.10.1
VLAN3
172.16.20.1
VLAN2
192.68.6.2
VLAN1
192.68.5.2
VLAN3
172.16.20.2
SwitchD
VLAN2
172.16.1.1
AS3
VLAN1
192.68.5.1
SwitchC
VLAN2
172.16.1.2
demonstrates how to set the BGP as-path properties through route-map. BGP protocol is
applied among the Layer 3 switches. As for switchC, the network 192.68.11.0/24 can be
reached through two paths in which one is AS-PATH 1 by IBGP (going through SwitchD),
the other one is AS-PATH 2 by EBGP (going through SwitchB). BGP selects the shortest
path, so AS-PATH 1 is the preferred path. If the path 2 is wished, which is through EBGP
path, we can add two extra AS path numbers into the AS-PATH messages from SwitchA
to SwitchD so as to change the determination SwitchC take to 192.68.11.0/24.
Figure 4-1 Policy routing Configuration
Configuration procedure: (only SwitchA is listed, configurations for other switches are
omitted.)
The configuration of Layer 3 switchA:
SwitchA#config
SwitchA(config) #router bgp 1
SwitchA(config-router)#network 192.68.11.0 mask 255.255.255.0
SwitchA(config-router)#neighbor 172.16.20.2 remote-as 3
SwitchA(config-router)#neighbor 172.16.20.2 route-map AddAsNumbers out
SwitchA(config-router)#neighbor 192.68.6.1 remote-as 2
SwitchA(config-router)#exit
SwitchA(config)#route-map AddAsNumbers permit 10
SwitchA(config-route-map)#set as-path prepend 1 1
4.1.2.4 Troubleshooting
Faq: The routing protocol could not achieve the routing messages study under normal
protocol running state

Содержание

666