H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 1 Static Route Configuration Commands
1-8
Examples
# Display the routing information of destination addresses ranging from 1.1.1.0 to
2.2.2.0.
<H3C>display ip routing-table 1.1.1.0 24 2.2.2.0 24
Routing tables:
Summary count: 3
Destination/Mask Protocol Pre Cost Nexthop Interface
1.1.1.0/24 DIRECT 0 0 1.1.1.1 Vlan-interface1
1.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT 0 0 2.2.2.1 Vlan-interface2
For detailed description of the output information, refer to Table 1-1.
1.1.5 display ip routing-table ip-prefix
Syntax
display ip routing-table ip-prefix ip-prefix-name [ verbose ]
View
Any view
Parameters
ip-prefix-name: Name of the IP address prefix list, containing 1 to 19 characters.
verbose: Specifies to display the detailed information about active and inactive routes
filtered through the ACL rules if this keyword is provided; specifies to display the brief
information about the active routes filtered through the ACL rules.
Description
Use the display ip routing-table ip-prefix command to display the routes filtered
through the specified ip-prefix list.
This command is used to track and display the routing policy. It is used to display the
routes filtering through the rules based on the input ip-prefix list name.
If the specified ip-prefix list does not exist, with the verbose keyword provided, this
command is used to display the detailed information about all active and inactive routes;
without the verbose argument keyword, this command is used to display the brief
information about all active routes only.
Examples
# Display the brief information about the active routes filtered through the IP-prefix list
named abc2, which permits the route with a prefix of 10.1.1.0 and a mask length of 24
to 32.