The Name [Vlan Name] Cisco command

Cisco Command: name [vlan name]

Usage:

Functionality:

Equipment Compatibility:

Additional Information:

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:

  1. Assign a name to VLAN 10:

    switch(config)# vlan 10
    switch(vlan-config)# name Marketing
    
  2. Assign a name to VLAN 10 using a space in the name:

    switch(config)# vlan 10
    switch(vlan-config)# name "Marketing and Sales"
    
  3. Assign a name to multiple VLANs at once:

    switch(config)# vlan 10,20,30
    switch(vlan-config)# name Marketing,Finance,Engineering
    
  4. Rename a VLAN:

    switch(config)# vlan 10
    switch(vlan-config)# name Old_Name
    switch(vlan-config)# name New_Name
    
  5. Clear the name of a VLAN:

    switch(config)# vlan 10
    switch(vlan-config)# no name
    
  6. Display the name of a VLAN:

    switch# show vlan 10
    VLAN Name                     Status    Ports
    ---------                     ------    -----
    Marketing                     active    Fa0/1, Fa0/2