Step 1 | configure
terminal
Example:
Router#configure terminal
|
Enters global
configuration mode.
|
Step 2 | ipv6
unicast-routing
Example:
Router(config)#ipv6 unicast-routing
|
Enables the
forwarding of IPv6 unicast datagrams globally on the router.
|
Step 3 | mpls label
protocol ldp
Example:
Router(config)#mpls label protocol ldp
|
Enables Label
Distribution Protocol (LDP).
|
Step 4 | mpls ldp
router-id Loopback0 [force]
Example:
Router(config)#mpls ldp router-id Loopback0 [force]
|
Configures the
LDP Router ID.
Note
|
The optional
force keyword ensures that the IP address on interface loopback 0, and not the
IP address of any other interface, becomes the LDP router ID.
|
|
Step 5 | interface
type number
Example:
Router(config)#interface Loopback 0
|
Enters
configuration mode for the loopback interface.
|
Step 6 | ip address
ip-address
mask
Example:
Router(config-if)#ip address 10.1.1.2 255.255.255.255
|
Sets the IP
address and subnet mask for the loopback interface.
|
Step 7 | interface
gigabitethernet slot/port
Example:
Router(config-if)#interface GigabitEthernet0/0/1.2
|
Enters the
configuration mode for a Gigabit Ethernet interface on the router.
|
Step 8 | encapsulation
dot1 vlan-id
Example:
Router(config-subif)#encapsulation dot1q 200
|
Enables 802.1Q
trunking on a router.
|
Step 9 | xconnect
peer-ipaddress
vc-id encapsulation mpls
Example:
Router(config-subif)#xconnect 10.1.1.1 100 encapsulation mpls
|
Enables the
attachment circuit and specifies the IP address of the peer, a VC ID, and the
data encapsulation method.
|
Step 10 | interface
tunnel
interface
number
Example:
Router(config)#interface tunnel 10
|
Designates a
tunnel interface and enters interface configuration mode.
|
Step 11 | ip address
ip-address
mask
Example:
Router(config-if)#ip address 41.0.0.1 255.255.255.0
|
Sets the IP
address and subnet mask for the loopback interface.
|
Step 12 | tunnel source
{ip-address | interface-type
interface-number}
Example:
Router(config-if)#tunnel source GigabitEthernet 0/0/0
|
Specifies the
source IPv4 address or the source interface type and number for the tunnel
interface.
|
Step 13 | tunnel mode
gre ipv6
Example:
Router (config-if)#tunnel mode gre ipv6
|
Specifies that
the GRE over IPv6 encapsulation protocol is used in the tunnel.
|
Step 14 | tunnel
destination
ipv6-address
Example:
Router(config-if)#tunnel destination 2002::2
|
Specifies the
destination IPv6 address for the tunnel interface.
|
Step 15 | mpls ip
Example:
Router(config-if)#mpls ip
|
Enables mpls
processing on the tunnel interface.
|
Step 16 | interface
gigabitethernet slot/port
Example:
Router(config-if)#interface GigabitEthernet0/0/0
|
Enters the
configuration mode for a Gigabit Ethernet interface on the router.
|
Step 17 | ipv6 address {
ipv6-prefix/prefix-length |
prefix-name
sub-bits/prefix-length }
Example:
Router(config-if)#ipv6 address 2002::1/112
|
Configures an
IPv6 address based on an IPv6 general prefix and enables IPv6 processing on an
interface.
|