show vlan assignment on sub-interfaces?
mguy
Member Posts: 167 ■■■□□□□□□□
in CCNA & CCENT
Is there a command that would show the vlan encapsulation of sub-interfaces of a router?
I want to see which sub-interfaces I've configured for a particular vlan.
I want to see which sub-interfaces I've configured for a particular vlan.
Comments
-
elderkai Member Posts: 279You could do show run interface. This would show the commands you've typed for each interface.
-
mguy Member Posts: 167 ■■■□□□□□□□You could do show run interface. This would show the commands you've typed for each interface.
can you give an example of how this works? -
elderkai Member Posts: 279At the priveleged-exec prompt, type "show run interface" and under your sub-interfaces, look for whatever you configured for the trunking protocol. Since it'll most likely be 802.1q, look for "encap dot1q [vlan number]".