Router – ISR 4321 Only Has Two Router Ports

router

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/0Gig0/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.

Best Answer

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.)