Cisco Nexus 7000 Series Configuration Manual page 52

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring VLAN Long-Name
Use the no form of this command to disable this feature.
Step 3
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.
Step 4
show running-config | sec long-name
Example:
switch(config)# show running-config | sec long-name
Displays the VLAN long-name status information.
Note
When you configure a VLAN name of more than 32 characters, the show vlan commands will show the output
in mulitple lines with each line containing a maximum of 32 characters.
This example shows how to configure VLAN long-names of up to 128 characters.
switch# configure terminal
switch(config)# system vlan long-name
!2001 Sep 29 02:24:11 N72-3 %$ VDC-1 %$ %VLAN_MGR-2-CRITICAL_MSG: VLAN long name is Enabled!
switch(config)# copy running config startup config
switch(config)# show running-config | sec long-name
switch# configure terminal
switch(config)# vlan 2
switch(config-vlan)# name
VLAN128Char000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
switch(config-vlan)# exit
switch# show vlan id 2
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
2 VLAN128Char000000000000000040000 active
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000002
.
.
.
The following example displays the error output if you try to configure a VLAN long name of more than 128
characters.
switch# system vlan long-name
switch(config)# vlan 2
switch(config-vlan)# name
129Char123456789000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000987654321CiscoBangalore
!% String exceeded max length of (128) at '^' marker.!
Switch(config-vlan)# exit
The following example displays the error output if you try to configure VLAN name ( more than 32 characters)
without enabling the system vlan long- name command.
switch# configure terminal
switch(config)# vlan 2
switch(config-vlan)# name 33Char1234567890987CiscoBangalore
!ERROR: Long VLAN name is not enabled: Vlan name greater than 32 is not allowed!
Switch(config-vlan)# exit
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
36
Configuring VLANs

Advertisement

Table of Contents
loading

Table of Contents