C
OMMAND
L
INE
I
NTERFACE
4-246
Example
The following example shows how to prevent port 1 from being added to
VLAN 3.
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-4093, 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
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#
Table 4-59 Displaying VLAN Information
Command
Function
Mode Page
show vlan
Shows VLAN information
NE,
PE
4-246
show interfaces status
vlan
Displays status for the specified VLAN
interface
NE,
PE
4-183
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE,
PE
4-186
Содержание 8700S-130
Страница 2: ......
Страница 3: ......
Страница 8: ...LIMITED WARRANTY iv ...
Страница 56: ...INITIAL CONFIGURATION 2 18 ...
Страница 189: ...PORT CONFIGURATION 3 133 Figure 3 61 Port Statistics continued ...
Страница 566: ...COMMAND LINE INTERFACE 4 294 ...
Страница 571: ...SOFTWARE SPECIFICATIONS A 5 Trap RFC 1215 UDP MIB RFC 2012 ...
Страница 572: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 576: ...TROUBLESHOOTING B 4 ...
Страница 589: ......
Страница 591: ...38 Tesla Irvine CA 92618 Phone 949 679 8000 ...
Страница 592: ... 8 ...