mac

Commands for Layer 3 Management
265
Chapter 21 Commands for Layer 3
Management
21.1 Commands for Layer 3 Interface
21.1.1 description
Command: description <text>
no description
Function: Configure the description information of VLAN interface. The no command will
cancel the description information of VLAN interface.
Parameter: <text> is the description information of VLAN interface, the length should
not exceed 256 characters.
Default: Do not configure.
Command Mode: VLAN interface mode
Usage Guide: The description information of VLAN interface behind description and
shown under the configured VLAN.
Example: Configure the description information of VLAN interface as test vlan.
Switch(config)#interface vlan 2
Switch(config-if-vlan2)#description test vlan
21.1.2 interface vlan
Command: interface vlan <vlan-id>
no interface vlan <vlan-id>
Function: Create a VLAN interface (a Layer 3 interface); the “no interface vlan
<vlan-id>command deletes the Layer 3 interface specified.
Parameters: <vlan-id> is the VLAN ID of the established VLAN, ranging from 1 to 4094.
Default: No Layer 3 interface is configured upon switch shipment.
Command mode: Global Mode
Usage Guide: When creating a VLAN interface (Layer 3 interface), VLANs should be
configured first, for details, see the VLAN chapters. When VLAN interface (Layer 3
interface) is created with this command, the VLAN interface (Layer 3 interface)