06-21-2015 04:50 AM - edited 03-08-2019 12:38 AM
I'm configuring my Cisco Switch C2960G-24TC-L as follow:
Please find attached the outputs of these commands (after the switch rebooted):
sh ip int brief
show vlan
sh running-config
I wonder why all interfaces are down except vlan1 and vlan2?
Also there is no ports assigned to vlan2, while it is supposed to show Gi0/21-24 ?
What's wrong with my config?
Solved! Go to Solution.
06-21-2015 09:36 PM
Hi jalil1408 ,
1. I wonder why all interfaces are down except vlan1 and vlan2?
Ans: you have called interface vlan 1 and interface vlan 2 . and it is enable by no shut command.
so it is administratively up but line Protocol is down because there is no device connected to any port.
2. Also there is no ports assigned to vlan2, while it is supposed to show Gi0/21-24 ?
Ans: int range Gi0/21-24 is trunk port and all vlan allowed so all vlan can pass through this port. for more details give show trunk.
*** your configuration is OK. but you have configured interface vlan 1 and interface vlan 2 and it has no ip address. if really no ip address for this vlan then
I thik no need to configure interface vlan 1 and 2
That's all
Thanks
kafi
06-21-2015 06:51 AM
Is there a device connected to any of the ports?
It will show down until a device is connected to a port.
If if you do a shut, it will show administratively down. When administratively down, the port will not come up regardless of what is connected to the port, until a no shut is entered.
hope this helps
please rate helpful posts
thanks
07-07-2015 10:25 AM
This discussion has been reposted to the LAN, Switching and Routing community.
06-21-2015 03:35 PM
You have not assigned any ports to VLAN 2, that is why.
Martin
06-21-2015 09:36 PM
Hi jalil1408 ,
1. I wonder why all interfaces are down except vlan1 and vlan2?
Ans: you have called interface vlan 1 and interface vlan 2 . and it is enable by no shut command.
so it is administratively up but line Protocol is down because there is no device connected to any port.
2. Also there is no ports assigned to vlan2, while it is supposed to show Gi0/21-24 ?
Ans: int range Gi0/21-24 is trunk port and all vlan allowed so all vlan can pass through this port. for more details give show trunk.
*** your configuration is OK. but you have configured interface vlan 1 and interface vlan 2 and it has no ip address. if really no ip address for this vlan then
I thik no need to configure interface vlan 1 and 2
That's all
Thanks
kafi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide