Ipv4 Bgp Configuration Examples; Basic Bgp Configuration Example - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

Task
Clear dampening information for BGP
IPv6
unicast
suppressed BGP IPv6 unicast routes.
Clear flap information for BGP IPv6
unicast routes.
Clear dampening information for BGP
IPv4
multicast
suppressed BGP IPv4 multicast routes.
Clear flap information for BGP IPv4
multicast routes.

IPv4 BGP configuration examples

Basic BGP configuration example

Network requirements
As shown in
IBGP between Switch B and Switch C to allow Switch C to access network 8.1.1.0/24 connected to
Switch A.
Figure 65 Network diagram
1.1.1.1/32
Vlan-int100
8.1.1.1/24
Switch A
Requirements analysis
To prevent route flapping caused by port state changes, this example uses loopback interfaces to
establish IBGP connections. Loopback interfaces are virtual interfaces. Therefore, 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 ensure that Switch B can communicate
with Switch C through loopback interfaces.
The EBGP peers, Switch A and Switch B (usually belong to different carriers), are located in different
ASs. Typically, their loopback interfaces are not reachable to each other, so directly connected
interfaces are used for establishing EBGP sessions. To enable Switch C to access the network
8.1.1.0/24 connected directly to Switch A, inject network 8.1.1.0/24 to the BGP routing table of
Switch A.
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure IBGP:
# Configure Switch B.
routes
and
release
routes
and
release
Figure
65, all switches run BGP. Run EBGP between Switch A and Switch B, and run
AS 65008
AS 65009
Loop0
EBGP
Vlan-int200
Vlan-int200
3.1.1.2/24
3.1.1.1/24
Command
reset bgp [ instance instance-name ] dampening ipv6
[ unicast ] [ vpn-instance vpn-instance-name ] [ ipv6-address
prefix-length ]
reset bgp [ instance instance-name ] flap-info ipv6 [ unicast ]
[
vpn-instance
vpn-instance-name
as-path-acl
prefix-length
|
ipv6-address [ prefix-length ] ]
reset bgp [ instance instance-name ] dampening ipv4
multicast [ ipv4-address [ mask-length | mask] ]
reset bgp [ instance instance-name ] flap-info ipv4 multicast
[ ipv4-address [ mask-length | mask ] | as-path-acl
as-path-acl-number | peer ipv4-address [ mask-length ] ]
Loop0
2.2.2.2/32
IBGP
Vlan-int300
Vlan-int300
9.1.1.1/24
9.1.1.2/24
Switch B
300
]
[
as-path-acl-number
Loop0
3.3.3.3/32
Switch C
ipv6-address
peer
|

Advertisement

Table of Contents
loading

Table of Contents