Black Box LEH812 Switch User Manual


 
Black Box Hardened Managed Ethernet Switch
1. Command Mode: Interface mode
Logon to Configure Mode (Configure Termi
Then logon to Interface mode.
fe1 means port 1.
The switch_a(config-if)# prompt will show
switch_a(config)#interface fe1
switch_a(config-if)#
nal Mode).
on the screen.
2. Usage:
Use this command to set the switching cha
to trunk. The all parameter indicates tha its port’s
member set. The none parameter indicates
this port. The add and remove parameters
to/from the port’s member set.
Use the no parameter to remove all VLAN IDs configured on this port.
3. Command Syntax:
switchport trunk allowed vlan all
switchport trunk allowed vlan none
switchport trunk allowed vlan add
switchport trunk allowed vlan remove VLANID
switchport trunk allowed vlan except VLANID
no switchport trunk vlan
all Allow all VLANs to transmit and receive through the Layer-2 interface.
none Allow no VLANs to transmit and receive through the Layer-2 interface.
add Add a VLAN to transmit and receive through the Layer-2 interface.
remove Remove a VLAN from transmit and receive through the Layer-2
interface.
except All VLANs, except the VLAN for which the ID is specified, are part of
its ports member set.
VLANID <2-4094> The ID of the VLAN or VLANs that will be added to, or
removed from, the Layer-2 interface. A single VLAN, VLAN range, or VLAN
list can be set.
For a VLAN range, specify two VLAN numbers: lowest, then highest
number in the range, separated by a hyphen.
For a VLAN list, specify the VLAN numbers separated by commas.
4. Example:
The following example specifies to add the interface fe1 (port 1) to VLANID
(2):
switch_a(config)#interface fe1
switch_a(config-if)#switchport trunk allowed vlan add 2
switch_a(config-if)#
:
switchport trunk allowed vlan all
switchport trunk allowed vlan none
switchport trunk allowed vlan add
switchport trunk allowed vlan remove VLANID
switchport trunk allowed vlan except VLANID
no switchport trunk vlan
all Allow all VLANs to transmit and receive through the Layer-2 interface.
none Allow no VLANs to transmit and receive through the Layer-2 interface.
add Add a VLAN to transmit and receive through the Layer-2 interface.
remove Remove a VLAN from transmit and receive through the Layer-2
interface.
except All VLANs, except the VLAN for which the ID is specified, are part of
its ports member set.
VLANID <2-4094> The ID of the VLAN or VLANs that will be added to, or
removed from, the Layer-2 interface. A single VLAN, VLAN range, or VLAN
list can be set.
For a VLAN range, specify two VLAN numbers: lowest, then highest
number in the range, separated by a hyphen.
For a VLAN list, specify the VLAN numbers separated by commas.
4. Example:
The following example specifies to add the interface fe1 (port 1) to VLANID
(2):
switch_a(config)#interface fe1
switch_a(config-if)#switchport trunk allowed vlan add 2
switch_a(config-if)#
racteristics of the Layer-2 interface
t any VLAN ID is part of
that no VLAN ID is configured on
will add and remove VLAN IDs
VLANID VLANID
Port Based VLAN
Switchport portbase add/remove vlan:
1. Command Mode: Interface mode
122 User’s Manual