233
To do…
Use the command…
Remarks
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
Clearing BGP information
To do…
Use the command…
Remarks
Clear dampened BGP 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
, run eBGP between Switch A and Switch B and iBGP between Switch B and Switch C so that
Switch C can access the network 8.1.1.0/24 connected to Router A.
Figure 90
Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown)
2.
Configure iBGP.
•
To prevent route flapping caused by port state changes, this example uses loopback interfaces to
establish iBGP connections.
•
Because loopback interfaces are virtual interfaces, you need to use the
peer connect-interface
command to specify the loopback interface as the source interface for establishing BGP
connections.
•
Enable OSPF in AS 65009 to make sure that Switch B can communicate with Switch C through
loopback interfaces.
# Configure Switch B.