Alcatel Carrier Internetworking Solutions 6300-24 Network Card User Manual


 
VLAN Commands
4-187
4
Displaying VLAN Information
show vlan
This command shows VLAN information.
Syntax
show vlan [id vlan-id | name vlan-name]
id - Keyword to be followed by the VLAN ID.
- vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zeroes)
name - Keyword to be followed by the VLAN name.
- vlan-name - ASCII string from 1 to 32 characters.
Default Setting
Shows all VLANs.
Command Mode
Normal Exec, Privileged Exec
Example
The following example shows how to display information for VLAN 1:
Configuring Protocol-based VLANs
The network devices required to support multiple protocols cannot be easily grouped
into a common VLAN. This may require non-standard devices to pass traffic
between different VLANs in order to encompass all the devices participating in a
specific protocol. This kind of configuration deprives users of the basic benefits of
VLANs, including security and easy accessibility.
To avoid these problems, you can configure this switch with protocol-based VLANs
that divide the physical network into logical VLAN groups for each required protocol.
Table 4-57. Displaying VLAN Information
Command Function Mode Page
show vlan Shows VLAN information NE, PE 4-187
show interfaces status vlan Displays status for the specified VLAN interface NE, PE 4-138
show interfaces switchport Displays the administrative and operational status of an
interface
NE, PE 4-140
Console#show vlan id 1
VLAN Type Name Status Ports/Channel groups
---- ----------- -------------- --------- ----------------------------------
1 Static DefaultVlan Active Eth1/ 1 Eth1/ 2 Eth1/ 3 Eth1/ 4 Eth1/5
Eth1/ 6 Eth1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
Eth1/11 Eth1/12 Eth1/13 Eth1/14 Eth1/15
Eth1/16 Eth1/17 Eth1/18 Eth1/19 Eth1/20
Eth1/21 Eth1/22 Eth1/23 Eth1/24
Console#