01-07-2011 04:35 AM - edited 03-06-2019 02:52 PM
I had a very simple question.
I wondered if, in the output of the show vlan brief command, I can see also the ports belonging to an active VLAN but in a state different from up/up.
For example, if I shutdown an interface, can I see the interface under the field Ports of the output?
Thanks.
Solved! Go to Solution.
01-07-2011 05:35 AM
Hi,
Yes, you can see those ports in the output as below,
SWITCH#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/4, Gi1/5
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
SWITCH#show int g1/4 | inc pro
GigabitEthernet1/4 is administratively down, line protocol is down (disabled)
0 unknown protocol drops
SWITCH#
HTH,
Nagendra
01-07-2011 05:35 AM
Hi,
Yes, you can see those ports in the output as below,
SWITCH#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/4, Gi1/5
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
SWITCH#show int g1/4 | inc pro
GigabitEthernet1/4 is administratively down, line protocol is down (disabled)
0 unknown protocol drops
SWITCH#
HTH,
Nagendra
01-07-2011 05:43 AM
Hello Nagendra and thanks for your answer.
I suppose this is the same also for status not up/up but different from administratively down.
Is it true?
01-07-2011 05:53 AM
Hi,
Yes. Even if it is UP/DOWN or DOWN/DOWN, still it will be shown in the output.
HTH,
Nagendra
01-07-2011 05:54 AM
Hi,
Even you admin down a port and not removed the vlan from interface configuration, the interface will still show in VLAN ports.
Once you removed the vlan from the interface configuration then that port will show in the default vlan.
Hope this clear you...
Regards,
Naidu.
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