5 bgp troubleshooting, 1 commands for monitor and debug, 1 show ip bgp – Accton Technology ES4626 User Manual

Page 581

Advertising
background image

581

Switch(config-router-af)#exit-address-family

The sample above is a typical instance, if the communication among VRFs is necessary,

it can be implemented by modifying route-target. If the two BGPs have the same AS

number, the command ”neighbor <ip-addr> as-override” is also needed on the PE to

avoiding the repetition of AS number.

13.8.5 BGP Troubleshooting

In the process of configuring and implementing BGP protocol, physical connection,

configuration false probably leads to BGP protocol doesn’t work. Therefore, the

customers should give their attention to points as follow:

First of all, to ensure correct physical connection;

Secondly, to ensure interface and link protocol are UP (execute show interface

instruction);

And startup BGP protocol (use router bgp command), configure affiliated IBGP and

EBGP neighbors (use neighbor remote-as command).

Notice BGP protocol itself can’t detect route, needs to import other routes to create

BGP route. Only it enables these routes to announce IBGP and EBGP neighbors by

importing routes. Direct-link routes, static route, and IGP route (RIP and OSPF) are

included in these imported routes. Network and redistribute (BGP) command are the

ways of imported routes.

For BGP, pay attention to the difference between the behaviors of IBGP and EBGP.

After configuration finishes, the command of show ip bgp summary can be used to

observe neighbor’s connections, so that all of the neighbors keep BGP connection

situation. And use show ip bgp command to observe BGP routing table.

If BGP routing problem still can’t be solved by debugging, please use debug

instructions like debug ip bgp packet/events etc, and copy DEBUG information in 3

minutes, then send them to ourTechnology Service Center.

13.8.5.1 Commands for Monitor And Debug

13.8.5.1.1 show ip bgp

Command: show ip bgp [<ADDRESS-FAMILY>] [<ip-address>|<ip-address/M>

[longer-prefixes]| cidr-only]

Function:

For displaying the routing messages permitted by BGP

Parameter: <ADDRESS-FAMILY>

: address-family such as “ipv4 unicast”

<ip-address>

: IP address

<ip-address/M>

: IP address and the mask

Default:

None

Advertising
This manual is related to the following products: