ā04-26-2023 05:59 AM - edited ā04-26-2023 06:07 AM
Hi,
I'm trying to document our Cisco switch configuration.
But it seems that the GUI and the CLI does not display the same information which I simply dont' understand.
E.g. In the GUI under Configuration / Interface / Ethernet, I have configured port 48 to forward VLANs 1, 2 and 40:
Solved! Go to Solution.
ā04-26-2023 06:08 AM
@Bjorn Dirchsen this is correct. the port you have in GUI is gi 2/0/48 which is trunk port. trunk ports not showing in #show vlan command. to check trunk ports, try #sh int trunk
ā04-26-2023 06:08 AM
@Bjorn Dirchsen this is correct. the port you have in GUI is gi 2/0/48 which is trunk port. trunk ports not showing in #show vlan command. to check trunk ports, try #sh int trunk
ā04-27-2023 12:06 AM
Thanks @Kasun Bandara!
That makes kinda sense (I'm not a Cisco guy so forgive my lack of knowledge)
sh int trunk gave me the information, I needed:
Port Vlans allowed on trunk |
Gi2/0/44 2,40 |
Gi2/0/48 1-2,40 |
Gi3/0/2 1-2 |
Thanks!
ā04-26-2023 06:24 AM
in addition to Kasun's reply: you are comparing GUI-configuration with operational status
you should compare with "show running-configuration interface ....."
ā04-26-2023 06:30 AM
Show interface trunk <<- this will show you if your config correct or not' show vlan not wotk for trunk port it only for access port
ā05-31-2023 06:34 AM
Thanks @Kasun Bandara!
That makes kinda sense (I'm not a Cisco guy so forgive my lack of knowledge)
sh int trunk gave me the information, I needed:
Port Vlans allowed on trunk |
Gi2/0/44 2,40 |
Gi2/0/48 1-2,40 |
Gi3/0/2 1-2 |
Thanks!
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