Cisco 2960配置vlan出现extended VLAN(s) not allowed in current VTP mode

L2SW010#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
L2SW010(config)#vlan 3001
L2SW010(config-vlan)#name vlan3001
L2SW010(config-vlan)#mtu 1450
L2SW010(config-vlan)#ret
L2SW010(config-vlan)#re 
L2SW010(config-vlan)#remote-span 
L2SW010(config-vlan)#end
% Failed to create VLANs 3001
Extended VLAN(s) not allowed in current VTP mode.
%Failed to commit extended VLAN(s) changes.

L2SW010#
Apr  1 04:56:43.092: %SW_VLAN-4-VLAN_CREATE_FAIL: Failed to create VLANs 3001: extended VLAN(s) not allowed in current VTP mode
Apr  1 04:56:43.097: %SYS-5-CONFIG_I: Configured from console by console

在VLAN Database中不能创建扩展VLAN,只能在配置模式下,并且是VTP透明模式下才能创建

L2SW010#show vtp status
VTP Version capable             : 1 to 3
VTP version running             : 1
VTP Domain Name                 : 
VTP Pruning Mode                : Disabled
VTP Traps Generation            : Disabled
Device ID                       : 0008.306a.7780
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 10.18.10.2 on interface Vl1 (lowest numbered VLAN interface found)

Feature VLAN:
--------------
VTP Operating Mode                : Server
Maximum VLANs supported locally   : 255
Number of existing VLANs          : 5
Configuration Revision            : 0
MD5 digest                        : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD 
                                    0x56 0x9D 0x4A 0x3E 0xA5 0x69 0x35 0xBC 

目前VTP有3个版本

show vtp status 查看vtp版本
v1版本的VLAN范围是1~1005
v2版本的VLAN范围是1~1005(普通的),1006~4096为扩展的,只能在透明模式下创建
v3版本的VLAN范围是1~4096,以前扩展的可以直接使用了

正确方式:

L2SW010#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
L2SW010(config)#vtp mode transparent  
Setting device to VTP Transparent mode for VLANS.
L2SW010(config)#vlan 3001
L2SW010(config-vlan)#name vlan3001
L2SW010(config-vlan)#end
L2SW010#
Apr  1 04:58:36.196: %SYS-5-CONFIG_I: Configured from console by console
L2SW010#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi1/0/1, Gi1/0/2, Gi1/0/3
                                                Gi1/0/4, Gi1/0/5, Gi1/0/6
                                                Gi1/0/7, Gi1/0/8, Gi1/0/9
                                                Gi1/0/10, Gi1/0/11, Gi1/0/12
                                                Gi1/0/13, Gi1/0/14, Gi1/0/15
                                                Gi1/0/16, Gi1/0/17, Gi1/0/18
                                                Gi1/0/19, Gi1/0/20, Gi1/0/21
                                                Gi1/0/22, Gi1/0/23, Gi1/0/24
                                                Gi1/0/25, Gi1/0/26, Gi1/0/27
                                                Gi1/0/28, Gi1/0/29, Gi1/0/30
                                                Gi1/0/31, Gi1/0/32, Gi1/0/33
                                                Gi1/0/34, Gi1/0/35, Gi1/0/36
                                                Gi1/0/37, Gi1/0/38, Gi1/0/39
                                                Gi1/0/40, Gi1/0/41, Gi1/0/42
                                                Gi1/0/43, Gi1/0/44, Gi1/0/45
                                                Gi1/0/46, Gi1/0/47, Gi1/0/48
                                                Gi1/0/49, Gi1/0/50, Gi1/0/51
                                                Gi1/0/52
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
          
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 
3001 vlan3001                         active    

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0   
1002 fddi  101002     1500  -      -      -        -    -        0      0   
1003 tr    101003     1500  -      -      -        -    -        0      0   
1004 fdnet 101004     1500  -      -      -        ieee -        0      0   
1005 trnet 101005     1500  -      -      -        ibm  -        0      0   
3001 enet  103001     1500  -      -      -        -    -        0      0   

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

L2SW010# 
lookback
  • 本文由 发表于 2020年8月31日16:56:43
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: