Solved

VLANs that assigned to different subnets

Posted on 2016-08-17
4
23 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 3

Assisted Solution

by:Steven Roman
Steven Roman earned 100 total points
Comment Utility
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 11

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 100 total points
Comment Utility
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 26

Accepted Solution

by:
Predrag Jovic earned 300 total points
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A Wildcard Certificate means all of your sub-domains will resolve to the same location, regardless of the non-SSL Document-Root specification. A user will need to purchase a wildcard SSL from a vendor or a reseller that supplies them. Similar to ha…
I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now