O'Reilly logo

Cisco® Field Manual: Catalyst® Switch Configuration by Steve McQuerry, Dave Hucaby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12-6. Packet Tracing

  • The ping (Packet Internet Groper) command can be used to test end-to-end connectivity from a switch to a remote host. The IP ping uses ICMP type 8 requests and ICMP type 0 replies.

  • The traceroute or Layer 3 traceroute command can be used to discover the routers along the path that packets are taking to a destination. An IP traceroute uses UDP probe packets on port 33434.

  • The l2trace or Layer 2 traceroute command can be used to discover the physical path that a packet will take through a switched network.

  • l2trace looks up the destination in the forwarding table, and then contacts the next neighboring switch via CDP. Each switch hop is queried in a similar fashion.

  • l2trace is only supported on Catalyst 4000, 5000, and 6000 (COS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required