Cisco 1941 with EHWIC-4ESG-P EtherSwitch

From Ever changing code
Revision as of 13:30, 5 January 2014 by Pio2pio (talk | contribs) (→‎Product codding)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This basic config is aiming to follow this scheme:

Gi0/0 - link to Internet configured by DHPC server running on ISP's router (more likely BT)
Ether Switch - 4x ports belongs to VLAN10 where separate DHCP server is running on Cisco 1941 router

How to configure routing?

Product codding

Model description: 4-port Cisco Gigabit EtherSwitch 10/100/1000BASE-TX autosensing EHWIC with POE
Minimum IOS: 15.1(2)T: IP Base License of the Universal Image
PID: EHWIC-4ESG-P
Router show inventory
#show inventory
NAME: "CISCO1941/K9", DESCR: "CISCO1941/K9 chassis, Hw Serial#: ***********, Hw Revision: 1.0"
PID: CISCO1941/K9      , VID: V05 , SN: ***********
NAME: "3G WWAN EHWIC-QuadBand HSPA+R7/HSPA/UMTS QuadBand EDGE/GPRS and GPS on Slot 0 SubSlot 0", DESCR: "3G WWAN EHWIC-QuadBand HSPA+R7/HSPA/UMTS QuadBand  EDGE/GPRS and GPS"
PID: EHWIC-3G-HSPA+7   , VID: V01 , SN: ***********
NAME: "Modem 0 on Cellular0/0/0", DESCR: "Sierra Wireless MC8705"
PID: MC8705            , VID: 1.0, SN: ***********
NAME: "4 Port GE POE EHWIC Switch on Slot 0 SubSlot 1", DESCR: "4 Port GE POE EHWIC Switch"
PID: EHWIC-4ESG-P      , VID: V01 , SN: ***********
NAME: "C1941 AC-POE Power Supply", DESCR: "C1941 AC-POE Power Supply"
PID: PWR-1941-POE      , VID:    , SN:

Configure Inter VLAN routing (please re do on 1941)

Introduction:

These are the two types of EtherSwitch modules available for Cisco ISRs:

EtherSwitch Service Module (ES)
ES modules have their own processors, switching engines, software and flash memory that run independent of the host router resources. After the ES module is installed in the router, you can console into the ES module from the host router. Then you can create VLANs, configure VLANs, spanning tree, and Virtual Terminal Protocol (VTP) from the ES module.
EtherSwitch Network Module (ESW)
ESW modules are configured by Router IOS. These modules do not run separate software. It is integrated into the host router IOS. You can create VLANs, configure VLANs, spanning tree, and VTP from the host router. The router stores the VLAN database file (vlan.dat) in the flash.

Cisco EtherSwitch Network Modules:

Configuration Example:

You can verify your card installed or module being using "show inventory" command

R1#sh invntory
NAME: "2691 chassis", DESCR: "2691 chassis"
PID:                   , VID: 0.1, SN: XXXXXXXXXXX
NAME: "16 Port 10BaseT/100BaseTX EtherSwitch on Slot 1", DESCR: "16 Port 10BaseT/100BaseTX EtherSwitch"
PID: NM-16ESW=         , VID: 1.0, SN: XXXXXXXXXXX

You can assign an IP address to this type of module using two ways: 1) You can directly assign IP address to the interface.By default these interface are L2 so you need to put "no switchport" command to make it L3.

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int fa1/1
R1(config-if)# no switchport
R1(config-if)# ip address 1.1.1.1 255.255.255.0
R1(config-if)#end
R1#

2) You can create VLAN and then assign interface to the interface as shown below.

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface Vlan2
R1(config-if)# ip address 1.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#vlan 2
R1(config-vlan)#name cisco
R1(config-vlan)#exit
R1(config)#int fa1/1
R1(config-if)#switchport mode access
R1(config-if)#switchport access vlan 2
R1(config-if)#end
R1#

The router stores the VLAN database file (vlan.dat) in the flash.

R1#sh flash:

System CompactFlash directory:
File  Length   Name/status
  1   660      vlan.dat
[724 bytes used, 16776488 available, 16777212 total]
16384K bytes of ATA System CompactFlash (Read/Write)

Reference