Configuring IPv6 BGP Basic Functions
Prerequisites
Before configuring this task, you need to:
Specify IP addresses for interfaces.
Enable IPv6.
You need create a peer group before configuring basic functions for it. For related information, refer to
Configuring IPv6 BGP Peer
Specifying an IPv6 BGP Peer
Follow these steps to configure an IPv6 BGP peer:
To do...
Enter system view
Enter BGP view
Specify a router ID
Enter IPv6 address family view
Specify an IPv6 peer
Injecting a Local IPv6 Route
Follow these steps to configure advertise a local route into the routing table:
To do...
Enter system view
Enter BGP view
Enter IPv6 address family view
Inject a local route into the IPv6
BGP routing table
Configuring a Preferred Value for Routes from a Peer/Peer Group
Follow these steps to configure a preferred value for routes received from a peer/peer group:
Group.
Use the command...
system-view
bgp as-number
router-id router-id
ipv6-family
peer ipv6-address as-number
as-number
Use the command...
system-view
bgp as-number
ipv6-family
network ipv6-address
prefix-length [ short-cut |
route-policy
route-policy-name ]
1-3
Remarks
—
—
Optional
Required if no IP addresses are
configured for any interfaces.
—
Required
Remarks
—
—
—
Required
Not added by default