BGP Configuration Examples 395
Resetting BGP
Connections
Clearing BGP
Information
BGP Configuration 
Examples
BGP Basic Configuration Network requirements
In the following figure are all BGP switches. Between Switch A and Switch B is an 
EBGP connection. IBGP speakers Switch B, Switch C and Switch D are fully 
meshed.
Network diagram
Figure 130   Network diagram for BGP basic configuration
To do…  Use the command…  Remarks 
Reset all BGP connections  reset bgp all Available in 
user view 
Reset the BGP connections to an AS  reset bgp as-number
Reset the BGP connection to a peer  reset bgp ip-address 
[ flap-info ]
Reset all EBGP connections  reset bgp external
Reset the BGP connections to a peer group  reset bgp group group-name
Reset all IBGP connections  reset bgp internal
Reset all IPv4 unicast BGP connections  reset bgp ipv4 all
To do…  Use the command…  Remarks 
Clear dampened MBGP routing 
information and release 
suppressed routes 
reset bgp dampening [ ip-address 
[ mask | mask-length ]] 
Available in user 
view 
Clear route flap information  reset bgp flap-info [ regexp 
as-path-regexp | as-path-acl 
as-path-acl-number | ip-address 
[ mask | mask-length ]]
Device Interface IP address Device Interface IP address 
Switch A  Vlan-int100  8.1.1.1/8  Switch D  Vlan-int400  9.1.1.2/24 
Vlan-int200 200.1.1.2/24  Vlan-int500 9.1.2.2/24 
Switch B  Vlan-int400  9.1.1.1/24  Switch C  Vlan-int500  9.1.2.1/24 
Vlan-int200 200.1.1.1/24  Vlan-int300 9.1.3.2/24 
Vlan-int300 9.1.3.1/24 
Vlan-int200
Switch A
AS 65008
Vlan-int200
Vlan-int100
Vlan-int300
Vlan-int400
Vlan-int400
Vlan-int500
Vlan-int500Vlan-int300
Switch C
Switch B
Switch D
AS 65009