Cisco switch configuration

AXISHK
AXISHK used Ask the Experts™
on
already configured my switch as attached file. When I try to ping the vlan ID, it returns with timeout. However, "ip routing" has been put in the configuration.It seems that my VLANs can't be communicated with each other. Any idea ?

Tks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018

Commented:
No file attached. :)
And idea - did you configure default gateway on host(s) to be Interface VLAN IP address?

Author

Commented:
Do I need to have at least one workstation on VLAN 3 before I can ping the vlan 3 interface in the switch ?

Tks
Dump.txt
Distinguished Expert 2018

Commented:
You need active port in that LAN. As long as no active ports in VLAN,  interface VLAN is down (host or active trunk port with assigned VLAN should be enough).
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Distinguished Expert 2018

Commented:
You can check if interface vlan is down issuing command
#sh ip int brief

Vlan20                     192.168.20.1    YES NVRAM  down                  down

Author

Commented:
yes, they are down.

No device is attached as it is a new switch.

Do you mean I need to configure a port as trunk port to allow vlan 3, 6, ... to pass through for testing.

In fact, we will put four switches in a stack so I believe no trunk port is needed...

Tks
Distinguished Expert 2018
Commented:
Then you will need to attach some host to VLAN to be able to test. Interface VLAN need to be up. :)

Author

Commented:
So, there should be at least on host plug into the VLAN before I can ping the VLAN interface ?? I can't explicitly turn on VLAN interface on .. ?

Tks
Distinguished Expert 2018

Commented:
You can try:
#interface vlan 1
#no autostate
That should bring interface vlan up, but it does not work on all switches (at least not on all interfaces).

Author

Commented:
Tks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial