s5800 series

H3C s5800 series, s5820x series Command Reference Manual

  • Hello! I am an AI chatbot trained to assist you with the H3C s5800 series Command Reference Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
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.
/