Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
240
of
272
vlan
Set native VLAN when interface is in hybrid mode
c-port Customer port
s-custom-port Custom Provider port
s-port Provider port
unaware Port in not aware of VLAN tags.
access
Set mode to ACCESS unconditionally
hybrid
Set mode to HYBRID unconditionally
trunk
Set mode to TRUNK unconditionally
allowed Set allowed VLAN characteristics when interface is in trunk mode
native Set native VLAN
vlan VLAN commands
vlan
Set allowed VLANs when interface is in trunk mode
<vlan_list> VLAN IDs of the allowed VLANs when this port is in trunk mode
add
Add VLANs to the current list
all All VLANs
except All VLANs except the following
none No VLANs
remove Remove VLANs from the current list
ip-subnet VCL IP Subnet-based VLAN configuration.
mac MAC-based VLAN commands
mapping Maps an interface to a VLAN translation group..
protocol Protocol-based VLAN commands
<ipv4_subnet> Source IP address and mask (Format:xx.xx.xx.xx/mm.mm.mm.mm).
id Specify an index for the IP subnet entry (deprecated)
<mac_ucast> 48 bit unicast MAC address: xx:xx:xx:xx:xx:xx
<1-10>
Group id
group
Protocol-based VLAN group commands
vlan
VLAN for voice traffic
discovery-protocol Set Voice VLAN port discovery protocol
mode
Set Voice VLAN port mode
security Enable Voice VLAN port security mode
both
Detect telephony device by OUI address and LLDP
lldp
Detect telephony device by LLDP
oui
Detect telephony device by OUI address
auto Enable auto detect mode
disable
disjoin Voice VLAN
force Force to join Voice VLAN
Example
:
SISPM1040-582-LRT(config-if)#
switchport access vlan 10
SISPM1040-582-LRT(config-if)#
switchport hybrid ingress
SISPM1040-582-LRT(config-if)#
switchport hybrid ingress
SISPM1040-582-LRT(config-if)#
switchport hybrid port-type s-custom-port
SISPM1040-582-LRT(config-if)#
switchport mode access
SISPM1040-582-LRT(config-if)#
switchport voice vlan security
SISPM1040-582-LRT(config-if)#
switchport forbidden vlan remove 100
SISPM1040-582-LRT(config-if)#
switchport trunk allowed vlan all
SISPM1040-582-LRT(config-if)#