- Table of Contents
-
- 05-Layer 3-IP Routing Configuration Guide
- 00-Preface
- 01-Basic IP routing configuration
- 02-Static routing configuration
- 03-RIP configuration
- 04-OSPF configuration
- 05-IS-IS configuration
- 06-BGP configuration
- 07-Policy-based routing configuration
- 08-IPv6 static routing configuration
- 09-RIPng configuration
- 10-OSPFv3 configuration
- 11-IPv6 policy-based routing configuration
- 12-Routing policy configuration
- 13-DCN configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
01-Basic IP routing configuration | 144.20 KB |
Contents
Extension attribute redistribution
Setting the maximum lifetime for routes and labels in the RIB
Setting the maximum lifetime for routes in the FIB
Enabling the RIB to flush route attribute information to the FIB
Configuring inter-protocol FRR
Enabling route fast switchover
Configuring the routing-mode hardware resource mode
Configuring routing policy-based recursive lookup
Setting the maximum number of active routes supported by the device
Display and maintenance commands for basic IP routing
Configuring basic IP routing
This chapter focuses on unicast routing protocols. For more information about multicast routing protocols, see IP Multicast Configuration Guide.
About IP routing
IP routing directs IP packet forwarding on routers. Based on the destination IP address in the packet, a router looks up a route for the packet in a routing table and forwards the packet to the next hop. Routes are path information used to direct IP packets.
Routing table
A RIB contains the global routing information and related information, including route recursion, route redistribution, and route extension information. The router selects optimal routes from the routing table and puts them into the FIB table. It uses the FIB table to forward packets. For more information about the FIB table, see Layer 3—IP Services Configuration Guide.
Route categories
Table 1 categorizes routes by different criteria.
Criterion |
Categories |
Origin |
· Direct route—A direct route is discovered by the data link protocol on an interface, and is also called an interface route. · Static route—A static route is manually configured by an administrator. · Dynamic route—A dynamic route is dynamically discovered by a routing protocol. |
Destination |
· Network route—The destination is a network. The subnet mask is less than 32 bits. · Host route—The destination is a host. The subnet mask is 32 bits. |
Whether the destination is directly connected |
· Direct route—The destination is directly connected. · Indirect route—The destination is indirectly connected. |
Dynamic routing protocols
Static routes work well in small, stable networks. They are easy to configure and require fewer system resources. However, in networks where topology changes occur frequently, a typical practice is to configure a dynamic routing protocol. Compared with static routing, a dynamic routing protocol is complicated to configure, requires more router resources, and consumes more network resources.
Dynamic routing protocols dynamically collect and report reachability information to adapt to topology changes. They are suitable for large networks.
Dynamic routing protocols can be classified by different criteria, as shown in Table 2.
Table 2 Categories of dynamic routing protocols
Criterion |
Categories |
Operation scope |
· IGPs—Work within an AS. Examples include RIP, OSPF, and IS-IS. · EGPs—Work between ASs. The most popular EGP is BGP. |
Routing algorithm |
· Distance-vector protocols—Examples include RIP and BGP. BGP is also considered a path-vector protocol. · Link-state protocols—Examples include OSPF and IS-IS. |
Destination address type |
· Unicast routing protocols—Examples include RIP, OSPF, BGP, and IS-IS. · Multicast routing protocols—Examples include PIM-SM and PIM-DM. |
IP version |
· IPv4 routing protocols—Examples include RIP, OSPF, BGP, and IS-IS. · IPv6 routing protocols—Examples include RIPng, OSPFv3, IPv6 BGP, and IPv6 IS-IS. |
An AS refers to a group of routers that use the same routing policy and work under the same administration.
Route preference
Routing protocols, including static and direct routing, each by default have a preference. If they find multiple routes to the same destination, the router selects the route with the highest preference as the optimal route.
The preference of a direct route is always 0 and cannot be changed. You can configure a preference for each static route and each dynamic routing protocol. The following table lists the route types and default preferences. The smaller the value, the higher the preference.
Table 3 Route types and default route preferences
Route type |
Preference |
Direct route |
0 |
Multicast static route |
1 |
OSPF |
10 |
IS-IS |
15 |
Unicast static route |
60 |
RIP |
100 |
OSPF ASE |
150 |
OSPF NSSA |
150 |
IBGP |
255 |
EBGP |
255 |
Unknown (route from an untrusted source) |
256 |
Load sharing
A routing protocol might find multiple optimal equal-cost routes to the same destination. You can use these routes to implement equal-cost multi-path (ECMP) load sharing.
Static routing, IPv6 static routing, RIP, RIPng, OSPF, OSPFv3, BGP, IPv6 BGP, IS-IS, and IPv6 IS-IS support ECMP load sharing.
Route backup
Route backup can improve network availability. Among multiple routes to the same destination, the route with the highest priority is the primary route and others are secondary routes.
The router forwards matching packets through the primary route. When the primary route fails, the route with the highest preference among the secondary routes is selected to forward packets. When the primary route recovers, the router uses it to forward packets.
Route recursion
To use a static, BGP, or RIP route that has an indirectly connected next hop, a router must perform route recursion to find the output interface to reach the next hop.
Link-state routing protocols, such as OSPF and IS-IS, do not need route recursion, because they obtain directly connected next hops through route calculation.
The RIB records and saves route recursion information, including brief information about related routes, recursive paths, and recursion depth.
Route redistribution
Route redistribution enables routing protocols to learn routing information from each other. A dynamic routing protocol can redistribute routes from other routing protocols, including direct and static routing. For more information, see the respective chapters on those routing protocols in this configuration guide.
The RIB records redistribution relationships of routing protocols.
Extension attribute redistribution
Extension attribute redistribution enables routing protocols to learn route extension attributes from each other, including BGP extended community attributes, OSPF area IDs, route types, and router IDs.
The RIB records extended attributes of each routing protocol and redistribution relationships of different routing protocol extended attributes.
Setting the maximum lifetime for routes and labels in the RIB
About this task
Perform this task to prevent routes of a certain protocol from being aged out due to slow protocol convergence resulting from a large number of route entries or long GR period.
Restrictions and guidelines
The configuration takes effect at the next protocol or RIB process switchover.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Set the maximum lifetime for IPv4 routes and labels in the RIB.
protocol protocol [ instance instance-name ] lifetime seconds
By default, the maximum lifetime for routes and labels in the RIB is 480 seconds.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Set the maximum lifetime for IPv6 routes and labels in the RIB.
protocol protocol [ instance instance-name ] lifetime seconds
By default, the maximum lifetime for routes and labels in the RIB is 480 seconds.
Setting the maximum lifetime for routes in the FIB
About this task
When GR or NSR is disabled, FIB entries must be retained for some time after a protocol process switchover or RIB process switchover. When GR or NSR is enabled, FIB entries must be removed immediately after a protocol or RIB process switchover to avoid routing issues. Perform this task to meet such requirements.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Set the maximum lifetime for IPv4 routes in the FIB.
fib lifetime seconds
By default, the maximum lifetime for routes in the FIB is 600 seconds.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Set the maximum lifetime for IPv6 routes in the FIB.
fib lifetime seconds
By default, the maximum lifetime for routes in the FIB is 600 seconds.
Enabling the RIB to flush route attribute information to the FIB
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Enable the RIB to flush route attribute information to the FIB.
flush route-attribute protocol
By default, the RIB does not flush route attribute information to the FIB.
Configuring the ECMP mode
About this task
An ECMP route group contains ECMP routes to the same destination. The following ECMP modes are supported:
· Normal mode—When one or multiple ECMP routes in an ECMP group fail, this mode enables the device to reallocate all traffic to the remaining routes in the ECMP group.
· Enhanced mode—When one or multiple ECMP routes in an ECMP group fail, this mode enables the device to reallocate only the traffic of the failed routes to the remaining routes.
· Eligibility mode—The device calculates the load of each route in an ECMP group at intervals configured by using the flowset-inactive-time argument. In this mode, the device redistributes the packets in one flowset from heavy-load routes to the route with lightest load for load sharing. One flowset refers to the packets to be forwarded in a flow within one flowset inactive time interval. The eligibility mode enables the device to forward all packets in one flowset through the same path.
· Compressed mode—This mode enables the device to compress the hardware resources of all ECMP route groups to save storage space for more ECMP route groups.
· Fixed mode—This mode enables the device to forward all packets in one flow through the same path. When the device forwards the first packet of a flow, it uses normal mode to select a path.
· Spray mode—This mode enables the device to forward a packet through the path with lightest load. In this mode, the device selects a path on a per-packet basis.
· FIR mode—The mechanisms vary depending on the ECMP route type.
¡ For static ECMP routes—You can specify the preferred links as primary links and the links that are less used as secondary links. The device preferentially distributes matching traffic to the primary links and uses an algorithm to distribute matching traffic among primary and secondary links for load sharing.
Use the ip route-static command to configure a static route as a primary or secondary link. The device preferentially distributes matching traffic to the primary links in FIR hash mode for load sharing. If the bandwidth usage of a primary link approaches the overall bandwidth usage upper threshold of all primary links, the device distributes new service traffic on the link to the secondary links in FIR hash mode for load sharing. The original traffic is still forwarded through the primary link.
The upper threshold for the primary link bandwidth usage on the device depends on the following settings:
- Lower and upper thresholds specified in the ecmp mode fir primary threshold command.
- Primary link bandwidth usage level specified by the primary threshold-level option in the static route configuration command.
For more information about the primary threshold-level option, the secondary keyword, the primary and secondary links, and link bandwidth usage for static routing, see "Configuring static routing" and Configuring IPv6 static routing."
For static ECMP routes not configured with the primary threshold-level option or the secondary keyword, the device distributes matching service traffic to links (without distinguishing primary and secondary links) in FIR hash mode for load sharing.
¡ For ECMP routes generated by dynamic routing protocols—The device distributes matching service traffic to links (without distinguishing primary and secondary links) in FIR hash mode for load sharing. The distribution mechanism is the same as that in eligibility, fixed, or spray mode.
License requirements for the FIR ECMP mode
To use the FIR ECMP mode, you must first install a valid license. For more information about licenses, see license management in Fundamentals Configuration Guide.
Restrictions and guidelines
This configuration takes effect at reboot. Make sure the reboot does not impact your network.
The task applies to both IPv4 and IPv6 ECMP routes.
As a best practice to avoid resource overuse by an FIR ECMP group, set the flowset size to a value in the range of 1 to 4
In an IRF fabric, packets of the same data flow might be forwarded through different output interfaces if the following conditions exist:
· The ecmp mode enhanced command is configured in the IRF fabric.
· The packets of the same data flow are received on the interfaces of different IRF member devices.
Follow these guidelines when you configure the FIR ECMP mode:
· Traffic cannot be evenly hashed among the primary interfaces if the following conditions exist:
¡ The sum of limited rates on all primary interfaces is greater than the traffic rate.
¡ The average traffic assigned to the primary interfaces is less than 70%.
· Traffic cannot be evenly hashed among the secondary interfaces if the following conditions exist:
¡ The sum of limited rates on all primary interfaces is less than the traffic rate.
¡ The average traffic assigned to the secondary interfaces is less than 70%.
The FIR ECMP mode is supported only on traffic that is equal to or greater than 1024 bytes.
If you uninstall the FIR license from the device that uses the FIR ECMP mode, the device cannot use the FIR ECMP mode to load share traffic. It will use the FIR ECMP hash mode specified with the hash-mode keyword to load share traffic. If the hash-mode keyword is not configured, the eligibility ECMP mode applies by default.
Procedure
1. Enter system view.
system-view
2. Configure the ECMP mode.
ecmp mode { compressed | eligible [ flowset-inactive-time flowset-inactive-time ] | enhanced | fixed | spray }
ecmp mode fir [ flowset-inactive-time flowset-inactive-time ] [ flowset-size flowset-size ] [ hash-mode { eligible | fixed | spray } ]
By default, the normal ECMP mode is used.
3. (Optional.) Set the upper and lower thresholds for the primary link bandwidth usage of the FIR ECMP mode.
ecmp mode fir primary threshold lower lower-threshold upper upper-threshold
By default, the upper and lower thresholds are not set for the primary link bandwidth usage of the FIR ECMP mode.
Configuring an ECMP group
About this task
If the per-flow load sharing mode is configured for the device that has multiple ECMP routes, the load sharing algorithm classifies packets with the same source and destination IP addresses into the same flow. The load sharing algorithm selects the same next hop and output interface for the packets. Without changing the load sharing mode, you cannot change the selection result. The selected next hop and output interface might fail to meet the requirements (for example, with low forwarding speed because of insufficient remaining bandwidth). You can perform this task to adjust the next hop and output interface selected by the load sharing algorithm for packets based on their DSCP value.
After creating an ECMP group, execute the interface nexthop command multiple times to add all next hops and output interfaces of ECMP routes to the ECMP group. Then execute the path-id command to create an ECMP path. The ECMP path automatically copies all next hops and output interfaces in the ECMP group and arranges them in a specific order. If a packet matches routes whose next hops and output interfaces belong to the same ECMP group, the packet matches the ECMP group. The device performs a Logical AND operation with the mask value specified in this command and the DSCP value of the packet. The packet matches the ECMP path when the operation result is the same as the value specified for the dscp-value argument.
The next hops and output interfaces in ECMP paths can be arranged in different orders. For packets of the same data flow, the load sharing algorithm can select different next hops and output interfaces if the packets match multiple ECMP paths. Suppose packets of a data flow have next hop and output interface options 1.1.1.1 (output interface 1), 2.2.2.2 (output interface 2), and 3.3.3.3 (output interface 3). Without an ECMP group configured, the load sharing algorithm selects the third option 3.3.3.3 (output interface 3) for the packets, but the link attached to the next hop cannot meet user demands because of high latency. With an ECMP group configured, the next hops and output interfaces might be arranged in the order of 2.2.2.2 (output interface 2), 3.3.3.3 (output interface 3), and 1.1.1.1 (output interface 1) for a ECMP path. In this case, the load sharing algorithm still selects the third option 1.1.1.1 (output interface 1) that can meet user demands. You can edit the DSCP value for packets to match different ECMP paths, and can change the next hop and output interface for packets accordingly.
Restrictions and guidelines
This feature applies only to the packets forwarded in per-flow load sharing mode. For more information about load sharing, see IP forwarding basics in Layer 3—IP Services Configuration Guide.
For an ECMP path in an ECMP group, the device divides the path ID value by the number of ECMP paths in that group to obtain the remainder. The device selects the same output interface and next hop for ECMP paths with the same remainder. If an ECMP group contains an ECMP path that has a path ID greater than the number of ECMP paths, the device might select the same next hop and output interface for traffic that matches different path IDs.
Procedure
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Create an ECMP group and enter its view.
ecmp-group group-id
5. Specify an output interface and a next hop for an ECMP group.
interface interface-type interface-number nexthop nexthop-address
You can execute this command multiple times to add multiple next hops and output interfaces to the ECMP group. The maximum number of supported next hops and output interfaces is 16.
6. Create an ECMP path.
path-id path-id dscp dscp-value mask mask-value
If you execute this command multiple times to specify different path IDs, you can create multiple ECMP paths. If you execute this command multiple times to specify the same path ID, the most recent configuration takes effect.
A DSCP value must be unique for all paths in an ECMP group.
Configuring RIB NSR
About this task
When an active/standby switchover occurs, nonstop routing (NSR) backs up routing information from the active process to the standby process to avoid routing flapping and ensure forwarding continuity.
RIB NSR provides faster route convergence than protocol NSR during an active/standby switchover.
Restrictions and guidelines
Use this feature with protocol GR or NSR to avoid route timeouts and traffic interruption.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Enable IPv4 RIB NSR.
non-stop-routing
By default, RIB NSR is disabled.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Enable IPv6 RIB NSR.
non-stop-routing
By default, RIB NSR is disabled.
Configuring inter-protocol FRR
About this task
This feature is applicable to services that are sensitive to packet loss and latency. Inter-protocol fast reroute (FRR) enables fast rerouting between routes of different protocols. A backup next hop is automatically selected to reduce the service interruption time caused by unreachable next hops. When the next hop of the primary link fails, the traffic is redirected to the backup next hop.
Among the routes to the same destination in the RIB, a router adds the route with the highest preference to the FIB table. After you configure this feature, the device will select a route of another routing protocol as the backup route. When the next hop of the primary route is unreachable, the device forwards packets through the backup route.
Restrictions and guidelines
This feature uses the next hop of a route from a different protocol as the backup next hop, which might cause loops.
If you configure both inter-protocol FRR and FRR for the specified routing protocol, FRR for the specified routing protocol takes effect.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Enable IPv4 RIB inter-protocol FRR.
inter-protocol fast-reroute [ vpn-instance vpn-instance-name ]
By default, inter-protocol FRR is disabled.
If you do not specify a VPN instance, inter-protocol FRR is enabled for the public network.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Enable IPv6 RIB inter-protocol FRR.
inter-protocol fast-reroute [ vpn-instance vpn-instance-name ]
By default, inter-protocol FRR is disabled.
If you do not specify a VPN instance, inter-protocol FRR is enabled for the public network.
Enabling route fast switchover
About this task
This feature applies to a device that provides the same physical output interface for large numbers of routes, including ECMP routes and primary/secondary routes. When a link failure occurs on the interface, the device must perform the following tasks before switching the traffic to another route:
1. Deletes all ARP or ND entries for the link.
2. Instructs the FIB to delete the associated FIB entries.
This procedure is time consuming and interrupts traffic for a long time. To resolve this problem, you can enable route fast switchover. This feature allows the device to instruct the FIB to delete the invalid FIB entries for route switchover first.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enable IPv4 route fast switchover.
ip route fast-switchover enable
By default, IPv4 route fast switchover is disabled.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enable IPv6 route fast switchover.
ipv6 route fast-switchover enable
By default, IPv6 route fast switchover is disabled.
Configuring the routing-mode hardware resource mode
About this task
The following routing-mode hardware resource modes are available:
· IPv6-64—Supports only the IPv6 routes with prefixes shorter than or equal to 64 bits.
· IPv6-128—Supports IPv6 routes with prefixes longer than 64 bits.
Restrictions and guidelines
This feature takes effect after a device reboot. Make sure the reboot does not impact your network.
If you disable support for IPv6 routes with prefixes longer than 64 bits, IPv6 host routes with a prefix length of 128 do not support ECMP.
Procedure
1. Enter system view.
system-view
2. Configure the routing-mode hardware resource mode.
hardware-resource routing-mode { ipv6-64 | ipv6-128 }
By default, the routing-mode hardware resource mode is IPv6-128.
Configuring routing policy-based recursive lookup
About this task
Configure routing policy-based recursive lookup to control route recursion results. For example, when a route changes, the routing protocol has to perform a route recursion if the next hop is indirectly connected. The routing protocol might select an incorrect path, which can cause traffic loss. To prevent this problem, you can use a routing policy to filter out incorrect routes. The routes that pass the filtering of the routing policy will be used for route recursion.
Restrictions and guidelines
The apply clauses in the specified routing policy cannot take effect.
Make sure a minimum of one related route can match the routing policy for correct traffic forwarding.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Configure routing policy-based recursive lookup.
protocol protocol nexthop recursive-lookup route-policy route-policy-name
By default, routing policy-based recursive lookup is not configured.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Configure routing policy-based recursive lookup.
protocol protocol nexthop recursive-lookup route-policy route-policy-name
By default, routing policy-based recursive lookup is not configured.
Setting the maximum number of active routes supported by the device
About this task
To perform this task:
· You can use the routing-table limit number warn-threshold command to specify an alarm threshold. When the percentage of active routes exceeds the alarm threshold, the system generates a system log message but still accepts active routes. You can take relevant actions based on the message to save system resources. If the number of active routes reaches the maximum number, no more routes can be added and new routes are discarded.
· You can use the routing-table limit number simply-alert command to specify an alarm threshold. When the maximum number of active IPv4/IPv6 routes is exceeded, the device still accepts new active routes but generates a system log message. You can take relevant actions based on the message to save system resources.
· If the specified maximum number of active routes is smaller than the number of active routes on the device, the active routes that exceed the maximum number will not become invalid. If a route flapping occurs, the routes that exceed specified maximum number cannot be activated.
Procedure (IPv4)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv4 address family and enter its view.
address-family ipv4
4. Set the maximum number of active IPv4 routes supported by the device.
routing-table limit number { warn-threshold | simply-alert }
By default, the maximum number of active IPv4 routes is not set for the device.
Configuration in RIB IPv4 address family view limits the number of active IPv4 routes for the public network and all VPN instances.
Procedure (IPv6)
1. Enter system view.
system-view
2. Enter RIB view.
rib
3. Create the RIB IPv6 address family and enter its view.
address-family ipv6
4. Set the maximum number of active IPv6 routes supported by the device.
routing-table limit number { warn-threshold | simply-alert }
By default, the maximum number of active IPv6 routes is not set for the device.
Configuration in RIB IPv6 address family view limits the number of active IPv6 routes for the public network and all VPN instances.
Enabling MTP
About this task
Use maintenance probe (MTP) to locate faults for routing protocols depending on your network maintenance requirements. MTP enables the device to automatically ping and tracert a neighbor upon expiration of the neighbor hold timer and record the ping and tracert results. To view detailed fault information, use the display commands of routing protocols, for example, the display bgp troubleshooting command. To view detailed MTP information, use the display logbuffer command.
Procedure
1. Enter system view.
system-view
2. Enable MTP.
maintenance-probe enable
By default, MTP is disabled.
Display and maintenance commands for basic IP routing
Execute display commands in any view and reset commands in user view.
Task |
Command |
Display the ECMP mode. |
display ecmp mode |
Display the routing-mode hardware resource mode. |
display hardware-resource routing-mode |
Display routing table information. |
display ip routing-table [ all-vpn-instance | vpn-instance vpn-instance-name ] [ verbose ] display ip routing-table all-routes |
Display information about routes permitted by an IPv4 basic ACL. |
display ip routing-table [ vpn-instance vpn-instance-name ] acl ipv4-acl-number [ verbose ] |
Display information about routes to a specific destination address. |
display ip routing-table [ vpn-instance vpn-instance-name ] ip-address [ mask-length | mask ] [ longer-match ] [ verbose ] |
Display information about routes to a range of destination addresses. |
display ip routing-table [ vpn-instance vpn-instance-name ] ip-address1 to ip-address2 [ verbose ] |
Display information about routes permitted by an IP prefix list. |
display ip routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] |
Display information about routes installed by a protocol. |
display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] |
Display IPv4 route statistics. |
display ip routing-table [ all-routes | all-vpn-instance | vpn-instance vpn-instance-name ] statistics |
Display brief IPv4 routing table information. |
display ip routing-table [ vpn-instance vpn-instance-name ] summary |
Display route attribute information in the IPv6 RIB. |
display ipv6 rib attribute [ attribute-id ] |
Display IPv6 RIB GR state information. |
display ipv6 rib graceful-restart |
Display next hop information in the IPv6 RIB. |
display ipv6 rib nib [ self-originated ] [ nib-id ] [ verbose ] display ipv6 rib nib protocol protocol [ verbose ] |
Display next hop information for IPv6 direct routes. |
display ipv6 route-direct nib [ nib-id ] [ verbose ] |
Display IPv6 routing table information. |
display ipv6 routing-table [ all-vpn-instance | vpn-instance vpn-instance-name ] [ verbose ] display ipv6 routing-table all-routes |
Display information about routes permitted by an IPv6 basic ACL. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] acl ipv6-acl-number [ verbose ] |
Display information about routes to an IPv6 destination address. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] |
Display information about routes to a range of IPv6 destination addresses. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address1 to ipv6-address2 [ verbose ] |
Display information about routes permitted by an IPv6 prefix list. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] |
Display information about routes installed by an IPv6 protocol. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] |
Display IPv6 route statistics. |
display ipv6 routing-table [ all-routes | all-vpn-instance | vpn-instance vpn-instance-name ] statistics |
Display brief IPv6 routing table information. |
display ipv6 routing-table [ vpn-instance vpn-instance-name ] summary |
Display route attribute information in the RIB. |
display rib attribute [ attribute-id ] |
Display ECMP group information. |
display rib ecmp-group [ group-id ] |
Display RIB GR state information. |
display rib graceful-restart |
Display next hop information in the RIB. |
display rib nib [ self-originated ] [ nib-id ] [ verbose ] display rib nib protocol protocol [ verbose ] |
Display next hop information for direct routes. |
display route-direct nib [ nib-id ] [ verbose ] |
Clear IPv4 route statistics. |
reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } reset ip routing-table [ all-routes | all-vpn-instance ] statistics protocol { protocol | all } |
Clear IPv6 route statistics. |
reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } reset ipv6 routing-table [ all-routes | all-vpn-instance ] statistics protocol { protocol | all } |