trying to get a better understanding of vlans other than the book resource. I dont understand why I can do a show vlan and I see a vlan listed but not when I do sh int vlan. I check my distibution & access and no vlan interface. My switches are in Server mode, does that make a difference and if not when do I know if I should be server/transparent/client. Is there a rule of thumb to follow.
The SHOW VLAN command shows the Layer 2 VLANS configured on the switch. The SHOW INTERFACE VLAN shows the Layer 3 configured for the VLAN. Typically the Layer 3 interfaces for VLANs are on distribution layers, but are sometimes on the core or access layer. It really depends on the design. On Layer 2 only switches, the only layer 3 interface you should see is the management interface.
You are referring to 2 different things. When you do a "sh vlan" you are looking at the vlans that exist on the switch at Layer 2.
When you look for interface vlans your are looking for L3 interfaces.
Put simply you have a single switch with 2 vlans that you see when you do a "sh vlan"
There are no interface vlans on the switch for these vlans.
So if you allocate 10 ports to vlan 10 and 10 ports to vlan 20 then attach PC's to these ports the 10 PC's attached to the vlan 10 ports can communicate with each other.
The 10 pc's attached to the vlan 20 ports can talk to each other.
BUT the 10 pc's in vlan 10 cannot talk to the 10 pc's in vlan 20 and vice-versa.
To allow them to talk to each other you have to enable inter-vlan routing. This is what the interface vlans are. So assuming your switch is a lyer 3 switch you can
int vlan 10
ip address 192.168.5.1 255.255.255.0
int vlan 20
ip address 192.168.6.1 255.255.255.0
If you now address the pc's in vlan 10 using addresses from the 192.168.5.x/24 subnet and set the default-gateway to 192.168.5.1 and for pc's in vlan 20 use 192.168.6.x/24 addressing with the default-gateway of 192.168.6.1 the machines can now communicate.
Bear in mind that the interface vlans for your vlans might not be on the switches you are looking at, they may be on other switches, it depends on your topology.
Whether your switches are in VTP server/client or transparent mode does not affect the L2/L3 discussion above.
I recommend you to define only 1 switch as server mode, so when you need to create, modify or delete a VLAN you can do it on this switch. All others change it to client with the VTP domain and password if is the case that it belongs to.
We have 3 identical switches configured by someone else and would like to claim some of the Gigabit ports(G1/G2/G3/G4) for use on servers. When we try to change the wiring and configuration, we run in to connectivity issues. Attached is a des...
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...