HP VPN Firewall Appliances Network Management Configuration Guide

508
Resetting BGP session
Task Command
Remarks
Reset the specified BGP
session.
reset bgp { as-number | ip-address | all | external |
group group-name | internal }
Available in user
view.
Reset all IPv4 unicast BGP
sessions.
reset bgp ipv4 all Available in any view.
Clearing BGP information
Task Command
Remarks
Clear dampened BGP
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 ]
reset bgp peer-ip-address flap-info
Available in user
view.
BGP basic configuration example
Network requirements
In Figure 297, run EBGP between Router A and Firewall, and run IBGP between Firewall and Router B so
that Router B can access the network 8.1.1.0/24 connected to Router A.
Figure 297 Network diagram
Configuration considerations
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 Firewall can communicate with Router B
through loopback interfaces.
The EBGP peers, Firewall and Router A (usually belong to different ISPs), are located in different ASs.
Typically, their loopback interfaces are not reachable to each other, so directly connected interfaces are
used for establishing BGP sessions. To enable Router B to access the network 8.1.1.0/24 connected
directly to Router A, inject network 8.1.1.0/24 to the BGP routing table of Router A.
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)