Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Nexus 5548 Show VLAN

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?

4 REPLIES
VIP Super Bronze

The output is correct.  All

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

Basically I don't want to see

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. 

VIP Super Bronze

Correct. The Nexus series

Correct. The Nexus series switches show both Portchannels and regular ports.

HTH

Silver

Specific to access ports

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

3
Views
0
Helpful
4
Replies