Black Box 8-port 10/100base-tx hardened ethernet extender switch Network Hardware User Manual


 
Page 164
724-746-5500 | blackbox.com
LB308A
Chapter 6: Command Line Console Management
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)#
Port Based VLAN
Switchport portbase add/remove 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 or remove the default VLAN for the interface.
3. Command Syntax:
switchport portbase add/remove vlan VLANID
VLANID The ID of the VLAN will be added to or removed from the Layer-2
interface.
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 portbase add vlan 2
switch_a(config-if)#