16-19
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter 16
Configuring Tag Switching and MPLS
Tag Switching Configuration Example
Tag Switching Configuration Example
Figure 16-4
shows an example tag switching network.
Figure 16-4 Example Network for Tag Switching
Router 5-1 Configuration
The configuration of router R5-1, interface e0/1, follows:
router_R5-1#
configure terminal
router_R5-2(config)#
ip cef switch
router_R5-1(config)#
tag-switching advertise-tags
router_R5-1(config)#
interface e0/1
router_R5-1(config-if)#
tag-switching ip
router_R5-1(config-if)#
exit
router_R5-1(config)#
Router 5-2 Configuration
The configuration between router R5-1, interface e0/1, and R5-2, interface e0/1, follows:
router_R5-2#
configure terminal
router_R5-2(config)#
ip cef switch
router_R5-2(config)#
tag-switching advertise-tags
router_R5-2(config)#
interface e0/1
router_R5-2(config-if)#
tag-switching ip
router_R5-2(config-if)#
exit
router_R5-2(config)#
The configuration between router R5-2, interface e0/2, and R5-3, interface e0/2, follows:
route_R5-2(config)#
interface e0/2
route_R5-2(config-if)#
tag-switching ip
route_R5-2(config-if)#
exit
The configuration of router R5-2, interface a2/0.1, follows:
router_R5-2(config-if)#
interface a2/0.1
router_R5-2(config-subif)#
ip address 189.26.11.15 255.255.0.0
router_R5-2(config-subif)#
tag-switching ip
router_R5-2(config-subif)#
no shutdown
router_R5-2(config-subif)#
exit
router_R5-2(config)#
interface a2/0
router_R5-2(config)#
no shutdown
12463
R5-1
R5-5
R5-3
R5-2
A6-4
A5-4
e0/3
e0/2
e0/2
e0/2
e0/1
e0/1
e0/5
e0/1
e0/4
e0/4
a2/0
a0/1/1
a0/1/1
a0/0/3
a0/0/3
a2/0