Step
Enter system view.
1.
Configure a global router ID.
2.
Enable BGP and enter BGP
3.
view.
Specify a router ID.
4.
Configuring a BGP peer
Step
Enter system view.
1.
Enter BGP view or
2.
BGP-VPN instance view.
Create a BGP peer and
3.
specify its AS number.
Enable the default use of
4.
IPv4 unicast address family
for the peers that are
established using the peer
as-number command.
Enable a peer.
5.
Configure a description for a
6.
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
182
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 approach.
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.