Configuration Guide Vol. 1


24.2.1 List of configuration commands

The following tables list the commands used to configure the basic VLAN functionality.

Table 24-6: List of configuration commands

Command name

Description

name

Sets a VLAN name.

state

Sets VLAN status (stop/start).

switchport access

Sets the access port VLAN.

switchport dot1q ethertype

Sets the VLAN tag TPID for port.

switchport mode

Sets the port type (access, protocol, MAC, trunk, or tunneling).

switchport trunk

Sets the VLAN for a trunk port.

vlan

The example below shows how to create a VLAN. Also, sets items pertaining to a VLAN in VLAN configuration mode.

vlan-dot1q-ethertype

Sets the default value for VLAN tag TPIDs.

vlan-up-message

Use no vlan-up-message command to suppress the sending of operation messages and LinkUp/LinkDown traps during Up and Down of VLAN.