To configure IPv6 tunneling over MPLS:
- host1(config)#interface atm2/0.1
- host1(config)#atm pvc 1 0 1 aal5snap
- host1(config)#ip address 11.19.1.1 255.255.255.0
- host1(config)#ipv6 address ::11.19.1.1/126
![]() |
Note: For forwarding to work, you must configure at least one IPv6 interface on each line module where MPLS-encapsulated IPv6 traffic is expected. You can easily accomplish this by also configuring an IPv6 address on the core-facing interface. |
- host1(config)#interface atm3/0.1
- host1(config)#atm pvc 30 0 30 aal5snap
- host1(config)#ip address 10.10.10.1 255.255.255.0
- host1(config)#ip address ::10.10.10.1/120
- host1(config)#interface loopback 1
- host1(config)#ip address 1.1.1.1 255.255.255.0
- host1(config)#router bgp 100
- host1(config-router)#neighbor 11.19.1.2 remote-as
65000
- host1(config-router)#neighbor 2.2.2.2 remote-as
100
- host1(config-router)#address-family ipv6 unicast
- host1(config-router-af)#neighbor 11.19.1.2
activate
- host1(config-router-af)#neighbor 2.2.2.2 activate
- host1(config-router-af)#neighbor 2.2.2.2 send-label
- host1(config-router-af)#neighbor 2.2.2.2 update-source
loopback 1
- host1(config-router-af)#neighbor 2.2.2.2 next-hop-self
- host1(config-router-af)#exit-address-family
neighbor send-label
- host1(config-router-af)#neighbor 192.168.5.1
send-label