3Com 3.01.01 Switch User Manual


 
BGP 145
Typical BGP
Configuration Examples
Typical BGP Configuration Examples are described as follows:
Configuring the BGP AS Confederation Attribute
Configuring BGP Route Reflector
Configuring BGP Routing
Configuring the BGP AS Confederation Attribute
Divide the following AS 100 into three sub-AS: 1001, 1002, and 1003, and
configure EBGP, confederation EBGP, and IBGP.
Display BGP dampened paths display bgp routing-table dampened
Display the routing information the specified
BGP peer advertised or received
display bgp routing-table peer
peer-address { advertised | received } [
network-address [ mask ] | statistic ]
Display the routes matching with the specified
access-list
display bgp routing-table as-path-acl
acl-number
Display route flapping statistics information display bgp routing-table flap-info [ {
regular-expression as-regular-expression } | {
as-path-acl acl-number } | { network-address [
mask [ longer-match ] ] } ]
View routes with different source ASs display bgp routing-table
different-origin-as
Display neighbors information display bgp peer peer-address verbose
display bgp peer [ verbose ]
Display the routing information that has been
configured
display bgp network
Display AS path information display bgp paths as-regular-expression
Display peer group information display bgp group [ group-name ]
Display the information on BGP routes which
is mapped to a certain regular expression
display bgp routing-table
regular-expression as-regular-expression
Display configured route-policy information display route-policy [ policy-name ]
Enable information debugging of all BGP
packets
debugging bgp all
Enable BGP event debugging debugging bgp event
Enable BGP Keepalive debugging debugging bgp keepalive [ receive | send ]
[ verbose ]
Enable BGP Open debugging debugging bgp open [ receive | send ] [
verbose ]
Enable BGP packet debugging debugging bgp packet [ receive | send ] [
verbose ]
Enable BGP Update packet debugging debugging bgp route-refresh [ receive |
send ] [ verbose ]
Enable information debugging of BGP normal
functions.
debugging bgp normal
Enable BGP Update packet debugging debugging bgp update [ receive | send ] [
verbose ]
Reset BGP flap information reset bgp flap-info [ regular-expression
as-regular-expression | as-path-acl
acl-number | network-address [ mask ] } ]
Table 131 Displaying and Debugging BGP
Operation Command