cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10109
Views
10
Helpful
7
Replies

Show Vlan command does not show all Vlans

Meri Christmas
Level 1
Level 1

I am configuring six 3850's 48p F-S. They will eventually be a stack but for now I have updated the IOS to Denali 16.3.9 which was tough because some of the switches I received would only boot to rommon (switch:) and only a few would boot to the IOS allowing me to upgrade.

 

I'm working on switch 1 and a having a problem with seeing the Vlans I created. Show vlan only shows default vlan1 and the other vlans that come with the IOS example fddi token ring etc. but not the one I created.

When I did a show vtp status I got this

switch# 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 :1234.abcd.1234
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)

Feature VLAN:
____________________________
VTP Operating Mode : Server
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
Configuration Revision : 0
MD5 Digest : 0x57 0xcd 0x40 0xXX........

_____________________________________________________________________

 

 

switch# 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
Te1/1/1, Te1/1/2, Te1/1/3
Te1/1/4
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

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

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


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

When I do a run config, I can see the vlan I created (I have not assigned the vlan to any ports yet).  I don't know what I'm missing. 

Why can I not see my newly created vlan?

1 Accepted Solution

Accepted Solutions

Hi,

This is going to be my first switch or switch 1 in the stack. Can I keep it in transparent mode or should I switch to server? I 

I would keep them all in transparent mode of off. VTP  can be a headache at times and Cisco is slowly going away from it.

Good Luck!

HTH

View solution in original post

7 Replies 7

Reza Sharifi
Hall of Fame
Hall of Fame

You should be able to see the vlans you have created in the output of "sh vlan" regardless of any port assign to them or not.

Can you post the output of "sh run" and "sh vlan brief"?

HTH

Unfortunately I don't have a show vlan brief as I am not at the switch (I should have copied one before I left the office for the day), but I do have a show run. It's not fully configured. I stopped when I realized I couldn't see the vlan's I created. I deleted the vlan's I had and recreated vlan2 to show on here. It's below.

 

Last configuration change at 21:58:57 UTC Tue Sep 3 2019
!
version 16.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
!
hostname switch
!
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
!
no aaa new-model
boot system switch all flash:packages.conf
switch 1 provision ws-c3850-48p
!
!
!
!
ip routing
!
!
!
ip name-server 10.x.x.x 10.x.x.x
no ip domain lookup
ip dhcp excluded-address 10. x.x.x  10.x.x.x
ip dhcp excluded-address 10.x.x.x 10.x.x.x
ip dhcp excluded-address 10.x.x.x 10.x.x.x
ip dhcp excluded-address 10.x.x.x 10.x.x.x
!
ip dhcp pool Data
network 10.x.x.x 255.255.254.0
default-router 10.x.x.x
domain-name company.domain
dns-server 10.x.x.x 10.x.x.x 8.x.x.x
!
ip dhcp pool Voice
network 10.x.x.x 255.255.255.0
default-router 10.x.x.x
dns-server x.x.x.x 8.x.x.x
!
ip dhcp pool ME
network 10.x.x.x  255.255.255.128
default-router 10.x.x.x
dns-server 10.x.x.x 10.x.x.x 8.x.x.x
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3778650253
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3778650253
revocation-check none
rsakeypair TP-self-signed-3778650253
!
!
crypto pki certificate chain TP-self-signed-3778650253
certificate self-signed 01
30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33373738 36353032 3533301E 170D3139 30383237 31363236
35335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 37373836
35303235 33308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
0A028201 0100C384 AFB715E8 8F1D156A D1D45710 1B1018B5 7857B47E 9FD0F60D
27DE0469 18CBE22B 9D9EA3C2 397559CC 0CF26B86 337FAF3E D6E2C81D 22E2CEC2
56857C5A BE2B26A1 F935AF19 A9B25461 41920B26 46A7F246 6F87C017 8B33AE86
522513B1 FDA4AE71 6C5FD368 FE49179A BE3D1225 0F948102 91C4182F 3D22798D
128D7129 65957E32 E7D90094 53A38A63 6AF2E10D 3ADC82C9 C8FB7A02 00BAB378
BBBC5FB9 E833481D A452A5AC 394B65E0 76221A16 A3B82CD4 7BB32468 9E124478
D41CB6A4 F7C63FD1 9C5CAA11 1BA99044 8F93FA07 153315FC F22C7459 01FD4723
1D55A939 F8D4F8CC D9AD1D30 4E58320C C48C2418 0FA08D33 2E289F7D 3D7E80BE
EEE3F202 FF870203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
301F0603 551D2304 18301680 144ACC3C 1E85A478 CF7CA1EA 58A3AE56 FC21C812
D3301D06 03551D0E 04160414 4ACC3C1E 85A478CF 7CA1EA58 A3AE56FC 21C812D3
300D0609 2A864886 F70D0101 05050003 82010100 B9CEBB24 95632DE8 6C654150
DEB60349 56813D2E FC71E07B BE8000E0 18FD4F4C 92D0508D AA80973D BB087CB5
24806AF5 DCF46076 06330AA8 7689B9D4 91F8AFBC 1381A18D 62118B97 44CCDB60
9670481B 0B5F2EEC 869392FD 102E044D ECB2471E 8EFC86BB EEC26CDA 4B5EEAF7
ABA5AEF6 5774CE9E 555D3283 3CC03A98 BD400FB6 1757EE56 35BAFE29 77C973F7
362628BB D228DB8B 01AF85DD 927F3212 4A9F2D34 F4CAD747 CB506675 32A30C18
0E946F36 4EE0920A 562E77D2 39A66456 5D837E5E 07A6484E 2D4B0C5B 629AFB92
8B4A99D2 470320DB 609CDBE6 34ECE439 28CA4C55 04EFB13C 281F9784 F15CC7B9
3A181142 8C29D1D3 50EB563E CC637C0E 55F2C353
quit
!
license boot level ipbasek9
diagnostic bootup level minimal
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
redundancy
mode sso
!
!
transceiver type all
monitoring
!
!
class-map match-any system-cpp-police-topology-control
description Topology control
class-map match-any system-cpp-police-sw-forward
description Sw forwarding, L2 LVX data, LOGGING
class-map match-any system-cpp-default
description DHCP Snooping, EWLC control, EWCL data
class-map match-any system-cpp-police-sys-data
description Learning cache ovfl, Crypto Control, Exception, EGR Exception, NFL SAMPLED DATA, RPF Failed
class-map match-any system-cpp-police-punt-webauth
description Punt Webauth
class-map match-any system-cpp-police-l2lvx-control
description L2 LVX control packets
class-map match-any system-cpp-police-forus
description Forus Address resolution and Forus traffic
class-map match-any system-cpp-police-multicast-end-station
description MCAST END STATION
class-map match-any system-cpp-police-multicast
description Transit Traffic and MCAST Data
class-map match-any system-cpp-police-l2-control
description L2 control
class-map match-any system-cpp-police-dot1x-auth
description DOT1X Auth
class-map match-any system-cpp-police-data
description ICMP redirect, ICMP_GEN and BROADCAST
class-map match-any system-cpp-police-stackwise-virt-control
description Stackwise Virtual
class-map match-any non-client-nrt-class
class-map match-any system-cpp-police-routing-control
description Routing control
class-map match-any system-cpp-police-protocol-snooping
description Protocol snooping
class-map match-any system-cpp-police-system-critical
description System Critical and Gold
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
policy-map system-cpp-policy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
switchport mode trunk
speed nonegotiate
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!ON TO 1/0/48....

interface Vlan1
description Data VLAN
ip address 10.x.x.x 255.255.254.0 secondary
ip address 10.x.x.x 255.255.254.0
ip policy route-map dataPBR
!
interface Vlan2
description Member Services Vlan
ip address 10.x.x.x 255.255.255.128 secondary
ip address 10.x.x.x 255.255.255.128
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
ip access-list extended AutoQos-4.0-wlan-Acl-Bulk-Data
permit tcp any any eq 22
permit tcp any any eq 465
permit tcp any any eq 143
permit tcp any any eq 993
permit tcp any any eq 995
permit tcp any any eq 1914
permit tcp any any eq ftp
permit tcp any any eq ftp-data
permit tcp any any eq smtp
permit tcp any any eq pop3
ip access-list extended AutoQos-4.0-wlan-Acl-MultiEnhanced-Conf
permit udp any any range 16384 32767
permit tcp any any range 50000 59999
ip access-list extended AutoQos-4.0-wlan-Acl-Scavanger
permit tcp any any range 2300 2400
permit udp any any range 2300 2400
permit tcp any any range 6881 6999
permit tcp any any range 28800 29100
permit tcp any any eq 1214
permit udp any any eq 1214
permit tcp any any eq 3689
permit udp any any eq 3689
permit tcp any any eq 11999
ip access-list extended AutoQos-4.0-wlan-Acl-Signaling
permit tcp any any range 2000 2002
permit tcp any any range 5060 5061
permit udp any any range 5060 5061
ip access-list extended AutoQos-4.0-wlan-Acl-Transactional-Data
permit tcp any any eq 443
permit tcp any any eq 1521
permit udp any any eq 1521
permit tcp any any eq 1526
permit udp any any eq 1526
permit tcp any any eq 1575
permit udp any any eq 1575
permit tcp any any eq 1630
permit udp any any eq 1630
permit tcp any any eq 1527
permit tcp any any eq 6200
permit tcp any any eq 3389
permit tcp any any eq 5985
permit tcp any any eq 8080
!
!
!
control-plane
service-policy input system-cpp-policy
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
line vty 5 15
login
!
!
mac address-table notification mac-move
!
!
!
!
!
ap dot11 airtime-fairness policy-name Default 0
ap group default-group
ap hyperlocation ble-beacon 0
ap hyperlocation ble-beacon 1
ap hyperlocation ble-beacon 2
ap hyperlocation ble-beacon 3
ap hyperlocation ble-beacon 4
end

____________________________________

I have been looking in some community discussions and I have used the VTP Primary command, so maybe that's what I need?

 

Can you make sure the VTP mode is transparent or off?

than create a teat vlan

example:

config t

vlan 3

sh vlan 

sh vlan brief

 

HTH

Yes I can definitely do this and let you know.

 

Thank you so much!

I changed VTP to transport then created a test vlan 3. Then I did a sh vlan and I saw it!

 

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
Te1/1/1, Te1/1/2, Te1/1/3
Te1/1/4
3 VLAN0003 active
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

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
3 enet 100003 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

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


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

 

So it worked! 

 

This is going to be my first switch or switch 1 in the stack. Can I keep it in transparent mode or should I switch to server? I obviously want the other switches in the stack to also have this info.

 

Thank you!

Hi,

This is going to be my first switch or switch 1 in the stack. Can I keep it in transparent mode or should I switch to server? I 

I would keep them all in transparent mode of off. VTP  can be a headache at times and Cisco is slowly going away from it.

Good Luck!

HTH

Will do and thank you again!

Review Cisco Networking for a $25 gift card