I received an excel with list of VLANs that were matched with different subnets. For example,
vlan 10 - 192.168.10.0/24
vlan 11 - 192.168.30.0/24
vlan 12 - 192.168.50.0/24
vlan 13 - 192.168.100.0/24
But how can I verify if this information in Cisco switch? I tried different commands (show vlan, show interface trunk...etc.) but still could not find such info? could someone please help?
I would also say check the router, or layer 3 device, you can do a show ip int br, and a show run and look for the sub interfaces on a interface, they will have a dot1q associated vlan for example here what one of my routers shows:
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 1 native
ip address 192.168.2.1 255.255.255.0 secondary
ip address 10.100.1.1 255.255.255.0
ip helper-address 10.0.5.92
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 10.100.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/0.3
description Security VLAN
encapsulation dot1Q 3
ip address 10.10.10.1 255.255.255.0 secondary
ip address 10.100.3.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/0.4
encapsulation dot1Q 4
ip address 10.100.4.1 255.255.255.0
ip helper-address 10.0.5.92
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/0.5
encapsulation dot1Q 5
ip address 10.100.5.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
# sh run | i interf|address|encaps