I want to setup vlans on a 2851, but I'm not sure how to access the switch ports. I can access or view them. Is there something I have to enable? I have some devices plugged into the switch ports and they are communicating with each other fine.

router(config)#do show ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0         unassigned      YES NVRAM  administratively down down
GigabitEthernet0/1         unassigned      YES NVRAM  administratively down down
GigabitEthernet1/0    YES manual up                    up

--edit: I have a NME-XD-48ES-2S-P module installed. Is this module not capable of creating VLANs?

  • It's a little unclear as to what you are exactly looking for. Are you trying to see what Vlans are created on your router and what ports are using them? To do this you could run show vlan. Or are you trying to see some other information. – HostBits Oct 24 '13 at 15:09
  • I'm trying to configure vlans, but I cannot even figure out how to access the switch ports to add to a vlan. Maybe I should change the wording of my question to just "how to access\configure switch ports on a 2851"? – red888 Oct 24 '13 at 15:25
  • Does the Router have the NMD-36ESW EtherSwitch module? If not, then it doesn't have switch ports. It has two integrated 10/100/1000 Ethernet ports, but that doesn't make it a switch. – joeqwerty Oct 24 '13 at 15:27
  • Is this question about HWIC-*ESW ports, NM-**ESW ports, or NME-**ES ports? It's not clear what you mean by "switch ports". – David Schwartz Oct 24 '13 at 15:45
  • hmm I bet that's it, the module I have installed is a NME-XD-48ES-2S-P – red888 Oct 24 '13 at 15:47

The etherswitch module is configured separately - here's a great doc matching almost exactly what you have:


In short, you need to connect to the switch module and configure it separately with the following command:

service-module gigabitEthernet 1/0 session

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.