Black Box Hardened Managed Ethernet Switche Computer Hardware User Manual


 
724-746-5500 | blackbox.com
Page 156
Chapter 7: Command-Line Management
Switchport mode trunk:
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 trunk command to set the switching characteristics of the Layer-2 interface as trunk, and specify only
tagged frames.
Use the no switchport trunk command to reset the mode of the Layer-2 interface to access (default).
3. Command Syntax:
switchport mode trunk
no switchport trunk
4. Example:
The following example sets the switchport mode trunk of the interface fe1 (port 1):
switch_a(config)#interface fe1
switch_a(config-if)#switchport mode trunk
switch_a(config-if)#
Switchport hybrid allowed vlan:
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 this command to set the switching characteristics of the Layer-2 interface to hybrid. Both tagged and untagged frames will be
classified over hybrid interfaces.
Use the no parameter to turn off allowed hybrid switching.
3. Command Syntax:
switchport hybrid allowed vlan all
switchport hybrid allowed vlan none
switchport hybrid allowed vlan add VLANID egress-tagged enable/disable