Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
239
of
272
Command
:
switchport
Description
:
Configure Switching mode characteristics for an interface.
Syntax
:
switchport
access vlan <pvid>
switchport
forbidden vlan { add | remove } <vlan_list>
switchport
hybrid acceptable-frame-type { all | tagged | untagged }
switchport
hybrid allowed vlan { all | none | [ add | remove | except ] <vlan_list> }
switchport
hybrid egress-tag { none | all [ except-native ] }
switchport
hybrid ingress-filtering
switchport
hybrid native vlan <pvid>
switchport
hybrid port-type { unaware | c-port | s-port | s-custom-port }
switchport
mode { access | trunk | hybrid }
switchport
trunk allowed vlan { all | none | [ add | remove | except ] <vlan_list> }
switchport
trunk native vlan <pvid>
switchport
trunk vlan tag native
switchport
vlan ip-subnet [ id <1-128> ] <ipv4> vlan <vid>
switchport
vlan mac <mac_addr> vlan <vid>
switchport
vlan mapping <gid>
switchport
vlan protocol group <grp_id> vlan <vid>
switchport
voice vlan discovery-protocol { oui | lldp | both }
switchport
voice vlan mode { auto | force | disable }
switchport
voice vlan security
Parameters
: access Set access mode characteristics of the interface
forbidden Adds or removes forbidden VLANs from the current list of forbidden VLANs
hybrid Change PVID for hybrid port
mode Set mode of the interface
trunk Change PVID for trunk port
vlan VLAN commands
voice Voice appliance attributes
vlan
Set VLAN when interface is in access mode
<vlan_id> VLAN ID of the VLAN when this port is in access mode
add Add to existing list.
remove Remove from existing list.
<vlan_list> VLAN IDs
<vlan_list> VLAN IDs
acceptable-frame-type Set acceptable frame type on a port
allowed Set allowed VLAN characteristics when interface is in hybrid mode
egress-tag Egress VLAN tagging configuration
ingress-filtering VLAN Ingress filter configuration
native
Set native VLAN
port-type Set port type
all Allow all frames
tagged Allow only tagged frames
untagged Allow only untagged frames
vlan
Set allowed VLANs when interface is in hybrid mode
all
Tag all frames
none
No egress tagging