Configuring basic 6PE

Before you configure 6PE, perform the following tasks:

To configure basic 6PE:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP instance view.

bgp as-number [ instance instance-name ]

N/A

3. Specify a 6PE peer or peer group and its AS number.

peer { group-name | ipv4-address [ mask-length ] } as-number as-number

No 6PE peer is specified by default.

4. Enter BGP IPv6 unicast address family view.

address-family ipv6 [ unicast ]

N/A

5. Enable BGP to exchange IPv6 unicast routing information with the 6PE peer or peer group.

peer { group-name | ipv4-address [ mask-length ] } enable

This feature is disabled by default.

6. Enable BGP to exchange labeled IPv6 routes with the 6PE peer or peer group.

peer { group-name | ipv4-address [ mask-length ] } label-route-capability

This feature is disabled by default.