IES-0880 User Manual
Page 105
2.
Usage:
Use
switchport mode hybrid
command to set the switching characteristics of the Layer-2
interface as hybrid, and classify both tagged and untagged frames.
Use the
no switchport hybrid
command to reset the mode of the Layer-2 interface to
access (default).
3.
Command Syntax:
switchport mode hybrid
switchport mode hybrid acceptable-frame-type all/vlan-tagged
no switchport hybrid
all Set all frames can be received.
vlan-tagged Set vlan-tagged frames can only be received.
4.
Example:
The following example sets the
switchport mode hybrid
of the interface fe1 (port 1) and
all frames to be received on interface fe1 (port 1):
switch_a(config)#interface fe1
switch_a(config-if )#switchport mode hybrid acceptable-frame-type all
switch_a(config-if )#
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 )#