393
Fig 14-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
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
14.2.5 Troubleshooting Help
Faq
:
The routing protocol could not achieve the routing messages study under
normal protocol running state
Troubleshooting:
check following errors:
Each node of route-map should at least has one node is permit match mode. When the
route map is used in routing messages filtering, the routing messages will be considered
not pass the routing messages filtering if certain routing messages does not pass the
filtering of any nodes. When all nodes are set to deny mode, all routing messages will not
pass the filtering in this route-map.
AS1
VLAN1
192.68.11.1
AS3
AS2
VLAN2
192.68.6.2
VLAN3
172.16.20.1
VLAN2
192.68.6.1
VLAN3
172.16.20.2
VLAN2
172.16.1.1
VLAN3
192.68.10.1
VLAN1
192.68.5.2
VLAN1
192.68.5.1
VLAN2
172.16.1.2
SwitchA
SwitchB
SwitchC
SwitchD