Mypower
S4100
Troubleshooting
Maipu Confidential & Proprietary Information
Page
103
of
124
Tools for Removing BGP Fault
s
Maipu switch provides many tools for finding BGP faults. The show
tools
and the debug tools are as follows.
S h o w T o o l s
<CR> To display all IPv4 unicast routing items in the BGP
routing table.
A.B.C.D
advertised-routes
To display the routes
advertised to specific
neighbors.
A.B.C.D
routes
To display the valid routes
learned from the specific
neighbors.
neighbor
<CR>
To display the TCP connections
created between neighbors.
Show ip bgp
summary
To display the status of all BGP neighbors and the
duration of the established status.
The commands in the preceding table are the basic tools for
troubleshooting BGP. If some special functions are configured, BGP also
provides tools for checking specific information.
The application of the show tools is as follows.
As shown in the preceding figure, VLAN1 interface (21.1.1.1/16) of
switch1 is connected with VLAN1 (21.1.1.2/16) of swtich2. 1.1.1.1 is the
IP address of the switch1 loopback interface. The configuration is as
follows.
switch1:
router bgp 1
no synchronization
network 1.1.1.0 255.255.255.0
neighbor 21.1.1.2 remote-as 2
exit
switch2
:
router bgp 2