H3C s5800 series Command Reference Manual

Type
Command Reference Manual

This manual is also suitable for

H3C S5820X&S5800 Switch Series
MPLS Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1805P02
Release 1808P12
Document version: 6W101-20140314
Copyright © 2012-2014, 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, , H3CS, H3CIE, H3CNE, Aolynk, , H
3
Care, , IRF, NetPilot, Netflow,
SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM 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 S5820X&S5800 documentation set includes 12 command references, which describe the
commands and command syntax options available for the S5820X&S5800 Switch Series.
The MPLS Command Reference describes the commands for configuring MPLS and its extended functions,
including MCE, IPv6 MCE, MPLS basics, MPLS TE, VPLS, MPLS L2VPN, MPLS L3VPN, and IPv6 MPLS
L3VPN.
This preface includes:
• Audience
• Added and modified commands
• Conventions
• About the H3C S5820X&S5800 documentation set
• Obtaining documentation
• Technical support
• Documentation feedback
Audience
This documentation is intended for:
• Network planners
• Field technical support and servicing engineers
• Network administrators working with the S5820X&S5800 series
Added and modified commands
This documentation set is for Release 18xx. The following describes the command changes between
releases:
• Release 1808P12 has the following command changes over Release 1805P02:
Command reference Added and modified commands
MCE N/A
MPLS basics N/A
MPLS TE N/A
VPLS Added command: mtu.
MPLS L2VPN N/A
MPLS L3VPN N/A
• Release 1805P02 has the following command changes over Release 1211:
Command reference Added and modified commands
MCE
Added command: ipv4-family.
Modified commands:
• The value range of the number argument in the routing-table limit
command changed to 1 to 8192 in VPN instance view and to 1 to
16384 in IPv4 VPN view.
• The export route-policy command was added in IPv4 VPN view.
• The import route-policy command was added in IPv4 VPN view.
• The ip binding vpn-instance command was added in
management Ethernet interface view.
• The routing-table limit command was added in IPv4 VPN view.
• The vpn-target command was added in IPv4 VPN view.
MPLS basics
Added commands:
• dscp
• non-stop-routing
MPLS TE
Added commands:
• display mpls te protection tunnel
• moam dm
• mpls rsvp-te dscp
• mpls te bidirectional
• mpls te protection switch-mode
• mpls te protection tunnel
• mpls te protect-switch
Modified command: keywords egress, ingress, and transit were
added to the display mpls static-cr-lsp command.
VPLS
Added commands:
• car
• display mpls statistics pw
• display service-instance interface
• qos car
• reset mpls statistics pw
• reset service-instance statistics
• static backup-label
• static label (L2VPN peer view)
• statistics
• statistics enable
Modified commands:
• Keyword hub-spoke was added to the peer command.
• Keyword static was added to the pwsignal command.
• Keyword hub-spoke was added to the vsi command.
• Keyword hub-spoke was added to the xconnect vsi command.
Command reference Added and modified commands
MPLS L2VPN
Added commands:
• mpls static-l2vc
• static label (static-L2VC view, static-xpeer view)
• xconnect static-peer
Modified commands:
• Keywords ethernet and vlan were added to the mpls l2vc
command.
• Keywords ethernet and vlan were added to the mpls static-l2vc
destination command.
MPLS L3VPN
Added command: ipv4-family (VPN instance view).
Modified commands:
• The ipv4-family command in BGP view was split into two
commands: ipv4-family vpn-instance and ipv4-family vpnv4. The
ipv4-family vpn-instance command was moved to Layer 3—IP
Routing Command Reference.
• The ipv6-family command in BGP view was split into two
commands: ipv6-family vpn-instance and ipv6-family vpnv6. The
ipv6-family vpn-instance command was moved to Layer 3—IP
Routing Command Reference.
• The value range for the number argument in the routing-table limit
command changed to 1 to 8192 in VPN instance view and to 1 to
16384 in IPv4 VPN view.
• The comm-list-name argument was supported in the display bgp
vpnv4 all routing-table command.
• The comm-list-name argument was supported in the display bgp
vpnv4 route-distinguisher routing-table command.
• The comm-list-name argument was supported in the display bgp
vpnv4 vpn-instance routing-table command.
• The tnl-policy command was added in IPv4 VPN view.
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Descri
p
tion
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which
you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from
which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical
bars, from which you select at least one.
Convention Descri
p
tion
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical
bars, from which you select one choice, multiple choices, or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can
be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Descri
p
tion
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 Descri
p
tion
WARNING
An alert that calls attention to important information that if not understood or followed can
result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or followed can
result in data loss, data corruption, or damage to hardware or software.
IMPORTANT
An alert that calls attention to essential information.
NOTE
An alert that contains additional or supplementary information.
TIP
An alert that provides helpful information.
Network topology icons
Represents a generic network device, such as a router, switch, or firewall.
Represents a routing-capable device, such as a router or Layer 3 switch.
Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports
Layer 2 forwarding and other Layer 2 features.
Represents an access controller, a unified wired-WLAN module, or the switching engine
on a unified wired-WLAN switch.
Represents an access point.
Represents a security product, such as a firewall, a UTM, or a load-balancing or security
card that is installed in a device.
Represents a security card, such as a firewall card, a load-balancing card, or a
NetStream card.

Port numbering in examples
The port numbers in this document are for illustration only and might be unavailable on your device.
About the H3C S5820X&S5800 documentation set
The H3C S5820X&S5800 documentation set includes:
Cate
g
or
y
Documents
Pur
p
oses
Product description and
specifications
Marketing brochures Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software features
and technologies.
Pluggable module
description
PSR150-A & PSR150-D
Series Power Modules
User Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 150W
power modules available for the products.
PSR300-12A &
PSR300-12D Series
Power Modules User
Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 300W
power modules available for the products.
LSVM1AC650 &
LSVM1DC650 Power
Modules User Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 650W
power modules available for the products.
PSR750-A [ PSR750-D ]
Power Modules User
Manual
Describes the appearances, features, specifications,
installation, and removal of the pluggable 750W
power modules available for the products.
RPS User Manual
Describes the appearances, features, and
specifications of the RPS units available for the
products.
LSW1FAN and
LSW1BFAN Installation
Manual
Describes the appearances, specifications,
installation, and removal of the pluggable fan
modules available for the products.
LSWM1FANSC and
LSWM1FANSCB
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.
Cate
g
or
y
Documents
Pur
p
oses
Power configuration
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.
RPS Ordering Information
for H3C Low-End Ethernet
Switches
Provides the RPS and switch compatibility matrix and
RPS cable specifications.
Hardware installation
• S5800 Series Ethernet
Switches Quick Start
• S5820X Series
Ethernet Switches
Quick Start
• S5800 Series Ethernet
Switches CE DOC
• S5820X Series
Ethernet Switches CE
DOC
Provides regulatory information and the safety
instructions that must be followed during installation.
• S5800 Series Ethernet
Switches Quick Start
• S5820X Series
Ethernet Switches
Quick Start
Guides you through initial installation and setup
procedures to help you quickly set up and use your
device with the minimum configuration.
• S5800 Series Ethernet
Switches Installation
Manual
• S5820X Series
Ethernet Switches
Installation Manual
Provides a complete guide to hardware installation
and hardware specifications.
Pluggable SFP[SFP+][XFP]
Transceiver Modules
Installation Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
• S5800-60C-PWR
Switch Video
Installation Guide
• S5820X-28C Switch
Video Installation
Guide
Shows how to install the H3C S5800-60C-PWR and
H3C S5820X-28C Ethernet switches.
Software configuration
Configuration guide
Describe software features and configuration
procedures.
Command reference
Provide a quick reference to all available
commands.
Operations and
maintenance
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.
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software
upgrading.
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web
at http://www.h3c.com
.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents]
—Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions]
—Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download]
—Provides the documentation released with the
software version.
Technical support
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to info@h3c.com.
We appreciate your comments.
i
Contents
MCE configuration commands ···································································································································· 1
description ································································································································································· 1
display bgp vpnv4 vpn-instance group ·················································································································· 1
display bgp vpnv4 vpn-instance network ·············································································································· 3
display bgp vpnv4 vpn-instance paths ··················································································································· 4
display bgp vpnv4 vpn-instance peer ···················································································································· 5
display bgp vpnv4 vpn-instance routing-table ······································································································· 8
display fib vpn-instance ········································································································································ 10
display fib vpn-instance ip-address ····················································································································· 12
display ip vpn-instance ········································································································································· 13
domain-id ······························································································································································· 15
export route-policy ················································································································································· 16
filter-policy export ·················································································································································· 17
filter-policy import ·················································································································································· 18
import route-policy ················································································································································· 18
ip binding vpn-instance ········································································································································· 19
ip vpn-instance ······················································································································································· 20
ipv4-family ······························································································································································ 21
ipv4-family vpn-instance ······································································································································· 21
peer allow-as-loop ················································································································································· 22
refresh bgp vpn-instance ······································································································································· 22
reset bgp vpn-instance ·········································································································································· 23
reset bgp vpn-instance dampening ····················································································································· 23
reset bgp vpn-instance flap-info ··························································································································· 24
route-distinguisher ·················································································································································· 25
routing-table limit ··················································································································································· 25
vpn-instance-capability simple ······························································································································ 26
vpn-target································································································································································ 27
IPv6 MCE configuration commands ························································································································· 29
display bgp vpnv6 vpn-instance peer ················································································································· 29
display bgp vpnv6 vpn-instance routing-table ···································································································· 31
display ipv6 fib vpn-instance ······························································································································· 33
display ipv6 fib vpn-instance ipv6-address ········································································································ 34
export route-policy ················································································································································· 36
filter-policy export ·················································································································································· 37
filter-policy import ·················································································································································· 37
import route-policy ················································································································································· 38
ipv6-family ······························································································································································ 39
ipv6-family vpn-instance ······································································································································· 39
refresh bgp ipv6 vpn-instance ······························································································································ 40
reset bgp ipv6 vpn-instance ································································································································· 41
routing-table limit ··················································································································································· 41
vpn-target································································································································································ 42
Basic MPLS commands ·············································································································································· 44
accept-label ···························································································································································· 44
advertise-label ························································································································································ 45
bfd enable ······························································································································································ 46
display mpls ilm ····················································································································································· 47
ii
display mpls interface ··········································································································································· 49
display mpls label ················································································································································· 50
display mpls ldp ···················································································································································· 51
display mpls ldp fec ·············································································································································· 53
display mpls ldp interface ···································································································································· 55
display mpls ldp lsp ·············································································································································· 57
display mpls ldp peer ··········································································································································· 58
display mpls ldp remote-peer ······························································································································· 60
display mpls ldp session ······································································································································· 61
display mpls ldp session all statistics ··················································································································· 64
display mpls lsp ····················································································································································· 65
display mpls lsp bfd ipv4 ····································································································································· 68
display mpls lsp statistics ······································································································································ 69
display mpls nhlfe ·················································································································································· 70
display mpls nhlfe reflist ······································································································································· 72
display mpls route-state ········································································································································· 74
display mpls static-lsp ············································································································································ 75
display mpls statistics interface ···························································································································· 77
display mpls statistics lsp ······································································································································ 79
dscp ········································································································································································ 81
du-readvertise ························································································································································ 81
du-readvertise timer ··············································································································································· 82
graceful-restart (MPLS LDP view) ·························································································································· 82
graceful-restart mpls ldp ········································································································································ 83
graceful-restart timer neighbor-liveness ··············································································································· 84
graceful-restart timer reconnect ···························································································································· 84
graceful-restart timer recovery ······························································································································ 85
hops-count ······························································································································································ 86
label advertise ······················································································································································· 86
label-distribution ···················································································································································· 87
loop-detect ······························································································································································ 88
lsp-trigger ································································································································································ 89
lsr-id ········································································································································································ 90
md5-password ······················································································································································· 90
mpls ········································································································································································· 91
mpls ldp (system view) ·········································································································································· 92
mpls ldp (interface view)······································································································································· 93
mpls ldp remote-peer············································································································································· 93
mpls ldp timer hello-hold ······································································································································· 94
mpls ldp timer keepalive-hold ······························································································································ 95
mpls ldp transport-address ··································································································································· 96
mpls lspv ································································································································································· 97
mpls lsr-id ······························································································································································· 97
non-stop-routing ····················································································································································· 98
path-vectors ···························································································································································· 98
periodic-tracert ······················································································································································· 99
ping lsp ipv4 ························································································································································ 100
prefix-label advertise ··········································································································································· 101
remote-ip ······························································································································································· 102
remote-ip bfd ························································································································································ 103
reset mpls ldp ······················································································································································· 103
reset mpls statistics interface ······························································································································ 104
reset mpls statistics lsp ········································································································································ 104
static-lsp egress ···················································································································································· 105
iii
static-lsp ingress ··················································································································································· 106
static-lsp transit ····················································································································································· 106
statistics interval ··················································································································································· 107
tracert lsp ipv4 ····················································································································································· 108
ttl expiration enable ············································································································································ 109
ttl expiration pop ················································································································································· 109
ttl propagate ························································································································································ 110
MPLS TE configuration commands ························································································································· 112
add hop ································································································································································ 112
delete hop ···························································································································································· 113
display explicit-path ············································································································································ 113
display isis traffic-eng advertisements ··············································································································· 114
display isis traffic-eng link ·································································································································· 117
display isis traffic-eng network ··························································································································· 118
display isis traffic-eng statistics ·························································································································· 120
display mpls lsp bfd te ········································································································································ 121
display mpls rsvp-te ············································································································································· 122
display mpls rsvp-te established ························································································································· 124
display mpls rsvp-te peer ···································································································································· 125
display mpls rsvp-te psb-content ························································································································· 126
display mpls rsvp-te request ······························································································································· 129
display mpls rsvp-te reservation ························································································································· 130
display mpls rsvp-te rsb-content·························································································································· 131
display mpls rsvp-te sender ································································································································ 133
display mpls rsvp-te statistics ······························································································································ 134
display mpls static-cr-lsp ······································································································································ 137
display mpls te cspf tedb ···································································································································· 138
display mpls te link-administration admission-control ······················································································ 141
display mpls te protection tunnel ······················································································································· 142
display mpls te tunnel·········································································································································· 143
display mpls te tunnel path ································································································································· 146
display mpls te tunnel statistics ·························································································································· 147
display mpls te tunnel-interface ·························································································································· 148
display ospf mpls-te ············································································································································· 151
display ospf traffic-adjustment ···························································································································· 153
display tunnel-info ··············································································································································· 154
enable traffic-adjustment ····································································································································· 155
enable traffic-adjustment advertise ···················································································································· 156
explicit-path ·························································································································································· 156
list hop ·································································································································································· 157
moam dm ····························································································································································· 157
modify hop ··························································································································································· 158
mpls rsvp-te ··························································································································································· 159
mpls rsvp-te authentication ································································································································· 160
mpls rsvp-te bfd enable ······································································································································· 161
mpls rsvp-te blockade-multiplier ························································································································· 161
mpls rsvp-te dscp ················································································································································· 162
mpls rsvp-te graceful-restart ································································································································ 163
mpls rsvp-te hello ················································································································································· 163
mpls rsvp-te hello-lost ··········································································································································· 164
mpls rsvp-te keep-multiplier ································································································································· 165
mpls rsvp-te reliability ·········································································································································· 165
mpls rsvp-te resvconfirm ······································································································································ 166
mpls rsvp-te srefresh ············································································································································ 167
iv
mpls rsvp-te timer graceful-restart recovery ······································································································· 167
mpls rsvp-te timer graceful-restart restart ··········································································································· 168
mpls rsvp-te timer hello ········································································································································ 168
mpls rsvp-te timer refresh ···································································································································· 169
mpls rsvp-te timer retransmission························································································································ 170
mpls te ·································································································································································· 170
mpls te affinity property ······································································································································ 171
mpls te backup ····················································································································································· 172
mpls te bfd enable ··············································································································································· 173
mpls te bidirectional ············································································································································ 174
mpls te commit ····················································································································································· 175
mpls te cspf ·························································································································································· 176
mpls te cspf timer failed-link ······························································································································· 176
mpls te failure-action teardown ·························································································································· 177
mpls te fast-reroute ·············································································································································· 178
mpls te fast-reroute bypass-tunnel ······················································································································ 178
mpls te igp advertise ··········································································································································· 179
mpls te igp metric ················································································································································ 180
mpls te igp shortcut ············································································································································· 180
mpls te link administrative group ······················································································································· 181
mpls te loop-detection ········································································································································· 182
mpls te metric ······················································································································································· 182
mpls te path ·························································································································································· 183
mpls te path metric-type ······································································································································ 184
mpls te periodic-tracert ······································································································································· 185
mpls te priority ····················································································································································· 186
mpls te protection switch-mode ·························································································································· 186
mpls te protection tunnel ····································································································································· 187
mpls te protect-switch ·········································································································································· 188
mpls te record-route ············································································································································· 189
mpls te reoptimization (tunnel interface view) ·································································································· 190
mpls te reoptimization (user view) ····················································································································· 190
mpls te resv-style ·················································································································································· 191
mpls te retry ·························································································································································· 191
mpls te route-pinning ··········································································································································· 192
mpls te signal-protocol ········································································································································ 193
mpls te timer fast-reroute ····································································································································· 193
mpls te timer retry ················································································································································ 194
mpls te tunnel-id ··················································································································································· 194
mpls te vpn-binding ············································································································································· 195
mpls-te ··································································································································································· 196
next hop ································································································································································ 197
opaque-capability················································································································································ 197
ping lsp te ···························································································································································· 198
reset mpls rsvp-te statistics ·································································································································· 199
static-cr-lsp egress ················································································································································ 199
static-cr-lsp ingress ··············································································································································· 200
static-cr-lsp transit ················································································································································· 201
tracert lsp te ························································································································································· 202
traffic-eng ····························································································································································· 203
VPLS configuration commands ······························································································································· 204
car ········································································································································································· 204
description ···························································································································································· 204
display bgp vpls ·················································································································································· 205
v
display mac-address vsi ······································································································································ 210
display mpls l2vpn fib ac vpls ··························································································································· 211
display mpls l2vpn fib pw vpls ·························································································································· 213
display pw-class··················································································································································· 216
display mpls statistics pw ··································································································································· 217
display service-instance interface ······················································································································ 218
display vpls connection······································································································································· 219
display vsi ···························································································································································· 222
display vsi remote ················································································································································ 226
dual-npe revertive ················································································································································ 227
encapsulation (service instance view) ··············································································································· 228
encapsulation (VSI view) ···································································································································· 229
mac-learning ························································································································································ 229
mac-move enable ················································································································································ 230
mac-table limit ······················································································································································ 230
mtu (VSI view) ······················································································································································ 231
peer (VSI-LDP view) ············································································································································· 232
ping lsp pw (for VPLS) ········································································································································· 233
pw-class ································································································································································ 234
pwsignal ······························································································································································· 234
pw-tunnel-policy ··················································································································································· 235
qos car ·································································································································································· 236
reset bgp vpls ······················································································································································· 237
reset mac-address vsi ·········································································································································· 237
reset mpls statistics pw ········································································································································ 238
reset service-instance statistics ···························································································································· 238
route-distinguisher (VSI BGP view) ····················································································································· 239
service-instance ···················································································································································· 239
shutdown (VSI view) ············································································································································ 240
site ········································································································································································· 241
static backup-label ··············································································································································· 241
static label (L2VPN peer view) ··························································································································· 242
statistics ································································································································································· 243
statistics enable ···················································································································································· 243
tnl-policy ······························································································································································· 244
trans-mode ···························································································································································· 245
vpls-family ····························································································································································· 245
vpn-target (VSI BGP view) ··································································································································· 246
vsi ·········································································································································································· 247
vsi-id ······································································································································································ 248
xconnect vsi ·························································································································································· 248
MPLS L2VPN configuration commands ················································································································· 250
ccc interface in-label out-label···························································································································· 250
ce ·········································································································································································· 251
connection ···························································································································································· 251
display bgp l2vpn ··············································································································································· 252
display ccc ··························································································································································· 257
display l2vpn ccc-interface vc-type ···················································································································· 259
display mpls l2vc ················································································································································· 260
display mpls l2vpn ·············································································································································· 262
display mpls l2vpn connection ··························································································································· 265
display mpls l2vpn fib ac vpws ························································································································· 268
display mpls l2vpn fib pw vpws ························································································································ 270
display mpls static-l2vc ······································································································································· 272
vi
display pw-class··················································································································································· 274
l2vpn ····································································································································································· 275
l2vpn-family ·························································································································································· 275
mpls l2vc ······························································································································································ 276
mpls l2vpn ···························································································································································· 277
mpls l2vpn vpn-name ·········································································································································· 277
mpls static-l2vc ····················································································································································· 278
mpls static-l2vc destination ································································································································· 279
mtu (MPLS L2VPN view) ······································································································································ 280
ping lsp pw (for MPLS L2VPN) ··························································································································· 280
pw-class ································································································································································ 281
pw-tunnel-policy ··················································································································································· 282
reset bgp l2vpn ···················································································································································· 283
route-distinguisher (MPLS L2VPN view) ············································································································· 283
static label (static-L2VC view, static-xpeer view) ······························································································ 284
trans-mode ···························································································································································· 285
vpn-target (MPLS L2VPN view) ··························································································································· 285
xconnect peer ······················································································································································ 286
xconnect static-peer ············································································································································· 287
MPLS L3VPN configuration commands ················································································································· 289
default local-preference (BGP-VPNv4 subaddress family view) ····································································· 289
default med (BGP-VPNv4 subaddress family view) ························································································· 289
description (VPN instance view) ························································································································ 290
display bgp vpnv4 all routing-table··················································································································· 291
display bgp vpnv4 group ··································································································································· 295
display bgp vpnv4 network ································································································································ 296
display bgp vpnv4 paths ···································································································································· 297
display bgp vpnv4 peer ····································································································································· 299
display bgp vpnv4 peer received ip-prefix ······································································································ 305
display bgp vpnv4 route-distinguisher routing-table ························································································ 306
display bgp vpnv4 routing-table label ·············································································································· 310
display bgp vpnv4 vpn-instance routing-table ·································································································· 311
display fib vpn-instance ······································································································································ 314
display fib vpn-instance ip-address ··················································································································· 316
display ip vpn-instance ······································································································································· 317
display mpls ldp vpn-instance ···························································································································· 319
display ospf sham-link ········································································································································· 320
display tunnel-policy ············································································································································ 322
domain-id ····························································································································································· 323
export route-policy (VPN instance view/IPv4 VPN view)················································································ 324
ext-community-type ·············································································································································· 325
filter-policy export (BGP-VPNv4 subaddress family view) ··············································································· 326
filter-policy import (BGP-VPNv4 subaddress family view) ··············································································· 327
import route-policy (VPN instance view/IPv4 VPN view) ··············································································· 327
ip binding vpn-instance ······································································································································· 328
ip vpn-instance ····················································································································································· 329
ipv4-family vpnv4 ················································································································································ 329
ipv4-family (VPN instance view) ························································································································ 330
mpls ldp vpn-instance ·········································································································································· 330
nesting-vpn ··························································································································································· 331
peer advertise-community (BGP-VPNv4 subaddress family view) ·································································· 332
peer allow-as-loop ··············································································································································· 332
peer as-path-acl (BGP-VPNv4 subaddress family view) ·················································································· 333
peer capability-advertise orf ip-prefix (BGP-VPNv4 subaddress family view) ·············································· 334
vii
peer default-route-advertise vpn-instance ·········································································································· 335
peer enable (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family
view) ····································································································································································· 336

