HP FlexFabric Switch Series

Similar documents
H3C S6300 Switch Series

HP 6125G & 6125G/XG Blade Switches

HP 7500 Switch Series

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

H3C S10500 Switch Series

HP FlexFabric 7900 Switch Series

HP 5920 & 5900 Switch Series

HP 5920 & 5900 Switch Series

HP FlexFabric 5700 Switch Series

HPE FlexNetwork 5510 HI Switch Series

Table of Contents. 2 Static Route Configuration Commands 2-1 Static Route Configuration Commands 2-1 delete static-routes all 2-1 ip route-static 2-1

Contents. BGP commands 1

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

HP FlexFabric 7900 Switch Series

HP FlexFabric 5930 Switch Series

HP A5820X & A5800 Switch Series MPLS. Configuration Guide. Abstract

HP 5920 & 5900 Switch Series

HP FlexFabric Switch Series

HP A5830 Switch Series Layer 3 - IP Routing. Configuration Guide. Abstract

HP A5820X & A5800 Switch Series Layer 3 - IP Routing. Configuration Guide. Abstract

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

HPE FlexFabric 5940 Switch Series

H3C S10500 Switch Series

H3C MSR Series Routers

HPE FlexNetwork HSR6800 Routers

HP Routing Switch Series

IP Routing Volume Organization

HP MSR Router Series. EVI Configuration Guide(V7) Part number: b Software version: CMW710-R0304 Document version: 6PW

HP Load Balancing Module

H3C S5120-HI Switch Series

Basic MPLS commands. display mpls forwarding ilm. Syntax. Views. Predefined user roles. Parameters. Usage guidelines. Examples

H3C S5120-SI Switch Series

Protecting an EBGP peer when memory usage reaches level 2 threshold 66 Configuring a large-scale BGP network 67 Configuring BGP community 67

H3C S12500-X Switch Series

HP FlexFabric 5930 Switch Series

OSPFv3 Commands. address-family (OSPFv3), page 4. authentication (OSPFv3), page 7

H3C S5820X&S5800 Series Ethernet Switches

Configuring basic MBGP

Operation Manual BGP. Table of Contents

H3C S7500E Series Ethernet Switches. Layer 3 - IP Routing. Configuration Guide. Hangzhou H3C Technologies Co., Ltd.

Configuration prerequisites 45 Configuring BGP community 45 Configuring a BGP route reflector 46 Configuring a BGP confederation 46 Configuring BGP

Operation Manual Routing Protocol. Table of Contents

Operation Manual MCE H3C S3610&S5510 Series Ethernet Switches. Table of Contents

FSOS IPv6 Routing Command Line Reference

FSOS IP Routing Command Line Reference

HP 5120 EI Switch Series

FiberstoreOS IP Routing Command Line Reference

Configuring BGP community 43 Configuring a BGP route reflector 44 Configuring a BGP confederation 44 Configuring BGP GR 45 Enabling Guard route

H3C S5130-EI Switch Series

FiberstoreOS. IPv6 Routing Command Line Reference

HP MSR Router Series. Layer 2 LAN Switching Command Reference(V7)

HP Routing Switch Series

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

H3C S5830V2 & S5820V2 Switch Series

OSPFv3 Address Families

Table of Contents 1 MBGP Configuration 1-1

VPLS configuration commands

OSPF Commands. adjacency stagger, page 7. authentication-key (OSPF), page 14

IS-IS basic configuration 37 DIS election configuration 41 Configuring IS-IS route redistribution 45 IS-IS GR configuration example 49 IS-IS FRR

Chapter 16 OSPF Version 3 Commands

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

FiberstoreOS V3.3 IPv6 Routing Command Line Reference

HPE FlexFabric 5940 Switch Series

OSPFv3 Address Families

OSPFv3 Address Families

H3C S12500 Series Routing Switches

Chapter 15 OSPF Commands

OSPF Commands on Cisco ASR 9000 Series Router

Table of Contents 1 OSPF Configuration 1-1

HPE FlexNetwork 5510 HI Switch Series

HP 5920 & 5900 Switch Series

Layer 3 - IP Routing Command Reference

VPLS configuration commands

HPE 5920 & 5900 Switch Series

HP 5920 & 5900 Switch Series

Configuring VPLS. VPLS overview. Operation of VPLS. Basic VPLS concepts

OSPF Commands on Cisco IOS XR Software

FiberstoreOS. IP Routing Command Line Reference

HP 6125G & 6125G/XG Blade Switches

MPLS VPN--Inter-AS Option AB

IS-IS Configuration Commands. Generic Commands. shutdown IS-IS XRS Routing Protocols Guide Page 533. Syntax [no] shutdown

H3C S9500E Series Routing Switches

HP 6125XLG Blade Switch

OSPF Command Reference

HP 5820X & 5800 Switch Series IRF. Command Reference. Abstract

VPLS configuration commands

Contents. Configuring a default route 1 Introduction to default routes 1

Table of Contents. BGP Configuration 1

Configuration Commands. Generic Commands. shutdown BGP XRS Routing Protocols Guide Page 731. Syntax [no] shutdown

HP 5920 & 5900 Switch Series

H3C SR G Core Routers

HP 3600 v2 Switch Series

HP 5120 SI Switch Series

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

MPLS VPN Inter-AS Option AB

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1

Table of Contents Chapter 1 MPLS L3VPN Configuration

BGP Best External. Finding Feature Information

HP 5920 & 5900 Switch Series

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

Transcription:

HP FlexFabric 12900 Switch Series Layer 3 IP Routing Command Reference Part number: 5998-6207 Software version: Release 1109 Document version: 6W100-20140718

Legal and notice information Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

