Knowing the commands to display configuration information about Virtual LANs (VLANs) is as important as knowing the commands to configure them. The commands here display information about all VLANs or a single VLAN by number or name.
All of these commands must be run from privileged mode. To view detailed information about all VLANs on the local switch, use:
# show vlan
To shorten the output and just display the highlights about all of the VLANs:
# show vlan brief
To display information about VLAN 3, use:
# show vlan id 3
This version of the command can be extended to look at multiple VLANs. For example, to view information about VLANs 1, 2, 3 and 10, use:
# show vlan id 1-3,10
For increased administratability, VLANs can be named. To view information about a VLAN by name, for instance the VLAN named ‘engineering’ use this command:
# show vlan name engineering
0 komentar:
Posting Komentar