Configuring ipv6 bgp basic functions, Configuration prerequisites, Specifying an ipv6 bgp peer – H3C Technologies H3C SecPath F1000-E User Manual

Page 811: Injecting a local ipv6 route

Advertising
background image

786

Configuring IPv6 BGP basic functions

Configuration prerequisites

Before you configure IPv6 BGP basic functions, complete the following tasks:

Specify IP addresses for interfaces.

Enable IPv6.

NOTE:

You need create a peer group before configuring basic functions for it. For related information, see
"

Configuring IPv6 BGP peer group

."

Specifying an IPv6 BGP peer

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Specify a router ID.

router-id router-id

Optional.
Required if no IP addresses are

configured for any interfaces.

4.

Enter IPv6 address family view
or IPv6 BGP-VPN instance

view.

ipv6-family [ vpn-instance
vpn-instance-name ]

N/A

5.

Specify an IPv6 peer.

peer ipv6-address as-number
as-number

N/A

Injecting a local IPv6 route

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 address family view
or IPv6 BGP-VPN instance

view.

ipv6-family [ vpn-instance
vpn-instance-name ]

N/A

4.

Inject a local route into the

IPv6 BGP routing table.

network ipv6-address prefix-length
[ short-cut | route-policy
route-policy-name ]

Not added by default

Advertising