The Name [Vlan Name] Cisco command
Cisco Command: name [vlan name]
Usage:
- The 'name [vlan name]' command is used in Cisco devices to assign a descriptive name to a specific VLAN (Virtual Local Area Network).
- The VLAN name is used to identify and manage VLANs within a network and can be up to 32 characters long.
Functionality:
- When the 'name [vlan name]' command is entered, the specified VLAN is assigned the provided name.
Equipment Compatibility:
- The 'name [vlan name]' command is supported on various Cisco networking devices that have VLAN capabilities, including routers, switches, and wireless access points.
Additional Information:
- VLANs are created to logically segment a network into multiple isolated broadcast domains.
- Each VLAN acts as a separate Layer 2 network, allowing for improved security, traffic control, and network management.
- Assigning a descriptive name to a VLAN helps network administrators easily identify and manage different VLANs within their network.
name [vlan name] Usage Examples
The 'name [vlan name]' command in Cisco is used to assign a name to a VLAN. This helps in identifying and managing VLANs easily.
Examples:
Assign a name to VLAN 10:
switch(config)# vlan 10 switch(vlan-config)# name Marketing
Assign a name to VLAN 10 using a space in the name:
switch(config)# vlan 10 switch(vlan-config)# name "Marketing and Sales"
Assign a name to multiple VLANs at once:
switch(config)# vlan 10,20,30 switch(vlan-config)# name Marketing,Finance,Engineering
Rename a VLAN:
switch(config)# vlan 10 switch(vlan-config)# name Old_Name switch(vlan-config)# name New_Name
Clear the name of a VLAN:
switch(config)# vlan 10 switch(vlan-config)# no name
Display the name of a VLAN:
switch# show vlan 10 VLAN Name Status Ports --------- ------ ----- Marketing active Fa0/1, Fa0/2