peer filter-policy (BGP-VPNv4 subaddress family view) ·················································································· 337
peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view)
·············································································································································································· 338

peer ip-prefix (BGP-VPNv4 subaddress family view) ······················································································· 338
peer label-route-capability (BGP view/BGP VPN instance view) ··································································· 339
peer next-hop-invariable (BGP-VPNv4 subaddress family view) ···································································· 340
peer next-hop-local ·············································································································································· 341
peer preferred-value (BGP-VPNv4 subaddress family view) ··········································································· 342
peer public-as-only (BGP-VPNv4 subaddress family view) ············································································· 342
peer reflect-client (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address
family view) ·························································································································································· 343

peer route-policy (BGP-VPNv4 subaddress family view) ················································································· 344
peer upe ······························································································································································· 345
peer upe route-policy ·········································································································································· 345
peer vpn-instance enable ···································································································································· 346
peer vpn-instance group ····································································································································· 347
peer vpn-instance route-policy import ··············································································································· 348
policy vpn-target (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address
family view) ·························································································································································· 349

reflect between-clients (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS
address family view) ··········································································································································· 350

reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address
family view) ·························································································································································· 351

refresh bgp vpn-instance ····································································································································· 352
refresh bgp vpnv4 ··············································································································································· 352
reset bgp vpn-instance ········································································································································ 353
reset bgp vpn-instance dampening ··················································································································· 353
reset bgp vpn-instance flap-info ························································································································· 354
reset bgp vpnv4 ··················································································································································· 355
route-distinguisher (VPN instance view) ············································································································ 355
route-tag ······························································································································································· 356
routing-table limit (VPN instance view/IPv4 VPN view) ·················································································· 357
rr-filter (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view)
·············································································································································································· 358

