H3C s5820x series Command Reference Manual

Category
Networking
Type
Command Reference Manual

This manual is also suitable for

H3C S5820X&S5800 Series Ethernet Switches
Layer 3 - IP Routing
Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version: 6W103-20100716
Product Version: Release 1110
Copyright © 2009-2010, 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 11 command references, which describe the
commands and command syntax options for the S5800&S5820X Release 1110.
The Layer 3 – IP Routing Command Reference describes routing configuration commands.
This preface includes:
z Audience
z Document Organization
z Conventions
z About the H3C S5800&S5820X Documentation Set
z Obtaining Documentation
z Documentation Feedback
Audience
This documentation set is intended for:
z Network planners
z Field technical support and servicing engineers
z Network administrators working with the S5800 and S5820X series
Document Organization
The Layer 3 – IP Routing Command Reference comprises these parts:
IP Routing Basics
Configuration
Commands
Static Routing
Configuration
Commands
RIP Configuration
Commands
OSPF Configuration
Commands
IS-IS Configuration
Commands
BGP Configuration
Commands
IPv6 Static Routing
Configuration Commands
RIPng Configuration
Commands
OSPFv3 Configuration
Commands
IPv6 IS-IS Configuration
Commands
IPv6 BGP Configuration
Commands
Route Policy
Configuration
Commands
Policy Routing
Configuration
Commands
MCE 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.
Convention Description
[ ]
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 may select 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
Means reader be extremely careful. Improper operation may cause bodily
injury.
Means reader be careful. Improper operation may cause data loss or damage to
equipment.
Means a complementary description.
About the H3C S5800&S5820X Documentation Set
The H3C S5800&S5820X documentation set also 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.
Pluggable module
description
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.
Category Documents Purposes
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.
S5820X [ S5800 ] Series
Ethernet Switches
Interface Cards User
Manual
Describes the models, hardware specifications,
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.
z S5800 Series
Ethernet Switches
Quick Start
z S5820X Series
Ethernet Switches
Quick Start
z S5800 Series
Ethernet Switches
CE DOC
z S5820X Series
Ethernet Switches
CE DOC
Provides regulatory information and the safety
instructions that must be followed during installation.
Hardware installation
z S5800 Series
Ethernet Switches
Quick Start
z 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.
Category Documents Purposes
z S5800 Series
Ethernet Switches
Installation Manual
z 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.
z S5800-60C-PWR
Switch Video
Installation Guide
z 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.
Documentation Feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Table of Contents
1 IP Routing Basics Configuration Commands······················································································1-1
IP Routing Basics Configuration Commands·······················································································1-1
display ip routing-table ·················································································································1-1
display ip routing-table acl············································································································1-5
display ip routing-table ip-address································································································1-7
display ip routing-table ip-prefix··································································································1-10
display ip routing-table protocol··································································································1-11
display ip routing-table statistics·································································································1-12
display ipv6 routing-table············································································································1-13
display ipv6 routing-table acl······································································································1-14
display ipv6 routing-table ipv6-address······················································································1-15
display ipv6 routing-table ipv6-address1 ipv6-address2 ····························································1-16
display ipv6 routing-table ipv6-prefix··························································································1-17
display ipv6 routing-table protocol······························································································1-17
display ipv6 routing-table statistics·····························································································1-18
display ipv6 routing-table verbose······························································································1-19
display router id··························································································································1-20
router id······································································································································1-21
reset ip routing-table statistics protocol······················································································1-21
reset ipv6 routing-table statistics································································································1-22
2 Static Routing Configuration Commands····························································································2-1
Static Routing Configuration Commands·····························································································2-1
delete static-routes all ··················································································································2-1
ip route-static································································································································2-2
ip route-static default-preference··································································································2-4
ip route-static fast-reroute ············································································································2-5
3 RIP Configuration Commands ··············································································································3-1
RIP Configuration Commands·············································································································3-1
checkzero·····································································································································3-1
default cost (RIP view) ·················································································································3-1
default-route·································································································································3-2
display rip ·····································································································································3-3
display rip database ·····················································································································3-5
display rip interface ······················································································································3-6
display rip route····························································································································3-7
fast-reroute·································································································································3-10
filter-policy export (RIP view)······································································································3-10
filter-policy import (RIP view)······································································································3-12
host-route···································································································································3-13
import-route (RIP view) ··············································································································3-14
ii
maximum load-balancing (RIP view)··························································································3-15
network·······································································································································3-16
output-delay································································································································3-16
peer ············································································································································3-17
preference ··································································································································3-18
reset rip process·························································································································3-18
reset rip statistics························································································································3-19
rip ···············································································································································3-19
rip authentication-mode··············································································································3-20
rip bfd enable······························································································································3-21
rip default-route··························································································································3-21
rip input·······································································································································3-22
rip metricin··································································································································3-23
rip metricout································································································································3-24
rip mib-binding····························································································································3-25
rip output ····································································································································3-25
rip poison-reverse·······················································································································3-26
rip split-horizon···························································································································3-26
rip summary-address··················································································································3-27
rip version···································································································································3-28
silent-interface (RIP view) ··········································································································3-29
summary·····································································································································3-30
timers··········································································································································3-30
validate-source-address·············································································································3-31
version········································································································································3-32
4 OSPF Configuration Commands ··········································································································4-1
OSPF Configuration Commands ·········································································································4-1
abr-summary (OSPF area view)···································································································4-1
area (OSPF view)·························································································································4-2
asbr-summary ······························································································································4-2
authentication-mode·····················································································································4-3
bandwidth-reference (OSPF view)·······························································································4-4
default···········································································································································4-5
default-cost (OSPF area view)·····································································································4-5
default-route-advertise (OSPF view)····························································································4-6
description (OSPF/OSPF area view)····························································································4-7
display ospf abr-asbr····················································································································4-8
display ospf asbr-summary ··········································································································4-9
display ospf brief ························································································································4-10
display ospf cumulative··············································································································4-13
display ospf error························································································································4-15
display ospf interface··················································································································4-17
display ospf lsdb·························································································································4-18
display ospf nexthop···················································································································4-21
display ospf peer························································································································4-22
iii
display ospf peer statistics ·········································································································4-25
display ospf request-queue ········································································································4-26
display ospf retrans-queue·········································································································4-27
display ospf routing ····················································································································4-28
display ospf vlink························································································································4-30
enable link-local-signaling··········································································································4-31
enable log···································································································································4-31
enable out-of-band-resynchronization························································································4-32
fast-reroute·································································································································4-32
filter·············································································································································4-33
filter-policy export (OSPF view)··································································································4-34
filter-policy import (OSPF view)··································································································4-35
graceful-restart (OSPF view)······································································································4-36
graceful-restart help ···················································································································4-37
graceful-restart interval (OSPF view)·························································································4-38
host-advertise·····························································································································4-39
import-route (OSPF view)···········································································································4-39
log-peer-change·························································································································4-41
lsa-arrival-interval·······················································································································4-42
lsa-generation-interval················································································································4-42
lsdb-overflow-limit·······················································································································4-43
maximum load-balancing (OSPF view)······················································································4-43
maximum-routes·························································································································4-44
network (OSPF area view) ·········································································································4-45
nssa············································································································································4-45
opaque-capability enable ···········································································································4-46
ospf·············································································································································4-47
ospf authentication-mode···········································································································4-48
ospf bfd enable···························································································································4-49
ospf cost·····································································································································4-50
ospf dr-priority ····························································································································4-51
ospf mib-binding·························································································································4-51
ospf mtu-enable··························································································································4-52
ospf network-type·······················································································································4-52
ospf packet-process prioritized-treatment··················································································4-54
ospf timer dead···························································································································4-54
ospf timer hello···························································································································4-55
ospf timer poll·····························································································································4-56
ospf timer retransmit···················································································································4-56
ospf trans-delay··························································································································4-57
peer············································································································································4-58
preference··································································································································4-59
reset ospf counters·····················································································································4-59
reset ospf process······················································································································4-60
reset ospf redistribution··············································································································4-61
rfc1583 compatible·····················································································································4-61
iv
silent-interface (OSPF view)·······································································································4-62
snmp-agent trap enable ospf······································································································4-62
spf-schedule-interval··················································································································4-63
stub (OSPF area view)···············································································································4-64
stub-router··································································································································4-65
transmit-pacing···························································································································4-66
vlink-peer (OSPF area view) ······································································································4-66
5 IS-IS Configuration Commands············································································································5-1
IS-IS Configuration Commands···········································································································5-1
area-authentication-mode ············································································································5-1
auto-cost enable···························································································································5-2
bandwidth-reference (IS-IS view)·································································································5-3
circuit-cost····································································································································5-3
cost-style ······································································································································5-4
default-route-advertise (IS-IS view)······························································································5-5
display isis brief····························································································································5-6
display isis debug-switches··········································································································5-7
display isis graceful-restart status································································································5-7
display isis interface·····················································································································5-9
display isis lsdb ··························································································································5-12
display isis mesh-group··············································································································5-14
display isis name-table···············································································································5-15
display isis peer··························································································································5-16
display isis route·························································································································5-19
display isis spf-log······················································································································5-22
display isis statistics···················································································································5-23
domain-authentication-mode······································································································5-25
fast-reroute·································································································································5-26
filter-policy export (IS-IS view) ···································································································5-27
filter-policy import (IS-IS view) ···································································································5-28
flash-flood···································································································································5-29
graceful-restart (IS-IS view)········································································································5-30
graceful-restart interval (IS-IS view)···························································································5-30
graceful-restart suppress-sa·······································································································5-31
import-route (IS-IS view) ············································································································5-32
import-route isis level-2 into level-1····························································································5-33
import-route limit (IS-IS view)·····································································································5-34
isis··············································································································································5-35
isis authentication-mode·············································································································5-35
isis bfd enable ····························································································································5-36
isis circuit-level···························································································································5-37
isis circuit-type p2p·····················································································································5-38
isis cost·······································································································································5-39
isis dis-name ······························································································································5-39
isis dis-priority·····························································································································5-40
v
isis enable ··································································································································5-41
isis mesh-group··························································································································5-42
isis mib-binding···························································································································5-42
isis silent·····································································································································5-43
isis small-hello····························································································································5-44
isis timer csnp·····························································································································5-44
isis timer hello·····························································································································5-45
isis timer holding-multiplier·········································································································5-46
isis timer lsp································································································································5-47
isis timer retransmit····················································································································5-48
is-level········································································································································5-49
is-name·······································································································································5-49
is-name map·······························································································································5-50
is-snmp-traps enable··················································································································5-50
log-peer-change (IS-IS view)······································································································5-51
lsp-fragments-extend··················································································································5-52
lsp-length originate·····················································································································5-52
lsp-length receive·······················································································································5-53
maximum load-balancing (IS-IS view)························································································5-54
network-entity·····························································································································5-54
preference (IS-IS view)···············································································································5-55
reset isis all·································································································································5-56
reset isis peer·····························································································································5-56
set-overload································································································································5-57
summary (IS-IS view)·················································································································5-58
timer lsp-generation····················································································································5-59
timer lsp-max-age·······················································································································5-60
timer lsp-refresh ·························································································································5-61
timer spf······································································································································5-61
virtual-system·····························································································································5-62
6 BGP Configuration Commands ············································································································6-1
BGP Configuration Commands············································································································6-1
aggregate·····································································································································6-1
balance (BGP/BGP-VPN instance view)······················································································6-3
bestroute as-path-neglect (BGP/BGP-VPN instance view)··························································6-3
bestroute compare-med (BGP/BGP-VPN instance view) ····························································6-4
bestroute med-confederation (BGP/BGP-VPN instance view)·····················································6-5
bgp ···············································································································································6-5
compare-different-as-med (BGP/BGP-VPN instance view) ·························································6-6
confederation id····························································································································6-7
confederation nonstandard···········································································································6-7
confederation peer-as ··················································································································6-8
dampening (BGP/BGP-VPN instance view)·················································································6-9
default ipv4-unicast ····················································································································6-10
default local-preference (BGP/BGP-VPN instance view)···························································6-11
vi
default med (BGP/BGP-VPN instance view)··············································································6-11
default-route imported (BGP/BGP-VPN instance view) ·····························································6-12
display bgp group·······················································································································6-13
display bgp network····················································································································6-14
display bgp paths ·······················································································································6-15
display bgp peer·························································································································6-16
display bgp peer received ip-prefix·····························································································6-20
display bgp routing-table············································································································6-21
display bgp routing-table as-path-acl ·························································································6-22
display bgp routing-table cidr ·····································································································6-23
display bgp routing-table community··························································································6-24
display bgp routing-table community-list····················································································6-25
display bgp routing-table dampened··························································································6-25
display bgp routing-table dampening parameter········································································6-26
display bgp routing-table different-origin-as···············································································6-27
display bgp routing-table flap-info ······························································································6-28
display bgp routing-table label····································································································6-29
display bgp routing-table peer····································································································6-30
display bgp routing-table regular-expression ·············································································6-30
display bgp routing-table statistic·······························································································6-31
ebgp-interface-sensitive·············································································································6-32
filter-policy export (BGP/BGP-VPN instance view) ····································································6-32
filter-policy import (BGP/BGP-VPN instance view) ····································································6-34
graceful-restart (BGP view)········································································································6-35
graceful-restart timer restart·······································································································6-35
graceful-restart timer wait-for-rib································································································6-36
group (BGP/BGP-VPN instance view) ·······················································································6-37
import-route (BGP/BGP-VPN instance view) ·············································································6-37
log-peer-change·························································································································6-39
network (BGP/BGP-VPN instance view)····················································································6-39
network short-cut (BGP/BGP-VPN instance view)·····································································6-40
peer advertise-community (BGP/BGP-VPN instance view) ·······················································6-41
peer advertise-ext-community (BGP/BGP-VPN instance view) ·················································6-41
peer allow-as-loop (BGP/BGP-VPN instance view)···································································6-42
peer as-number (BGP/BGP-VPN instance view) ·······································································6-43
peer as-path-acl (BGP/BGP-VPN instance view)·······································································6-44
peer bfd······································································································································6-45
peer capability-advertise conventional (BGP/BGP-VPN instance view) ····································6-45
peer capability-advertise orf·······································································································6-46
peer capability-advertise orf non-standard·················································································6-47
peer capability-advertise route-refresh·······················································································6-48
peer connect-interface (BGP/BGP-VPN instance view)·····························································6-49
peer default-route-advertise (BGP/BGP-VPN instance view) ····················································6-50
peer description (BGP/BGP-VPN instance view)·······································································6-51
peer ebgp-max-hop (BGP/BGP-VPN instance view) ·································································6-52
peer enable (BGP/BGP-VPN instance view)··············································································6-52
vii
peer fake-as (BGP/BGP-VPN instance view)·············································································6-53
peer filter-policy (BGP/BGP-VPN instance view)·······································································6-54
peer group (BGP/BGP-VPN instance view) ···············································································6-55
peer ignore (BGP/BGP-VPN instance view) ··············································································6-55
peer ip-prefix ······························································································································6-56
peer keep-all-routes (BGP/BGP-VPN instance view)·································································6-57
peer log-change (BGP/BGP-VPN instance view)·······································································6-58
peer next-hop-local (BGP/BGP-VPN instance view)··································································6-58
peer password····························································································································6-59
peer preferred-value (BGP/BGP-VPN instance view)································································6-60
peer public-as-only (BGP/BGP-VPN instance view) ··································································6-61
peer reflect-client (BGP/BGP-VPN instance view)·····································································6-62
peer route-limit (BGP/BGP-VPN instance view)·········································································6-63
peer route-policy (BGP/BGP-VPN instance view)······································································6-64
peer route-update-interval (BGP/BGP-VPN instance view)·······················································6-64
peer substitute-as (BGP/BGP-VPN instance view)····································································6-65
peer timer (BGP/BGP-VPN instance view) ················································································6-66
preference (BGP/BGP-VPN instance view) ···············································································6-67
reflect between-clients (BGP view) ····························································································6-68
reflector cluster-id (BGP view)····································································································6-69
refresh bgp·································································································································6-69
reset bgp ····································································································································6-70
reset bgp dampening··················································································································6-71
reset bgp flap-info·······················································································································6-71
reset bgp ipv4 all························································································································6-72
router-id······································································································································6-72
summary automatic····················································································································6-73
synchronization (BGP view)·······································································································6-73
timer (BGP/BGP-VPN instance view)·························································································6-74
7 IPv6 Static Routing Configuration Commands ···················································································7-1
IPv6 Static Routing Configuration Commands ····················································································7-1
delete ipv6 static-routes all···········································································································7-1
ipv6 route-static····························································································································7-1
8 RIPng Configuration Commands··········································································································8-1
RIPng Configuration Commands·········································································································8-1
checkzero·····································································································································8-1
default cost (RIPng view) ·············································································································8-1
display ripng·································································································································8-2
display ripng database ·················································································································8-3
display ripng interface ··················································································································8-4
display ripng route························································································································8-6
filter-policy export (RIPng view) ···································································································8-7
filter-policy import (RIPng view) ···································································································8-8
import-route··································································································································8-9
maximum load-balancing (RIPng view)······················································································8-10
viii
preference··································································································································8-11
reset ripng process·····················································································································8-12
reset ripng statistics····················································································································8-12
ripng ···········································································································································8-12
ripng default-route······················································································································8-13
ripng enable································································································································8-14
ripng metricin······························································································································8-14
ripng metricout····························································································································8-15
ripng poison-reverse···················································································································8-15
ripng split-horizon·······················································································································8-16
ripng summary-address··············································································································8-17
timers··········································································································································8-17
9 OSPFv3 Configuration Commands ······································································································9-1
OSPFv3 Configuration Commands······································································································9-1
abr-summary (OSPFv3 area view)·······························································································9-1
area (OSPFv3 view)·····················································································································9-2
bandwidth-reference·····················································································································9-2
default cost···································································································································9-3
default-cost (OSPFv3 area view) ·································································································9-4
default-route-advertise ·················································································································9-4
display ospfv3·······························································································································9-5
display ospfv3 graceful-restart status···························································································9-7
display ospfv3 interface················································································································9-8
display ospfv3 lsdb·····················································································································9-10
display ospfv3 lsdb statistic········································································································9-14
display ospfv3 next-hop··············································································································9-15
display ospfv3 peer ····················································································································9-16
display ospfv3 peer statistic ·······································································································9-18
display ospfv3 request-list··········································································································9-19
display ospfv3 retrans-list···········································································································9-20
display ospfv3 routing·················································································································9-22
display ospfv3 statistic················································································································9-23
display ospfv3 topology··············································································································9-24
display ospfv3 vlink ····················································································································9-25
filter-policy export (OSPFv3 view)······························································································9-27
filter-policy import (OSPFv3 view)······························································································9-28
graceful-restart enable ···············································································································9-29
graceful-restart helper enable ····································································································9-29
graceful-restart helper strict-lsa-checking ··················································································9-30
graceful-restart interval···············································································································9-31
import-route (OSPFv3 view)·······································································································9-31
log-peer-change·························································································································9-32
maximum load-balancing (OSPFv3 view) ··················································································9-33
ospfv3·········································································································································9-33
ospfv3 area·································································································································9-34
ix
ospfv3 cost·································································································································9-35
ospfv3 dr-priority·························································································································9-35
ospfv3 mtu-ignore·······················································································································9-36
ospfv3 network-type ···················································································································9-37
ospfv3 peer·································································································································9-37
ospfv3 timer dead·······················································································································9-38
ospfv3 timer hello·······················································································································9-39
ospfv3 timer retransmit···············································································································9-39
ospfv3 timer poll·························································································································9-40
ospfv3 trans-delay······················································································································9-40
preference··································································································································9-41
router-id······································································································································9-42
silent-interface(OSPFv3 view)····································································································9-43
spf timers····································································································································9-43
stub (OSPFv3 area view) ···········································································································9-44
vlink-peer (OSPFv3 area view) ··································································································9-45
10 IPv6 IS-IS Configuration Commands································································································10-1
IPv6 IS-IS Configuration Commands·································································································10-1
display isis route ipv6·················································································································10-1
ipv6 default-route-advertise········································································································10-4
ipv6 enable·································································································································10-5
ipv6 filter-policy export················································································································10-6
ipv6 filter-policy import················································································································10-7
ipv6 import-route ························································································································10-8
ipv6 import-route isisv6 level-2 into level-1················································································10-9
ipv6 import-route limit···············································································································10-10
ipv6 maximum load-balancing··································································································10-11
ipv6 preference·························································································································10-11
ipv6 summary···························································································································10-12
isis ipv6 enable·························································································································10-13
11 IPv6 BGP Configuration Commands································································································11-1
IPv6 BGP Configuration Commands ·································································································11-1
aggregate (IPv6 address family view)························································································11-1
balance (IPv6 address family view)····························································································11-2
bestroute as-path-neglect (IPv6 address family view)································································11-3
bestroute compare-med (IPv6 address family view)··································································11-4
bestroute med-confederation (IPv6 address family view) ··························································11-4
compare-different-as-med (IPv6 address family view)·······························································11-5
dampening (IPv6 address family view)·······················································································11-6
default local-preference (IPv6 address family view)···································································11-7
default med (IPv6 address family view)······················································································11-7
default-route imported (IPv6 address family view)·····································································11-8
display bgp ipv6 group ···············································································································11-8
display bgp ipv6 network··········································································································11-11
display bgp ipv6 paths··············································································································11-11
x
display bgp ipv6 peer ···············································································································11-12
display bgp ipv6 peer received ip-prefix···················································································11-15
display bgp ipv6 routing-table···································································································11-15
display bgp ipv6 routing-table as-path-acl················································································11-18
display bgp ipv6 routing-table community················································································11-18
display bgp ipv6 routing-table community-list ··········································································11-19
display bgp ipv6 routing-table dampened·················································································11-20
display bgp ipv6 routing-table dampening parameter ······························································11-21
display bgp ipv6 routing-table different-origin-as ·····································································11-22
display bgp ipv6 routing-table flap-info·····················································································11-22
display bgp ipv6 routing-table peer ··························································································11-23
display bgp ipv6 routing-table regular-expression····································································11-24
display bgp ipv6 routing-table statistic ·····················································································11-25
filter-policy export (IPv6 address family view)··········································································11-25
filter-policy import (IPv6 address family view)··········································································11-26
group (IPv6 address family view)·····························································································11-27
import-route (IPv6 address family view)···················································································11-28
ipv6-family································································································································11-29
network (IPv6 address family view)··························································································11-29
peer advertise-community (IPv6 address family view)·····························································11-30
peer advertise-ext-community (IPv6 address family view)·······················································11-31
peer allow-as-loop (IPv6 address family view)·········································································11-31
peer as-number (IPv6 address family view)·············································································11-32
peer as-path-acl (IPv6 address family view) ············································································11-33
peer capability-advertise orf·····································································································11-33
peer capability-advertise orf non-standard (IPv6 address family view)····································11-35
peer capability-advertise route-refresh·····················································································11-35
peer connect-interface (IPv6 address family view)···································································11-36
peer default-route-advertise·····································································································11-37
peer description (IPv6 address family view)·············································································11-37
peer ebgp-max-hop (IPv6 address family view)·······································································11-38
peer enable (IPv6 address family view) ···················································································11-39
peer fake-as (IPv6 address family view) ··················································································11-39
peer filter-policy (IPv6 address family view)·············································································11-40
peer group (IPv6 address family view)·····················································································11-41
peer ignore (IPv6 address family view)····················································································11-41
peer ipv6-prefix·························································································································11-42
peer keep-all-routes (IPv6 address family view) ······································································11-43
peer log-change (IPv6 address family view) ············································································11-43
peer next-hop-local (IPv6 address family view)········································································11-44
peer preferred-value (IPv6 address family view)······································································11-45
peer public-as-only (IPv6 address family view)········································································11-45
peer reflect-client (IPv6 address family view)···········································································11-46
peer route-limit (IPv6 address family view) ··············································································11-47
peer route-policy (IPv6 address family view)············································································11-48
peer route-update-interval (IPv6 address family view)·····························································11-49
xi
peer substitute-as (IPv6 address family view)··········································································11-49
peer timer (IPv6 address family view)······················································································11-50
preference (IPv6 address family view)·····················································································11-51
reflect between-clients (IPv6 address family view) ··································································11-52
reflector cluster-id (IPv6 address family view)··········································································11-52
refresh bgp ipv6························································································································11-53
reset bgp ipv6···························································································································11-54
reset bgp ipv6 dampening········································································································11-54
reset bgp ipv6 flap-info·············································································································11-55
router-id····································································································································11-55
synchronization (IPv6 address family view) ·············································································11-56
timer (IPv6 address family view) ······························································································11-57
12 Route Policy Configuration Commands ··························································································12-1
Common Route Policy Configuration Commands ·············································································12-1
apply as-path······························································································································12-1
apply comm-list delete················································································································12-2
apply community ························································································································12-2
apply cost···································································································································12-3
apply cost-type···························································································································12-4
apply extcommunity····················································································································12-4
apply isis·····································································································································12-5
apply local-preference················································································································12-6
apply origin·································································································································12-6
apply preference·························································································································12-7
apply preferred-value ·················································································································12-8
apply tag·····································································································································12-8
display ip as-path ·······················································································································12-9
display ip community-list ··········································································································12-10
display ip extcommunity-list······································································································12-10
display route-policy···················································································································12-11
if-match as-path························································································································12-12
if-match community ··················································································································12-12
if-match cost·····························································································································12-13
if-match extcommunity ·············································································································12-14
if-match interface······················································································································12-14
if-match route-type ···················································································································12-15
if-match tag·······························································································································12-16
ip as-path··································································································································12-16
ip community-list·······················································································································12-17
ip extcommunity-list··················································································································12-18
route-policy·······························································································································12-19
IPv4 Route Policy Configuration Commands···················································································12-20
apply fast-reroute ·····················································································································12-20
apply ip-address next-hop········································································································12-21
display ip ip-prefix·····················································································································12-22
xii
if-match acl·······························································································································12-22
if-match ip·································································································································12-23
if-match ip-prefix·······················································································································12-24
ip ip-prefix·································································································································12-24
reset ip ip-prefix························································································································12-25
IPv6 Route Policy Configuration Commands···················································································12-26
apply ipv6 next-hop··················································································································12-26
display ip ipv6-prefix·················································································································12-27
if-match ipv6·····························································································································12-27
ip ipv6-prefix·····························································································································12-28
reset ip ipv6-prefix····················································································································12-29
13 Policy Routing Configuration Commands·······················································································13-1
14 MCE Configuration Commands ········································································································14-1
MCE Configuration Commands·········································································································14-1
description··································································································································14-1
display bgp vpnv4 vpn-instance group·······················································································14-1
display bgp vpnv4 vpn-instance network····················································································14-3
display bgp vpnv4 vpn-instance paths ·······················································································14-4
display bgp vpnv4 vpn-instance peer·························································································14-5
display bgp vpnv4 vpn-instance routing-table············································································14-7
display fib vpn-instance············································································································14-10
display fib vpn-instance ip-address··························································································14-12
display ip routing-table vpn-instance························································································14-12
display ip vpn-instance·············································································································14-13
domain-id··································································································································14-15
export route-policy····················································································································14-16
ext-community-type··················································································································14-16
filter-policy export·····················································································································14-17
filter-policy import·····················································································································14-18
import route-policy····················································································································14-19
ip binding vpn-instance·············································································································14-19
ip vpn-instance·························································································································14-20
ipv4-family vpn-instance···········································································································14-21
peer allow-as-loop····················································································································14-21
peer group································································································································14-22
refresh bgp vpn-instance··········································································································14-22
reset bgp vpn-instance·············································································································14-23
reset bgp vpn-instance dampening··························································································14-24
reset bgp vpn-instance flap-info·······························································································14-24
route-distinguisher····················································································································14-25
routing-table limit······················································································································14-26
vpn-instance-capability simple ·································································································14-26
vpn-target·································································································································14-27
15 Index····················································································································································15-1
1-1
1 IP Routing Basics Configuration Commands
The term router in this document refers to both routers and Layer 3 switches.
IP Routing Basics Configuration Commands
display ip routing-table
Syntax
display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose | | { begin | exclude |
include } regular-expression ]
View
Any view
Default Level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Displays routing table information for a VPN instance. The
vpn-instance-name is a string of 1 to 31 case-sensitive characters.
verbose: Displays detailed routing table information, including inactive routes. With this keyword
absent, the command displays only brief information about active routes.
|: Uses a regular expression to filter output information. For details about regular expressions, see
CLI Configuration in the Basic Configuration Guide.
begin: Displays route entries starting from the one specified by the regular expression.
exclude: Displays route entries not matching the regular expression.
include: Displays route entries matching the regular expression.
regular-expression: Regular expression, a string of 1 to 256 case-sensitive characters used for
specifying routing entries.
Description
Use the display ip routing-table command to display brief information about active routes in the
routing table.
This command displays brief information about the routing table, with a routing entry contained in
one line. The information displayed includes destination IP address/mask length, protocol, priority,
cost, next hop and outbound interface. This command only displays the optimal routes.
1-2
Use the display ip routing-table verbose command to display detailed information about all routes
in the routing table.
This command displays detailed information about all active and inactive routes, including the
statistics of the entire routing table and information for each route.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan1
2.2.2.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.80.0/24 Direct 0 0 192.168.80.10 Vlan11
192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0
Table 1-1 display ip routing-table command output description
Field Description
Destinations Number of destination addresses
Routes Number of routes
Destination/Mask Destination address/mask length
Proto Protocol of the route
Pre Priority of the route
Cost Cost of the route
Nexthop Next hop of the route
Interface Outbound interface of the route
# Display detailed information about all routes in the routing table.
<Sysname> display ip routing-table verbose
Routing Table : Public
Destinations : 6 Routes : 6
Destination: 1.1.1.1/24
Protocol: OSPF Process ID: 1
Preference: 10 Cost: 10
NextHop: 10.1.1.2 Interface: Vlan-interface20
BkNexthop: 20.1.1.2 BkInterface: Vlan-interface21
RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 1d00h00m30s
  • 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
  • Page 487 487
  • Page 488 488

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