1-43
Resetting BGP Connections
To do…
Use the command…
Remarks
Reset all BGP connections
reset bgp all
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
Available in user
view
Clearing BGP Information
To do…
Use the command…
Remarks
Clear dampened MBGP routing
information and release suppressed
routes
reset bgp dampening
[
ip-address
[
mask |
mask-length
] ]
Clear route flap information
reset bgp
flap-info
[
ip-address
[
mask-length | mask
] |
as-path-acl
as-path-acl-number
|
regexp
as-path-regular-expression
]
Available in
user view
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.
Figure 1-20
Network diagram for BGP basic configuration
AS 65008
Vlan-int200
200.1.1.1/24
Switch C
Switch B
Switch D
AS 65009
Vlan-int100
8.1.1.1/8
Vlan-int200
200.1.1.2/24
Vlan-int400
9.1.1.1/24
Vlan-int300
9.1.3.1/24
Vlan-int300
9.1.3.2/24
Vlan-int500
9.1.2.1/24
Vlan-int500
9.1.2.2/24
Vlan-int400
9.1.1.2/24
Switch A
Configuration procedure
1) Configure IP addresses for interfaces (omitted)
2) Configure iBGP connections