Static Routes 87
Perform the following configuration in system view.
Displaying and Debugging Static Routes
After you configure static and default routes, execute the display command in all
views, to display the static route configuration, and to verify the effect of the
configuration.
Example: Typical Static Route Configuration
As shown in the Figure 24, the masks of all the IP addresses in the figure are
255.255.255.0. All the hosts or switches must be interconnected in pairs, by
configuring static routes.
Tabl e 81 Deleting All Static Routes
Operation Command
Delete all static routes delete static-routes all
Tabl e 82 Displaying and Debugging the Routing Table
Operation Command
View routing table summary display ip routing-table
View routing table details display ip routing-table verbose
View the detailed information of a specific
route
display ip routing-table
ip-address
View the route filtered through specified basic
access control list (ACL)
display ip routing-table acl {
acl-number | acl-name } [ verbose
]
View the route information that through
specified ip prefix list
display ip routing-table
ip-prefix ip-prefix-number [
verbose ]
View the routing information found by the
specified protocol
display ip routing-table protocol
protocol [ inactive | verbose ]
View the tree routing table display ip routing-table radix
View the integrated routing information display ip routing-table
statistics