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