35-92
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 35 Configuring IP Unicast Routing
Configuring Multi-VRF CE
Switch(config-vrf)#
route-target export 800:1
Switch(config-vrf)#
route-target import 800:1
Switch(config-vrf)#
exit
Switch(config)#
ip vrf v12
Switch(config-vrf)#
rd 800:2
Switch(config-vrf)#
route-target export 800:2
Switch(config-vrf)#
route-target import 800:2
Switch(config-vrf)#
exit
Configure the loopback and physical interfaces on Switch A. Gigabit Ethernet port 1 is a trunk
connection to the PE. Fast Ethernet ports 8 and 11 connect to VPNs:
Switch(config)#
interface loopback1
Switch(config-if)#
ip vrf forwarding v11
Switch(config-if)#
ip address 8.8.1.8 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface loopback2
Switch(config-if)#
ip vrf forwarding v12
Switch(config-if)#
ip address 8.8.2.8 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface gigabitethernet0/5
Switch(config-if)#
switchport trunk encapsulation dot1q
Switch(config-if)#
switchport mode trunk
Switch(config-if)#
no ip address
Switch(config-if)#
exit
Switch(config)#
interface fastethernet0/8
Switch(config-if)#
no shutdown
Switch(config-if)#
switchport access vlan 208
Switch(config-if)#
no ip address
Switch(config-if)#
exit
Switch(config)#
interface fastethernet0/11
Switch(config-if)#
no shutdown
Switch(config-if)#
switchport trunk encapsulation dot1q
Switch(config-if)#
switchport mode trunk
Switch(config-if)#
no ip address
Switch(config-if)#
exit
Configure the VLANs used on Switch A. VLAN 10 is used by VRF 11 between the CE and the PE.
VLAN 20 is used by VRF 12 between the CE and the PE. VLANs 118 and 208 are used for the VPNs
that include Switch F and Switch D, respectively:
Switch(config)#
interface vlan10
Switch(config-if)#
ip vrf forwarding v11
Switch(config-if)#
ip address 38.0.0.8 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface vlan20
Switch(config-if)#
ip vrf forwarding v12
Switch(config-if)#
ip address 83.0.0.8 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface vlan118
Switch(config-if)#
ip vrf forwarding v12
Switch(config-if)#
ip address 118.0.0.8 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface vlan208
Switch(config-if)#
ip vrf forwarding v11
Switch(config-if)#
ip address 208.0.0.8 255.255.255.0
Switch(config-if)#
exit
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...