Command Line Interface
Switchport Mode Set mode of the interface.
access: set mode to ACCESS unconditionally hybrid: set mode to HYBRID unconditionally trunk: set mode to TRUNK unconditionally Syntax: switchport mode { access | trunk | hybrid }
Switchport Trunk Allowed VLAN Set allowed VLAN characteristics when interface is in trunk mode. Set the following additional parameters: <vlan_list>: VLAN IDs of the allowed VLANs when this port is in trunk mode all: all VLANs none: no VLANs add: add VLANs to the current list remove: remove VLANs from the current list except: all VLANs except the following Syntax: switchport trunk allowed vlan { all | none | [ add | remove | except ] <vlan_list> } Switchport Trunk Native VLAN Set native VLAN when interface is in trunk mode. Set the following parameter: <vlan_id>: VLAN ID of the native VLAN when this port is in trunk mode Syntax: switchport trunk native vlan <pvid>
Switchport Trunk VLAN Tag Native Tag Native VLAN. Syntax: switchport trunk vlan tag native
switchport vlan ip-subnet Syntax: switchport vlan ip-subnet [ id <1-128> ] <ipv4> vlan <vid> <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). switchport vlan mac Syntax: switchport vlan mac <mac_addr> vlan <vid>
Confidential
User Guide: CE Services
Page 68
Made with FlippingBook interactive PDF creator