Step
1.
Enter system view.
2.
Configure a global router ID.
3.
Enable BGP and enter BGP
view.
4.
Specify a router ID.
Configuring a BGP peer
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Create a BGP peer and
specify its AS number.
4.
Enable the default use of IPv4
unicast address family for the
peers that are established
using the peer as-number
command.
5.
Enable a peer.
6.
Configure a description for a
peer.
Command
system-view
router id router-id
bgp as-number
router-id router-id
Command
system-view
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ipv4-family
vpn-instance
vpn-instance-name
peer ip-address as-number
as-number
default ipv4-unicast
peer ip-address enable
peer ip-address description
description-text
181
Remarks
N/A
Optional.
By default, no global router ID is
configured. BGP uses the highest
loopback interface IP address as the
router ID. If no loopback interface IP
address is available, BGP uses the
highest physical interface IP address
as the router ID regardless of the
interface status.
Not enabled by default.
A router can reside in only one AS,
so the router can run only one BGP
process.
Optional.
By default, the global router ID is
used.
Remarks
N/A
Use either method.
By default, no BGP peer is created.
Optional.
Enabled by default.
This command is not supported in
BGP-VPN instance view.
Optional.
Enabled by default.
Optional.
By default, no description is
configured for a peer.