Chapter 6: Command Line Console Management

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.

Use the no switchport access command to reset the mode of the Layer-2 interface to access (default).

3.Command Syntax: switchport mode access no switchport access

4.Example:

The following example sets the switchport mode access of the interface fe1 (port 1):

switch_a(config)#interface fe1

switch_a(config-if)#switchport mode access switch_a(config-if)#

Switchport mode hybrid:

LB308A

724-746-5500 blackbox.com

Page 159

 

 

Page 159
Image 159
Black Box 8-port 10/100base-tx hardened ethernet extender switch, LB308A 802.1Q Port Setting Switchport mode access