Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cannot access devices on a vlan however the devices can access the switches

This is probably a quick fix, however I am baffled. I have set up 2960 switches with a vlan of 10 for access and vlan 1 for trunking. I can ping and access all my switches from any other switch. I can access the switches from the device on an switch port however I cannot access the device from the switch. Is there something I am missing in the port configuration. Here are some of the configurations on the switch:

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

interface FastEthernet0/1

switchport access vlan 10

switchport mode access

spanning-tree portfast

!

!

interface GigabitEthernet0/1

switchport access vlan 10

switchport mode trunk

!

interface GigabitEthernet0/2

switchport access vlan 10

switchport mode trunk

!

interface Vlan1

no ip address

no ip route-cache

!

interface Vlan10

ip address xxx.xxx.53.219 255.255.254.0

502-NSW-1#show spann vlan 10

VLAN0010

Spanning tree enabled protocol ieee

Root ID Priority 32778

Address 001d.e68e.e000

Cost 19

Port 25 (GigabitEthernet0/1)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)

Address 0024.1319.ed80

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 300

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/1 Desg FWD 19 128.1 Edge P2p

Gi0/1 Root FWD 19 128.25 Shr

Gi0/2 Desg FWD 4 128.26 P2p

If there is anything else to see, let me know

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: Cannot access devices on a vlan however the devices can acce

Where is the routing being done ? Sounds like the trunk is not working correctly.

3 REPLIES
Purple

Re: Cannot access devices on a vlan however the devices can acce

Where is the routing being done ? Sounds like the trunk is not working correctly.

Re: Cannot access devices on a vlan however the devices can acce

I would remove the "switchport access vlan 10" command from Gi0/2. If this does not work please post the full (sanitized) configs.

HTH,

Mark

Re: Cannot access devices on a vlan however the devices can acce

Do you mean that you can't ping the device that is connected to the switchport? Firewall enabled on the host?

John

HTH, John *** Please rate all useful posts ***
123
Views
0
Helpful
3
Replies