Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VLANs that assigned to different subnets

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

856 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