2

I have a ISR 4321 Router in my Cisco Packet Tracer, and I added a NIM-ES2-4 module, but the The NIM-ES2-4 provides four switching ports.

which are Gig0/1/0 - Gig0/1/3. because I want to use the four ports as Router interface to connect four Switches. but the module only provide switchports.

enter image description here

So, how to solve this problem?


I tried use the no switchport, but there is no this command.

Router(config-if)#no switchport 
% Incomplete command.
  • Have you tried no switchport on the interface configuration? – user36472 Nov 15 '18 at 11:45
  • I can not, there is no this command. you can see the NIM-ES2-4 module. – three-blocks Nov 15 '18 at 11:56
  • Use jonathanjo's method below, that is your only chance then. – user36472 Nov 15 '18 at 12:07
  • I am also experiencing the same issues. now my question is this? after creating the vlans on the routers, are we meant to configure the LAN interface on the same router? thanks – Charles Lazarus Dec 10 '19 at 12:02
5

The usual way is to put the separate switch ports into different VLANs, then create virtual interfaces.

That is, four configurations like this:

interface Gig0/1/0
 switchport access vlan 10
 no ip address

interface Vlan10
 ip address 10.0.10.1 255.255.255.0

This works with any router+switch, not just switch modules inside routers, but you have to have a trunk between the router and switch, or several cables.

(Edit: see Andrey's vital comment: you might well need to create the VLANs too, depending on models/versions etc.)

| improve this answer | |
  • 2
    I would also mention, that probably it will require actual VLAN creation: #(conf-t) vlan 10. In some cases devices will create non-existing VLAN right after switchport access vlan 10, but sometimes they're not. – Andrey Prokhorov Nov 15 '18 at 12:27
  • Very good point, updated. – jonathanjo Nov 15 '18 at 12:30
  • 1
    You could also mention sub-interfaces on a router interface. – Ron Maupin Nov 15 '18 at 16:27
  • @jonathanjo So, do you mean the Router only use one physical interface, and create multi virtual interfaces? – three-blocks Nov 16 '18 at 3:03
  • @three-blocks yes exactly like that. You use one physical interface and then create SVI's (VLAN) to route instead. – user36472 Nov 16 '18 at 8:04
5

4-ports non-POE Layer 2 Gigabit Ethernet Switch Network Interface Module (NIM-ES2-4)

This module provides only Layer-2 support, so you can't use it's interfaces in Layer-3 mode.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.