Configuring ipv6 bgp basic functions, Configuration prerequisites, Specifying an ipv6 bgp peer – H3C Technologies H3C S10500 Series Switches User Manual
Page 339: Injecting a local ipv6 route

324
Task Remarks
Optional
Configuring IPv6 BGP basic functions
Configuration prerequisites
Before configuring IPv6 BGP basic functions, complete the following tasks:
•
Specify IP addresses for interfaces
•
Enable IPv6
NOTE:
Create a peer group before configuring basic functions for it. For related information, see “
Specifying an IPv6 BGP peer
Follow these steps to configure an IPv6 BGP peer:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Specify a router ID
router-id router-id
Optional
Required if no IP addresses are
configured for any interfaces.
Enter IPv6 address family view
ipv6-family
—
Specify an IPv6 peer
peer ipv6-address as-number
as-number
Required
Injecting a local IPv6 route
Follow these steps to configure advertise a local route into the routing table:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv6 address family view
ipv6-family
—
Inject a local route into the IPv6
BGP routing table
network ipv6-address prefix-length
[ short-cut | route-policy
route-policy-name ]
Required
Not added by default