Configuring basic 6PE
Before you configure 6PE, perform the following tasks:
Establish tunnels in the IPv4 backbone network (see Layer 3—IP Services Configuration Guide).
Configure basic MPLS on 6PE devices (see MPLS Configuration Guide).
Configure BGP on 6PE devices so that they can advertise tagged IPv6 routing information through BGP sessions. The following describes only BGP configurations on 6PE devices.
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. |