
Table of Contents 1 IP Routing Table Commands····················································································································1-1 IP Routing Table Commands··················································································································1-1 display ip routing-table·····················································································································1-1 display ip routing-table acl···············································································································1-4 display ip routing-table ip-address···································································································1-7 display ip routing-table ip-prefix·······································································································1-9 display ip routing-table protocol·····································································································1-10 display ip routing-table statistics····································································································1-12 display ip relay-route ·····················································································································1-13 display ip relay-tunnel····················································································································1-13 display ipv6 routing-table···············································································································1-14 display ipv6 routing-table acl ·········································································································1-15 display ipv6 routing-table ipv6-address·························································································1-16 display ipv6 routing-table ipv6-address1 ipv6-address2 ·······························································1-17 display ipv6 routing-table ipv6-prefix ·····························································································1-18 display ipv6 routing-table protocol·································································································1-19 display ipv6 routing-table statistics································································································1-19 display ipv6 routing-table verbose·································································································1-20 display ipv6 relay-route··················································································································1-22 display ipv6 relay-tunnel················································································································1-22 display router id ·····························································································································1-23 router id ·········································································································································1-24 reset ip routing-table statistics protocol·························································································1-24 reset ipv6 routing-table statistics ···································································································1-25 i 1 IP Routing Table Commands z The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. z EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features. IP Routing Table Commands display ip routing-table Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose | | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters vpn-instance vpn-instance-name: Displays routing table information for a VPN instance. The vpn-instance-name argument represents the instance name and is a string of 1 to 31 case-sensitive characters. verbose: Displays detailed routing table information, including that for inactive routes. With this keyword absent, the command displays only brief information about active routes. |: Uses a regular expression to filter output information. For details about regular expressions, refer to the section CLI Display in Basic System Configuration in the System Volume. begin: Displays route entries starting from the one specified by the regular expression. exclude: Displays route entries not matching the regular expression. include: Displays route entries matching the regular expression. regular-expression: Regular expression, a string of 1 to 256 case-sensitive characters used for specifying routing entries. Description Use the display ip routing-table command to display brief information about active routes in the routing table. 1-1 This command displays brief information about a routing table, with a routing entry contained in one line. The information displayed includes destination IP address/mask length, protocol, priority, cost, next hop and outbound interface. This command only displays the routes currently in use, that is, the optimal routes. Use the display ip routing-table verbose command to display detailed information about all routes in the routing table. This command displays detailed information about all active and inactive routes, including the statistics of the entire routing table and information for each route. Examples # Display brief information about active routes in the routing table. <Sysname> display ip routing-table Routing Tables: Public Destinations : 4 Routes : 4 Destination/Mask Proto Pre Cost NextHop Interface 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 192.168.80.0/24 Direct 0 0 192.168.80.10 Vlan1 192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0 Table 1-1 display ip routing-table command output description Field Description Destinations Number of destination addresses Routes Number of routes Destination/Mask Destination address/mask length Proto Protocol that presents the route Pre Priority of the route Cost Cost of the route Nexthop Address of the next hop on the route Interface Outbound interface for packets to be forwarded along the route # Display detailed information about all routes in the routing table. <Sysname> display ip routing-table verbose Routing Table : Public Destinations : 4 Routes : 4 Destination: 10.1.1.0/24 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 10.1.1.1 Interface: Vlan-interface1 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL 1-2 State: Active Adv Age: 00h00m30s Tag: 0 Destination: 10.1.1.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h00m30s Tag: 0 Destination: 127.0.0.0/8 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h00m36s Tag: 0 Destination: 127.0.0.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h00m36s Tag: 0 Displayed first are statistics for the whole routing table, followed by detailed description of each route (in sequence). Table 1-2 display ip routing-table verbose command output description Field Description Destination Destination address/mask length Protocol Protocol that presents the route Process ID Process ID Preference Priority of the route Cost Cost of the route NextHop Address of the next hop on the route Interface Outbound interface for packets to be forwarded along the route RelyNextHop The next hop address obtained through routing recursion Neighbour Neighboring address determined by Routing Protocol Tunnel ID Tunnel ID 1-3 Field Description Label Label Route status: Active This is an active unicast route. Adv This route can be advertised. Delete This route is deleted. Gateway This is an indirect route. Number of holddown routes. Holddown is a route advertisement policy used in some distance vector (D-V) routing protocols, such as RIP, to avoid the propagation of Holddown some incorrect routes. It distributes a Holddown route during a period regardless of whether a new route to the same destination is found. For details, refer to corresponding routing protocols. The route was discovered by an Interior Gateway Protocol Int (IGP). The route is not advertised when the router advertises routes NoAdv based on policies. State Normally, among routes to a destination, the route with the highest priority is installed into the core routing table and NotInstall advertised, while a NotInstall route cannot be installed into the core routing table but may be advertised. The packets matching a Reject route will be dropped. Besides, the router sends ICMP unreachable messages to the sources Reject of the dropped packets. The Reject routes are usually used for network testing. A static route is not lost when you perform the save operation Static and then restart the router. Routes configured manually are marked as static. Unicast Unicast routes Inactive Inactive routes Invalid Invalid routes WaitQ The route is the WaitQ during route recursion. TunE Tunnel GotQ The route is in the GotQ during route recursion. Time for which the route has been in the routing table, in the sequence of hour, Age minute, and
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages26 Page
-
File Size-