After configuring a static route, you can run the display commands in any view to view and verify the related configuration.
Table 1 shows the commands for checking the static route configuration.
Action
Command
Check the configuration script.
display current-configuration
Check the abstract of the IPv4 routing table.
display ip routing-table
Check the details on the IPv4 routing table.
display ip routing-table verbose
Check the abstract of the IPv6 routing table.
display ipv6 routing-table
Check the details on the IPv6 routing table.
display ipv6 routing-table verbose