sham-link ······························································································································································· 359
tnl-policy (VPN instance view/IPv4 VPN view) ································································································ 360
tunnel-policy ························································································································································· 362
tunnel select-seq ··················································································································································· 362
vpn-instance-capability simple ···························································································································· 363
vpn-target (VPN instance view/IPv4 VPN view) ······························································································ 364
IPv6 MPLS L3VPN commands ································································································································ 366
default local-preference (BGP-VPNv6 subaddress family view) ····································································· 366
default med (BGP-VPNv6 subaddress family view) ························································································· 366
display bgp vpnv6 all peer ································································································································ 367
display bgp vpnv6 all routing-table··················································································································· 370
display bgp vpnv6 route-distinguisher routing-table ························································································ 372
display bgp vpnv6 vpn-instance peer ··············································································································· 374
display bgp vpnv6 vpn-instance routing-table ·································································································· 376
display ipv6 fib vpn-instance ····························································································································· 378
display ipv6 fib vpn-instance ipv6-address ······································································································ 379
export route-policy (VPN instance view/IPv6 VPN view)················································································ 381
viii
filter-policy export (BGP-VPNv6 subaddress family view) ··············································································· 381
filter-policy import (BGP-VPNv6 subaddress family view) ··············································································· 382
import route-policy (VPN instance view/IPv6 VPN view) ··············································································· 383
ipv6-family vpnv6 (BGP view) ···························································································································· 384
ipv6-family (VPN instance view) ························································································································ 384
peer enable (BGP-VPNv6 subaddress family view) ························································································· 385
peer filter-policy (BGP-VPNv6 subaddress family view) ·················································································· 385
peer ipv6-prefix (BGP-VPNv6 subaddress family view) ·················································································· 386
peer preferred-value (BGP-VPNv6 subaddress family view) ··········································································· 387
peer public-as-only (BGP-VPNv6 subaddress family view) ············································································· 387
peer reflect-client (BGP-VPNv6 subaddress family view) ················································································ 388
peer route-policy (BGP-VPNv6 subaddress family view) ················································································· 389
policy vpn-target (BGP-VPNv6 subaddress family view) ················································································· 390
preferred-path ······················································································································································ 390
reflect between-clients (BGP-VPNv6 subaddress family view) ········································································ 391
reflector cluster-id (BGP-VPNv6 subaddress family view) ··············································································· 392
refresh bgp ipv6 vpn-instance ···························································································································· 392
refresh bgp vpnv6 ··············································································································································· 393
reset bgp ipv6 vpn-instance ······························································································································· 394
reset bgp vpnv6 ··················································································································································· 394
routing-table limit (VPN instance view/IPv6 VPN view) ·················································································· 395
rr-filter (BGP-VPNv6 subaddress family view) ··································································································· 396
tnl-policy (VPN instance view/IPv6 VPN view) ································································································ 396
vpn-target (VPN instance view/IPv6 VPN view) ······························································································ 397
Index ········································································································································································ 400
1
MCE configuration commands
This chapter describes only the commands related to the MCE feature. For information about the routing
protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command
Reference.
The term "interface" in this chapter collectively refers to Layer 3 interfaces, including VLAN interfaces,
Layer 3 Ethernet interfaces, and Layer 3 aggregate interfaces. You can set an Ethernet port as a Layer 3
interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration
Guide).
description
Use description to configure a description for the current VPN instance.
Use undo description to delete the description.
Syntax
description text
undo description
Views
VPN instance view
Default command level
2: System level
Parameters
text: Specifies the description for the VPN instance, a string of 1 to 80 characters.
Examples
# Configure a description for VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] description vpn1
display bgp vpnv4 vpn-instance group
Use display bgp vpnv4 vpn-instance group to display information about a specific BGP VPNv4 peer
group or all BGP VPNv4 peer groups.
Syntax
display bgp vpnv4 vpn-instance vpn-instance-name group [ group-name ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
2
Default command level
1: Monitor level
Parameters
vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument
specifies the VPN instance name, a case-sensitive string of 1 to 31 characters.
group-name: Specifies the name of the BGP peer group, a string of 1 to 47 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about the BGP VPNv4 peer group a for VPN instance vpn1.
<Sysname> display bgp vpnv4 vpn-instance vpn1 group a
BGP peer-group is a
remote AS number not specified
Type : external
Maximum allowed prefix number: 150000
Threshold: 75%
Configured hold timer value: 180
Keepalive timer value: 60
Minimum time between advertisement runs is 30 seconds
Optional capabilities:
ORF advertise capability based on Prefix(type 64):
Local : both
Peer Preferred Value: 99
No routing policy is configured
Members:
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
10.1.1.1 200 18 21 0 1 00:12:58 Established
Table 1 Command output
Field Descri
p
tion
BGP peer-group Name of the BGP peer group.
remote AS number Number of the remote AS.
Type Peer group type.
Maximum allowed prefix number Maximum number of routes that the VPN instance supports.
Threshold Threshold value.
Configured hold timer value Setting of the hold timer.
Keepalive timer value Keepalive interval.
3
Field Descri
p
tion
Minimum time between advertisement
runs
Minimum route advertisement interval.
Local
Whether the local device supports sending and receiving
Route-refresh packets with ORF information. The value can be:
• both—Supports sending and receiving Route-refresh messages
with ORF information.
• Send—Supports sending Route-refresh messages with ORF
information.
• Receive—Supports receiving Route-refresh messages with ORF
information.
Peer Preferred Value Weight for the routes from the peer.
No routing policy is configured Whether the VPN instance is configured with a routing policy.
Peer IP address of the peer.
AS AS number of the peer group.
MsgRcvd Number of messages received.
MsgSent Number of messages sent.
OutQ Number of messages waiting to be sent to the peer.
PrefRcv Number of prefixes received.
Up/Down Duration of the BGP session in the current state.
State Status of the peer.
display bgp vpnv4 vpn-instance network
Use display bgp vpnv4 vpn-instance network to display information about the BGP VPNv4 routes
injected into a specific VPN instance or all VPN instances.
Syntax
display bgp vpnv4 vpn-instance vpn-instance-name network [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the VPN
instance name, a case-sensitive string of 1 to 31 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
  • 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

H3C s5800 series Command Reference Manual

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