Configuring a BGP peer
Configuring an IPv4 BGP peer
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Create an IPv4 BGP peer and
specify its AS number.
4.
(Optional.) Configure a
description for a peer.
5.
Create and enter BGP IPv4
unicast instance view or
BGP-VPN IPv4 unicast
instance view.
6.
Enable the router to exchange
IPv4 unicast routing
information with the specified
peer.
Configuring an IPv6 BGP peer
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Create an IPv6 BGP peer and
specify its AS number.
4.
(Optional.) Configure a
description for a peer.
5.
Create and enter BGP IPv6
unicast instance view or
BGP-VPN IPv6 unicast
instance view.
6.
Enable the router to exchange
IPv6 unicast routing
information with the specified
peer.
Command
system-view
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
peer ip-address as-number
as-number
peer ip-address description
description-text
ipv4-family [ unicast ]
peer ip-address enable
Command
system-view
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
peer ipv6-address as-number
as-number
peer ipv6-address description
description-text
ipv6-family [ unicast ]
peer ipv6-address enable
173
Remarks
N/A
N/A
By default, no IPv4 BGP peer is
created.
By default, no description is
configured for a peer.
By default, the BGP IPv4 unicast
instance view and BGP-VPN IPv4
unicast instance view are not
created.
By default, the router cannot
exchange IPv4 unicast routing
information with the peer.
Remarks
N/A
N/A
By default, no IPv6 BGP peer is
created.
By default, no description is
configured for a peer.
By default, the BGP IPv6 unicast
instance view and BGP-VPN IPv6
unicast instance view are not
created.
By default, the router cannot
exchange IPv6 unicast routing
information with the peer.