Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
cisco sm-x-es3-16-p
---------------Router Config ---------------
interface Ethernet-Internal1/0/0
des ### LAN INTERFACE ####
no sh
no negotiation auto
service instance 1 ethernet
encapsulation dot1q 3
rewrite ingress tag pop 1 symmetric
bridge-domain 1 split-horizon group 0
exit
interface BDI1
ip address 172.20.16.225 255.255.255.224
no sh
exit
******************
------------16 Port Card L2 Configuration ---------
1> Login to the router through the console
2>Router#hw-module session 1/0
3>Switch>en
4>Switch#config t
5>Switch(config)#Vlan 2
6>Switch(config)#Vlan 3
7>Switch(config)#int range gi0/1 - 15
8>Switch(config-if-range)#switchport access vlan 2
9>Switch(config-if-range)#switchport mode access
10>Switch(config-if-range)#exit
11>Switch(config)#int range gi0/16 - 18
12>Switch(config-if-range)#switchport access vlan 3
13>Switch(config-if-range)#switchport mode access
14>Switch(config)#exit
15>switch#wr
16>Switch#exit
17>Press ctl+Shift+6 and then press X
18>Router#disconnect