Clearing bgp information, Bgp configuration examples, Bgp basic configuration example – H3C Technologies H3C SR8800 User Manual
Page 255: Network requirements, Configuration procedure
239
Task Command
Remarks
Reset all IPv4 unicast BGP connections.
reset bgp ipv4 all
Available in user
view
Clearing BGP information
Task 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 [ 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 example
Network requirements
, run EBGP between Router A and Router B and IBGP between Router B and Router C so that
Router 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 Router B can communicate with Router C through
loopback interfaces.
# Configure Router B.
[RouterB] bgp 65009
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module