H3C s5820x series Command Reference Manual

Category
Networking
Type
Command Reference Manual

This manual is also suitable for

H3C S5820X&S5800 Switch Series
Layer 3 - IP Routing Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1211
Document version: 6W100-20110415
Copyright © 2011, Hangzhou H3C Technologies Co., Ltd. and its licensors
All rights reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C,
, Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, V
n
G, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C S5800&S5820X documentation set includes 12 command references, which describe the
commands and command syntax options for the S5800&S5820X Release1211.
The Layer 3—IP Routing Command Reference describes routing configuration commands.
This preface includes:
•
Audience
•
Added and modified commands
•
Conventions
•
About the H3C S5800&S5820X documentation set
•
Obtaining documentation
•
Technical support
•
Documentation feedback
Audience
This documentation is intended for:
• Network planners
• Field technical support and servicing engineers
• Network administrators working with the S5800 and S5820X series
Added and modified commands
Compared to Release1110, Release1211 adds and modifies the following commands:
Command reference Added and modified commands
IP routing basics configuration
commands
Modified commands: IPv6 route display commands—added the
vpn-instance keyword
Static routing configuration
commands
Modified commands: ip route-static—added the permanent keyword
RIP configuration commands —
OSPF configuration commands
Modified commands: default-route-advertise—added the
permit-calculate-other keyword
IS-IS configuration commands —
BGP configuration commands —
IPv6 static routing configuration
Commands
—
RIPng configuration commands
Modified commands: ripng and relevant display commands—added the
vpn-instance keyword
OSPFv3 configuration commands Added commands: ospfv3 bfd enable
Command reference Added and modified commands
Modified commands: ospfv3—added the vpn-instance keyword
IPv6 IS-IS configuration
commands
Added commands: isis ipv6 bfd enable
Modified commands: display isis route ipv6—added the vpn-instance
keyword
IPv6 BGP configuration
commands
Added commands:
• Added support for the IPv6 BGP-VPN instance view
• peer bfd
Modified commands:
• ipv6-family—added the vpnv6 and vpn-instance keywords
• display bgp ipv6 routing-table community-list—added the
comm-list-name argument
Routing policy configuration
Commands
Modified commands:
• Community list related commands—added support for configuring
and referencing community list name
• Extended the length of the routing policy name to 63 characters
Policy-based routing configuration
commands
—
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Description
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which
you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from
which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical
bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical
bars, from which you select one choice, multiple choices, or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can
be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Description
Boldface
Window names, button names, field names, and menu items are in Boldface. For
example, the New User window appears; click OK.
> Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention Description
WARNING
An alert that calls attention to important information that if not understood or followed can
result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or followed can
result in data loss, data corruption, or damage to hardware or software.
IMPORTANT
An alert that calls attention to essential information.
NOTE
An alert that contains additional or supplementary information.
TIP
An alert that provides helpful information.
About the H3C S5800&S5820X documentation set
The H3C S5800&S5820X documentation set includes:
Category Documents Purposes
Marketing brochures
Describe product specifications and benefits.
Product description and
specifications
Technology white papers
Provide an in-depth description of software features
and technologies.
PSR150-A [ PSR150-D ]
Power Modules User
Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 150W
power modules available for the products.
PSR300-12A
[ PSR300-12D1 ] Power
Modules User Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 300W
power modules available for the products.
PSR750-A [ PSR750-D ]
Power Modules User
Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 750W
power modules available for the products.
RPS User Manual
Describes the appearances, features, and
specifications of the RPS units available for the
products.
LSW1FAN and
LSW1BFAN Installation
Manual
Describes the appearances, specifications,
installation, and removal of the pluggable fan
modules available for the products.
LSW148POEM Module
User Manual
Describes the appearance, features, installation,
and removal of the pluggable PoE module available
for the products.
Pluggable module
description
S5820X [ S5800 ] Series Describes the models, hardware specifications,
Ethernet Switches
Interface Cards User
Manual
installation, and removal of the interface cards
available for the products.
H3C OAP Cards User
Manual
Describes the benefits, features, hardware
specifications, installation, and removal of the OAP
cards available for the products.
H3C Low End Series
Ethernet Switches
Pluggable Modules
Manual
Describes the models, appearances, and
specifications of the pluggable modules available
for the products.
S5800-60C-PWR Ethernet
Switch Hot Swappable
Power Module Ordering
Guide
Guides you through ordering the hot-swappable
power modules available for the S5800-60C-PWR
switches in different cases.
Power configuration
RPS Ordering Information
for H3C Low-End Ethernet
Switches
Provides the RPS and switch compatibility matrix and
RPS cable specifications.
• S5800 Series Ethernet
Switches Quick Start
• S5820X Series
Ethernet Switches
Quick Start
• S5800 Series Ethernet
Switches CE DOC
• S5820X Series
Ethernet Switches CE
DOC
Provides regulatory information and the safety
instructions that must be followed during installation.
• S5800 Series Ethernet
Switches Quick Start
• S5820X Series
Ethernet Switches
Quick Start
Guides you through initial installation and setup
procedures to help you quickly set up and use your
device with the minimum configuration.
• S5800 Series Ethernet
Switches Installation
Manual
• S5820X Series
Ethernet Switches
Installation Manual
Provides a complete guide to hardware installation
and hardware specifications.
Pluggable SFP[SFP+][XFP]
Transceiver Modules
Installation Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
Hardware installation
• S5800-60C-PWR
Switch Video
Installation Guide
• S5820X-28C Switch
Video Installation
Guide
Shows how to install the H3C S5800-60C-PWR and
H3C S5820X-28C Ethernet switches.
Configuration guide
Describe software features and configuration
procedures.
Software configuration
Command reference
Provide a quick reference to all available
commands.
H3C Series Ethernet
Switches Login Password
Recovery Manual
Tells how to find the lost password or recover the
password when the login password is lost.
Operations and
maintenance
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software
upgrading.
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at
http://www.h3c.com.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents] – Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions] – Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download] – Provides the documentation released with the
software version.
Technical support
customer_service@h3c.com
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Contents
IP routing basics configuration commands················································································································· 1
display ip routing-table ············································································································································1
display ip routing-table acl······································································································································5
display ip routing-table ip-address ·························································································································8
display ip routing-table ip-prefix·························································································································· 10
display ip routing-table protocol·························································································································· 11
display ip routing-table statistics·························································································································· 13
display ipv6 routing-table····································································································································· 14
display ipv6 routing-table acl······························································································································· 15
display ipv6 routing-table ipv6-address·············································································································· 16
display ipv6 routing-table ipv6-address1 ipv6-address2·················································································· 17
display ipv6 routing-table ipv6-prefix ················································································································· 18
display ipv6 routing-table protocol······················································································································ 19
display ipv6 routing-table statistics······················································································································ 20
display ipv6 routing-table verbose ······················································································································ 21
display router id ···················································································································································· 23
router id·································································································································································· 23
reset ip routing-table statistics protocol ··············································································································· 24
reset ipv6 routing-table statistics ·························································································································· 25
Static routing configuration commands····················································································································26
delete static-routes all············································································································································ 26
ip route-static·························································································································································· 26
ip route-static default-preference·························································································································· 29
ip route-static fast-reroute······································································································································ 29
RIP configuration commands·····································································································································31
checkzero······························································································································································· 31
default cost (RIP view) ··········································································································································· 31
default-route ··························································································································································· 32
display rip ······························································································································································ 33
display rip database ············································································································································· 35
display rip interface ·············································································································································· 36
display rip route ···················································································································································· 37
fast-reroute······························································································································································ 39
filter-policy export (RIP view) ································································································································ 40
filter-policy import (RIP view) ································································································································ 41
host-route ································································································································································ 42
import-route (RIP view) ·········································································································································· 43
maximum load-balancing (RIP view) ··················································································································· 44
network··································································································································································· 45
output-delay···························································································································································· 45
peer········································································································································································· 46
preference ······························································································································································ 47
reset rip process ···················································································································································· 47
reset rip statistics···················································································································································· 48
rip············································································································································································ 48
rip authentication-mode ········································································································································ 49
rip bfd enable ························································································································································ 50
rip default-route······················································································································································ 50
ii
rip input ·································································································································································· 51
rip metricin ····························································································································································· 52
rip metricout ··························································································································································· 53
rip mib-binding ······················································································································································ 54
rip output ································································································································································ 54
rip poison-reverse ·················································································································································· 55
rip split-horizon······················································································································································ 55
rip summary-address ············································································································································· 56
rip version ······························································································································································ 57
silent-interface (RIP view) ······································································································································ 58
summary ································································································································································· 58
timers ······································································································································································ 59
validate-source-address········································································································································· 60
version ···································································································································································· 61
OSPF configuration commands·································································································································62
abr-summary (OSPF area view) ··························································································································· 62
area (OSPF view) ·················································································································································· 63
asbr-summary························································································································································· 63
authentication-mode ·············································································································································· 64
bandwidth-reference (OSPF view) ······················································································································· 65
default····································································································································································· 66
default-cost (OSPF area view) ······························································································································ 66
default-route-advertise (OSPF view) ····················································································································· 67
description (OSPF/OSPF area view)··················································································································· 68
display ospf abr-asbr ············································································································································ 69
display ospf asbr-summary··································································································································· 70
display ospf brief··················································································································································· 72
display ospf cumulative ········································································································································ 74
display ospf error ·················································································································································· 76
display ospf interface············································································································································ 78
display ospf lsdb ··················································································································································· 80
display ospf nexthop············································································································································· 82
display ospf peer··················································································································································· 83
display ospf peer statistics···································································································································· 86
display ospf request-queue··································································································································· 87
display ospf retrans-queue···································································································································· 88
display ospf routing··············································································································································· 90
display ospf vlink··················································································································································· 91
enable link-local-signaling ···································································································································· 92
enable log ······························································································································································ 92
enable out-of-band-resynchronization ················································································································· 93
fast-reroute······························································································································································ 94
filter ········································································································································································· 95
filter-policy export (OSPF view)···························································································································· 95
filter-policy import (OSPF view)···························································································································· 97
graceful-restart (OSPF view) ································································································································· 98
graceful-restart help··············································································································································· 99
graceful-restart interval (OSPF view) ·················································································································100
host-advertise ·······················································································································································100
import-route (OSPF view)····································································································································101
log-peer-change···················································································································································102
lsa-arrival-interval·················································································································································103
lsa-generation-interval ·········································································································································103
lsdb-overflow-limit ················································································································································104
iii
maximum load-balancing (OSPF view)·············································································································105
maximum-routes ···················································································································································105
network (OSPF area view)··································································································································106
nssa·······································································································································································107
opaque-capability enable···································································································································108
ospf ·······································································································································································108
ospf authentication-mode····································································································································109
ospf bfd enable ···················································································································································110
ospf cost ·······························································································································································111
ospf dr-priority ·····················································································································································112
ospf mib-binding··················································································································································112
ospf mtu-enable····················································································································································113
ospf network-type ················································································································································114
ospf packet-process prioritized-treatment··········································································································115
ospf timer dead ···················································································································································115
ospf timer hello ····················································································································································116
ospf timer poll ······················································································································································117
ospf timer retransmit············································································································································117
ospf trans-delay ···················································································································································118
peer·······································································································································································119
preference ····························································································································································120
reset ospf counters···············································································································································120
reset ospf process················································································································································121
reset ospf redistribution·······································································································································122
rfc1583 compatible ············································································································································122
silent-interface (OSPF view) ································································································································123
snmp-agent trap enable ospf······························································································································123
spf-schedule-interval ············································································································································124
stub (OSPF area view) ········································································································································125
stub-router·····························································································································································126
transmit-pacing ····················································································································································126
vlink-peer (OSPF area view)·······························································································································127
IS-IS configuration commands································································································································ 129
area-authentication-mode ···································································································································129
auto-cost enable···················································································································································130
bandwidth-reference (IS-IS view)························································································································130
circuit-cost·····························································································································································131
cost-style ·······························································································································································132
default-route-advertise (IS-IS view) ·····················································································································133
display isis brief···················································································································································133
display isis debug-switches ································································································································135
display isis graceful-restart status·······················································································································136
display isis interface············································································································································137
display isis lsdb ···················································································································································141
display isis mesh-group·······································································································································143
display isis name-table········································································································································144
display isis peer···················································································································································145
display isis route··················································································································································148
display isis spf-log ···············································································································································151
display isis statistics·············································································································································152
domain-authentication-mode ······························································································································155
fast-reroute····························································································································································156
filter-policy export (IS-IS view) ····························································································································157
filter-policy import (IS-IS view) ····························································································································158
iv
flash-flood·····························································································································································159
graceful-restart (IS-IS view) ·································································································································160
graceful-restart interval (IS-IS view)····················································································································160
graceful-restart suppress-sa·································································································································161
import-route (IS-IS view) ······································································································································162
import-route isis level-2 into level-1····················································································································163
import-route limit (IS-IS view) ······························································································································164
isis ·········································································································································································164
isis authentication-mode······································································································································165
isis bfd enable ·····················································································································································166
isis circuit-level ·····················································································································································167
isis circuit-type p2p··············································································································································167
isis cost ·································································································································································168
isis dis-name·························································································································································169
isis dis-priority ······················································································································································170
isis enable ····························································································································································170
isis mesh-group ····················································································································································171
isis mib-binding····················································································································································172
isis silent ·······························································································································································172
isis small-hello ······················································································································································173
isis timer csnp ······················································································································································174
isis timer hello ······················································································································································174
isis timer holding-multiplier ·································································································································175
isis timer lsp··························································································································································176
isis timer retransmit··············································································································································177
is-level ···································································································································································177
is-name··································································································································································178
is-name map·························································································································································179
is-snmp-traps enable············································································································································179
log-peer-change (IS-IS view) ·······························································································································180
lsp-fragments-extend············································································································································180
lsp-length originate··············································································································································181
lsp-length receive·················································································································································182
maximum load-balancing (IS-IS view) ···············································································································182
non-stop-routing ···················································································································································183
non-stop-routing interval······································································································································184
network-entity ·······················································································································································184
preference (IS-IS view) ········································································································································185
reset isis all···························································································································································186
reset isis peer ·······················································································································································186
set-overload··························································································································································187
summary (IS-IS view) ···········································································································································188
timer lsp-generation·············································································································································189
timer lsp-max-age ················································································································································190
timer lsp-refresh····················································································································································191
timer spf································································································································································191
virtual-system ························································································································································192
BGP configuration commands································································································································ 194
aggregate·····························································································································································194
balance (BGP/BGP-VPN instance view) ···········································································································195
bestroute as-path-neglect (BGP/BGP-VPN instance view)···············································································196
bestroute compare-med (BGP/BGP-VPN instance view)·················································································197
bestroute med-confederation (BGP/BGP-VPN instance view) ········································································197
bgp········································································································································································198
v
compare-different-as-med (BGP/BGP-VPN instance view) ··············································································199
confederation id ··················································································································································199
confederation nonstandard ································································································································200
confederation peer-as ·········································································································································201
dampening (BGP/BGP-VPN instance view) ·····································································································202
default ipv4-unicast ·············································································································································203
default local-preference (BGP/BGP-VPN instance view)·················································································203
default med (BGP/BGP-VPN instance view)·····································································································204
default-route imported (BGP/BGP-VPN instance view) ···················································································205
display bgp group···············································································································································206
display bgp network ···········································································································································207
display bgp paths················································································································································208
display bgp peer ·················································································································································209
display bgp peer received ip-prefix ··················································································································212
display bgp routing-table····································································································································213
display bgp routing-table as-path-acl ················································································································215
display bgp routing-table cidr····························································································································216
display bgp routing-table community ················································································································217
display bgp routing-table community-list···········································································································218
display bgp routing-table dampened················································································································219
display bgp routing-table dampening parameter ····························································································220
display bgp routing-table different-origin-as·····································································································221
display bgp routing-table flap-info·····················································································································222
display bgp routing-table label··························································································································223
display bgp routing-table peer···························································································································224
display bgp routing-table regular-expression ···································································································225
display bgp routing-table statistic ······················································································································225
ebgp-interface-sensitive·······································································································································226
filter-policy export (BGP/BGP-VPN instance view) ··························································································227
filter-policy import (BGP/BGP-VPN instance view) ··························································································228
graceful-restart (BGP view) ·································································································································229
graceful-restart timer restart································································································································230
graceful-restart timer wait-for-rib ························································································································230
group (BGP/BGP-VPN instance view)···············································································································231
ignore-first-as························································································································································232
import-route (BGP/BGP-VPN instance view)·····································································································233
log-peer-change···················································································································································234
network (BGP/BGP-VPN instance view) ···········································································································234
network short-cut (BGP/BGP-VPN instance view) ····························································································235
peer advertise-community (BGP/BGP-VPN instance view) ·············································································236
peer advertise-ext-community (BGP/BGP-VPN instance view)········································································237
peer allow-as-loop (BGP/BGP-VPN instance view) ·························································································237
peer as-number (BGP/BGP-VPN instance view) ······························································································238
peer as-path-acl (BGP/BGP-VPN instance view)······························································································239
peer bfd································································································································································240
peer capability-advertise conventional (BGP/BGP-VPN instance view)························································241
peer capability-advertise orf ······························································································································241
peer capability-advertise orf non-standard·······································································································243
peer capability-advertise route-refresh ··············································································································244
peer connect-interface (BGP/BGP-VPN instance view) ···················································································244
peer default-route-advertise (BGP/BGP-VPN instance view)···········································································245
peer description (BGP/BGP-VPN instance view) ·····························································································246
peer ebgp-max-hop (BGP/BGP-VPN instance view) ·······················································································247
peer enable (BGP/BGP-VPN instance view) ····································································································248
vi
peer fake-as (BGP/BGP-VPN instance view)····································································································248
peer filter-policy (BGP/BGP-VPN instance view) ·····························································································249
peer group (BGP/BGP-VPN instance view)······································································································250
peer ignore (BGP/BGP-VPN instance view)·····································································································251
peer ip-prefix························································································································································251
peer keep-all-routes (BGP/BGP-VPN instance view)························································································252
peer log-change (BGP/BGP-VPN instance view)·····························································································253
peer next-hop-local (BGP/BGP-VPN instance view) ························································································254
peer password·····················································································································································254
peer preferred-value (BGP/BGP-VPN instance view) ······················································································255
peer public-as-only (BGP/BGP-VPN instance view)·························································································256
peer reflect-client (BGP/BGP-VPN instance view)····························································································257
peer route-limit (BGP/BGP-VPN instance view) ·······························································································258
peer route-policy (BGP/BGP-VPN instance view) ····························································································259
peer route-update-interval (BGP/BGP-VPN instance view) ·············································································260
peer substitute-as (BGP/BGP-VPN instance view)····························································································261
peer timer (BGP/BGP-VPN instance view) ·······································································································261
preference (BGP/BGP-VPN instance view)·······································································································263
reflect between-clients (BGP view/BGP-VPN instance view) ··········································································263
reflector cluster-id (BGP view/BGP-VPN instance view)··················································································264
refresh bgp···························································································································································265
reset bgp ······························································································································································266
reset bgp dampening··········································································································································266
reset bgp flap-info ···············································································································································267
reset bgp ipv4 all ················································································································································267
router-id ································································································································································268
summary automatic ·············································································································································268
synchronization (BGP view) ·······························································································································269
timer (BGP/BGP-VPN instance view) ················································································································270
IPv6 static routing configuration commands ········································································································· 272
delete ipv6 static-routes all ·································································································································272
ipv6 route-static····················································································································································272
RIPng configuration commands······························································································································ 274
checkzero·····························································································································································274
default cost (RIPng view)·····································································································································274
display ripng························································································································································275
display ripng database·······································································································································276
display ripng interface········································································································································278
display ripng route ··············································································································································279
filter-policy export (RIPng view)··························································································································281
filter-policy import (RIPng view)··························································································································282
import-route ··························································································································································283
ipsec-policy (RIPng view) ····································································································································284
maximum load-balancing (RIPng view)·············································································································284
preference ····························································································································································285
reset ripng process ··············································································································································286
reset ripng statistics ·············································································································································286
ripng ·····································································································································································286
ripng default-route ···············································································································································287
ripng enable ························································································································································288
ripng ipsec-policy ················································································································································289
ripng metricin·······················································································································································289
ripng metricout·····················································································································································290
vii
ripng poison-reverse············································································································································290
ripng split-horizon················································································································································291
ripng summary-address·······································································································································292
timers ····································································································································································292
OSPFv3 configuration commands·························································································································· 294
abr-summary (OSPFv3 area view)·····················································································································294
area (OSPFv3 view) ············································································································································294
bandwidth-reference ···········································································································································295
default cost···························································································································································296
default-cost (OSPFv3 area view)························································································································296
default-route-advertise ·········································································································································297
display ospfv3 ·····················································································································································298
display ospfv3 graceful-restart status ················································································································300
display ospfv3 interface ·····································································································································301
display ospfv3 lsdb ·············································································································································303
display ospfv3 lsdb statistic································································································································307
display ospfv3 next-hop······································································································································308
display ospfv3 peer ············································································································································309
display ospfv3 peer statistic ·······························································································································311
display ospfv3 request-list···································································································································312
display ospfv3 retrans-list ···································································································································313
display ospfv3 routing ········································································································································315
display ospfv3 statistic········································································································································317
display ospfv3 topology ·····································································································································318
display ospfv3 vlink ············································································································································319
filter-policy export (OSPFv3 view) ·····················································································································320
filter-policy import (OSPFv3 view) ·····················································································································321
graceful-restart enable ········································································································································323
graceful-restart helper enable ····························································································································323
graceful-restart helper strict-lsa-checking···········································································································324
graceful-restart interval········································································································································324
import-route (OSPFv3 view)································································································································325
ipsec-policy (OSPFv3 area view)·······················································································································326
log-peer-change···················································································································································326
maximum load-balancing (OSPFv3 view)·········································································································327
ospfv3···································································································································································327
ospfv3 area··························································································································································328
ospfv3 bfd enable ···············································································································································329
ospfv3 cost ···························································································································································329
ospfv3 dr-priority ·················································································································································330
ospfv3 ipsec-policy··············································································································································331
ospfv3 mtu-ignore················································································································································331
ospfv3 network-type ············································································································································332
ospfv3 peer ··························································································································································332
ospfv3 timer dead ···············································································································································333
ospfv3 timer hello················································································································································334
ospfv3 timer retransmit ·······································································································································334
ospfv3 timer poll··················································································································································335
ospfv3 trans-delay ···············································································································································336
preference ····························································································································································336
router-id ································································································································································337
silent-interface(OSPFv3 view) ·····························································································································338
spf timers ······························································································································································339
stub (OSPFv3 area view) ····································································································································339
viii
vlink-peer (OSPFv3 area view)···························································································································340
IPv6 IS-IS configuration commands························································································································ 342
display isis route ipv6 ·········································································································································342
ipv6 default-route-advertise ································································································································345
ipv6 enable··························································································································································346
ipv6 filter-policy export ·······································································································································346
ipv6 filter-policy import ·······································································································································348
ipv6 import-route ·················································································································································349
ipv6 import-route isisv6 level-2 into level-1·······································································································350
ipv6 import-route limit ·········································································································································351
ipv6 maximum load-balancing ··························································································································351
ipv6 preference ···················································································································································352
ipv6 summary ······················································································································································352
isis ipv6 bfd enable·············································································································································353
isis ipv6 enable ···················································································································································354
IPv6 BGP configuration commands ······················································································································· 355
aggregate (IPv6 address family view)···············································································································355
balance (IPv6 address family view/IPv6 BGP-VPN instance view)································································356
bestroute as-path-neglect (IPv6 address family view) ······················································································357
bestroute compare-med (IPv6 address family view) ························································································357
bestroute med-confederation (IPv6 address family view)················································································358
compare-different-as-med (IPv6 address family view)······················································································359
dampening (IPv6 address family view)·············································································································359
default local-preference (IPv6 address family view/IPv6 BGP-VPN instance view) ·····································360
default med (IPv6 address family view/IPv6 BGP-VPN instance view) ·························································361
default-route imported (IPv6 address family view/IPv6 BGP-VPN instance view)········································362
display bgp ipv6 group······································································································································362
display bgp ipv6 network ··································································································································364
display bgp ipv6 paths·······································································································································365
display bgp ipv6 peer ········································································································································366
display bgp ipv6 peer received ip-prefix ·········································································································371
display bgp ipv6 routing-table···························································································································372
display bgp ipv6 routing-table as-path-acl ·······································································································374
display bgp ipv6 routing-table community ·······································································································374
display bgp ipv6 routing-table community-list··································································································376
display bgp ipv6 routing-table dampened ·······································································································377
display bgp ipv6 routing-table dampening parameter ···················································································377
display bgp ipv6 routing-table different-origin-as ····························································································378
display bgp ipv6 routing-table flap-info············································································································379
display bgp ipv6 routing-table peer··················································································································380
display bgp ipv6 routing-table regular-expression ··························································································382
display bgp ipv6 routing-table statistic ·············································································································382
filter-policy export (IPv6 address family view/IPv6 BGP-VPN instance view)···············································383
filter-policy import (IPv6 address family view/IPv6 BGP-VPN instance view)···············································384
group (IPv6 address family view) ······················································································································385
import-route (IPv6 address family view/IPv6 BGP-VPN instance view) ·························································386
ipv6-family····························································································································································387
network (IPv6 address family view/IPv6 BGP-VPN instance view)································································388
peer advertise-community (IPv6 address family view) ·····················································································388
peer advertise-ext-community (IPv6 address family view) ···············································································389
peer allow-as-loop (IPv6 address family view) ·································································································390
peer as-number (IPv6 address family view) ······································································································390
peer as-number (IPv6 BGP-VPN instance view)································································································391
ix
peer as-path-acl (IPv6 address family view) ·····································································································391
peer bfd (IPv6 address family view/IPv6 BGP-VPN instance view)·······························································392
peer capability-advertise orf ······························································································································393
peer capability-advertise orf non-standard (IPv6 address family view)·························································394
peer capability-advertise route-refresh ··············································································································395
peer connect-interface (IPv6 address family view)···························································································396
peer default-route-advertise ································································································································396
peer description (IPv6 address family view)·····································································································397
peer ebgp-max-hop (IPv6 address family view) ·······························································································398
peer enable (IPv6 address family view)············································································································398
peer fake-as (IPv6 address family view)············································································································399
peer filter-policy (IPv6 address family view) ·····································································································400
peer group (IPv6 address family view) ·············································································································401
peer ignore (IPv6 address family view) ············································································································401
peer ipv6-prefix ···················································································································································402
peer ipsec-policy (IPv6 address family view)····································································································403
peer keep-all-routes (IPv6 address family view) ·······························································································403
peer log-change (IPv6 address family view)·····································································································404
peer next-hop-local (IPv6 address family view)································································································405
peer password·····················································································································································405
peer preferred-value (IPv6 address family view)······························································································406
peer preferred-value (IPv6 BGP-VPN instance view) ·······················································································407
peer public-as-only (IPv6 address family view) ································································································408
peer reflect-client (IPv6 address family view) ···································································································409
peer route-limit (IPv6 address family view) ·······································································································409
peer route-policy (IPv6 address family view)····································································································410
peer route-policy (IPv6 BGP-VPN instance view) ·····························································································411
peer route-update-interval (IPv6 address family view)·····················································································412
peer substitute-as (IPv6 address family view) ···································································································413
peer timer (IPv6 address family view) ···············································································································413
preference (IPv6 address family view/IPv6 BGP-VPN instance view) ···························································414
reflect between-clients (IPv6 address family view) ···························································································415
reflector cluster-id (IPv6 address family view)···································································································416
refresh bgp ipv6 ··················································································································································416
reset bgp ipv6······················································································································································417
reset bgp ipv6 dampening·································································································································418
reset bgp ipv6 flap-info·······································································································································418
router-id ································································································································································419
synchronization (IPv6 address family view) ·····································································································419
timer (IPv6 address family view) ························································································································420
Routing policy configuration commands ··············································································································· 422
Common routing policy configuration commands····································································································422
apply as-path ·······················································································································································422
apply comm-list delete ········································································································································423
apply community ·················································································································································423
apply cost·····························································································································································424
apply cost-type·····················································································································································425
apply extcommunity ············································································································································426
apply isis ······························································································································································426
apply local-preference ········································································································································427
apply mpls-label ··················································································································································428
apply origin ·························································································································································428
apply preference ·················································································································································429
apply preferred-value··········································································································································429
x
apply tag······························································································································································430
continue ································································································································································431
display ip as-path ················································································································································432
display ip community-list·····································································································································432
display ip extcommunity-list································································································································433
display route-policy ·············································································································································434
if-match as-path····················································································································································435
if-match community··············································································································································435
if-match cost ·························································································································································436
if-match extcommunity·········································································································································437
if-match interface ·················································································································································437
if-match mpls-label ···············································································································································438
if-match route-type ···············································································································································439
if-match tag ··························································································································································439
ip as-path······························································································································································440
ip community-list ··················································································································································441
ip extcommunity-list ·············································································································································442
route-policy···························································································································································443
IPv4 routing policy configuration commands············································································································443
apply fast-reroute·················································································································································443
apply ip-address next-hop ··································································································································444
display ip ip-prefix ··············································································································································445
if-match acl···························································································································································446
if-match ip·····························································································································································446
if-match ip-prefix ··················································································································································447
ip ip-prefix····························································································································································448
reset ip ip-prefix···················································································································································449
IPv6 routing policy configuration commands············································································································449
apply ipv6 next-hop ············································································································································449
display ip ipv6-prefix ··········································································································································450
if-match ipv6 ························································································································································451
ip ipv6-prefix························································································································································452
reset ip ipv6-prefix···············································································································································453
Policy-based routing configuration commands ····································································································· 454
apply ip-address default next-hop ·····················································································································454
apply ip-address next-hop ··································································································································455
apply ip-precedence ···········································································································································455
display ip policy-based-route ·····························································································································456
display ip policy-based-route setup ···················································································································457
display policy-based-route··································································································································458
if-match acl···························································································································································459
ip local policy-based-route ·································································································································459
ip policy-based-route···········································································································································460
policy-based-route ···············································································································································461
Index ········································································································································································ 462
1
IP routing basics configuration commands
NOTE:
• The term
router
in this document refers to both routers and Layer 3 switches.
• The interfaces in routing refer to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet
interfaces. Layer 3 Ethernet interfaces refer to Ethernet interfaces operating in route mode. For more
information about the operating mode of the Ethernet interface, see the
Layer 2—LAN Switching
Configuration Guide.
display ip routing-table
Syntax
display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string
of 1 to 31 characters.
verbose: Displays detailed routing table information, including that for inactive routes. With this keyword
absent, the command displays only brief information about active routes.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display ip routing-table command to display brief information about active routes in the routing
table.
This command displays brief information about a routing table, with a routing entry contained in one line.
The information displayed includes destination IP address/mask length, protocol, priority, cost, next hop
and outbound interface. This command displays only the optimal routes in use.
Use the display ip routing-table verbose command to display detailed information about all routes in the
routing table.
2
This command displays detailed information about all active and inactive routes, including the statistics
of the entire routing table and information for each route.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Routing Tables: Public
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost NextHop Interface
1.1.2.0/24 Direct 0 0 1.1.2.1 Vlan1
1.1.2.1/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.0/24 OSPF 10 2 1.1.2.2 Vlan2
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.0/24 Direct 0 0 192.168.0.1 Vlan10
192.168.0.1/32 Direct 0 0 127.0.0.1 InLoop0
Table 1 Output description
Field Description
Destinations Number of destination addresses
Routes Number of routes
Destination/Mask Destination address/mask length
Proto Protocol that presents the route
Pre Priority of the route
Cost Cost of the route
NextHop Address of the next hop on the route
Interface Outbound interface for packets to be forwarded along the route
# Display detailed information about all routes in the routing table.
<Sysname> display ip routing-table verbose
Routing Tables: Public
Destinations : 7 Routes : 7
Destination: 1.1.2.0/24
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 1.1.2.1 Interface: Vlan-interface11
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 06h46m22s
Tag: 0
Destination: 1.1.2.1/32
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486

H3C s5820x series Command Reference Manual

Category
Networking
Type
Command Reference Manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI