Solved

VLANs that assigned to different subnets

Posted on 2016-08-17
4
27 Views
Last Modified: 2016-08-22
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?
0
Comment
Question by:techy98
4 Comments
 
LVL 4

Assisted Solution

by:Steven Roman
Steven Roman earned 100 total points
ID: 41759570
Hello

The VLANS can be any number, they do not need to match but it is a good practice to follow if you can

show ip int brief will show the interfaces and IP
You may have SVI  (VLAN interface)  

sh int vlan10  or show running-config | sec interface Vlan10

Try that out

Also there may not be any SVI if you are uplinking to a Router.  The router may have sub interfaces and trunk ports  Example g0/0.10

Hope this helps

Thanks
0
 
LVL 12

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 100 total points
ID: 41759759
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

on the switch side I have


interface GigabitEthernet1/0/23
 description Uplink Router
 switchport mode trunk
!
interface GigabitEthernet1/0/24
 description Uplink PHXSW02
 switchport mode trunk
!
interface GigabitEthernet1/0/25
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface Vlan1
 ip address 10.100.1.5 255.255.255.0
!
interface Vlan2
 ip address 10.100.2.5 255.255.255.0
!
interface Vlan3
 ip address 10.100.3.5 255.255.255.0
!
interface Vlan4
 ip address 10.100.4.5 255.255.255.0
0
 
LVL 28

Accepted Solution

by:
Predrag Jovic earned 300 total points
ID: 41763381
The same thing as Steven Roman and Bryant Schaper wrote, but to extract only needed information.

# sh run | i interf|address|encaps
0
 

Author Closing Comment

by:techy98
ID: 41766369
thanks all. sh int bri worked fine but the command suggested by predrag was even able to see secondary ip assigned for a vlan
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question