724-746-5500 | blackbox.com
Page 154
Chapter 7: Command-Line Management
Add VLAN/Delete VLAN:
1. Command Mode: VLAN Configure mode
Logon to Configure Mode (Configure Terminal Mode).
Logon to VLAN Configure Mode.
The switch_a(config-vlan)# prompt will show on the screen.
switch_a(config)#vlan database
switch_a(config-vlan)#
2. Usage:
This command enables or disables the state of a particular VLAN on a bridge basis. Specifying the disable state causes all forward-
ing over the specified VLAN ID on the specified bridge to cease. Specifying the enable state allows forwarding of frames on the
specified VLAN-aware bridge.
3. Command Syntax:
vlan VLANID bridge GROUP name VLAN_NAME state enable/disable
no vlan VLANID bridge GROUP
VLANID The VID of the VLAN that will be enabled or disabled on the bridge <2-4094>.
GROUP <1-1> The ID of the bridge-group on which the VLAN will be affected.
VLAN_NAME The ASCII name of the VLAN. Maximum length: 16 characters.
enable Sets VLAN into an enable state.
disable Sets VLAN into a disable state.
4. Example:
The following example enables the vlan VLANID (2) and name VLAN_NAME (vlan2) of bridge GROUP (1):
switch_a(config-vlan)#vlan 2 bridge 1 name vlan2 state enable
switch_a(config-vlan)#
802.1Q Port Setting
Switchport mode access:
1. Command Mode: Interface mode
Logon to Configure Mode (Configure Terminal Mode).
Then logon to Interface mode.
fe1 means port 1.
The switch_a(config-if)# prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2. Usage:
Use switchport mode access command to set the switching characteristics of the Layer-2 interface to access mode, and classify
untagged frames only.