cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
1
Helpful
2
Replies

Show assigned VLANs per physical port on switch Catalyst 9300

Bjorn Dirchsen
Level 1
Level 1

Hi,

I admit upfront that I'm not a Cisco guy. But I need to document our switch and which VLANs that are assigned each physical port.

Something like this:

CS01#show vlans all-ports

PORT        VLAN
--------    ------
Gi1/0/3     2,40
Gi1/0/4     2
Gi1/0/5     3,8,9

etc... Very basic

Is there a way to get this information? The GUI is painfully slow and commands like show vlan or show vlan id 2 shows the data the "other way around". 

Help is appreciated!

1 Accepted Solution

Accepted Solutions

alancelliott
Level 1
Level 1

Hi Bjorn,

 

For access port mappings "show int status " or "show vlan brief" should get you what you need. If you need trunk allowed vlans "show int trunk".

 

Cheers

View solution in original post

2 Replies 2

alancelliott
Level 1
Level 1

Hi Bjorn,

 

For access port mappings "show int status " or "show vlan brief" should get you what you need. If you need trunk allowed vlans "show int trunk".

 

Cheers

Bjorn Dirchsen
Level 1
Level 1

That was spot on what I needed! 

Thanks a lot.

Review Cisco Networking for a $25 gift card