Contents Basic IP routing commands 1 address-family ipv4 1 display ecmp mode 1 display ip routing-table 2 display ip routing-table acl 5 display ip routing-table ip-address 8 display ip routing-table prefix-list 10 display ip routing-table protocol 12 display ip routing-table statistics 13 display rib attribute 15 display rib graceful-restart 16 display rib nib 18 display route-direct nib 22 ecmp mode enhanced 24 fib lifetime 25 protocol lifetime 25 reset ip routing-table statistics protocol 26 rib 27 Static routing commands 28 delete static-routes all 28 display route-static nib 28 display route-static routing-table 31 ip route-static 33 ip route-static default-preference 35 RIP commands 37 checkzero 37 default cost 37 default-route 38 display rip 39 display rip database 41 display rip interface 41 display rip route 43 fast-reroute 45 filter-policy export 46 filter-policy import 47 graceful-restart 49 host-route 49 import-route 50 maximum load-balancing 51 network 51 output-delay 52 peer 53 preference 53 reset rip process 54 reset rip statistics 55 rip 55 rip authentication-mode 56 rip bfd enable 57 i

rip bfd enable destination 57 rip default-route 58 rip enable 59 rip input 60 rip max-packet-length 60 rip metricin 61 rip metricout 62 rip mib-binding 63 rip output 64 rip poison-reverse 64 rip split-horizon 65 rip summary-address 65 rip version 66 silent-interface 67 summary 68 timers 68 validate-source-address 69 version 70 OSPF commands 71 abr-summary (OSPF area view) 71 area (OSPF view) 72 asbr-summary 72 authentication-mode 73 bandwidth-reference (OSPF view) 75 default 76 default-cost (OSPF area view) 76 default-route-advertise (OSPF view) 77 description (OSPF/OSPF area view) 78 discard-route 79 display ospf 80 display ospf abr-asbr 86 display ospf abr-summary 87 display ospf asbr-summary 89 display ospf event-log spf 91 display ospf fast-reroute lfa-candidate 92 display ospf graceful-restart 93 display ospf interface 96 display ospf lsdb 98 display ospf nexthop 101 display ospf peer 102 display ospf peer statistics 105 display ospf request-queue 106 display ospf retrans-queue 108 display ospf routing 109 display ospf spf-tree 111 display ospf statistics 115 display ospf vlink 118 display router id 119 dscp 120 enable link-local-signaling 120 enable out-of-band-resynchronization 121 fast-reroute (OSPF view) 121 filter (OSPF area view) 122 filter-policy export (OSPF view) 123 ii

filter-policy import (OSPF view) 124 graceful-restart (OSPF view) 125 graceful-restart helper enable 127 graceful-restart helper strict-lsa-checking 127 graceful-restart interval (OSPF view) 128 host-advertise 128 import-route (OSPF view) 129 ispf enable 131 log-peer-change 131 lsa-arrival-interval 132 lsdb-overflow-interval 133 lsa-generation-interval 133 lsdb-overflow-limit 134 maximum load-balancing (OSPF view) 135 network (OSPF area view) 135 nssa 136 opaque-capability enable 137 ospf 138 ospf area 139 ospf authentication-mode 139 ospf bfd enable 141 ospf cost 142 ospf dr-priority 142 ospf fast-reroute lfa-backup 143 ospf mib-binding 144 ospf mtu-enable 144 ospf network-type 145 ospf prefix-suppression 146 ospf timer dead 147 ospf timer hello 147 ospf timer poll 148 ospf timer retransmit 149 ospf trans-delay 149 peer 150 pic 151 preference 152 prefix-priority 152 prefix-suppression 153 reset ospf statistics 154 reset ospf process 154 reset ospf redistribution 155 rfc1583 compatible 156 router id 156 silent-interface (OSPF view) 157 snmp-agent trap enable ospf 158 snmp trap rate-limit 159 spf-schedule-interval 160 stub (OSPF area view) 161 stub-router 161 transmit-pacing 162 vlink-peer (OSPF area view) 163 IS-IS commands 166 area-authentication-mode 166 auto-cost enable 167 iii

bandwidth-reference (IS-IS view) 168 circuit-cost 168 cost-style 169 default-route-advertise (IS-IS view) 170 display isis brief 171 display isis graceful-restart event-log 172 display isis graceful-restart status 173 display isis interface 175 display isis lsdb 178 display isis name-table 180 display isis peer 181 display isis redistribute 184 display isis route 185 display isis spf-tree 188 display isis statistics 194 display osi 196 display osi statistics 198 domain-authentication-mode 199 fast-reroute 200 filter-policy export 201 filter-policy import 202 flash-flood 203 graceful-restart 204 graceful-restart suppress-sa 205 graceful-restart t1 205 graceful-restart t2 206 graceful-restart t3 207 import-route 207 import-route isis level-1 into level-2 209 import-route isis level-2 into level-1 210 import-route limit 211 isis 211 isis authentication-mode 212 isis bfd enable 213 isis circuit-level 214 isis circuit-type p2p 214 isis cost 215 isis dis-name 216 isis dis-priority 217 isis enable 217 isis mib-binding 218 isis silent 219 isis small-hello 219 isis timer csnp 220 isis timer hello 221 isis timer holding-multiplier 221 isis timer lsp 222 isis timer retransmit 223 ispf enable 224 is-level 225 is-name 225 is-name map 226 log-peer-change 227 lsp-fragments-extend 227 iv

lsp-length originate 228 lsp-length receive 229 maximum load-balancing (IS-IS view) 229 network-entity 230 preference 231 priority 231 reset isis all 232 reset isis graceful-restart event-log 233 reset isis peer 233 reset osi statistics 234 set-overload 234 snmp context-name 235 snmp-agent trap enable isis 236 summary (IS-IS view) 237 timer lsp-generation 238 timer lsp-max-age 239 timer lsp-refresh 240 timer spf 240 virtual-system 241 BGP commands 243 address-family ipv4 243 advertise-rib-active 244 aggregate 244 balance 247 balance as-path-neglect 248 bestroute as-path-neglect 249 bestroute compare-med 249 bestroute med-confederation 250 bgp 251 compare-different-as-med 252 bgp update-delay on-startup 252 confederation id 253 confederation nonstandard 254 confederation peer-as 255 dampening 255 default local-preference 257 default med 257 default-route imported 258 display bgp dampening parameter ipv4 unicast 259 display bgp group ipv4 unicast 260 display bgp network 262 display bgp non-stop-routing status 263 display bgp paths 264 display bgp peer ipv4 unicast 265 display bgp routing-table dampened ipv4 unicast 269 display bgp routing-table flap-info ipv4 unicast 270 display bgp routing-table ipv4 unicast 272 display bgp routing-table ipv4 unicast advertise-info 276 display bgp routing-table ipv4 unicast as-path-acl 277 display bgp routing-table ipv4 unicast community-list 278 display bgp routing-table ipv4 unicast peer 279 display bgp routing-table ipv4 unicast statistics 282 display bgp update-group ipv4 unicast 282 ebgp-interface-sensitive 285 v

fast-reroute route-policy 285 filter-policy export 286 filter-policy import 287 graceful-restart 289 graceful-restart timer purge-time 290 graceful-restart timer restart 290 graceful-restart timer wait-for-rib 291 group 292 ignore-first-as 294 import-route 294 ip vpn-instance (BGP view) 296 log-peer-change 296 network 297 network short-cut 298 non-stop-routing 299 peer advertise-community 300 peer advertise-ext-community 301 peer allow-as-loop 302 peer as-number (for a BGP peer) 303 peer as-number (for a BGP peer group) 304 peer as-path-acl 305 peer bfd 306 peer capability-advertise conventional 307 peer capability-advertise route-refresh 308 peer capability-advertise suppress-4-byte-as 309 peer connect-interface 310 peer default-route-advertise 312 peer description 313 peer ebgp-max-hop 313 peer enable 314 peer fake-as 315 peer filter-policy 316 peer group 318 peer ignore 319 peer ignore-originatorid 320 peer keep-all-routes 321 peer low-memory-exempt 322 peer next-hop-local 323 peer password 324 peer preferred-value 325 peer prefix-list 326 peer public-as-only 327 peer reflect-client 328 peer route-limit 329 peer route-policy 330 peer route-update-interval 331 peer substitute-as 332 peer timer 333 pic 334 preference 335 reflect between-clients 336 reflector cluster-id 337 refresh bgp ipv4 unicast 338 reset bgp all 339 vi

reset bgp dampening ipv4 unicast 339 reset bgp flap-info ipv4 unicast 340 reset bgp ipv4 unicast 341 router id (system view) 342 router-id (BGP view) 343 router-id (BGP-VPN instance view) 344 snmp-agent trap enable bgp 345 summary automatic 345 timer 346 Policy-based routing commands 349 apply next-hop 349 apply output-interface NULL 0 350 display ip policy-based-route 350 display ip policy-based-route interface 351 display ip policy-based-route local 353 display ip policy-based-route setup 354 if-match acl 355 ip local policy-based-route 356 ip policy-based-route 356 policy-based-route 357 reset ip policy-based-route statistics 358 Routing policy commands 359 Common routing policy commands 359 apply as-path 359 apply comm-list delete 359 apply community 360 apply cost 361 apply cost-type 362 apply extcommunity 363 apply isis 363 apply local-preference 364 apply origin 365 apply preference 365 apply preferred-value 366 apply prefix-priority 367 apply tag 367 continue 368 display ip as-path 368 display ip community-list 369 display ip extcommunity-list 370 display route-policy 371 if-match as-path 371 if-match community 372 if-match cost 373 if-match extcommunity 374 if-match interface 374 if-match local-preference 375 if-match route-type 376 if-match tag 376 ip as-path 377 ip community-list 378 ip extcommunity-list 379 reset mac-list 380 vii

route-policy 381 IPv4 routing policy commands 382 apply fast-reroute 382 apply ip-address next-hop 382 display ip prefix-list 383 if-match ip 384 ip prefix-list 385 reset ip prefix-list 386 Support and other resources 387 Contacting HP 387 Subscription service 387 Related information 387 Documents 387 Websites 387 Conventions 388 Index 390 viii

Basic IP routing commands The term "interface" in the routing features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2 LAN Switching Configuration Guide). address-family ipv4 Use address-family ipv4 to create a RIB IPv4 address family and enter RIB IPv4 address family view. Use undo address-family ipv4 to remove a RIB IPv4 address family and all configurations in the view. address-family ipv4 undo address-family ipv4 No RIB IPv4 address family is created. RIB view # Create a RIB IPv4 address family and enter RIB IPv4 address family view. [Sysname] rib [Sysname-rib] address-family ipv4 [Sysname-rib-ipv4] display ecmp mode Use display ecmp mode to display the ECMP mode. display ecmp mode Any view network-operator # Display the ECMP mode. 1

<Sysname> display ecmp mode ECMP-mode in use: ECMP-mode at the next reboot: Enhanced display ip routing-table Use display ip routing-table to display routing table information. In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ standby slot slot-number ] In IRF mode: display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays the routing table information for the public network. verbose: Displays detailed routing table information, including information about both active and inactive routes. Without this keyword, the command displays only brief information about active routes. standby slot slot-number: Displays backup routing table information for a card. Without this option, the command displays routing table information. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup routing table information for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays routing table information. (In IRF mode.) # Display brief information about active routes in the routing table. <Sysname> display ip routing-table Destinations : 13 Routes : 13 Destination/Mask Proto Pre Cost NextHop Interface 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 1.1.1.0/24 Static 60 0 192.168.47.4 Vlan1 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 2

192.168.1.0/24 Direct 0 0 192.168.1.40 Vlan11 192.168.1.0/32 Direct 0 0 192.168.1.40 Vlan11 192.168.1.40/32 Direct 0 0 127.0.0.1 InLoop0 192.168.1.255/32 Direct 0 0 192.168.1.40 Vlan11 224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0 224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0 255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 Table 1 Command output Field Destinations Routes Destination/Mask Proto Pre Cost NextHop Interface Summary Count Description Number of destination addresses. Number of routes. Destination address/mask length. Protocol that installed the route. The following route types are available: O_INTRA OSPF intra-area route. O_INTER OSPF inter-area route. O_ASE1 OSPF external Type-1 route. O_ASE2 OSPF external Type-2 route. O_NSSA1 OSPF NSSA external Type-1 route. O_NSSA2 OSPF NSSA external Type-2 route. O_SUM OSPF summary route. IS_L1 IS-IS Level-1 route. IS_L2 IS-IS Level-2 route. IS_SUM IS-IS summary route. Preference of the route. Cost of the route. Next hop address of the route. Output interface for packets to be forwarded along the route. Number of routes. # Display detailed information about all routes in the routing table. <Sysname> display ip routing-table verbose Destinations : 13 Routes : 13 Destination: 0.0.0.0/32 Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 08h34m37s Cost: 0 Preference: 0 IpPre: N/A QosLocalID: N/A Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000000 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 3

Flags: 0x1000c OrigNextHop: 127.0.0.1 Label: NULL RealNextHop: 127.0.0.1 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: InLoopBack0 BkTunnel ID: Invalid BkInterface: N/A Destination: 1.1.1.0/24 Protocol: Static Process ID: 0 SubProtID: 0x0 Age: 04h20m37s Cost: 0 Preference: 60 IpPre: N/A QosLocalID: N/A Tag: 0 State: Active Adv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 192.168.47.4 Label: NULL RealNextHop: 192.168.47.4 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: Vlan-interface1 BkTunnel ID: Invalid BkInterface: N/A... Table 2 Command output Field Destinations Routes Destination Protocol SubProtID Age Cost Preference QosLocalID Tag State Description Number of destination addresses. Number of routes. Destination address/mask length. Protocol that installed the route. ID of the subprotocol for routing. Time for which the route has been in the routing table. Cost of the route. Preference of the route. Local QoS ID. Route tag. Route status: Active Active unicast route. Adv Route that can be advertised. Inactive Inactive route. NoAdv Route that the router must not advertise. Vrrp Routes generated by VRRP. Nat Routes generated by NAT. TunE Tunnel. 4

Field OrigTblID OrigVrf TableID OrigAs NibID LastAs AttrID Neighbor Flags OrigNextHop RealNextHop BkLabel BkNexthop Interface BkTunnel ID BkInterface Description Original routing table ID. Original VPN that the route belongs to. ID of the routing table. Original AS number. ID of the next hop. Last AS number. Attribute ID. Address of the neighbor determined by the routing protocol. Flags of the route. Next hop address of the route. Real next hop of the route. Backup label. Backup next hop. Output interface for packets to be forwarded along the route. Backup tunnel ID. Backup output interface. display ip routing-table acl Use display ip routing-table acl to display information about routes permitted by a basic ACL. In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] [ standby slot slot-number ] In IRF mode: display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. acl-number: Specifies a basic ACL by its number in the range of 2000 to 2999. 5

verbose: Displays detailed information about all routes permitted by the basic ACL. Without this keyword, the command displays only brief information about active routes permitted by the basic ACL. standby slot slot-number: Displays backup information about routes permitted by the basic ACL for a card. Without this option, the command displays information about routes permitted by the basic ACL. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup information about routes permitted by the basic ACL for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays information about routes permitted by the basic ACL. (In IRF mode.) If the specified ACL does not exist or has no rules configured, the command displays information about all routes. # Define basic ACL 2000 and set the route filtering rules. [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.255 [Sysname-acl-basic-2000] rule deny source any # Display brief information about active routes permitted by basic ACL 2000. [Sysname-acl-basic-2000] display ip routing-table acl 2000 Routes Matched by Access control list : 2000 Summary Count : 4 Destination/Mask Proto Pre Cost NextHop Interface 192.168.1.0/24 Direct 0 0 192.168.1.111 Vlan 1 192.168.1.0/32 Direct 0 0 192.168.1.111 Vlan 1 192.168.1.111/32 Direct 0 0 127.0.0.1 InLoop0 192.168.1.255/32 Direct 0 0 192.168.1.111 Vlan 1 For command output, see Table 1. # Display detailed information about all routes permitted by basic ACL 2000. <Sysname> display ip routing-table acl 2000 verbose Routes Matched by Access control list : 2000 Summary Count : 4 Destination: 192.168.1.0/24 Protocol: Direct Process ID: 0 SubProtID: 0x1 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active Adv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x10080 OrigNextHop: 192.168.1.111 6

Label: NULL RealNextHop: 192.168.1.111 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: Vlan-interface1 BkTunnel ID: Invalid BkInterface: N/A Destination: 192.168.1.0/32 Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 192.168.1.111 Label: NULL RealNextHop: 192.168.1.111 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: Vlan-interface1 BkTunnel ID: Invalid BkInterface: N/A Destination: 192.168.1.111/32 Protocol: Direct Process ID: 0 SubProtID: 0x1 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000000 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x10004 OrigNextHop: 127.0.0.1 Label: NULL RealNextHop: 127.0.0.1 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: InLoopBack0 BkTunnel ID: Invalid BkInterface: N/A FtnIndex: 0x0 Destination: 192.168.1.255/32 Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 192.168.1.111 Label: NULL RealNextHop: 192.168.1.111 BkLabel: NULL BkNextHop: N/A 7

Tunnel ID: Invalid BkTunnel ID: Invalid For command output, see Table 2. Interface: Vlan-interface1 BkInterface: N/A display ip routing-table ip-address Use display ip routing-table ip-address to display information about routes to a specific destination address. Use display ip routing-table ip-address1 to ip-address2 to display information about routes to a range of destination addresses. In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] ip-address [ mask mask-length ] [ longer-match ] [ verbose ] [ standby slot slot-number ] display ip routing-table [ vpn-instance vpn-instance-name ] ip-address1 to ip-address2 [ verbose ] [ standby slot slot-number ] In IRF mode: display ip routing-table [ vpn-instance vpn-instance-name ] ip-address [ mask mask-length ] [ longer-match ] [ verbose ] [ standby chassis chassis-number slot slot-number ] display ip routing-table [ vpn-instance vpn-instance-name ] ip-address1 to ip-address2 [ verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. ip-address: Specifies a destination IP address in dotted decimal notation. mask: Specifies the IP address mask in dotted decimal notation. mask-length: Specifies the mask length, an integer in the range of 0 to 32. longer-match: Displays the route entry with the longest mask. ip-address1 to ip-address2: Specifies a destination IP address range. verbose: Displays detailed routing table information, including information about both active and inactive routes. Without this keyword, the command displays brief information about active routes. standby slot slot-number: Displays backup information about routes for a card. Without this option, the command displays information about routes. (In standalone mode.) 8

standby chassis chassis-number slot slot-number: Displays backup information about routes for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays information about routes. (In IRF mode.) Executing the command with different parameters yields different outputs: display ip routing-table ip-address: The system ANDs the entered destination IP address with the subnet mask in each active route entry. The system ANDs the destination IP address in each active route entry with its own subnet mask. If the two operations yield the same result for an entry, the entry is displayed. display ip routing-table ip-address mask: The system ANDs the entered destination IP address with the entered subnet mask. The system ANDs the destination IP address in each active route entry with the entered subnet mask. If the two operations yield the same result for an entry with a subnet mask not greater than the entered subnet mask, the entry is displayed. display ip routing-table ip-address longer-match: The system ANDs the entered destination IP address with the subnet mask in each active route entry. The system ANDs the destination IP address in each active route entry with its own subnet mask. If the two operations yield the same result for multiple entries, the entry with the longest mask length is displayed. display ip routing-table ip-address mask longer-match: The system ANDs the entered destination IP address with the entered subnet mask. The system ANDs the destination IP address in each active route entry with the entered subnet mask. If the two operations yield the same result for multiple entries with a mask not greater than the entered subnet mask, the entry with the longest mask length is displayed. display ip routing-table ip-address1 to ip-address2: The system displays active route entries with destinations in the range of ip-address1/32 to ip-address2/32. # Display brief information about the routes to the destination IP address 11.0.0.1. <Sysname> display ip routing-table 11.0.0.1 Summary Count : 3 Destination/Mask Proto Pre Cost NextHop Interface 11.0.0.0/8 Static 60 0 0.0.0.0 NULL0 11.0.0.0/16 Static 60 0 0.0.0.0 NULL0 11.0.0.0/24 Static 60 0 0.0.0.0 NULL0 # Display brief information about the routes to the destination IP address 11.0.0.1 and mask length 20. 9

<Sysname> display ip routing-table 11.0.0.1 20 Summary Count : 2 Destination/Mask Proto Pre Cost NextHop Interface 11.0.0.0/8 Static 60 0 0.0.0.0 NULL0 11.0.0.0/16 Static 60 0 0.0.0.0 NULL0 # Display brief information about the most specific route to the destination address 11.0.0.1. <Sysname> display ip routing-table 11.0.0.1 longer-match Summary Count : 1 Destination/Mask Proto Pre Cost NextHop Interface 11.0.0.0/24 Static 60 0 0.0.0.0 NULL0 # Display brief information about the most specific route to the destination IP address 11.0.0.1 and mask length 20. <Sysname> display ip routing-table 11.0.0.1 20 longer-match Summary Count : 1 Destination/Mask Proto Pre Cost NextHop Interface 11.0.0.0/16 Static 60 0 0.0.0.0 NULL0 # Display brief information about the routes to destination addresses in the range of 1.1.1.0 to 5.5.5.0. <Sysname> display ip routing-table 1.1.1.0 to 5.5.5.0 Summary Count : 6 Destination/Mask Proto Pre Cost NextHop Interface 1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2 3.3.3.0/24 Direct 0 0 3.3.3.1 Vlan2 3.3.3.1/32 Direct 0 0 127.0.0.1 InLoop0 4.4.4.0/24 Direct 0 0 4.4.4.1 Vlan1 4.4.4.1/32 Direct 0 0 127.0.0.1 InLoop0 For command output, see Table 1. display ip routing-table prefix-list Use display ip routing-table prefix-list to display routes permitted by an IP prefix list. In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] [ standby slot slot-number ] In IRF mode: 10

display ip routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. verbose: Displays detailed information about all routes permitted by the IP prefix list. Without this keyword, the command displays brief information about active routes permitted by the IP prefix list. standby slot slot-number: Displays backup routes permitted by the IP prefix list for a card. Without this option, the command displays routes permitted by the IP prefix list. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup routes permitted by the IP prefix list for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays routes permitted by the IP prefix list. (In IRF mode.) If the specified IP prefix list does not exist, the command displays information about all routes. # Create an IP prefix list named test to permit the route 1.1.1.0/24. [Sysname] ip prefix-list test permit 1.1.1.0 24 # Display brief information about the active route permitted by the IP prefix list. [Sysname] display ip routing-table prefix-list test Routes Matched by Prefix list : test Summary Count : 1 Destination/Mask Proto Pre Cost NextHop Interface 1.1.1.0/24 Direct 0 0 1.1.1.2 Vlan 2 For command output, see Table 1. # Display detailed information about all routes permitted by the IP prefix list. [Sysname] display ip routing-table prefix-list test verbose Routes Matched by Prefix list : test Summary Count : 1 Destination: 1.1.1.0/24 Protocol: Direct Process ID: 0 11

SubProtID: 0x1 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active Adv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 1.1.1.2 Label: NULL RealNextHop: 1.1.1.2 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: Vlan-interface2 BkTunnel ID: Invalid BkInterface: N/A For command output, see Table 2. display ip routing-table protocol Use display ip routing-table protocol to display information about routes installed by a protocol. In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive verbose ] [ standby slot slot-number ] In IRF mode: display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. protocol: Specifies a routing protocol. It can be bgp, direct, isis, ospf, rip, or static. inactive: Displays information about inactive routes. Without this keyword, the command displays information about both active and inactive routes. verbose: Displays detailed routing table information. Without this keyword, the command displays brief routing information. standby slot slot-number: Displays backup information about routes installed by the protocol for a card. Without this option, the command displays information about routes installed by the protocol. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup information about routes installed by the protocol for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF 12

member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays information about routes installed by the protocol. (In IRF mode.) # Display brief information about direct routes. <Sysname> display ip routing-table protocol direct Summary Count : 13 Direct Routing Table Status : <Active> Summary Count : 13 Destination/Mask Proto Pre Cost NextHop Interface 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2 2.2.2.0/32 Direct 0 0 2.2.2.1 Vlan2 2.2.2.2/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.255/32 Direct 0 0 2.2.2.1 Vlan2 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 192.168.80.0/24 Direct 0 0 192.168.80.10 Vlan 1 192.168.80.0/32 Direct 0 0 192.168.80.10 Vlan 1 192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0 192.168.80.255/32 Direct 0 0 192.168.80.10 Vlan 1 Direct Routing Table Status : <Inactive> Summary Count : 0 # Display brief information about static routes. <Sysname> display ip routing-table protocol static Summary Count : 2 Static Routing Table Status : <Active> Summary Count : 0 Static Routing Table Status : <Inactive> Summary Count : 2 Destination/Mask Proto Pre Cost NextHop Interface 1.2.3.0/24 Static 60 0 1.2.4.5 Vlan10 3.0.0.0/8 Static 60 0 2.2.2.2 Vlan 1 For command output, see Table 1. display ip routing-table statistics Use display ip routing-table statistics to display route statistics. 13

In standalone mode: display ip routing-table [ vpn-instance vpn-instance-name ] statistics [ standby slot slot-number ] In IRF mode: display ip routing-table [ vpn-instance vpn-instance-name ] statistics [ standby chassis chassis-number slot slot-number ] Any view network-operator vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays route statistics for the public network. standby slot slot-number: Displays backup route statistics for a card. Without this option, the command displays route statistics. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup route statistics for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays route statistics. (In IRF mode.) # Display route statistics for the public network. <Sysname> display ip routing-table statistics Proto route active added deleted DIRECT 12 12 30 18 STATIC 3 3 5 2 RIP 0 0 0 0 OSPF 0 0 0 0 ISIS 0 0 0 0 BGP 0 0 0 0 Total 15 15 35 20 Table 3 Command output Field Proto route active added deleted Total Description Protocol that installed the route. Number of routes installed by the protocol. Number of active routes. Number of routes added to the routing table after the router started up or the routing table was cleared most recently. Number of routes marked as deleted, which will be cleared after a period. Total number of routes. 14

display rib attribute Use display rib attribute to display route attribute information in the RIB. In standalone mode: display rib attribute [ attribute-id ] [ standby slot slot-number ] In IRF mode: display rib attribute [ attribute-id ] [ standby chassis chassis-number slot slot-number ] Any view network-operator attribute-id: Specifies a route attribute by its ID in the range of 0 to FFFFFFFF. standby slot slot-number: Displays backup route attribute information in the RIB for a card. Without this option, the command displays route attribute information in the RIB. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup route attribute information in the RIB for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays route attribute information in the RIB. (In IRF mode.) # Display route attribute information in the RIB. <Sysname> display rib attribute Total number of attribute(s): 10 Detailed information of attribute 0x0: Flag: 0x0 Protocol: BGP Address family: IPv4 Reference count: 0 Local preference: 0 Ext-communities number: 26 Ext-communities value: <RT: 1:1> <RT: 2:2> <RT: 3:3> <RT: 123.123.123.123:65535 > <RT: 1234567890:65535> <RT: 123.123.123.123:65534> <RT : 4:4> <RT: 5:5> <RT: 6:6> <RT: 7:7> <RT: 8:8> <RT: 9:9> <RT: 10:10> <RT: 10:1> <RT: 10:11> <RT: 10:12> <RT: 10: 13> <RT: 10:14> <RT: 10:15> <RT: 10:16>... Communities number: 0 Communities value: N/A AS-path number: 0 15

AS-path value: N/A Detailed information of attribute 0x1: Flag: 0x0 Protocol: BGP Address family: IPv4 Reference count: 0 Local preference: 0 Ext-communities number: 1 Ext-communities value: <RT: 1:2> Communities number: 0 Communities value: N/A AS-path number: 0 AS-path value: N/A Table 4 Command output Field Protocol Ext-communities number Ext-communities value Communities number Communities value AS-path number AS-path value Description Protocol that generates the attribute. Number of the extended community attribute values. Values of the extended community attribute. This field displays N/A when no values exist, and it can display up to 20 values. Number of the COMMUNITY attribute values. Values of the COMMUNITY attribute. This field displays N/A when no values exist, and it can display up to 20 values. Number of ASs in the AS_PATH attribute. Values of the AS_PATH attribute, including AS_SET, AS_SEQUENCE, confederation AS_SET, and confederation AS_SEQUENCE. This field displays N/A when no values exist, and it can display up to 20 values. display rib graceful-restart Use display rib graceful-restart to display RIB GR state information. display rib graceful-restart Any view network-operator # Display RIB GR state information. <Sysname> display rib graceful-restart RIB GR state : Phase2-calculation end 16

RCOM GR State : Flush end Protocol GR state: No. Protocol Lifetime FD State Start/End -------------------------------------------------- 1 DIRECT 100 30 End No/No 2 STATIC 480 34 End No/No 3 OSPF 480 36 End No/No 4 ISIS 480 32 End No/No 5 BGP 480 31 End No/No 6 LDP 480 35 End No/No 7 SLSP 480 29 End No/No Table 5 Command output Field RIB GR state RCOM GR state No. Lifetime FD Description RIB GR status: Start GR starts. IGP end All IGP protocols complete GR. VPN-triggering end Optimal route selection triggered by VPN routes completes. VPN-calculation end Optimal VPN route selection completes. Routing protocol end All routing protocols complete GR. Triggering start All triggered optimal route selection starts. Triggering end All triggered optimal route selection completes. Phase1-calculation end Optimal route selection phase 1 completes. All end All protocols complete GR. Phase2-calculation end Optimal route selection phase 2 completes. RCOM GR status: Start GR starts. VPN-calculation end Optimal VPN route selection completes. VPN-notification end VPN routes have been delivered to the route management module. Routing protocol end All routing protocols complete GR. Phase1-calculation end Optimal route selection phase 1 completes. Notification end All routes have been delivered to the route management module. Phase2-calculation end Optimal route selection phase 2 completes. Flush start Starts to flush routes to the FIB. Flush end Completes flushing routes to the FIB. Protocol number. Lifetime (in seconds) of routes/labels in the RIB during GR. Handle between the protocol and the RIB. 17

Field State Start/End Description Protocol GR state: Init Initialization state. Listen Listening state. Idle. Active. Start GR starts. End GR completes. Message sending state: No The message has not been sent. Yes The message has been sent. display rib nib Use display rib nib to display next hop information in the RIB. In standalone mode: display rib nib [ self-originated ] [ nib-id ] [ verbose ] [ standby slot slot-number ] display rib nib protocol protocol-name [ verbose ] [ standby slot slot-number ] In IRF mode: display rib nib [ self-originated ] [ nib-id ] [ verbose ] [ standby chassis chassis-number slot slot-number ] display rib nib protocol protocol-name [ verbose ] [ standby chassis chassis-number slot slot-number ] Any view network-operator self-originated: Displays information about next hops of self-originated routes in the RIB. nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed next hop information in the RIB. Without this keyword, the command displays brief next hop information in the RIB. protocol protocol-name: Specifies a protocol by its name, which can be bgp, direct, isis, ospf, rip, or static. standby slot slot-number: Displays backup next hop information in the RIB for a card. Without this option, the command displays next hop information in the RIB. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup next hop information in the RIB for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays next hop information in the RIB. (In IRF mode.) 18

# Display brief next hop information in the RIB. <Sysname> display rib nib Total number of nexthop(s): 176 NibID: 0x10000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 LocalAddr: 127.0.0.1 NibID: 0x10000002 Sequence: 2 Type: 0x5 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 LocalAddr: 127.0.0.1 NibID: 0x26000000 Sequence: 42 Type: 0x2000 Flushed: Yes SubNibID: 0x21000023 SubSeq: 35 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000003 SubSeq: 36 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000004 SubSeq: 37 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000005 SubSeq: 38 NthpCnt: 1 Samed: 0 NthpType: IP... Table 6 Command output Field NibID Sequence Type Flushed Description ID of the next hop. Sequence number of the next hop. Type of the next hop. Indicates whether the route with the next hop has been flushed to the FIB. 19

Field Description UserKey0 Reserved data 1. UserKey1 Reserved data 2. VrfNthp Nexthop IFIndex LocalAddr SubNibID SubSeq NthpCnt Samed NthpType VPN to which the next hop belongs. Next hop address. Interface index. Local interface address. ID of the sub-next hop. Sequence number of the sub-next hop. Number of sub-next hops. Number of the same sub-next hops. Type of the sub-next hop: IP IP forwarding. MPLS MPLS forwarding. # Display detailed next hop information in the RIB. <Sysname> display rib nib verbose Total number of nexthop(s): 176 NibID: 0x10000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 RefCnt: 6 FlushRefCnt: 2 Flag: 0x84 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 LocalAddr: 127.0.0.1 RefCnt: 13 FlushRefCnt: 5 Flag: 0x84 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 127.0.0.1 RelyDepth: 0 RealNexthop: 127.0.0.1 Interface: InLoop0 LocalAddr: 127.0.0.1 20

TunnelCnt: 0 TunnelID: N/A Vrf: vpn1 NibID: 0x15000003 Sequence: 3 Type: 0x43 Flushed: Yes UserKey0: 0x100010000 VrfNthp: 0 UserKey1: 0x0 Nexthop: 22.22.22.22 IFIndex: 0x0 LocalAddr: 0.0.0.0 RefCnt: 9 FlushRefCnt: 3 Flag: 0x84 Version: 1 Policy: tnl-policy1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 22.22.22.22 RelyDepth: 1 RealNexthop: 13.1.1.2 Interface: GE0/1/3 LocalAddr: 13.1.1.1 TunnelCnt: 1 Vrf: default-vrf TunnelID: 1025 NibID: 0x16000000 Sequence: 0 Type: 0x2000 Flushed: Yes SubNibID: 0x11000009 SubSeq: 13 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x1100000d SubSeq: 14 NthpCnt: 1 Samed: 0 NthpType: IP 2 nexthop(s): PrefixIndex: 0 OrigNexthop: 10.1.1.2 RelyDepth: 0 RealNexthop: 10.1.1.2 Interface: Vlan10 LocalAddr: 10.1.1.1 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A PrefixIndex: 1 OrigNexthop: 11.1.1.2 RelyDepth: 0 RealNexthop: 11.1.1.2 Interface: Vlan11 LocalAddr: 11.1.1.1 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A... Table 7 Command output Field Policy x nexthop (s) PrefixIndex Vrf OrigNexthop Description Tunnel policy name. Number of next hops. Prefix index of the next hop for an ECMP route. VPN name. Original next hop. 21

Field RealNexthop Interface LocalAddr RelyDepth TunnelCnt TunnelID RefCnt FlushRefCnt Flag Version Description Real next hop. Output interface. Local interface address. Recursion depth. Number of tunnels after route recursion. ID of the tunnel after route recursion. Reference count of the next hop. Reference count of the next hop that is flushed to the FIB. Flag of the next hop. Version of the next hop. display route-direct nib Use display route-direct nib to display next hop information for direct routes. display route-direct nib [ nib-id ] [ verbose ] Any view network-operator nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed next hop information for direct routes. Without this keyword, the command displays brief next hop information for direct routes. # Display brief next hop information for direct routes. <Sysname> display route-direct nib Total number of nexthop(s): 116 NibID: 0x10000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 22

UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 LocalAddr: 127.0.0.1... Table 8 Command output Field NibID Sequence Type Flushed Description ID of the NIB. Sequence number of the NIB. Type of the NIB. Indicates whether the route with the NIB has been flushed to the FIB. UserKey0 Reserved data 1. UserKey1 Reserved data 2. VrfNthp Nexthop IFIndex VPN to which the next hop belongs. Next hop address. Interface index. # Display detailed next hop information for direct routes. <Sysname> display route-direct nib verbose Total number of nexthop(s): 116 NibID: 0x10000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 RefCnt: 2 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 LocalAddr: 127.0.0.1 RefCnt: 5 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 127.0.0.1 RelyDepth: 0 RealNexthop: 127.0.0.1 Interface: InLoop0 LocalAddr: 127.0.0.1 23

TunnelCnt: 0 TunnelID: N/A... Table 9 Command output Field x nexthop(s) PrefixIndex Vrf OrigNexthop RealNexthop Interface localaddr RelyDepth TunnelCnt TunnelID RefCnt FlushRefCnt Flag Version Vrf: vpn1 Description Number of next hops. Prefix index of the next hop for an ECMP route. VPN name. Original next hop. Real next hop. Output interface. Local interface address. Recursion depth. Number of tunnels after route recursion. ID of the tunnel after route recursion. Reference count of the next hop. Reference count of the next hop that is flushed to the FIB. Flag of the next hop. Version of the next hop. ecmp mode enhanced Use ecmp mode enhanced to enable the enhanced ECMP mode. Use undo ecmp mode to restore the default. ecmp mode enhanced undo ecmp mode The enhanced ECMP mode is disabled. System view # Enable the enhanced ECMP mode. [Sysname] ecmp mode enhanced The configuration will take effect at the next reboot. Continue? [Y/N]:y 24

fib lifetime Reboot device to make the configuration take effect. Use fib lifetime to set the maximum lifetime for routes in the FIB. Use undo fib lifetime to restore the default. fib lifetime seconds undo fib lifetime The maximum lifetime for routes in the FIB is 600 seconds. RIB IPv4 address family view second: Sets the maximum lifetime for routes in the FIB, in the range of 0 to 900 seconds. When this argument is set to 0, FIB entries immediately age out after a protocol or RIB process switchover. When a protocol or RIB process switchover occurs and GR or NSR is not configured, FIB entries age out after the time specified in this command. # Set the maximum lifetime for routes in the FIB to 60 seconds. [Sysname] rib [Sysname-rib] address-family ipv4 [Sysname-rib-ipv4] fib lifetime 60 protocol lifetime Use protocol lifetime to set the maximum lifetime for routes and labels in the RIB. Use undo protocol lifetime to restore the default. protocol protocol lifetime seconds undo protocol protocol lifetime The maximum lifetime for routes and labels in the RIB is 480 seconds. RIB IPv4 address family view 25

seconds: Sets the maximum lifetime for routes and labels in the RIB, in the range of 0 to 900 seconds. When this argument is set to 0, RIB entries immediately age out after a protocol switchover. When GR is enabled, make sure the protocol can complete GR and install all route entries to the RIB within the lifetime configured in this command. # Set the maximum lifetime for OSPF routes and labels in the RIB to 60 seconds. [Sysname] rib [Sysname-rib] address-family ipv4 [Sysname-rib-ipv4] protocol ospf lifetime 60 reset ip routing-table statistics protocol Use reset ip routing-table statistics protocol to clear route statistics. In standalone mode: reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol all } [ standby slot slot-number ] In IRF mode: reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol all } [ standby chassis chassis-number slot slot-number ] User view vpn-instance vpn-instance-name: Clears the route statistics for an MPLS L3VPN instance specified by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command clears route statistics for the public network. protocol: Clears route statistics for a routing protocol. It can be bgp, direct, isis, ospf, rip, or static. all: Clears route statistics for all routing protocols. standby slot slot-number: Clears backup route statistics for a card. Without this option, the command clears route statistics. (In standalone mode.) standby chassis chassis-number slot slot-number: Clears backup route statistics for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command clears route statistics. (In IRF mode.) 26