cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22546
Views
35
Helpful
4
Replies

Vlan names exceeded 20 characters

AJAZ NAWAZ
Level 5
Level 5

Does this limitation vary depending on platform and VTP version ?

thank you

4 Replies 4

Ivan Shirshin
Cisco Employee
Cisco Employee

Hi Ajaz,

If you mean the messages such as the following:

      Warning: Vlan 111 name length exceeded the recommended length of 20 characters.

then is just an informational message. You are allowed to assign vlan names up to 32 characters.

In IOS, the VLAN name length has always had a maximum length of 32 characters and if the name is greater than 32 characters, then it is truncated. This behavior is the same for all switches running IOS.

It is all to do with VTPv3 - basically if you were to configure all 4000 VLAN names with 32 characters, there wouldn't be enough space in NVRAM to store the VLAN configs. So the recommended limit i VTPv3 is in use (or planned to be in future) is to limit the names to 20 characters. If you aren't using VTP (or  if  it's  unlikely you'll be configuring all 4K VLANs!), you can safely ignore this warning.

Kind Regards,
Ivan Shirshin

**Please grade this post if you find it useful.

Kind Regards,
Ivan

If you upgrade a switch that WAS running VTP 2.0, I could put in all 32 characters. However, i find that after upgrading to vtp3, I can NOT enter anything longer than 20 characters.  Is there a way to over-ride this?

singhaam007
Level 3
Level 3

Hi Ajaz,

Defines a text string used as the name of the VLAN; valid values are from 1 to 32 characters.

thats just informational message

thanks

You may try "system vlan long-name " ,

thanks.

Review Cisco Networking products for a $25 gift card