Cisco Cisco SM-X Layer 2 3 EtherSwitch Service Module

Seite von 34
Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
  How to Configure the Cisco SM-X Layer 2/3 ESM on the Router
13
Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
DETAILED STEPS
Command or Action
Purpose
Step 1
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 2
interface Ethernet-Internal 
slot/0/0
Example:
Router(config)# interface 
Ethernet-Internal 1/0/0
Configures the Cisco SM-X Layer 2/3 EtherSwitch Service Module.
Step 3
service instance
 id ethernet
Example:
Router(config-if)# service instance 1 
ethernet
Creates a service instance on an interface and enters service instance 
configuration mode.
Step 4
encapsulation 
vlan id dot1q 
[second-dot1q vlan id
Example:
Router(config-if-srv)# encapsulation 
dot1Q 10
Defines the encapsulation type and enables IEEE 802.1Q encapsulation 
of traffic on a specified subinterface in a VLAN. 
vlan-id — Virtual LAN identifier. The allowed range is from 1 to 
4094. For the IEEE 802.1Q-in-Q VLAN Tag Termination feature, 
the first instance of this argument defines the outer VLAN ID, and 
the second and subsequent instances define the inner VLAN ID.
native — (Optional) Sets the VLAN ID value of the port to the 
value specified by the vlan-id argument.
Note
This keyword is not supported by the IEEE 802.1Q-in-Q 
VLAN Tag Termination feature.
second-dot1q — Supports the IEEE 802.1Q-in-Q VLAN Tag 
Termination feature by allowing an inner VLAN ID to be 
configured.
any — Sets the inner VLAN ID value to a number that is not 
configured on any other subinterface.
Note
The any keyword in the second-dot1q command is not 
supported on a subinterface configured for IP over Q-in-Q 
(IPoQ-in-Q) because IP routing is not supported on ambiguous 
subinterfaces.