03-24-2017 09:06 AM - edited 03-08-2019 09:54 AM
I have run into an issue. This is my first time using Nexus OS. I know that on my previous catalyst switches i could use show vlan to get a list of what ports were connected to which vlan.
43 VLAN0043 active Gi2/3, Gi2/11, Gi3/3, Gi3/11
Now on the Nexus it shows the Port-channels and Trunks as well.
3 VLAN0003 active Po1, Po16, Po71, Po77, Po510
Po511, Po525, Po526, Po540
Po541, Po545, Po546, Eth1/1
Eth1/2, Eth1/3, Eth1/4, Eth1/14
Eth1/15, Eth1/16, Eth1/30
Eth1/31, Eth1/32, Eth2/16
Eth100/1/1, Eth100/1/2
Eth100/1/3, Eth100/1/4
Eth100/1/5, Eth100/1/6
Eth100/1/7, Eth100/1/25
How can i see what ports are assigned with a particular vlan only?
03-24-2017 06:51 PM
The output is correct. All these ports are part of vlan 3. The ouput is showing you the Portchannels (Po511) as well as regular ports (Eth1/2).
Not sure what else you are looking for.
HTH
03-24-2017 06:55 PM
Basically I don't want to see the port-channels or trunks that those vlans are a part of. I just want to see individual ports that linked to the vlan.
03-24-2017 07:11 PM
Correct. The Nexus series switches show both Portchannels and regular ports.
HTH
03-25-2017 05:11 AM
Specific to access ports assigned to a VLAN and not trunk ports, you could do "show interface status | i (VLAN)"
So if you wanted to know all access ports assigned to VLAN 43:
show interface status | i 43
Hope this helps
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide