Aruba Layer 3—IP Routing User guide

  • Hello! I've reviewed the HPE FlexFabric 5940 & 5930 Switch Series Layer 3 IP Routing Command Reference. This document offers detailed information on various routing commands, including static routing, RIP, and OSPF protocols, and provides options for displaying routing tables, including both IPv4 and IPv6. I'm here to help answer any specific questions you might have about configuring or managing the routing features on these switches.
  • What series of switches does this command reference cover?
    What type of routing commands are detailed in this document?
    Does this document cover IPv6 routing commands?
    Can I find information about displaying routing tables here?
HPE FlexFabric 5940 & 5930 Switch Series
Layer 3—IP Routing Command Reference
P
art number: 5200-4873c
Software
version: Release 2609 and later
Document version: 6W103-20200310
© Copyright 2020 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise 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. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
Basic IP routing commands ··········································································· 1
address-family ipv4 ···································································································································· 1
address-family ipv6 ···································································································································· 1
display ecmp mode ···································································································································· 2
display hardware-resource routing-mode ··································································································· 2
display ip routing-table ······························································································································· 3
display ip routing-table acl ·························································································································· 9
display ip routing-table ip-address ··········································································································· 12
display ip routing-table prefix-list ·············································································································· 14
display ip routing-table protocol ··············································································································· 16
display ip routing-table statistics ·············································································································· 17
display ip routing-table summary ············································································································· 19
display ipv6 rib attribute ··························································································································· 21
display ipv6 rib graceful-restart ················································································································ 21
display ipv6 rib nib ···································································································································· 22
display ipv6 route-direct nib ····················································································································· 24
display ipv6 routing-table ························································································································· 25
display ipv6 routing-table acl ···················································································································· 34
display ipv6 routing-table ipv6-address ···································································································· 37
display ipv6 routing-table prefix-list ·········································································································· 40
display ipv6 routing-table protocol ············································································································ 41
display ipv6 routing-table statistics ··········································································································· 43
display ipv6 routing-table summary ·········································································································· 45
display max-ecmp-num ···························································································································· 46
display rib attribute ··································································································································· 47
display rib graceful-restart ························································································································ 48
display rib nib ··········································································································································· 50
display route-direct nib ····························································································································· 53
ecmp mode ·············································································································································· 56
fib lifetime ················································································································································· 57
flush route-attribute ·································································································································· 58
hardware-resource routing-mode ············································································································· 58
inter-protocol fast-reroute ························································································································· 59
ip route fast-switchover enable ················································································································ 60
ipv6 route fast-switchover enable············································································································· 60
max-ecmp-num ········································································································································ 61
non-stop-routing ······································································································································· 61
protocol lifetime ········································································································································ 62
protocol nexthop recursive-lookup ··········································································································· 63
reset ip routing-table statistics protocol ···································································································· 63
reset ipv6 routing-table statistics protocol ································································································ 64
rib ····························································································································································· 65
routing-table limit ······································································································································ 65
Static routing commands ············································································· 67
delete static-routes all ······························································································································ 67
display route-static nib ····························································································································· 67
display route-static routing-table ·············································································································· 70
ip route-static ············································································································································ 72
ip route-static arp-request ························································································································ 75
ip route-static default-preference ············································································································· 76
ip route-static fast-reroute auto ················································································································ 76
ip route-static primary-path-detect bfd echo ····························································································· 77
ip route-static-group ································································································································· 77
prefix ························································································································································ 78
ii
RIP commands ···························································································· 80
checkzero ················································································································································· 80
default cost ··············································································································································· 80
default-route ············································································································································· 81
display rip ················································································································································· 82
display rip database ································································································································· 84
display rip graceful-restart ························································································································ 84
display rip interface ·································································································································· 85
display rip neighbor ·································································································································· 86
display rip non-stop-routing ······················································································································ 87
display rip route ········································································································································ 88
dscp ·························································································································································· 90
fast-reroute ··············································································································································· 91
filter-policy export ····································································································································· 91
filter-policy import ····································································································································· 93
graceful-restart ········································································································································· 94
graceful-restart interval ···························································································································· 95
host-route ················································································································································· 95
import-route ·············································································································································· 96
maximum load-balancing ························································································································· 97
network ····················································································································································· 98
non-stop-routing ······································································································································· 99
output-delay ············································································································································· 99
peer ························································································································································ 100
preference ·············································································································································· 100
reset rip process ····································································································································· 101
reset rip statistics ··································································································································· 102
rip ··························································································································································· 102
rip authentication-mode ·························································································································· 103
rip bfd enable ········································································································································· 104
rip bfd enable destination ······················································································································· 104
rip default-route ······································································································································ 105
rip enable ··············································································································································· 106
rip input ·················································································································································· 106
rip max-packet-length ····························································································································· 107
rip metricin ·············································································································································· 108
rip metricout ··········································································································································· 109
rip mib-binding ········································································································································ 110
rip output ················································································································································ 110
rip output-delay ······································································································································ 111
rip poison-reverse ·································································································································· 111
rip primary-path-detect bfd echo ············································································································ 112
rip split-horizon ······································································································································· 112
rip summary-address ····························································································································· 113
rip version ··············································································································································· 113
silent-interface ········································································································································ 114
summary ················································································································································ 115
timer triggered ········································································································································ 116
timers ····················································································································································· 116
validate-source-address ························································································································· 117
version ···················································································································································· 118
OSPF commands ······················································································ 120
abr-summary (OSPF area view) ············································································································ 120
area (OSPF view) ··································································································································· 120
asbr-summary (OSPF view) ··················································································································· 121
authentication-mode ······························································································································· 122
bandwidth-reference (OSPF view) ········································································································· 124
capability default-exclusion ···················································································································· 125
database-filter peer (OSPF view) ··········································································································· 125
default (OSPF view) ······························································································································· 126
iii
default-cost (OSPF area view) ··············································································································· 127
default-route-advertise (OSPF view) ······································································································ 128
description (OSPF/OSPF area view) ····································································································· 129
discard-route ·········································································································································· 130
display ospf ············································································································································ 130
display ospf abr-asbr ······························································································································ 136
display ospf abr-summary ······················································································································ 138
display ospf asbr-summary ···················································································································· 140
display ospf event-log ···························································································································· 141
display ospf fast-reroute lfa-candidate ··································································································· 145
display ospf graceful-restart ··················································································································· 146
display ospf interface ····························································································································· 149
display ospf lsdb ····································································································································· 151
display ospf nexthop ······························································································································ 154
display ospf non-stop-routing status ······································································································ 155
display ospf peer ···································································································································· 156
display ospf peer statistics ····················································································································· 158
display ospf request-queue ···················································································································· 159
display ospf retrans-queue ····················································································································· 161
display ospf routing ································································································································ 162
display ospf spf-tree ······························································································································· 165
display ospf statistics ····························································································································· 168
display ospf vlink ···································································································································· 172
display router id ······································································································································ 173
distribute bgp-ls ······································································································································ 174
dscp ························································································································································ 175
enable link-local-signaling ······················································································································ 175
enable out-of-band-resynchronization···································································································· 176
event-log ················································································································································ 176
fast-reroute (OSPF view) ······················································································································· 177
filter (OSPF area view) ··························································································································· 177
filter-policy export (OSPF view)·············································································································· 178
filter-policy import (OSPF view) ·············································································································· 179
graceful-restart (OSPF view) ·················································································································· 181
graceful-restart helper enable ················································································································ 182
graceful-restart helper strict-lsa-checking ······························································································ 182
graceful-restart interval (OSPF view) ····································································································· 183
host-advertise ········································································································································· 184
import-route (OSPF view) ······················································································································ 184
ispf enable (OSPF view) ························································································································ 186
log-peer-change ····································································································································· 186
lsa-arrival-interval ··································································································································· 187
lsa-generation-interval ···························································································································· 188
lsdb-overflow-interval ····························································································································· 188
lsdb-overflow-limit ·································································································································· 189
maximum load-balancing (OSPF view) ·································································································· 190
network (OSPF area view) ····················································································································· 190
non-stop-routing ····································································································································· 191
nssa (OSPF area view) ·························································································································· 192
opaque-capability enable ······················································································································· 193
ospf ························································································································································ 194
ospf area ················································································································································ 194
ospf authentication-mode ······················································································································· 195
ospf bfd enable ······································································································································· 197
ospf cost (interface view) ······················································································································· 197
ospf database-filter ································································································································· 198
ospf dr-priority ········································································································································ 199
ospf fast-reroute lfa-backup ··················································································································· 200
ospf lsu-flood-control ······························································································································ 200
ospf mib-binding ····································································································································· 201
ospf mtu-enable ····································································································································· 202
ospf network-type ··································································································································· 202
iv
ospf packet-size ····································································································································· 203
ospf prefix-suppression ·························································································································· 204
ospf primary-path-detect bfd ·················································································································· 205
ospf timer dead ······································································································································ 206
ospf timer hello ······································································································································· 206
ospf timer poll ········································································································································· 207
ospf timer retransmit ······························································································································ 208
ospf trans-delay ······································································································································ 208
ospf ttl-security ······································································································································· 209
peer (OSPF view) ··································································································································· 210
pic (OSPF view) ····································································································································· 211
preference (OSPF view) ························································································································· 211
prefix-priority (OSPF view) ····················································································································· 212
prefix-suppression ·································································································································· 213
reset ospf event-log ································································································································ 214
reset ospf process ·································································································································· 215
reset ospf redistribution ·························································································································· 215
reset ospf statistics ································································································································· 216
rfc1583 compatible ································································································································· 216
router id ·················································································································································· 217
silent-interface (OSPF view) ·················································································································· 218
snmp trap rate-limit ································································································································ 218
snmp-agent trap enable ospf ················································································································· 219
spf-schedule-interval (OSPF view) ········································································································· 220
stub (OSPF area view) ··························································································································· 221
stub-router (OSPF view) ························································································································ 222
transmit-pacing ······································································································································· 222
ttl-security ··············································································································································· 223
vlink-peer (OSPF area view) ·················································································································· 224
IS-IS commands ························································································ 227
address-family ipv4 ································································································································ 227
area-authentication send-only ················································································································ 227
area-authentication-mode ······················································································································ 228
auto-cost enable ····································································································································· 229
bandwidth-reference ······························································································································ 230
circuit-cost ·············································································································································· 231
cost-style ················································································································································ 232
default-route-advertise ··························································································································· 233
display isis ·············································································································································· 234
display isis event-log graceful-restart ····································································································· 235
display isis event-log lsp ························································································································ 236
display isis event-log non-stop-routing ··································································································· 237
display isis event-log spf ························································································································ 238
display isis graceful-restart status ·········································································································· 244
display isis interface ······························································································································· 246
display isis lsdb ······································································································································ 249
display isis lsdb statistics ······················································································································· 253
display isis name-table ··························································································································· 254
display isis non-stop-routing status ········································································································ 255
display isis packet ·································································································································· 256
display isis peer ······································································································································ 263
display isis redistribute ··························································································································· 266
display isis route ····································································································································· 267
display isis spf-tree ································································································································· 270
display isis statistics ······························································································································· 276
display osi ·············································································································································· 278
display osi statistics ································································································································ 279
distribute bgp-ls ······································································································································ 281
domain-authentication send-only ··········································································································· 282
domain-authentication-mode ·················································································································· 282
fast-reroute ············································································································································· 284
v
filter-policy export ··································································································································· 285
filter-policy import ··································································································································· 286
flash-flood ··············································································································································· 287
graceful-restart ······································································································································· 288
graceful-restart suppress-sa ·················································································································· 288
graceful-restart t1 ··································································································································· 289
graceful-restart t2 ··································································································································· 290
graceful-restart t3 ··································································································································· 291
ignore-att ················································································································································ 291
import-route ············································································································································ 292
import-route isis level-1 into level-2········································································································ 294
import-route isis level-2 into level-1········································································································ 295
import-route limit ···································································································································· 296
isis ·························································································································································· 296
isis authentication send-only ·················································································································· 297
isis authentication-mode ························································································································ 298
isis bfd enable ········································································································································ 300
isis circuit-level ······································································································································· 300
isis circuit-type p2p ································································································································· 301
isis cost ·················································································································································· 302
isis dis-name ·········································································································································· 302
isis dis-priority ········································································································································ 303
isis enable ·············································································································································· 304
isis fast-reroute lfa-backup exclude ········································································································ 304
isis mib-binding ······································································································································ 305
isis prefix-suppression ···························································································································· 306
isis primary-path-detect bfd ···················································································································· 306
isis silent ················································································································································· 307
isis small-hello ········································································································································ 308
isis tag ···················································································································································· 308
isis timer csnp ········································································································································ 309
isis timer hello ········································································································································ 309
isis timer holding-multiplier ····················································································································· 310
isis timer lsp ··········································································································································· 311
isis timer retransmit ································································································································ 312
is-level ···················································································································································· 313
is-name ·················································································································································· 313
is-name map ·········································································································································· 314
ispf enable ·············································································································································· 315
log-peer-change ····································································································································· 315
lsp-fragments-extend ····························································································································· 316
lsp-length originate ································································································································· 316
lsp-length receive ··································································································································· 317
maximum load-balancing ······················································································································· 317
network-entity ········································································································································· 318
non-stop-routing ····································································································································· 319
pic ··························································································································································· 320
preference ·············································································································································· 320
prefix-priority ·········································································································································· 321
reset isis all ············································································································································ 322
reset isis event-log graceful-restart ········································································································ 322
reset isis event-log lsp ···························································································································· 323
reset isis event-log non-stop-routing ······································································································ 323
reset isis event-log spf ··························································································································· 323
reset isis packet ····································································································································· 324
reset isis peer ········································································································································· 324
reset osi statistics ··································································································································· 325
set-att ····················································································································································· 325
set-overload ··········································································································································· 326
snmp context-name ································································································································ 327
snmp-agent trap enable isis ··················································································································· 328
summary ················································································································································ 329
vi
timer lsp-generation ······························································································································· 330
timer lsp-max-age ·································································································································· 331
timer lsp-refresh ····································································································································· 331
timer spf ················································································································································· 332
virtual-system ········································································································································· 333
BGP commands ························································································ 334
additional-paths select-best ··················································································································· 334
address-family ipv4 ································································································································ 335
address-family ipv6 ································································································································ 336
address-family link-state ························································································································ 337
advertise-rib-active ································································································································· 337
aggregate ··············································································································································· 338
balance ··················································································································································· 340
balance as-path-neglect ························································································································· 342
balance as-path-relax ····························································································································· 342
bestroute as-path-neglect ······················································································································ 343
bestroute compare-med ························································································································· 344
bestroute igp-metric-ignore ···················································································································· 344
bestroute med-confederation ················································································································· 345
bgp ························································································································································· 346
bgp apply-policy on-startup duration ······································································································ 346
bgp policy on-startup med ······················································································································ 347
bgp update-delay on-startup ·················································································································· 348
bgp update-delay on-startup prefix-list ··································································································· 348
bmp server ············································································································································· 349
compare-different-as-med ······················································································································ 350
confederation id ······································································································································ 350
confederation nonstandard ···················································································································· 351
confederation peer-as ···························································································································· 352
dampening ············································································································································· 353
default local-preference ·························································································································· 354
default med ············································································································································ 355
default-route imported ···························································································································· 356
default-route update-first ························································································································ 356
display bgp bmp server ·························································································································· 357
display bgp dampening parameter ········································································································· 358
display bgp group ··································································································································· 359
display bgp instance-info ························································································································ 363
display bgp link-state ······························································································································ 363
display bgp network ······························································································································· 367
display bgp non-stop-routing status ······································································································· 368
display bgp paths ··································································································································· 369
display bgp peer ····································································································································· 370
display bgp peer received prefix-list ······································································································· 384
display bgp routing-table dampened ······································································································ 385
display bgp routing-table flap-info ·········································································································· 387
display bgp routing-table ipv4 rtfilter ······································································································ 390
display bgp routing-table ipv4 multicast ································································································· 395
display bgp routing-table ipv4 unicast ···································································································· 401
display bgp routing-table ipv6 multicast ································································································· 408
display bgp routing-table ipv6 unicast ···································································································· 415
display bgp routing-table ipv6 unicast inlabel························································································· 422
display bgp routing-table ipv6 unicast outlabel ······················································································ 423
display bgp update-group······················································································································· 424
domain-distinguisher ······························································································································ 427
ebgp-interface-sensitive ························································································································· 428
fast-reroute route-policy ························································································································· 428
filter-policy export ··································································································································· 429
filter-policy import ··································································································································· 431
flush suboptimal-route ···························································································································· 433
graceful-restart ······································································································································· 433
vii
graceful-restart timer purge-time ············································································································ 434
graceful-restart timer restart ··················································································································· 435
graceful-restart timer wait-for-rib ············································································································ 436
group ······················································································································································ 437
ignore all-peers ······································································································································ 438
ignore-first-as ········································································································································· 439
import-route ············································································································································ 439
ip vpn-instance (BGP instance view) ····································································································· 440
label-allocation-mode ····························································································································· 441
labeled-route ignore-no-tunnel ··············································································································· 442
log-peer-change ····································································································································· 443
log-route-flap ·········································································································································· 443
network ··················································································································································· 444
network short-cut ···································································································································· 446
non-stop-routing ····································································································································· 447
peer additional-paths ······························································································································ 447
peer advertise additional-paths best ······································································································ 449
peer advertise-community ······················································································································ 450
peer advertise-ext-community ················································································································ 451
peer advertise-policy exist-policy ··········································································································· 453
peer advertise-policy non-exist-policy ···································································································· 454
peer allow-as-loop ·································································································································· 456
peer as-number (for a BGP peer group) ································································································ 457
peer as-number (for a BGP peer) ·········································································································· 458
peer as-path-acl ····································································································································· 459
peer bfd ·················································································································································· 461
peer bmp server ····································································································································· 462
peer capability-advertise conventional ··································································································· 463
peer capability-advertise orf non-standard ····························································································· 464
peer capability-advertise orf prefix-list···································································································· 465
peer capability-advertise route-refresh··································································································· 466
peer capability-advertise suppress-4-byte-as ························································································ 467
peer connect-interface ··························································································································· 469
peer default-route-advertise ··················································································································· 470
peer description ······································································································································ 472
peer dscp ··············································································································································· 473
peer ebgp-max-hop ································································································································ 473
peer enable ············································································································································ 474
peer fake-as ··········································································································································· 477
peer filter-policy ······································································································································ 478
peer group ·············································································································································· 480
peer ignore ············································································································································· 481
peer ignore-originatorid ·························································································································· 483
peer ipsec-profile ···································································································································· 484
peer keep-all-routes ······························································································································· 485
peer keychain ········································································································································· 486
peer label-route-capability ······················································································································ 487
peer log-change ····································································································································· 488
peer low-memory-exempt ······················································································································ 489
peer next-hop-local ································································································································ 490
peer nexthop-recursive-policy disable ···································································································· 491
peer password ········································································································································ 492
peer preferred-value ······························································································································· 493
peer prefix-list ········································································································································· 495
peer public-as-only ································································································································· 497
peer reflect-client ···································································································································· 498
peer route-limit ······································································································································· 500
peer route-policy ···································································································································· 501
peer route-update-interval ······················································································································ 503
peer soo ················································································································································· 504
peer source-address ······························································································································ 506
peer substitute-as ··································································································································· 507
viii
peer timer ··············································································································································· 508
peer timer connect-retry ························································································································· 510
peer ttl-security ······································································································································· 511
pic ··························································································································································· 512
preference ·············································································································································· 512
primary-path-detect bfd ·························································································································· 513
reflect between-clients ··························································································································· 514
reflector cluster-id ··································································································································· 515
refresh bgp ············································································································································· 516
reset bgp ················································································································································ 518
reset bgp all ············································································································································ 520
reset bgp bmp server statistics ·············································································································· 520
reset bgp dampening ····························································································································· 521
reset bgp flap-info ·································································································································· 522
retain local-label ····································································································································· 523
router id ·················································································································································· 524
router-id (BGP instance view) ················································································································ 525
router-id (BGP-VPN instance view) ········································································································ 525
route-rate-limit ········································································································································ 526
server ····················································································································································· 527
snmp context-name ································································································································ 528
snmp-agent trap enable bgp ·················································································································· 529
statistics-interval ····································································································································· 529
summary automatic ································································································································ 530
timer ······················································································································································· 531
timer connect-retry ································································································································· 532
Policy-based routing commands ································································ 533
apply default-next-hop ···························································································································· 533
apply fail-action-drop next-hop ··············································································································· 533
apply next-hop ········································································································································ 534
apply precedence ··································································································································· 535
display ip policy-based-route ·················································································································· 536
display ip policy-based-route egress interface ······················································································· 537
display ip policy-based-route interface ··································································································· 539
display ip policy-based-route local ········································································································· 541
display ip policy-based-route setup ········································································································ 542
if-match acl ············································································································································· 542
if-match vxlan-id ····································································································································· 543
ip local policy-based-route ····················································································································· 543
ip policy-based-route ······························································································································ 544
ip policy-based-route egress ·················································································································· 545
policy-based-route ·································································································································· 545
reset ip policy-based-route statistics ······································································································ 546
IPv6 static routing commands ···································································· 548
delete ipv6 static-routes all ····················································································································· 548
display ipv6 route-static nib ···················································································································· 548
display ipv6 route-static routing-table ····································································································· 551
ipv6 route-static ······································································································································ 553
ipv6 route-static default-preference ········································································································ 555
RIPng commands ······················································································ 556
checkzero ··············································································································································· 556
default cost ············································································································································· 556
display ripng ··········································································································································· 557
display ripng database ··························································································································· 558
display ripng graceful-restart ·················································································································· 559
display ripng interface ···························································································································· 559
display ripng neighbor ···························································································································· 561
display ripng non-stop-routing ················································································································ 561
display ripng route ·································································································································· 562
ix
enable ipsec-profile ································································································································ 564
fast-reroute ············································································································································· 564
filter-policy export ··································································································································· 565
filter-policy import ··································································································································· 566
graceful-restart ······································································································································· 567
graceful-restart interval ·························································································································· 568
import-route ············································································································································ 568
maximum load-balancing ······················································································································· 569
non-stop-routing ····································································································································· 570
output-delay ··········································································································································· 570
preference ·············································································································································· 571
reset ripng process ································································································································· 572
reset ripng statistics ······························································································································· 572
ripng ······················································································································································· 573
ripng default-route ·································································································································· 573
ripng enable ··········································································································································· 574
ripng ipsec-profile ··································································································································· 575
ripng metricin ·········································································································································· 575
ripng metricout ······································································································································· 576
ripng output-delay ·································································································································· 576
ripng poison-reverse ······························································································································ 577
ripng primary-path-detect bfd echo ········································································································ 577
ripng split-horizon ··································································································································· 578
ripng summary-address ························································································································· 579
timer triggered ········································································································································ 579
timers ····················································································································································· 580
OSPFv3 commands ··················································································· 582
abr-summary (OSPFv3 area view) ········································································································· 582
area ························································································································································ 582
asbr-summary (OSPFv3 view) ··············································································································· 583
authentication-mode ······························································································································· 584
bandwidth-reference (OSPFv3 view) ····································································································· 585
default tag ·············································································································································· 586
default-cost (OSPFv3 area view) ··········································································································· 586
default-route-advertise (OSPFv3 view) ·································································································· 587
display ospfv3 ········································································································································ 588
display ospfv3 abr-asbr ·························································································································· 594
display ospfv3 abr-summary ·················································································································· 595
display ospfv3 asbr-summary ················································································································ 597
display ospfv3 event-log ························································································································· 599
display ospfv3 graceful-restart ··············································································································· 601
display ospfv3 interface ·························································································································· 606
display ospfv3 lsdb ································································································································· 608
display ospfv3 nexthop ··························································································································· 612
display ospfv3 non-stop-routing ············································································································· 613
display ospfv3 peer ································································································································ 614
display ospfv3 request-queue ················································································································ 617
display ospfv3 retrans-queue ················································································································· 618
display ospfv3 routing ···························································································································· 619
display ospfv3 spf-tree ··························································································································· 621
display ospfv3 statistics ·························································································································· 624
display ospfv3 vlink ································································································································ 628
enable ipsec-profile ································································································································ 629
event-log ················································································································································ 630
fast-reroute (OSPFv3 view) ···················································································································· 630
filter (OSPFv3 area view) ······················································································································· 631
filter-policy export (OSPFv3 view) ·········································································································· 632
filter-policy import (OSPFv3 view) ·········································································································· 633
graceful-restart enable ··························································································································· 634
graceful-restart helper enable ················································································································ 635
graceful-restart helper strict-lsa-checking ······························································································ 636
x
graceful-restart interval ·························································································································· 636
import-route (OSPFv3 view) ··················································································································· 637
log-peer-change ····································································································································· 639
lsa-generation-interval ···························································································································· 639
maximum load-balancing (OSPFv3 view) ······························································································ 640
non-stop-routing ····································································································································· 641
nssa (OSPFv3 area view) ······················································································································ 641
ospfv3 ····················································································································································· 642
ospfv3 area ············································································································································ 643
ospfv3 authentication-mode ··················································································································· 644
ospfv3 bfd enable ··································································································································· 645
ospfv3 cost ············································································································································· 645
ospfv3 dr-priority ···································································································································· 646
ospfv3 fast-reroute lfa-backup exclude ·································································································· 646
ospfv3 ipsec-profile ································································································································ 647
ospfv3 mib-binding ································································································································· 648
ospfv3 mtu-ignore ·································································································································· 648
ospfv3 network-type ······························································································································· 649
ospfv3 peer ············································································································································ 650
ospfv3 prefix-suppression ······················································································································ 650
ospfv3 primary-path-detect bfd ·············································································································· 651
ospfv3 timer dead ··································································································································· 652
ospfv3 timer hello ··································································································································· 653
ospfv3 timer poll ····································································································································· 653
ospfv3 timer retransmit ··························································································································· 654
ospfv3 trans-delay ·································································································································· 655
preference ·············································································································································· 655
prefix-suppression ·································································································································· 656
reset ospfv3 event-log ···························································································································· 657
reset ospfv3 process ······························································································································ 657
reset ospfv3 redistribution ······················································································································ 658
reset ospfv3 statistics ····························································································································· 658
router-id ·················································································································································· 659
silent-interface(OSPFv3 view) ················································································································ 659
snmp context-name ································································································································ 660
snmp trap rate-limit ································································································································ 661
snmp-agent trap enable ospfv3·············································································································· 661
spf-schedule-interval ······························································································································ 662
stub (OSPFv3 area view) ······················································································································· 663
stub-router ·············································································································································· 664
transmit-pacing ······································································································································· 665
vlink-peer (OSPFv3 area view) ·············································································································· 666
IPv6 IS-IS commands ················································································ 668
address-family ipv6 ································································································································ 668
auto-cost enable ····································································································································· 668
bandwidth-reference ······························································································································ 669
circuit-cost ·············································································································································· 670
default-route-advertise ··························································································································· 671
display isis event-log spf ipv6 ················································································································· 672
display isis redistribute ipv6 ··················································································································· 681
display isis route ipv6 ····························································································································· 682
display isis spf-tree ipv6 ························································································································· 685
display isis statistics ipv6 ······················································································································· 689
fast-reroute ············································································································································· 691
filter-policy export ··································································································································· 692
filter-policy import ··································································································································· 693
import-route ············································································································································ 694
import-route isisv6 level-1 into level-2 ···································································································· 695
import-route isisv6 level-2 into level-1 ···································································································· 696
import-route limit ···································································································································· 697
isis ipv6 bfd enable ································································································································· 697
xi
isis ipv6 cost ··········································································································································· 698
isis ipv6 enable ······································································································································· 699
isis ipv6 fast-reroute lfa-backup exclude ································································································ 699
isis ipv6 prefix-suppression ···················································································································· 700
isis ipv6 primary-path-detect bfd ············································································································ 700
isis ipv6 tag ············································································································································ 701
ispf enable ·············································································································································· 702
maximum load-balancing ······················································································································· 702
multi-topology ········································································································································· 703
preference ·············································································································································· 704
prefix-priority ·········································································································································· 704
set-overload ··········································································································································· 705
summary ················································································································································ 706
timer spf ················································································································································· 707
IPv6 policy-based routing commands ························································ 709
apply fail-action-drop next-hop ··············································································································· 709
apply next-hop ········································································································································ 709
display ipv6 policy-based-route ·············································································································· 710
display ipv6 policy-based-route interface ······························································································· 711
display ipv6 policy-based-route local ····································································································· 713
display ipv6 policy-based-route setup ···································································································· 714
if-match acl ············································································································································· 715
ipv6 local policy-based-route ·················································································································· 715
ipv6 policy-based-route (interface view) ································································································· 716
ipv6 policy-based-route (system view) ··································································································· 717
reset ipv6 policy-based-route statistics ·································································································· 717
Routing policy commands ·········································································· 719
Common routing policy commands ················································································································ 719
apply as-path ·········································································································································· 719
apply comm-list delete ··························································································································· 719
apply community ···································································································································· 720
apply cost ··············································································································································· 721
apply cost-type ······································································································································· 722
apply extcommunity rt ···························································································································· 722
apply extcommunity soo ························································································································· 723
apply ip-precedence ······························································································································· 724
apply isis ················································································································································ 725
apply local-preference ···························································································································· 725
apply mpls-label ····································································································································· 726
apply origin ············································································································································· 726
apply preference ···································································································································· 727
apply preferred-value ····························································································································· 728
apply prefix-priority ································································································································· 728
apply qos-local-id ··································································································································· 729
apply tag ················································································································································· 729
apply traffic-index ··································································································································· 730
continue ·················································································································································· 730
display ip as-path ··································································································································· 731
display ip community-list ························································································································ 732
display ip extcommunity-list ··················································································································· 733
display route-policy ································································································································ 733
if-match as-path ····································································································································· 734
if-match community ································································································································ 735
if-match cost ··········································································································································· 736
if-match extcommunity ··························································································································· 736
if-match interface ···································································································································· 737
if-match local-preference ························································································································ 737
if-match mpls-label ································································································································· 738
if-match route-type ································································································································· 738
if-match tag ············································································································································ 739
xii
ip as-path ··············································································································································· 740
ip community-list ···································································································································· 741
ip extcommunity-list ································································································································ 742
route-policy ············································································································································· 743
IPv4 routing policy commands ······················································································································· 744
apply fast-reroute ··································································································································· 744
apply ip-address next-hop ······················································································································ 745
display ip prefix-list ································································································································· 745
if-match ip ··············································································································································· 746
ip prefix-list ············································································································································· 747
reset ip prefix-list ···································································································································· 748
IPv6 routing policy commands ······················································································································· 749
apply ipv6 fast-reroute ···························································································································· 749
apply ipv6 next-hop ································································································································ 749
display ipv6 prefix-list ····························································································································· 750
if-match ipv6 ··········································································································································· 751
if-match ipv6 even-prefix-length ············································································································· 752
if-match ipv6 odd-prefix-length ··············································································································· 752
ipv6 prefix-list ········································································································································· 753
reset ipv6 prefix-list ································································································································ 754
Document conventions and icons ······························································ 756
Conventions ··················································································································································· 756
Network topology icons ·································································································································· 757
Support and other resources ····································································· 758
Accessing Hewlett Packard Enterprise Support····························································································· 758
Accessing updates ········································································································································· 758
Websites ················································································································································ 759
Customer self repair ······························································································································· 759
Remote support ······································································································································ 759
Documentation feedback ······················································································································· 759
Index ·········································································································· 761
1
Basic IP routing commands
address-family ipv4
Use address-family ipv4 to create the RIB IPv4 address family and enter its view, or enter the view
of the existing RIB IPv4 address family.
Use undo address-family ipv4 to delete the RIB IPv4 address family and all configurations in the
view.
Syntax
address-family ipv4
undo address-family ipv4
Default
No RIB IPv4 address family exists.
Views
RIB view
Predefined user roles
network-admin
Examples
# Create the RIB IPv4 address family and enter its view.
<Sysname> system-view
[Sysname] rib
[Sysname-rib] address-family ipv4
[Sysname-rib-ipv4]
address-family ipv6
Use address-family ipv6 to create the RIB IPv6 address family and enter its view, or enter the view
of the existing RIB IPv6 address family.
Use undo address-family ipv6 to delete the RIB IPv6 address family and all configurations in the
view.
Syntax
address-family ipv6
undo address-family ipv6
Default
No RIB IPv6 address family exists.
Views
RIB view
Predefined user roles
network-admin
Examples
# Create the RIB IPv6 address family and enter its view.
2
<Sysname> system-view
[Sysname] rib
[Sysname-rib] address-family ipv6
[Sysname-rib-ipv6]
display ecmp mode
Use display ecmp mode to display the ECMP mode.
Syntax
display ecmp mode
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the ECMP mode.
<Sysname> display ecmp mode
ECMP-mode in use: Default
ECMP-mode at the next reboot: Enhanced
display hardware-resource routing-mode
Use display hardware-resource routing-mode to display support for IPv6 routes with prefixes
longer than 64 bits.
Syntax
display hardware-resource routing-mode
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Examples
# Display support for IPv6 routes with prefixes longer than 64 bits.
<Sysname> display hardware-resource routing-mode
Routing-mode resource(routing-mode), all supported modes:
ipv6-64 ipv6-64 supported
ipv6-128 ipv6-128 supported
-----------------------------------------------
Default Current Next
ipv6-64 ipv6-128 ipv6-128
3
Table 1 Command output
Field
Description
Routing-mode
resource(routing -mode), all
supported modes
Hardware resource modes for routing tables. The capacities of routing
tables vary by hardware resource mode. For more information about the
routing table capacities, see Fundamentals Configuration Guide.
Default Default hardware resource mode for routing tables.
Current Current hardware resource mode for routing tables.
Next Newly configured hardware resource mode for routing tables.
display ip routing-table
Use display ip routing-table to display routing table information.
Syntax
display ip routing-table [ all-vpn-instance | vpn-instance vpn-instance-name ] [ verbose ]
display ip routing-table [ all-routes ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
all-vpn-instance: Displays routing table information for all VPN instances.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a
case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the command
displays routing table information for the public network.
all-routes: Displays routing table information for the public network and all VPN instances.
verbose: Displays detailed routing table information, including information about both active and
inactive routes. If you do not specify this keyword, the command displays only brief information about
active routes.
Usage guidelines
If you do not specify any parameters, this command displays routing table information for the public
network.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Destinations : 12 Routes : 12
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
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
4
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.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
# Display brief routing table information for the public network and all VPN instances.
<Sysname> display ip routing-table all-routes
VPN instance: public instance
Destinations : 10 Routes : 10
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 Vlan11
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.1.40/32 Direct 0 0 127.0.0.1 InLoop0
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
VPN instance: vpn1
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
1.1.2.0/24 Static 60 0 2.2.1.1 Vlan11
3.3.1.0/24 BGP 255 0 55.1.1.2 Vlan12
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
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
# Display brief routing table information for all VPN instances.
<Sysname> display ip routing-table all-vpn-instance
VPN instance: vpn1
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface
5
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
1.1.2.0/24 Static 60 0 2.2.1.1 Vlan11
3.3.1.0/24 BGP 255 0 55.1.1.2 Vlan12
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
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
VPN instance: vpn2
Destinations : 9 Routes : 9
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
1.1.3.0/24 Static 60 0 3.3.1.1 Vlan13
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
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 2 Command output
Field
Description
VPN instance Public network or VPN instance for which the routing table is displayed. For
the public network, this field displays public instance. For a VPN instance,
this field displays the VPN instance name.
Destinations Number of destination addresses.
Routes Number of routes.
Destination/Mask Destination address/mask length.
Proto Protocol that installed the route.
Pre Preference of the route.
Cost Cost of the route.
NextHop Next hop address of the route.
Interface Output interface for packets to be forwarded along the route.
Summary count 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
6
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
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
FtnIndex: 0x0 TrafficIndex: N/A
Connector: 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-interface11
BkTunnel ID: Invalid BkInterface: N/A
FtnIndex: 0x0 TrafficIndex: N/A
Connector: N/A
Destination: 1.2.3.4/32
Protocol: BGP instance default
Process ID: 0
SubProtID: 0x1 Age: 02h38m34s
Cost: 0 Preference: 255
IpPre: N/A QosLocalID: N/A
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x2 OrigAs: 200
NibID: 0x16000000 LastAs: 200
AttrID: 0x2 Neighbor: 2.2.3.4
/