KOKILI OPTICSRELIABLE CONNECTIVITY Request a Quote

How to view the routing table on an H3C core switch

Use the display ip routing-table command in the CLI to view the routing table on an H3C switch.

Steps to View the Routing Table

  1. Access the CLI Connect to the H3C core switch via console, SSH, or Telnet and log in with appropriate credentials.
  2. Enter System View (if needed) Some commands may require you to be in system view:

    CodeCopy system-view

  3. Display IPv4 Routing Table To view the IPv4 routing table, use:

    CodeCopydisplay ip routing-table This command shows all routes, including destination network, subnet mask, protocol, preference, cost, next hop, and output interface .

  4. Display IPv6 Routing Table For IPv6 routes, use:

    CodeCopydisplay ipv6 routing-table This provides similar information for IPv6 networks .

  5. Optional Filters and Details
    • To view routes for a specific IP address:

      CodeCopydisplay ip routing-table ip-address [mask | mask-length] [longer-match]

    • To filter by protocol or view statistics:

      CodeCopydisplay ip routing-table protocoldisplay ip routing-table statistics

    • Add the verbose keyword to see detailed route information .
  6. Understanding the Output Each route entry typically includes:
    • Destination/Mask: Network or host address
    • Protocol: How the route was learned (Direct, Static, OSPF, etc.)
    • Preference (Pre): Route priority
    • Cost: Metric for route selection
    • NextHop: Next-hop IP address
    • Interface: Outgoing interface for the route Using these commands, you can monitor and troubleshoot routing on your H3C core switch effectively.

H3C S3100-52P COMMAND MANUAL Pdf Download | ManualsLib

Page 3 Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands This command

H3C Devices CLI Reference

For example, if you configure the shiprt alias for display ip routing-table, you can enter shiprt to execute the display ip routing-table

Master the Basic Command Configurations of Huawei, H3C, Ruijie,

As technology advances, networking switches have become an integral part of the IT infrastructure. They play a

H3C Switch Command Mastery: Streamlined Configuration

This article provides a hands-on guide to 50+ essential H3C switch commands, revealing hidden shortcuts and best practices

H3C Switch Layer 3 Routing FAQ: Expert Answers To Technical

This FAQ addresses the most common technical questions regarding H3C switch routing, from licensing requirements and protocol

Still Have a Technical Question?

Our team can help review your product selection.

Ask Our Team