215
If multiple BGP peers reside in the same network, you can use this feature to simplify BGP peer
configuration.
For a remote device to establish a peer relationship with the local device, you must specify the IP
address of the local device on the remote device.
Configuring dynamic BGP peers (IPv4 unicast address family)
1. Enter system view.
system-view
N/A
2. Enter BGP instance view
or BGP-VPN instance
view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance view:
a. bgp as-number [ instance
instance-name ]
b. ip vpn-instance
N/A
3. Specify devices in a
network as dynamic BGP
peers and specify an AS
number for the peers.
peer
ipv4-address mask-length
as-number
as-number
By default, no dynamic BGP
peers exist.
4. (Optional.) Configure a
description for dynamic
BGP peers.
peer
ipv4-address mask-length
description
text
By default, no description is
configured for dynamic BGP
peers.
5. Create the BGP IPv4
unicast address family or
BGP-VPN IPv4 unicast
address family and enter
its view.
address-family ipv4
[
unicast
]
By default, no BGP IPv4
unicast address family or
BGP-VPN IPv4 unicast
address family exists.
6. Enable BGP to exchange
IPv4 unicast routing
information with dynamic
BGP peers in the
specified network.
peer
ipv4-address mask-length
enable
By default, BGP cannot
exchange IPv4 unicast routing
information with dynamic BGP
peers.
Configuring dynamic BGP peers (IPv6 unicast address family)
1. Enter system view.
N/A
2. Enter BGP instance view
or BGP-VPN instance
view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance view:
a. bgp as-number [ instance
instance-name ]
b. ip vpn-instance
N/A
3. Specify devices in a
network as dynamic BGP
peers and specify an AS
number for the peers.
peer
ipv6-address prefix-length
as-number
as-number
By default, no dynamic BGP
peers exist.
4. (Optional.) Configure a
description for dynamic
BGP peers.
peer
ipv6-address prefix-length
description
text
By default, no description is
configured for dynamic BGP
peers.