XS26GS Managed Optical Ethernet Switch User Manual
96
switchport link-type { access | hybrid | trunk }
no switchport link-type
View
Ethernet port view
Parameters
access
: sets the port link type to access.
hybrid
: sets the port link type to hybrid.
trunk
: sets the port link type to trunk.
Description
Use
switchport link-type
command to set link type of the Ethernet port.
Use
no switchport link-type
command to restore the default link type.
The default link type of an Ethernet port is
hybrid
.
Examples
XS(Ethernet0/9)#
switchport link-type trunk
Set successfully
switchport admit-frame
Syntax
switchport admit-frame { all | only-tag }
no switchport admit-frame
View
Ethernet port view
Parameters
all
: the port accepts all ingress packages
only-tag
: the port accepts tagged packages, and discards untagged ones.
Description
Use
switchport admit-frame
command to configure how the port accepts ingress
packages.
Use
no switchport admit-frame
command to restore the default admit-frame
type on a port.
By default, the admit-frame type is
all
.
Examples
XS(Ethernet0/9)#
switchport admit-frame only-tag
Set successfully
switchport protected
Syntax