cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15573
Views
0
Helpful
11
Replies

Cant ping a device. Port is up/up

Process153
Level 1
Level 1

Hello,

Trying to solve a problem with a device connected to a port that appears to be without issue but I cannot ping it!

The device (a VC unit) is connected to the following port:

interface FastEthernet0/12
description user Port
switchport access vlan 5
switchport mode access
switchport voice vlan 55
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos vlan-based
auto qos voip trust
spanning-tree portfast

This port is hosted on a WS-C3560V2

This is the vlan and trunk info from the router:

interface FastEthernet0/24
description Connection to CME fastethernet0/0.701
switchport trunk encapsulation dot1q
switchport mode trunk
speed 100
duplex full
srr-queue bandwidth share 1 70 20 10
priority-queue out
mls qos trust dscp
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 150.25.0.100 255.255.128.0
!
interface Vlan55
no ip address
!
ip default-gateway 150.25.0.1
ip classless
ip http server
ip http secure-serversh run

This is the arp output from the router

Internet  150.25.0.130           26   MACADDRESS  ARPA   GigabitEthernet0/1.2

Its odd, other PC's and phones can happily negotiate their way out of the network etc but I cannot ping this one device.  AFAICS, the router knows about its presence due to the arp request but nothing can ping it....... Appreciate your thoughts!

(all the ip's have been substituted)

11 Replies 11

InayathUlla Sharieff
Cisco Employee
Cisco Employee

can you try this:

conf t

vlan configuration

vlan 5

vlan 555

and then try to ping?

Hi,

Thanks for your reply.  The port is already a member of those vlans. I did try but using your cmd format, the switch was not happy :)  I take it your cmds are the same as switchport access vlan x ?

Sorry my apologies I have misread the query.

Can you please tell me what is the subnet mask configured on the end device connected to port F0/12 of this switch?

Example:-

I just tested on pkt tracer connecting router to the switch and the ping was working fine.

Router---g0/1-----F0/0--Switch

router G0/1 config:-


!
interface GigabitEthernet0/0
ip address 150.25.0.130 255.255.128.0
duplex auto
speed auto

Switch config:-


interface FastEthernet0/1
description user Port
switchport access vlan 5
switchport mode access
switchport voice vlan 55
spanning-tree portfast
!

interface Vlan5
ip address 150.25.0.100 255.255.128.0
!

Switch#


Switch#sh ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 150.25.0.100 - 0060.2FBE.459E ARPA Vlan5
Internet 150.25.0.130 2 00D0.BCE5.AC01 ARPA Vlan5
Switch#

HTH

Regards

Inayath

No apology required my friend!  Mask is 255.255.128.0

One thing I have noticed is that the MD5 digeset address for the switch is not the router....... The router is in vtp server mode and the switch in transparent.  Wonder if there could be a vlan mismatch somewhere...

check the Spanning-tree on the switch for that vlan and verfiy if both the ports are in forwarding state.

VTP the MD5 digest checksum value needs to be same on all the devices.

No ports in blocking state.  I suppose I could force VTP to update by creating and removing a vlan

Tried creating a new vlan in the router which went ok and can not see any propagation onto the switch.  Noticed also there is no vtp domain.  I thought if I created the vlans on the switch to match the vlans already present in the router, trunking would work ok....

Also noticed the configuration revision number is 0 for both devices.  If I put the switch into client mode that should allow the router to update its vlan database right?

Thank you!

From were to were you are trying to ping?

 do your setup looks like this?

diag:- PC---Switch--router  

Result:- are you trying to ping the SVI ip address of vlan 5 from PC? 

I've putty(ed) on the switch and I'm trying to ping the device so

pc --- putty --- switch ---ping VC unti --no reply

pc --- putty ---- router ----ping vc --- no reply

you have to remove this command "switchport mode access"