HP 6600/HSR6600 Routers MPLS Command Reference Part number: 5998-1508 Software version: A6602-CMW520-R3303P05 A6600-CMW520-R3303P05-RPE A6600-CMW520-R3303P05-RSE HSR6602_MCP-CMW520-R3303P05 Document version: 6PW105-20140507
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Basic MPLS commands ················································································································································ 1 accept-label ······························································································································································· 1 advertise-label ·················································································································································
mpls lsr-id ······························································································································································· 58 mpls mtu ································································································································································· 59 mpls statistics enable ············································································································································
display tunnel-info ··············································································································································· 124 enable traffic-adjustment ····································································································································· 125 enable traffic-adjustment advertise ···················································································································· 126 explicit-path ·········
mpls te record-route ············································································································································· 163 mpls te reoptimization (tunnel interface view) ·································································································· 163 mpls te reoptimization (user view) ····················································································································· 164 mpls te resv-style ···················
pw-class ································································································································································ 221 pw-tunnel-policy ··················································································································································· 222 reset bgp l2vpn···················································································································································· 222 r
MPLS L3VPN configuration commands ················································································································· 273 default local-preference (BGP-VPNv4 subaddress family view) ····································································· 273 default med (BGP-VPNv4 subaddress family view) ························································································· 273 description (VPN instance view) ····················································
peer vpn-instance enable···································································································································· 332 peer vpn-instance group ····································································································································· 332 peer vpn-instance route-policy import ··············································································································· 333 policy vpn-target (BGP-VPNv4 subadd
refresh bgp ipv6 vpn-instance ···························································································································· 379 refresh bgp vpnv6 ··············································································································································· 379 reset bgp ipv6 vpn-instance ······························································································································· 380 reset bgp vpnv6 ···········
Basic MPLS commands Commands configured in MPLS LDP view apply to the public network and those configured in MPLS LDP VPN instance view apply to the MPLS VPN instance. accept-label Use accept-label to configure a label acceptance policy. Use undo accept-label to restore the default. Syntax accept-label peer peer-id ip-prefix ip-prefix-name undo accept-label peer peer-id Default An LSR accepts all label bindings received from its LDP peers.
Related commands ip ip-prefix (Layer 3—IP Routing Command Reference) advertise-label Use advertise-label to configure a label advertisement policy. Use undo advertise-label to restore the default. Syntax advertise-label ip-prefix ip-prefix-name [ peer peer-ip-prefix-name ] undo advertise-label ip-prefix ip-prefix-name Default An LSR does not filter label bindings to be advertised.
[Sysname] ip ip-prefix peer-C permit 3.3.3.9 32 [Sysname] ip ip-prefix peer-D permit 4.4.4.9 32 [Sysname] mpls ldp [Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-C peer peer-C [Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-D peer peer-D Related commands ip ip-prefix (Layer 3—IP Routing Command Reference) bfd enable Use bfd enable to enable BFD to detect the connectivity of the LSPs for an FEC. Use undo bfd enable to disable BFD detection of the LSP connectivity to a destination address.
system-view [Sysname] mpls lspv [Sysname-mpls-lspv] bfd enable 1.1.1.9 32 display mpls ilm Use display mpls ilm to display information about ILM entries. Syntax display mpls ilm [ label ] [ verbose ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters label: Specifies an incoming label in the range of 16 to 1048575. verbose: Displays the detailed information.
Inlabel In-Interface Token VRF-Index Oper LSP-Type Swap-Label ----------------------------------------------------------------------------60 GE2/1/1 1 0 NULL STATIC LSP - 80 GE2/1/2 2 0 NULL STATIC LSP - Table 1 Command output Field Description Total ILM Entry Total number of ILM entries. Inlabel Incoming label. In-Interface Incoming interface. Token NHLFE entry index. Oper Operation type: POP, POPGO, SWAPGO, or NULL.
Service : Statistics(Succeeded) Table 2 Command output Field Description In Label Incoming label. LSP Type LSP type: LDP LSP, CR-LDP, RSVP LSP, BGP LSP, L3VPN LSP, STATIC LSP, STATIC CR-LSP, L2VPN LSP, or BGP IPv6 LSP. In Interface Incoming interface. Operation Operation type: POP, POPGO, SWAPGO, or NULL. Swap Label Label for swapping. Out Interface Outgoing interface. Service Instance ID L2VPN service instance ID. Status • MAIN—Main tunnel. • BACKUP—Backup tunnel.
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 brief MPLS related information about all interfaces with MPLS enabled.
Default command level 1: Monitor level Parameters label-value1: Specifies a label, or, when used with the label-value2 argument, the start label of a range of labels. For the value range for the label-value1 argument, see the matrix table in the Usage guidelines. to label-value2: Specifies the end label of a range of labels. For the value range for the label-value2 argument, see the matrix table in Usage guidelines.
Views Any view Default command level 1: Monitor level Parameters all: Displays all information about LDP. verbose: Displays detailed information. |: 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.
Field Description MTU Signaling Indicates whether MTU signaling is supported. The device does not support MTU signaling. Recovery Timer Setting of the GR's recovery timer. State of LDP NSR: Nonstop Routing • On—LDP NSR is enabled but the data backup is not finished yet. • Off—LDP NSR is disabled. • Ready—LDP NSR is enabled and data backup is finished. Instance ID Sequence number of the LDP instance. VPN-Instance Instance name of the LDP-enabled VPN. For the default VPN, this field is blank.
Parameters destination-address mask-length: Displays BFD information for LSPs associated with an FEC. The FEC is specified by a destination address and its mask length. The value range for the address mask length is 0 to 32. |: 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.
display mpls ldp cr-lsp Use display mpls ldp cr-lsp to display information about CR-LSPs established by CR-LDP. Syntax display mpls ldp cr-lsp [ lspid lsr-id lsp-id ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters lspid lsr-id lsp-id: Displays information about the specified CR-LSP. The lsr-id argument is the LSR ID of the ingress, in the form of IP address.
Default command level 1: Monitor level Parameters vpn-instance vpn-instance-name: Displays the label advertisement information for the specified VPN. The vpn-instance-name argument specifies the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. dest-addr mask-length: Displays the label advertisement information for a FEC. dest-addr specifies the FEC destination address. mask-length is the mask length of the destination address, in the range of 0 to 32.
Label Type : Generic Outgoing Label : 1036 State : Established Hop Count : 2 Path Vector Count : 1 Path Vector : 2.2.2.9 Received MTU : 1500 OutIfCount : 2 OutGoing Info : Interface Nexthop GE2/1/1 21.21.21.2 GE2/1/2 12.12.12.2 No. : 2 Downstream Peer : 4.4.4.4 Stale : No Label Request ID : NULL Label Type : Generic Outgoing Label : 1025 State : Established Backup State : Not in use Hop Count : 2 Path Vector Count : 1 Path Vector : 4.4.4.
Field Description Path Vector Count Number of LSRs included in the path vector. OutIfCount Number of outbound interfaces. Interface Outbound interface. Status of the backup LSP: Backup State • Not in use • In use display mpls ldp interface Use display mpls ldp interface to display the LDP related information for one or more LDP-enabled interfaces.
-----------------------------------------------------------------------------IF-Name Status LAM Transport-Address Hello-Sent/Rcv -----------------------------------------------------------------------------GigabitEthernet2/1/1 Active DU 172.17.1.1 583/1017 GigabitEthernet2/1/2 Active DU 172.17.1.1 578/1015 Serial3/1/0 Active DU 172.17.1.
Field Description Transport Address LDP transport address. The device uses this address to establish a TCP connection with an LDP peer. Entity Status Entity status, Active or Inactive. Hello Message Sent/Rcvd Counts of hello messages sent/received on the interface. Related commands • mpls ldp (interface view) • mpls ldp (system view) display mpls ldp lsp Use display mpls ldp lsp to display information about LSPs established by LDP.
------------------------------------------------------------------------------SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface ------------------------------------------------------------------------------1 3.3.3.3/32 3/NULL 127.0.0.1 -------/InLoop0 2 10.1.1.0/24 3/NULL 10.1.1.1 -------/GE2/1/1 *3 100.1.1.
Examples # Display brief information about all peers. display mpls ldp peer LDP Peer Information in Public network Total number of peers: 3 -------------------------------------------------------------Peer-ID Transport-Address Discovery-Source -------------------------------------------------------------172.17.1.2:0 172.17.1.2 GigabitEthernet2/1/1 168.1.1.1:0 168.1.1.1 GigabitEthernet2/1/1 100.10.1.1:0 100.10.1.
Peer Label Advertisement Mode : Downstream Unsolicited Peer Discovery Source : Serial3/1/0 ------------------------------------------------------------ Table 10 Command output Field Description Peer LDP ID LDP identifier of the peer. For a description of the LDP identifier, see the LDP ID field in Table 7. Peer FT Flag Indicates whether the peer has enabled the GR function for the session. If the L bit in the FT Session TLV is set to 1, it indicates that the GR function is enabled for the session.
Remote Peer Name : BJI Remote Peer IP : 3.3.3.3 LDP ID : 1.1.1.1:0 Transport Address : 1.1.1.1 Configured Keepalive Timer : 45 Sec Configured Hello Timer : 45 Sec Negotiated Hello Timer : 45 Sec Hello Message Sent/Rcvd : 3/2 (Message Count) -------------------------------------------------------------------------- Table 11 Command output Field Description LDP ID Local LDP identifier. For a description of the LDP identifier, see the LDP ID field in Table 7.
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. Usage guidelines If you do not specify any parameter, the command displays information about all public network LDP sessions.
Negotiated Keepalive Timer : 45 Sec Keepalive Message Sent/Rcvd : 6/6 (Message Count) Label Advertisement Mode : Downstream Unsolicited Label Resource Status(Peer/Local) : Available/Available Peer Discovery Mechanism : Extended Session existed time : 000:00:01 LDP Extended Discovery Source : Remote peer: 1 (DDD:HH:MM) Addresses received from peer: (Count: 2) 10.1.1.1 1.1.1.1 -------------------------------------------------------------------------Peer LDP ID : 2.2.2.2:0 TCP Connection : 3.
Field Description Label Resource Status(Peer/Local) Indicates whether the local and peer devices have free labels. Peer discovery mechanism: Peer Discovery Mechanism • Basic—Uses the basic discovery mechanism to discover peers. • Extended—Uses the extended discovery mechanism to discover peers. • Basic and extended—Uses both the basic and extended discovery mechanisms to discover peers. Session existed time Length of time that elapsed after the session was established.
Session(s) in Operational state : 24 display mpls lsp Use display mpls lsp to display information about LSPs.
include: Displays information about the LSP for the specified FEC. ipv4-dest-addr mask-length: Specifies a FEC by an IPv4 destination address and the mask length of the destination address. The value range for the mask length is 0 to 32. Ipv6-dest-addr mask-length: Specifies a FEC by its IPv6 destination address and the length of the mask. The value range for the mask length is 0 to 128. verbose: Displays detailed information. |: Filters command output by specifying a regular expression.
---------------------------------------------------------------LSP Information: BGP LSP ---------------------------------------------------------------No. : 4 VrfName : vpn1 Fec : 56.10.10.
Field Description Label Operation Label operation performed: POP, PUSH, or SWAP. Backup LSP Index Index of the backup LSP. Related commands • display mpls lsp • display mpls static-lsp • display mpls statistics lsp display mpls lsp statistics Use display mpls lsp statistics to display LSP statistics.
Table 16 Command output Field Description Ingress Number of LSPs taking the current LSR as ingress. Transit Number of LSPs taking the current LSR as transit LSR. Egress Number of LSPs taking the current LSR as egress. display mpls nhlfe Use display mpls nhlfe to display information about NHLFE entries.
Examples # Display information about a specific NHLFE entry. display mpls nhlfe 2 Out-Interface Token Oper Nexthop Deep Stack ---------------------------------------------------------------------S2/1/0 2 PUSH 88.1.1.2 1 1024 Nexthop Deep Stack # Display information about all NHLFE entries. display mpls nhlfe Total NHLFE Entry: 1 Out-Interface Token Oper ---------------------------------------------------------------------S2/1/0 2 PUSH 88.1.1.
Table 18 Command output Field Description Total NHLFE Entry Total number of NHLFE entries. Token Index of the NHLFE entry. Tunnel ID Index of the NHLFE tunnel. Out Interface Outgoing interface. AT Index Adjacency table index. Operation Label operation type: PUSH, SWAP, or GO. LSP Type LSP type: LDP LSP, CR-LDP/RSVP LSP, BGP LSP, L3VPN LSP, STATIC LSP, STATIC CR-LSP, L2VPN LSP, BGP IPv6 LSP, or INVALID. Tunnel State Tunneling state: Done or Waiting.
slot slot-number: Displays the usage information for the NHLFE entries on a card. The slot-number argument specifies the number of the slot that holds the card. The following matrix shows the option and router compatibility: Option 6602 HSR6602 6604/6608/6616 slot slot-number No Yes Yes |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Node type Description Key parameter LPW Sending entries of VPWS PW. • SRV ID—Service instance ID • Private-If—Private network interface VPW Sending entries of VPLS PW. • VSI ID—Virtual switching instance ID • Link ID FRR Primary NHLFE of FRR. Token—Token of the primary NHLFE INN Inner-layer NHLFE of layered LSP. Token—Token of the inner NHLFE OAM Check the connectivity of the CR-LSP corresponding to the NHLFE through OAM.
display mpls route-state Flags: M: Master B: Backup DestAddress/Mask I: Idle Next-Hop R: Ready S: Setting up Out-Interface N: No route Flag U: Unknown Lsp-Count Vrf-Index ---------------------------------------------------------------------------------1.1.1.9/32 23.23.223.2 Vlan223 MR 1 0 2.2.2.9/32 23.23.223.2 Vlan223 MR 1 0 3.3.3.9/32 127.0.0.1 InLoop0 MR 1 0 101.3.3.3/32 127.0.0.
dest-addr mask-length: Specifies a FEC by a destination address and mask length. The value range for the mask length is 0 to 32. verbose: Displays detailed information. |: 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.
Views Any view Default command level 1: Monitor level Parameters interface-type interface-number: Displays MPLS statistics for the specified interface. all: Displays MPLS statistics for all interfaces. |: 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.
Disables : 0 Failed Label Lookup : 0 Start Time : 2004/04/28 10:24:04 End Time : 2004/04/28 10:24:04 Statistics for Interface OUT : Outgoing Interface GigabitEthernet2/1/2 Octets : 0 Packets : 0 Errors : 0 Disables : 0 Start Time : 2004/04/28 10:24:04 End Time : 2004/04/28 10:24:04 Statistics for Interface IN : Incoming Interface Serial3/1/0 Octets : 0 Packets : 0 Errors : 0 Disables : 0 Failed Label Lookup : 0 Start Time : 2004/04/28 10:24:10 End Time : 2004/04/28 10:
display mpls statistics lsp Use display mpls statistics lsp to display MPLS statistics for all LSPs or the LSP with a specific index or name. Syntax display mpls statistics lsp { index | all | name lsp-name } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters index: Specifies an LSP by the index of the LSP. The value range for the LSP index is 0 to 4294967295. all: Specifies all LSPs.
Start Time : 0000/00/00 00:00:00 End Time : 0000/00/00 00:00:00 Statistics for Lsp IN : LSP Name /LSP Index : DynamicLsp/9218 InSegment Octets : 0 Packets : 0 Errors : 0 Down : 0 Start Time : 0000/00/00 00:00:00 End Time : 0000/00/00 00:00:00 Statistics for Lsp OUT : LSP Name /LSP Index : DynamicLsp/9218 OutSegment Octets : 0 Packets : 0 Errors : 0 Down : 0 Start Time : 2006/05/20 15:52:30 End Time : 2006/05/20 15:52:30 Table 24 Command output Field Description Statis
display mpls statistics lsp in-label Use display mpls statistics lsp in-label to display statistics for all LSPs or the LSP with a specific incoming label. Syntax display mpls statistics lsp [ in-label in-label ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters in-label in-label: Specifies an LSP by its incoming label.
Discards : 0 ****************Ecmp NO. 0:*************** Statistics for Lsp OUT: LSP Label: -Octets : 0 Packets : 0 Errors : 0 Discards : 0 ****************Ecmp NO.
Parameters token token: Specifies a public network tunnel by its LSP token. The value range for the token argument is 0 to 4294967295. |: 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.
Syntax du-readvertise undo du-readvertise Default Label re-advertisement is enabled in DU mode. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Examples # Enable DU mode label re-advertisement for the public network LDP instance. system-view [Sysname] mpls ldp [Sysname-mpls-ldp] du-readvertise # Enable DU mode label re-advertisement for LDP instance vpn1.
# Set the DU mode LDP label re-advertisement interval to 100 seconds for VPN instance vpn1. system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] du-readvertise timer 100 graceful-restart (MPLS LDP view) Use graceful-restart to enable MPLS LDP Graceful Restart (GR). Use undo graceful-restart to disable MPLS LDP GR. Syntax graceful-restart undo graceful-restart Default MPLS LDP GR is disabled.
Usage guidelines This command is only used to test MPLS LDP GR function. It does not perform active/standby switchover. Do not use it in other cases. The MPLS LDP GR capability is required for this command to take effect. Examples # Restart MPLS LDP gracefully. graceful-restart mpls ldp Related commands graceful-restart (MPLS LDP view) graceful-restart timer neighbor-liveness Use graceful-restart timer neighbor-liveness to set the LDP neighbor liveness time.
Syntax graceful-restart timer reconnect timer undo graceful-restart timer reconnect Default The FT reconnect time is 300 seconds. Views MPLS LDP view Default command level 2: System level Parameters timer: Specifies the Fault Tolerance (FT) reconnect time in the range of 60 to 300 seconds. Usage guidelines The FT reconnect time refers to the maximum time that the stale flag will be preserved by the LSR after the TCP connection fails.
Usage guidelines The LDP recovery time refers to the maximum time that the stale state label will be kept by the LSR after a TCP reconnection. Modifying the LDP recovery time will cause all LDP sessions and all LSPs based on the sessions to be removed and then reestablished. Examples # Set the LDP recovery time to 45 seconds. system-view [Sysname] mpls ldp [Sysname-mpls-ldp] graceful-restart timer recovery 45 hops-count Use hops-count to set the maximum hop count for loop detection.
• path-vectors label advertise Use label advertise to specify what type of label the egress should distribute to the penultimate hop. Use undo label advertise to restore the default. Syntax label advertise { explicit-null | implicit-null | non-null } undo label advertise Default The egress distributes an implicit null label to the penultimate hop.
Default The label distribution control mode is ordered. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters independent: Specifies the independent label distribution control mode. In this mode, an LSR can advertise label bindings to its connected LSRs at any time. ordered: Specifies the ordered label distribution control mode.
Examples # Enable loop detection for the public network LDP instance. system-view [Sysname] mpls ldp [Sysname-mpls-ldp] loop-detect # Enable loop detection for LDP instance vpn1. system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] loop-detect Related commands • hops-count • path-vectors lsp-trigger Use lsp-trigger to configure the LSP establishment triggering policy. Use undo lsp-trigger to restore the default.
For information about IP prefix list, see Layer 3—IP Routing Configuration Guide. Examples # Specify that all routing entries can trigger establishment of LDP LSPs. system-view [Sysname] mpls [Sysname-mpls] lsp-trigger all lsr-id Use lsr-id to configure an LDP LSR ID. Use undo lsr-id to remove a configured LDP LSR ID and all LDP sessions. Syntax lsr-id lsr-id undo lsr-id Default The LDP LSR ID takes the value of the MPLS LSR ID.
Default LDP MD5 authentication is disabled. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters cipher: Sets a ciphertext key. plain: Sets a plaintext key. peer-lsr-id: Specifies the MPLS LSR ID of a peer. password: Specifies the key string. This argument is case sensitive. If plain is specified, it must be a string of 1 to 16 characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters.
Default MPLS capability is disabled globally and on all interfaces. Views System view, interface view Default command level 2: System level Usage guidelines Configure the MPLS LSR ID before enabling MPLS capability. Enable MPLS globally before enabling it for an interface. Examples # Enable MPLS globally. system-view [Sysname] mpls lsr-id 1.1.1.1 [Sysname] mpls [Sysname-mpls] quit # Enable MPLS for interface GigabitEthernet 2/1/1.
Examples # Enable LDP globally and enter MPLS LDP view. system-view [Sysname] mpls lsr-id 1.1.1.1 [Sysname] mpls [Sysname-mpls] quit [Sysname] mpls ldp [Sysname-mpls-ldp] mpls ldp (interface view) Use mpls ldp to enable LDP on an interface. Use undo mpls ldp to disable LDP on an interface. Syntax mpls ldp undo mpls ldp Default LDP is disabled on an interface.
mpls ldp remote-peer Use mpls ldp remote-peer to create a remote peer entity and enter MPLS LDP remote peer view. Use undo mpls ldp remote-peer to remove a remote peer entity. Syntax mpls ldp remote-peer remote-peer-name undo mpls ldp remote-peer remote-peer-name Views System view Default command level 2: System level Parameters remote-peer-name: Specify a name for the remote peer, a case-insensitive string of 1 to 32 characters.
Usage guidelines In interface view, you set the link Hello timer. In MPLS LDP remote peer view, you set the targeted Hello timer. Changing the values of the Hello timers does not affect any existing session. Examples # Set the link Hello timer to 100 seconds on interface GigabitEthernet 2/1/1.
negotiation result is difficult to predict. Therefore, HP recommends that you set the same keepalive timer for all the links. Changing keepalive timers does not affect existing LDP sessions. You can perform the reset mpls ldp command, so that the device uses the newly configured keepalive timer for LDP negotiation with the peers to reestablish the LDP sessions. Examples # Set the link Keepalive timer to 50 seconds on interface GigabitEthernet 2/1/1.
Usage guidelines In interface view, you configure the link Hello transport address. In MPLS LDP remote peer view, you configure the targeted Hello transport address. If two LSRs have multiple links in between and you want to establish an LDP session on each link, make sure all the links use the same transport address. Examples # On interface GigabitEthernet 2/1/1, configure the link Hello transport address as the IP address of the current interface.
Syntax mpls lsr-id lsr-id undo mpls lsr-id Default No LSR ID is configured. Views System view Default command level 2: System level Parameters lsr-id: Specifies the ID for identifying the LSR, in dotted decimal notation. Usage guidelines Configure the LSR ID of an LSR before configuring any other MPLS commands. HP recommends that you use the address of a loopback interface on the LSR as the ID. Examples # Set the LSR ID to 3.3.3.3. system-view [Sysname] mpls lsr-id 3.3.3.
Usage guidelines The command is effective only when MPLS is enabled on the interface. If the MPLS MTU is larger than the interface MTU, data forwarding might fail. The command does not apply to TE tunnel interfaces. Examples # Configure the MPLS MTU of interface GigabitEthernet 2/1/1 as 1000.
system-view [Sysname] mpls statistics enable lsp in-label 1024 Related commands • display mpls statistics interface • display mpls statistics lsp in-label • display mpls statistics tunnel non-stop-routing Use non-stop-routing to enable the LDP NSR function. Use undo non-stop-routing to disable the LDP NSR function. Syntax non-stop-routing undo non-stop-routing Default The LDP NSR function is disabled.
Syntax path-vectors pv-number undo path-vectors Default The path vector length is 32, that is, the number of LSR IDs in a path vector cannot exceed 32. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters pv-number: Specifies the path vector length in the range of 1 to 32. Usage guidelines This command must be configured before you enable LDP on any interface. Examples # Set the maximum hops of the path vector to 3 for the public network LDP instance.
-c count: Specifies the number of echo request messages to be sent. The value range for the count argument is 1 to 4294967295, and the default is to 5. -exp exp-value: Specifies the EXP value for the echo request messages. The value range for the exp-value argument is 0 to 7, and the default is 0. -h ttl-value: Specifies the TTL value for the echo request messages. The value range for the ttl-value argument is 1 to 255, and the default is 255.
undo periodic-tracert destination-address mask-length Default The periodic LSP tracert for an FEC is not enabled. Views MPLS LSPV view Default command level 2: System level Parameters destination-address mask-length: Specifies an FEC by a destination IP address and the mask length of the destination address. The value range for the mask length is 0 to 32. -a source-ip: Specifies the source IP address for MPLS echo request messages.
undo prefix-label advertise Default LDP does not advertise prefix-based label through a remote session. Views MPLS LDP remote peer view Default command level 2: System level Usage guidelines A device can advertise prefix-based labels to its remote peers through remote sessions only after you have configured the prefix-label advertise command. However, a device can receive labels advertised by its remote peers no matter whether you have configured this command or not.
Examples # Configure the remote peer IP address as 3.3.3.3. system-view [Sysname] mpls ldp remote-peer BJI [Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3 Related commands mpls ldp remote-peer remote-ip bfd Use remote-ip bfd to enable BFD to detect the IP connectivity to the remote LDP peer. Use undo remote-ip bfd to disable BFD detection of the IP connectivity to the remote LDP peer. Syntax remote-ip bfd undo remote-ip bfd Default BFD detection is disabled.
fec mask: Resets the LDP sessions for the specified FEC. The fec mask argument specifies a FEC by a destination IP address and mask. peer peer-id: Resets the LDP session with the specified peer. The peer-id argument specifies a peer by its LSR ID. Usage guidelines With no parameters specified, the command resets all sessions of the public network LDP instance. Examples # Reset all sessions of the public network LDP instance. reset mpls ldp # Reset the sessions of all LDP instances.
Syntax reset mpls statistics lsp { index | all | name lsp-name } Views User view Default command level 1: Monitor level Parameters index: Clears statistics for the LSP with the specified index number. The value range for the LSP index is 0 to 4294967295. all: Clears statistics for all LSPs. name lsp-name: Clears statistics for the LSP with the specified name. The LSP name is a string of 1 to 15 characters. Examples # Clear MPLS statistics for LSP lsp1.
reset mpls statistics tunnel Use reset mpls statistics tunnel to clear statistics for one or all public network tunnels. Syntax reset mpls statistics tunnel [ token token ] Views User view Default command level 1: Monitor level Parameters token token: Specifies an LSP token to clear statistics of the public network tunnel with the specified LSP token. The value range for the token is 0 to 4294967295. Examples # Clear statistics for the public network tunnel with the LSP token of 2.
Related commands • display mpls static-lsp • static-lsp ingress • static-lsp transit static-lsp ingress Use static-lsp ingress to configure a static LSP taking the current LSR as the ingress. Use undo static-lsp ingress to remove a static LSP taking the current LSR as the ingress.
Related commands • display mpls static-lsp • static-lsp egress • static-lsp transit static-lsp transit Use static-lsp transit to configure a static LSP taking the current LSR as a transit LSR. Use undo static-lsp transit to remove a static LSP taking the current LSR as a transit LSR.
statistics Use statistics to enable MPLS statistics collection for LSPs. Use undo statistics to disable MPLS statistics collection for LSPs. Syntax statistics { ipv4 destination mask [ vpn-instance vpn-instance-name ] | ipv6 destination mask | static } undo statistics { ipv4 destination mask [ vpn-instance vpn-instance-name ] | ipv6 destination mask | static } Default The device does not collect MPLS statistics for any LSPs.
Default The LSP statistics reading interval is 0, which indicates that the system does not read collected LSP statistics. Views MPLS view Default command level 2: System level Parameters interval-time: Specifies the statistics reading interval in the range of 30 to 65535 seconds. Examples # Set the LSP statistics reading interval to 30 seconds.
ipv4 dest-addr mask-length: Specifies a FEC by an IPv4 destination address and the mask length. The value range for the mask-length argument is 0 to 32. destination-ip-addr-header: Specifies the destination address in the IP header of the MPLS echo request messages. It can be any address on subnet 127.0.0.0/8—any local loopback address. Examples # Locate errors along the LSP to 3.3.3.9/32. tracert lsp ipv4 3.3.3.9 32 LSP Trace Route FEC: IPV4 PREFIX 3.3.3.9/32 , press CTRL_C to break.
Use undo ttl expiration pop to configure the system to use LSPs to send back the ICMP TTL exceeded messages for TTL-expired MPLS packets that have only one level of label. Syntax ttl expiration pop undo ttl expiration pop Default An ICMP TTL exceeded message is sent back along an IP route when the TTL of an MPLS packet with a one-level label stack expires.
vpn: Specifies VPN packets. Examples # Enable MPLS TTL propagation for VPN packets.
MPLS TE configuration commands add hop Use add hop to insert a node to the explicit path, and configure the node's attributes (include or exclude, strict or loose). Syntax add hop ip-address1 [ include [ loose | strict ] | exclude ] { after | before } ip-address2 Views Explicit path view Default command level 2: System level Parameters ip-address1: Specifies the IP address or Router ID of the node to be inserted, in dotted decimal notation.
Syntax delete hop ip-address Views Explicit path view Default command level 2: System level Parameters ip-address: Specifies the IP address of a node along the explicit path. Examples # Remove the node identified by 10.0.0.1 from the explicit path path1. system-view [Sysname] explicit-path path1 [Sysname-explicit-path-path1] delete hop 10.0.0.1 display explicit-path Use display explicit-path to display information about an explicit path.
3 1.1.1.20 Strict Include 4 2.1.1.20 Strict Include 5 2.1.1.30 Strict Include 6 1.1.1.30 Strict Include 7 9.4.4.4 Strict Include Path Name : ErHop-Path2 Path Status : Enabled 1 1.1.1.10 Strict Include 2 2.1.1.10 Strict Include 3 1.1.1.40 Strict Include 4 2.1.1.40 Strict Include 5 1.1.1.50 Strict Include 6 2.1.1.40 Strict Include 7 2.1.1.30 Strict Include 8 1.1.1.30 Strict Include 9 9.4.4.
|: 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.
BW Unresrv[2]: 6250 Bytes/sec BW Unresrv[3]: 6250 Bytes/sec BW Unresrv[4]: 6250 Bytes/sec BW Unresrv[5]: 6250 Bytes/sec BW Unresrv[6]: 6250 Bytes/sec BW Unresrv[7]: 6250 Bytes/sec Unreserved BW for Class Type 1: BW Unresrv[0]: 0 Bytes/sec BW Unresrv[1]: 0 Bytes/sec BW Unresrv[2]: 0 Bytes/sec BW Unresrv[3]: 0 Bytes/sec BW Unresrv[4]: 0 Bytes/sec BW Unresrv[5]: 0 Bytes/sec BW Unresrv[6]: 0 Bytes/sec BW Unresrv[7]: 0 Bytes/sec TE Cost : 10 Bandwidth Constraint Model: Russian Doll Bandwi
Field Description Admin Group Link administrative group attribute. Physical BW Physical bandwidth. Reservable BW Reservable bandwidth. BW Unresrv[0]-[7] Available subpool bandwidths at eight levels. TE Cost TE cost. BC[0] Global pool. BC[1] Subpool. LOM[0] Local overbooking multiplier. The bracketed number indicates the level of bandwidth. LOM[1] display isis traffic-eng link Use display isis traffic-eng link to display the IS-IS TE link information.
Examples # Display the IS-IS TE link information. display isis traffic-eng link TE information for ISIS(1) -------------------------Level-2 Link Information -----------------------0000.0000.0001.00-->0000.0000.0001.01 Type: MULACC LinkID: 10.1.1.1 0000.0000.0002.00-->0000.0000.0003.00 Type: P2P LinkID: 3.3.3.9 0000.0000.0002.00-->0000.0000.0001.01 Type: MULACC LinkID: 10.1.1.1 0000.0000.0003.00-->0000.0000.0002.00 Type: P2P LinkID: 2.2.2.9 0000.0000.0003.00-->0000.0000.0004.
|: 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.
Field Description List of Attached Routers List of attached routers. RouterId Router ID. Nbr Neighbors. Level-2 Network Information Level-2 network information. display isis traffic-eng statistics Use display isis traffic-eng statistics to display the IS-IS TE statistics.
IS-IS Router ID : 1.1.1.9 Table 31 Command output Field Description IS-IS System Type System type. IS-IS Cost Style Status Cost type of the router. IS-IS Level-1 Traffic Engineering Status TE state of Level-1 router. IS-IS Level-2 Traffic Engineering Status TE state of Level-2 router. display isis traffic-eng sub-tlvs Use display isis traffic-eng sub-tlvs to display information about IS-IS sub-TLVs for TE.
Table 32 Command output Field Description Unreserved sub-pool bandwidth sub-tlv value Sub-TLV of unreserved subpool bandwidth. Bandwidth constraint sub-tlv value Bandwidth constraint sub-TLV. LO multiplier sub-tlv value LOM sub-TLV. Related commands te-set-subtlv display mpls lsp bfd te Use display mpls lsp bfd te to display BFD information for MPLS TE tunnels.
Table 33 Command output Field Description Type Type of the tunnel detected by BFD: LSP or TE Tunnel. Local Discr Local discriminator of the BFD session. Remote Discr Remote discriminator of the BFD session. Session State Status of the BFD session: Init (initializing), Up, or Down. Source IP IP address of the active end (ingress LSR) of the BFD session. Session Role Role of the LSR in the BFD session: Active or Passive.
Hello interval: 3 sec Max Hello misses: 3 Path and Resv message refresh interval: 30 sec Path and Resv message refresh retries count: 3 Blockade Multiplier: 4 Graceful Restart: ENABLE Restart Time: 200 sec Recovery Time: 150 sec Table 34 Command output Field Description LSR ID Label switched Router ID, in the format of X.X.X.X. Resv Confirmation Request Reserved confirmation request. RSVP Hello Extension State of the hello mechanism: enabled or disabled.
Field Description Srefresh feature State of the summary refresh function: enabled or disabled. Srefresh interval Summary refresh interval (in seconds) Authentication State of authentication: enabled or disabled. Reliability Whether the reliability feature is configured. Retransmit interval Initial retransmission interval (in milliseconds) Increment value delta which governs the speed at which the interface increases the retransmission interval.
Table 36 Command output Field Description Interface GigabitEthernet2/1/1 RSVP-TE enabled interface. Token Bucket rate Token bucket rate, a traffic parameter. Peak Data Rate Peak rate, a traffic parameter. Tunnel Dest Tunnel destination, in the format of X.X.X.X. Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X. Next Hop Addr Next hop address, in the format of X.X.X.X.
Restart Time: 200 sec Recovery Time: 150 sec Interface GigabitEthernet2/1/2 Neighbor Addr: 80.2.1.1 SrcInstance: 832 NbrSrcInstance: 920 PSB Count: 1 RSB Count: 0 Hello Type Sent: REQ Neighbor Hello Extension: ENABLE SRefresh Enable: NO Reliability Enable: YES Graceful Restart State: Not Ready Restart Time: --- Recovery Time: --- Table 37 Command output Field Description Interface GigabitEthernet2/1/1 RSVP-TE enabled interface. Neighbor Addr: Neighbor address, in the format of X.X.X.X.
lspid: Local LSR ID in the range of 1 to 65535. tunnel-id: Tunnel ID in the range of 0 to 65535. egress-lsr-id: Egress LSR ID. |: 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.
Field Description Tunnel ExtID Tunnel extension ID, in the format of X.X.X.X. Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X. Local LSP ID Local LSP ID. Next Hop Next hop address, in the format of X.X.X.X. Previous Hop Previous hop address, in the format of X.X.X.X. In Label Incoming label. Out Label Outgoing label. Reverse InLabel Incoming label of the reverse LSP. Reverse OutLabel Outgoing label of the reverse LSP. Send message ID Instance of sent Message ID.
display mpls rsvp-te request Use display mpls rsvp-te request to display information about RSVP-TE requests on the specified or all interfaces. Syntax display mpls rsvp-te request [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression.
display mpls rsvp-te reservation Use display mpls rsvp-te reservation to display information about RSVP-TE reservations on the specified or all interfaces. Syntax display mpls rsvp-te reservation [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number.
Table 40 Command output Field Description Interface GigabitEthernet2/1/1 RSVP-TE enabled Ethernet interface. Tunnel Dest Tunnel destination, in the format of X.X.X.X. Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X. Token Bucket rate Token bucket rate, a traffic parameter. Token Bucket Size Token bucket size, a traffic parameter. display mpls rsvp-te rsb-content Use display mpls rsvp-te rsb-content to display information about RSVP-TE reservation state blocks (RSBs).
Reservation Interface: GigabitEthernet2/1/1 Message ID : 2 Filter Spec InformationThe filter number: 1 Ingress LSR ID: 19.19.19.19 Local LSP ID: 1 OutLabel: 3 Graceful Restart State: Stale RRO InformationRRO-Flag is RRO-CType: IPV4 RRO-IPAddress: 101.101.101.2 RRO-IPPrefixLen: 32 FlowSpec InformationToken bucket rate: 2500.00 Token bucket size: 0.00 Peak data rate: 0.00 Minimum policed unit: 0 Maximum packet size: 0 Bandwidth guarantees: 0.
Field Description Maximum packet size Maximum packet size, a traffic parameter. Minimum policed unit Minimum policed unit, a traffic parameter. Bandwidth guarantees Guaranteed bandwidth, a reservation specifications parameter. Delay guarantees Delay guarantee, a reservation specifications parameter. QOS service QoS guarantee/control. Resv Message Reservation message received on a particular interface from next hop (X.X.X.X) State of GR: stale or normal.
display mpls rsvp-te sender Interface: GigabitEthernet2/1/1 Tunnel Dest: 19.19.19.19 Ingress LSR ID: 29.29.29.29 LSP ID: 1 Session Tunnel ID: 0 Session Name: Tunnel0 Previous Hop Address: 101.101.101.2 Token bucket rate: 0.0 Token bucket size: 0.00 Interface: Incoming-Interface at the Ingress Tunnel Dest: 29.29.29.29 Ingress LSR ID: 19.19.19.19 LSP ID: 1 Session Tunnel ID: 0 Session Name: Tunnel1 Previous Hop Address: 19.19.19.19 Token bucket rate: 0.0 Token bucket size: 0.
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 global RSVP-TE statistics. display mpls rsvp-te statistics global LSR ID: 1.1.1.
Table 43 Command output Field Description PSB Count Number of PSBs. RSB Count Number of RSBs. RFSB Count Number of RFSBs. TCSB Count Number of TCSBs. LSP Count Number of LSPs. PSB CleanupTimeOutCounter Number of PSB timeouts. RSB CleanupTimeOutCounter Number of RSB timeouts. SendPacketCounter Number of transmitted packets. RecPacketCounter Number of received packets. SendPathCounter Number of transmitted Path messages. RecPathCounter Number of received Path messages.
Field Description BindFrrFaultCounter Number of primary-to-bypass tunnel binding failures in the FRR process. display mpls static-cr-lsp Use display mpls static-cr-lsp to display information about static CR-LSPs.
Table 44 Command output Field Description Name Static CR-LSP name. FEC FEC destination address and mask. I/O Label Incoming/outgoing label. I/O If Incoming/outgoing interface. State Current state of the CR-LSP. # Display detailed information about all static CR-LSPs.
Syntax display mpls te cspf tedb { all | area area-id | interface ip-address | network-lsa | node [ mpls-lsr-id ] } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters area-id: Area ID. For OSPF, it is in the range of 0 to 4294967295. For IS-IS, it takes the value of 1 or 2. ip-address: IP address of an interface. network-lsa: Displays traffic engineering database (TEDB) information in network LSAs.
7.1.1.1 6.1.1.2 7 7.1.1.1 12.0.0.7 OSPF 100 0 3.1.1.1 7.1.1.1 7.1.1.2 Table 46 Command output Field Description ID Number. DR MPLS LSR-Id MPLS LSR ID of the designated router (DR), in dotted decimal notation. DR-Address Interface address of the DR. IGP Interior gateway protocol: OSPF or IS-IS. Process-Id IGP process ID. Area Area to which the router belongs. Neighbor Neighbor router ID. # Display all TEDB information.
Id MPLS LSR-Id IGP Process-Id Area Link-Count 1 2.2.2.2 OSPF 100 1 1 2 3.3.3.3 OSPF 100 1 1 3 2.2.2.2 ISIS 100 Level-1 1 4 3.3.3.3 ISIS 100 Level-1 1 Network LSA Information for Area 1: Id DR MPLS LSR-Id DR-Address IGP Process-Id Area 1 3.3.3.3 20.1.1.2 OSPF 100 1 Neighbor 2.2.2.2 3.3.3.3 2 3.3.3.3 20.1.1.2 ISIS 100 Level-1 3.3.3.3 2.2.2.2 Table 48 Command output Field Description Id Number. MPLS LSR-Id MPLS LSR ID, in dotted decimal notation.
Unreserved Bandwidth for each TE Class: [0] : 10 (kbps), [1] : 10 (kbps) [2] : 10 (kbps), [3] : 10 (kbps) [4] : 10 (kbps), [5] : 10 (kbps) [6] : 10 (kbps), [7] : 10 (kbps) [8] : 10 (kbps), [9] : 10 (kbps) [10]: 10 (kbps), [11]: 10 (kbps) [12]: 10 (kbps), [13]: 10 (kbps) [14]: 10 (kbps), [15]: 10 (kbps) MPLS LSR-Id: 1.1.1.1 IGP Type: ISIS Process Id: 100 MPLS-TE Link Count: 2 Link[1] : Interface IP Address: 2.0.0.33, 2.0.0.35, 2.0.0.
Field Description Color Link administrative attribute. Maximum Bandwidth Maximum bandwidth of the link. Maximum Reservable Bandwidth Maximum reservable bandwidth of link. Bandwidth Constraint Mode Bandwidth constrains model. Unreserved Bandwidth for each TE Class Reservable bandwidth for each TE class. # Display TEDB information for a specific interface address in IETF DS TE RDM mode. display mpls te cspf tedb interface 20.1.1.1 MPLS LSR-Id: 2.2.2.
Field Description Maximum Reservable Bandwidth Maximum reservable bandwidth of the link. Bandwidth Constraint Mode Bandwidth constraints model. Unreserved Bandwidth for each TE Class Reservable bandwidth for each TE class. display mpls te ds-te Use display mpls te ds-te to display information about DS-TE.
13 1 5 14 1 6 15 1 7 Table 51 Command output Field Description MPLS DS-TE mode DS-TE mode: Prestandard or IETF. MPLS DS-TE BC mode DS-TE BC model: RDM or MAM. TE CLASS ClassType Priority TE class-CT-priority mapping. display mpls te link-administration admission-control Use display mpls te link-administration admission-control to display information about CR-LSPs carried on the link of a specific interface or links of all interfaces if no interface is specified.
Field Description S/H Prio Setup and holding priorities of CR-LSP. CT Service class type. BW(kbps) Bandwidth (in kbps) display mpls te link-administration bandwidth-allocation Use display mpls te link-administration bandwidth-allocation to display bandwidth allocation on the specified or all MPLS TE enabled interfaces.
2 0 100000 2000 3 0 50000 2000 TE CLASS CLASS TYPE PRIORITY 0 0 0 BW RESERVED(kbps) 0 BW AVAILABLE(kbps) 2000000 1 0 1 0 2000000 2 0 2 0 2000000 3 0 3 0 2000000 4 0 4 0 2000000 5 0 5 0 2000000 6 0 6 0 2000000 7 0 7 1000 1999000 8 1 0 0 1000000 9 1 1 0 1000000 10 1 2 0 1000000 11 1 3 0 1000000 12 1 4 0 1000000 13 1 5 0 1000000 14 1 6 0 1000000 15 1 7 0 1000000 Table 53 Command output Field Description Downstream LSP
Views Any view Default command level 1: Monitor level Parameters destination address: Specifies a destination IP address to display only the tunnels with the specified destination IP address. lsr-id: LSR ID of the ingress node, in dotted decimal notation. lsp-id: LSP ID in the range of 1 to 65535. lsr-role: Displays tunnels by LSR role (ingress, transit, egress, or remote). all: Displays all tunnels. egress: Displays tunnels created taking the current device as the egress.
Table 54 Command output Field Description LSP-ID LSP ID of tunnel. Destination Destination router ID. In/Out-IF Incoming/outgoing interface. Name Tunnel name configured on the ingress node. # Display detailed information about MPLS TE tunnels. display mpls te tunnel verbose No : 1 LSP-Id : *1.1.1.9:23 Tunnel-Name : Tunnel2 Destination : 1.1.1.9 In-Interface : Vlan1 Out-Interface : - Tunnel BW : 0 kbps Class Type : CT0 Ingress LSR-Id : *1.1.1.9 Egress LSR-Id : 1.1.1.
Table 55 Command output Field Description No Number. LSP ID of the tunnel. LSP-Id A value containing an * indicates that the CR-LSP is the reverse CR-LSP of a bidirectional tunnel. The device does not support bidirectional MPLS TE tunnel. Tunnel-Name Tunnel name configured on the ingress node. Destination Destination router ID. In-Interface Incoming interface. Out-Interface Outgoing interface. Tunnel BW Tunnel bandwidth. Class Type Service class type. Ingress LSR ID.
Parameters lsr-id: Ingress LSR ID, in dotted decimal notation. lsp-id: LSP ID in the range of 1 to 65535. tunnel-name tunnel-name: Tunnel name, a string of 1 to 63 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.
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 statistics about MPLS TE tunnels.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about MPLS TE tunnel interfaces on this node. display mpls te tunnel-interface Tunnel Name : Tunnel0 Tunnel Desc : Tunnel Interface Tunnel State Desc : CR-LSP is Up Tunnel Attributes : LSP ID : 1.1.1.9:1 Session ID : 10 Admin State : UP Oper State Ingress LSR ID : 1.1.1.9 Egress LSR ID: 2.2.2.
Field Description Signaling Prot Signaling protocol. Resv Style Reservation style. Class Type Service class type. Tunnel BW Tunnel bandwidth. Reserved BW Reserved bandwidth. Setup Priority Setup priority of LSP. Hold Priority Hold priority of LSP. Affinity Prop/Mask Affinity attribute and mask. Tie-Breaking Policy Path selection policy. Record Route State of the route recording function. Record Label State of the label recording function. FRR Flag Fast reroute (FRR) flag.
Field Description Group Status Status of the group. Displayed as - if no protection group is configured. display ospf mpls-te Use display ospf mpls-te to display TE LSAs in the link state database (LSDB). Syntax display ospf [ process-id ] mpls-te [ area area-id ] [ self-originated ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters process-id: OSPF process ID in the range of 1 to 65535.
LS Seq Number : CheckSum : Link Type :Point to Point / Point to Multi Point /MultiAccess Link ID : Local Interface Address : xxx.xxx.xxx.xxx Remote Interface Address : xxx.xxx.xxx.
Field Description LS Seq Number LSA sequence number, carried in the header of Opaque LSA. Checksum LSA checksum, carried in the header of Opaque LSA. Link Type Link type: point to point, point to multipoint, or multiAccess. Admin Group Administrative group attribute. Unreserved Bandwidth for each TE Class Reservable bandwidth for each TE class. Unreserved BW [0] to [15] Available bandwidths of the 16 TE classes.
Neighbor Ip Address: 100.0.0.2 Cost : -10 Cost Type : Relative Hold time : 10s Table 60 Command output Field Description Interface Tunnel interface address and name. Type Approach to automatic route advertisement: IGP shortcut or forwarding adjacency. Neighbor ID Remote neighbor ID. State State: up or down. display tunnel-info Use display tunnel-info to display information about tunnels.
display tunnel-info statistics Tunnel Allocation Method : GLOBAL Avail Tunnel ID Value : 262144 Total Tunnel ID Allocated : 1 LSP : 1 GRE : 0 CRLSP : 0 LOCAL IFNET : 0 MPLS LOCAL IFNET : 0 Table 61 Command output Field Description Tunnel Allocation Method The way that tunnels are allocated. Avail Tunnel ID Value Available tunnel ID. Total Tunnel ID Allocated Total number of tunnel IDs that have been allocated. LSP Number of LSP tunnels. GRE Number of GRE tunnels.
Examples # Enable IGP shortcut when the IGP protocol is OSPF. system-view [Sysname] ospf 100 [Sysname-ospf-100] enable traffic-adjustment enable traffic-adjustment advertise Use enable traffic-adjustment advertise to enable forwarding adjacency. Use undo enable traffic-adjustment advertise to disable forwarding adjacency. Syntax enable traffic-adjustment advertise undo enable traffic-adjustment advertise Default Forwarding adjacency is disabled.
Parameters path-name: Specifies the name of an explicit path for a tunnel, a string of 1 to 31 characters. disable: Disables explicit routing. enable: Enables explicit routing. Examples # Create an explicit path named path1 and enter its view. system-view [Sysname] explicit-path path1 [Sysname-explicit-path-path1] list hop Use list hop to display information about a specific node or all nodes on the explicit path.
Parameters ip-address1 ip-address2: Substitutes the IP address specified by the ip-address2 argument for the IP address specified by the ip-address1 argument in the explicit path. The specified IP addresses can be link IP addresses or router IDs of nodes. include: Includes the node ip-address2 on the explicit path. loose: Specifies the node ip-address2 as a loose node, which means that ip-address2 and its previous hop can be connected indirectly.
Examples # Enable RSVP-TE on current node. system-view [Sysname] mpls [Sysname-mpls] mpls te [Sysname-mpls] mpls rsvp-te # Enable RSVP-TE on interface GigabitEthernet 2/1/1. system-view [Sysname] interface giabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mpls [Sysname-GigabitEthernet2/1/1] mpls te [Sysname-GigabitEthernet2/1/1] mpls rsvp-te mpls rsvp-te authentication Use mpls rsvp-te authentication to enable RSVP authentication on the interface.
Examples # Enable RSVP authentication on interface GigabitEthernet 2/1/1, and configure the authentication key as userkey1 in plain text. system-view [Sysname] interface giabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mpls rsvp-te authentication plain userkey1 mpls rsvp-te bfd enable Use mpls rsvp-te bfd enable on an RSVP-TE enabled interface to enable BFD for link detection. Use undo mpls rsvp-te bfd enable to disable BFD on an RSVP-TE enabled interface.
Views MPLS view Default command level 2: System level Parameters number: Blockade multiplier in the range of 3 to 255. Usage guidelines Sometimes, although a reservation request does not pass admission control on some node, you might want to store the resource reservation state for it while allowing other requests to use the resources reserved for the request. In this case, the node transits to the blockade state and a blockade state block (BSB) is created on each downstream node.
[Sysname] mpls [Sysname-mpls] mpls rsvp-te dscp 56 mpls rsvp-te graceful-restart Use mpls rsvp-te graceful-restart to enable the GR capability for MPLS RSVP-TE. Use undo mpls rsvp-te graceful-restart to disable MPLS RSVP-TE GR. Syntax mpls rsvp-te graceful-restart undo mpls rsvp-te graceful-restart Default GR capability is disabled for MPLS RSVP-TE. Views MPLS view Default command level 2: System level Usage guidelines Enable RSVP-TE hello extension before enabling RSVP-TE GR.
Default command level 2: System level Usage guidelines RSVP-TE uses the hello extension mechanism to check the reachability of an RSVP neighbor. Before you enable RSVP hello extension in interface view, enable RSVP-TE in interface view and RSVP hello extension in MPLS view. Examples # Enable RSVP hello extension in MPLS view. system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello # Enable RSVP hello extension on interface GigabitEthernet 2/1/1.
Examples # Set the maximum number of consecutive hello losses allowed on a node to 5. system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello-lost 5 Related commands mpls rsvp-te timer hello mpls rsvp-te keep-multiplier Use mpls rsvp-te keep-multiplier to configure the keep multiplier, which determines the timeout time of the path state block (PSB) and reservation state block (RSB). Use undo mpls rsvp-te keep-multiplier to restore default.
Syntax mpls rsvp-te reliability undo mpls rsvp-te reliability Default The RSVP reliability mechanism is disabled. Views Interface view Default command level 2: System level Usage guidelines With RSVP reliability enabled, the device adds objects Message_ID and Message_ID_ACK into the outgoing RSVP messages. The objects will be used for RSVP message acknowledgment to improve reliability. Examples # Enable the RSVP reliability mechanism on interface GigabitEthernet 2/1/1.
[Sysname-mpls] mpls rsvp-te resvconfirm mpls rsvp-te srefresh Use mpls rsvp-te srefresh to enable summary refresh. Use undo mpls rsvp-te srefresh to restore the default. Syntax mpls rsvp-te srefresh undo mpls rsvp-te srefresh Default Summary refresh is disabled. Views Interface view Default command level 2: System level Usage guidelines Summary refresh (Srefresh) messages refresh path state and reservation state. Enabling summary refresh disables conventional time-driven state refresh.
Usage guidelines Before using this command, be sure to enable the GR capability for MPLS RSVP-TE. Examples # Set the RSVP-TE GR recovery interval to 100 seconds. system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te timer graceful-restart recovery 100 mpls rsvp-te timer graceful-restart restart Use mpls rsvp-te timer graceful-restart restart to set the RSVP-TE GR restart interval. Use undo mpls rsvp-te timer graceful-restart restart to restore the default.
Default The hello interval is 3 seconds. Views MPLS view Default command level 2: System level Parameters timevalue: Hello interval in the range of 1 to 60 seconds. Usage guidelines Before configuring this command, enable the hello mechanism in MPLS view. Examples # Set the hello interval to 5 seconds.
Related commands mpls rsvp-te keep-multiplier mpls rsvp-te timer retransmission Use mpls rsvp-te timer retransmission to enable RSVP message retransmission. Use undo mpls rsvp-te timer retransmission to restore the default. Syntax mpls rsvp-te timer retransmission { increment-value [ increment-value ] | retransmit-value [ retrans-timer-value ] } * undo mpls rsvp-te timer retransmission Default RSVP message retransmission is disabled.
Syntax mpls te undo mpls te Default MPLS TE is disabled. Views MPLS view, interface view Default command level 2: System level Usage guidelines When executed in MPLS view, the mpls te command enables MPLS TE globally and its undo form disables MPLS TE and removes all CR-LSPs. When executed in interface view, the mpls te command enables MPLS TE on an interface and its undo form disables MPLS TE and removes all CR-LSPs on the interface. Enable MPLS TE globally before you enable MPLS TE on an interface.
Default command level 2: System level Parameters properties: Link properties affinity attribute of the tunnel, a 32-bit integer in the range of 0x0 to 0xFFFFFFFF. Each affinity bit represents a property with a value of 1 or 0. mask-value: 32-bit mask comprising 0s and 1s, in the range of 0x0 to 0xFFFFFFFF. This mask is used when ANDing the link affinity attribute with the link administrative group attribute.
seconds: Automatic bandwidth adjustment/information collection interval in the range of 300 to 604800 seconds. This value cannot be less than the sampling interval configured by the mpls te timer auto-bandwidth command. max-bandwidth: Upper limit for bandwidth tuning, in the range of 1 to 32000000 kbps. min-bandwidth: Lower limit for bandwidth tuning, in the range of 1 to 32000000 kbps.
The mpls te backup command cannot be used together with the mpls te reoptimization, mpls te auto-bandwidth adjustment, and mpls te resv-style ff commands. Examples # Enable hot backup for Tunnel0. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te backup hot-standby mpls te backup bandwidth Use mpls te backup bandwidth to configure the total bandwidth and type of LSP that the bypass tunnel can protect. Use undo mpls te backup bandwidth to remove the configuration.
Examples # Configure tunnel 0 to provide protection for LSPs of CT 0 without constraining the bandwidth to be protected. Configure tunnel 1 to provide protection for LSPs of CT 1 and protect up to 1000 kbps bandwidth.
mpls te bandwidth change thresholds Use mpls te bandwidth change thresholds to set the IGP flooding thresholds that apply when bandwidth resources are increasing and decreasing. Use undo mpls te bandwidth change thresholds to restore the default. Syntax mpls te bandwidth change thresholds { down | up } percent undo mpls te bandwidth change thresholds { down | up } Default The IGP flooding thresholds in both up and down directions are 10.
Default command level 2: System level Parameters discriminator: Specifies the discriminator values of the BFD session. local local-id: Specifies the local discriminator value of the BFD session, in the range of 1 to 4096. remote remote-id: Specifies the remote discriminator value of the BFD session, in the range of 1 to 4294967295. Usage guidelines Enable LSP verification by using the mpls lspv command first before executing the mpls te bfd enable command.
mpls te cspf Use mpls te cspf to enable CSPF. Use undo mpls te cspf to disable CSPF. Syntax mpls te cspf undo mpls te cspf Default CSPF is disabled. Views MPLS view Default command level 2: System level Usage guidelines Before enabling CSPF, enable MPLS TE in MPLS view. CSPF provides an approach to path selection in MPLS domains. You must enable CSPF to establish an MPLS TE tunnel through dynamic signaling. You must enable CSPF before configuring other CSPF related functions.
Parameters timer-interval: Value of the failed link timer, in the range of 0 to 300 seconds. The default is 10 seconds. Usage guidelines The failed link timer starts once a link goes down. If the IGP removes or modifies the link before the timer expires, CSPF updates information about the link in TEDB and stops the timer. If the IGP does not remove or modify the link before the timer expires, the state of the link in TEDB will change to up. Examples # Set the failed link timer to 50 seconds.
Related commands mpls te ds-te mode mpls te ds-te ietf te-class Use mpls te ds-te ietf te-class to configure a TE class mapping, or, the association of a TE class, CT, and preemption priority. Use undo mpls te ds-te ietf te-class to restore the default for a TE class mapping.
When using the undo mpls te ds-te ietf te-class command, make sure that the CT and preemption priority of the TE class mapping to be restored to are not those of an existing TE class mapping. After a TE class is modified, the device will notify the IGP to re-advertise the bandwidth information for all TE interfaces, and will remove and then re-establish the CR-LSPs of the TE class on all TE interfaces. Examples # Associate TE class 7, CT 2, and preemption priority 3 in the IETF mode.
Syntax mpls te fast-reroute undo mpls te fast-reroute Default FRR is disabled. Views Tunnel interface view Default command level 2: System level Usage guidelines This command is not supported when the signaling protocol is CR-LDP. After FRR is enabled, the record route flag is automatically set to record reroute with label, whether the mpls te record-route label command is configured or not. Disable FRR before configuring the mpls te record-route command or its undo form.
A bypass tunnel cannot be used for services like VPN at the same time. When you specify a bypass tunnel, make sure that: • The state of the tunnel is up. • The protected interface is not the outgoing interface in the route entries for the LSP of the bypass tunnel. Examples # Use tunnel 0 as the bypass tunnel to protect the link connected to interface GigabitEthernet 2/1/1.
Syntax mpls te igp advertise [ hold-time value ] undo mpls te igp advertise Default IGP does not advertise MPLS TE tunnels to IGP neighbors. Views Tunnel interface view Default command level 2: System level Parameters hold-time value: Sets the delay that IGP waits to notify IGP neighbors of the down event of the TE tunnel, in the range of 0 to 4294967295 milliseconds. The default is 0 milliseconds.
Usage guidelines You can configure a metric, either absolute or relative, for a tunnel to be used as an IGP shortcut or a forwarding adjacency. If it is absolute, the metric is directly used for path calculation. If it is relative, the cost of the corresponding IGP path must be added to the metric for path calculation. Examples # Assign MPLS TE tunnel 0 a relative metric of –1 for path calculation in IGP shortcut or forwarding adjacency mechanism.
Syntax mpls te link administrative group value undo mpls te link administrative group Default The link administrative group attribute is 0x00000000. Views Interface view Default command level 2: System level Parameters value: Link administrative group attribute, in the range of 0x00000000 to 0xFFFFFFFF. It is a set of 32 link properties. Each bit represents a property with a value of 0 or 1.
Examples # Configure the node to perform loop detection when setting up tunnel 0. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te loop-detection mpls te max-link-bandwidth Use mpls te max-link-bandwidth to configure the maximum bandwidth for the link to forward MPLS TE traffic. Use undo mpls te max-link-bandwidth to restore the default.
Default Both BC 0 and BC 1 is 0 kbps. Views Interface view Default command level 2: System level Parameters bandwidth-value: Maximum reservable bandwidth of the link, or, the value of BC 0. It is in the range of 1 to 32000000 kbps. bc1 bc1-bandwidth: Value of BC 1, in the range of 1 to 32000000 kbps.
bc1 bc1-bandwidth: Value of BC 1, in the range of 1 to 32000000, in kbps. By default, BC 1 is 0. bc2 bc2-bandwidth: Value of BC 2, in the range of 1 to 32000000, in kbps. By default, BC 2 is 0. bc3 bc3-bandwidth: Value of BC 3, in the range of 1 to 32000000, in kbps. By default, BC 3 is 0. Usage guidelines The maximum reservable bandwidth of the link must be lower than or equal to the maximum bandwidth of the link. Each BC must be lower than or equal to the maximum reservable bandwidth of the link.
Usage guidelines The value of BC 0 (bandwidth-value) must be greater than or equal to that of BC 1 (bc1-bandwidth). The value of BC 1 (bc1-bandwidth) must be greater than or equal to that of BC 2 (bc2-bandwidth). The value of BC 2 (bc2-bandwidth) must be greater than or equal to that of BC 3 (bc3-bandwidth). The bandwidth constraints configured by this command are used only for MPLS TE traffic. Examples # Set BC 0 in IETF RDM model to 500 kbps, BC 1 to 400 kbps, BC 2 to 300 kbps, and BC 3 to 100 kbps.
Syntax mpls te path { dynamic | explicit-path path-name } preference value undo mpls te path { dynamic | explicit-path path-name } Default A tunnel uses the dynamically calculated path. Views Tunnel interface view Default command level 2: System level Parameters dynamic: Uses the path that is dynamically calculated. explicit-path path-name: Uses an existing explicit path. The pathname argument is a case-insensitive string of 1 to 31 characters. preference value: Specifies the preference of the path.
In tunnel interface view, no link metric type is specified for path calculation. Views MPLS view, tunnel interface view Default command level 2: System level Parameters igp: Uses the IGP metric for tunnel path calculation. te: Uses the TE metric for tunnel path calculation. Usage guidelines A tunnel prefers the link metric type specified in the tunnel interface view. If no link metric type is specified in tunnel interface view, the configuration in MPLS view is used.
Default command level 2: System level Parameters -a source-ip: Specifies the source IP address of MPLS Echo Request messages. By default, the MPLS LSR ID is used as the source address of MPLS Echo Request messages. -exp exp-value: Specifies the EXP value of the label. The value range for the exp-value argument is 0 to 7, and the default is 0. -h ttl-value: Specifies the maximum TTL value for MPLS Echo Request messages. The value range for the ttl-number argument is 1 to 255, and the default is 30.
Default command level 2: System level Parameters setup-priority: Setup priority of the tunnel, in the range of 0 to 7. A lower numerical number indicates a higher priority. hold-priority: Holding priority of the tunnel, in the range of 0 to 7. A lower numerical number indicates a higher priority. If not configured, it is the same as the setup priority.
Use undo mpls te reoptimization to disable reoptimization on the tunnel. Syntax mpls te reoptimization [ frequency seconds ] undo mpls te reoptimization Default Reoptimization is disabled. Views Tunnel interface view Default command level 2: System level Parameters frequency seconds: Specifies reoptimization frequency in the range of 1 to 604800 seconds. The default is 3600 seconds, or 1 hour.
Syntax mpls te resv-style { ff | se } undo mpls te resv-style Default The resource reservation style is SE. Views Tunnel interface view Default command level 2: System level Parameters ff: Sets the resource reservation style to fixed filter (FF). se: Sets the resource reservation style to shared explicit (SE). Usage guidelines You can configure FF and SE only when the signaling protocol is set to RSVP-TE. Examples # Adopt the FF reservation style when setting up the CR-LSP tunnel for TE tunnel 0.
Examples # Set the maximum number of tunnel setup retries to 20. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te retry 20 Related commands mpls te timer retry mpls te route-pinning Use mpls te route-pinning to enable route pinning. Use undo mpls te route-pinning to restore the default. Syntax mpls te route-pinning undo mpls te route-pinning Default Route pinning is disabled.
Default command level 2: System level Parameters rsvp-te: Sets the signaling protocol for MPLS TE tunnel establishment to RSVP-TE. crldp: Sets the signaling protocol for MPLS TE tunnel establishment to CR-LDP. static: Sets up the tunnel using a static CR-LSP. Usage guidelines To use RSVP-TE as the signaling protocol for setting up the MPLS TE tunnel, you must enable both MPLS TE and RSVP-TE on each interface for the tunnel to use.
The IETF DS-TE supports only random path selection. Examples # Configure tunnels to use the paths with the least bandwidth usage ratio. system-view [Sysname] mpls [Sysname-mpls] mpls te tie-breaking least-fill # Configure tunnel 0 to use the path with the least bandwidth usage ratio.
mpls te timer fast-reroute Use mpls te timer fast-reroute to set the FRR polling timer. Use undo mpls te timer fast-reroute to restore the default setting. Syntax mpls te timer fast-reroute [ seconds ] undo mpls te timer fast-reroute Default The FRR polling timer is 300 seconds. Views MPLS view Default command level 2: System level Parameters seconds: FRR polling timer setting for the point of local repair (PLR) to poll available bypass tunnels for the best one.
Parameters Interval: Interval for advertising bandwidth, in the range of 0 to 3600, in seconds. Usage guidelines The interval specified by this command is that at which the system will periodically advertise interface bandwidth if the bandwidth changes are within the specified threshold. To set the interval to 0 means to disable the bandwidth advertisement function. The minimal valid interval is 30 seconds. If you set the interval to a value less than 30, the system takes 30 seconds as the interval.
mpls te tunnel-id Use mpls te tunnel-id to configure the tunnel ID. Syntax mpls te tunnel-id tunnel-id Views Tunnel interface view Default command level 2: System level Parameters tunnel-id: Specifies a tunnel ID. For the value range, see the matrix table in the Usage guidelines.
Default command level 2: System level Parameters acl acl-number: Configures the MPLS TE tunnel to forward only VPN traffic that matches the specified ACL. The ACL number is in the range of 3000 to 3999. vpn-instance vpn-instance-name: Configures the MPLS TE tunnel to forward only traffic of the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters.
Usage guidelines For an OSPF area to support the MPLS TE capability, its OSPF process must be available with the opaque LSA capability. Examples # Enable the MPLS TE capability in OSPF area 1. system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] mpls-te enable Related commands opaque-capability next hop Use next hop to define a node on the explicit path.
Related commands delete hop opaque-capability Use opaque-capability to enable the opaque LSA capability for the OSPF process to generate and receive from its neighbors Opaque LSAs. Use undo opaque-capability to restore the default. Syntax opaque-capability enable undo opaque-capability Default The opaque LSA capability of OSPF is disabled. Views OSPF view Default command level 2: System level Parameters enable: Enables the opaque LSA capability. Examples # Enable the opaque LSA capability of OSPF.
-exp exp-value: Specifies the EXP value for the Echo Request messages. The value range for the exp-value argument is 0 to 7, and the default is 0. -h ttl-value: Specifies the TTL value for the Echo Request messages. The value range for the ttl-value argument is 1 to 255, and the default is 255. -m wait-time: Specifies the interval for sending Echo Request messages. The value range for the wait-time argument is 1 to 10000 milliseconds, and the default is 200 milliseconds.
interface: Clears statistics about RSVP-TE for all interfaces. interface interface-type interface-number: Specifies an interface by its type and number. If an interface is specified, the command clears the statistics about RSVP-TE for the interface. Examples # Clear statistics about global RSVP-TE. reset mpls rsvp-te statistics global reset mpls te auto-bandwidth adjustment timers Use reset mpls te auto-bandwidth adjustment timers to reset the automatic bandwidth adjustment function.
incoming-interface interface-type interface-number: Specifies the incoming interface. in-label in-label-value: Specifies the incoming label, which can be a value of 0, 3, or 16 through 1023. bandwidth: Specifies the class type (CT) for static CR-LSP traffic. ct0: Specifies CT 0 for static CR-LSP traffic. ct1: Specifies CT 1 for static CR-LSP traffic. ct2: Specifies CT 2 for static CR-LSP traffic. ct3: Specifies CT 3 for static CR-LSP traffic.
nexthop next-hop-addr: Specifies the next hop address. outgoing-interface interface-type interface-number: Specifies an outgoing interface for the static CR-LSP. out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, or 16 through 1023. bandwidth: Specifies the class type (CT) for static CR-LSP traffic. ct0: Specifies CT 0 for static CR-LSP traffic. ct1: Specifies CT 1 for static CR-LSP traffic. ct2: Specifies CT 2 for static CR-LSP traffic.
in-label in-label-value: Specifies the incoming label in the range of 16 to 1023. nexthop next-hop-addr: Specifies the next hop address. outgoing-interface interface-type interface-number: Specifies an outgoing interface for the static CR-LSP. out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, or 16 through 1023. bandwidth: Specifies the class type (CT) for static CR-LSP traffic. ct0: Specifies CT 0 for static CR-LSP traffic. ct1: Specifies CT 1 for static CR-LSP traffic.
Examples # Enable the device to collect statistics on the RSVP-TE tunnel whose ingress node's LSR ID is 2.2.2.2 and tunnel ID is 100. system-view [Sysname] mpls [Sysname-mpls] statistics te 2.2.2.2 100 Related commands • display mpls statistics lsp • display mpls statistics lsp in-label • display mpls statistics tunnel te-set-subtlv Use te-set-subtlv to configure the sub-TLVs carrying the DS-TE parameters.
Related commands display isis traffic-eng sub-tlvs tracert lsp te Use tracert lsp te to locate errors of MPLS TE tunnels. Syntax tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode |-t time-out ] * te interface-type interface-number Views Any view Default command level 0: Visit level Parameters -a source-ip: Specifies the source IP address of the Echo Request messages. -exp exp-value: Specifies the EXP value for the Echo Request messages.
traffic-eng Use traffic-eng to enable IS-IS TE. Use undo traffic-eng to restore the default. Syntax traffic-eng [ level-1 | level-1-2 | level-2 ] undo traffic-eng [ level-1 | level-1-2 | level-2 ] Default IS-IS TE is disabled. Views IS-IS view Default command level 2: System level Parameters level-1: Enables Level-1 IS-IS TE. level-1-2: Enables Level-1-2 IS-IS TE. level-2: Enables Level-2 IS-IS TE. NOTE: If no level is specified, IS-IS TE applies to Level-1-2.
MPLS L2VPN configuration commands ccc interface in-label out-label Use ccc interface in-label out-label to create a remote Circuit Cross Connect (CCC) connection between CEs connected to different PEs. Use undo ccc to delete a CCC connection.
example, a link connecting to a Layer 3 Ethernet interface, VLAN interface, or Layer 3 aggregate interface, you must use the nexthop keyword to specify the IP address of the next hop. Examples # Create a remote CCC connection from CEA to CEB, setting the incoming interface to that connecting CEA, the outgoing interface to that connecting the P router, the incoming label to 100, and the outgoing label to 200.
Syntax ce ce-name [ id ce-id [ range ce-range ] [ default-offset default-offset ] ] undo ce ce-name Views MPLS L2VPN view, MPLS L2VPN CE view Default command level 2: System level Parameters ce-name: Specifies the name that uniquely identifies a CE in the current VPN of the current PE, a case-insensitive string of 1 to 20 characters that cannot include hyphens (-). id ce-id: Specifies an ID for the CE in the VPN. The value range for the ce-id argument varies by device model.
interface interface-type interface-number: Specifies the interface connecting the local CE. The encapsulation type must be same as that of the VPN. VLAN interfaces are not supported. tunnel-policy tunnel-policy-name: Specifies a tunneling policy for the virtual circuit (VC), a string of 1 to 19 characters. Usage guidelines When creating a Kompella connection on a PE, you must specify the ID of the peer CE and the PE's interface connected to the local CE.
32-bit AS number:16-bit user-defined number, such as 65536:1. In this format, the minimum value of the AS number is 65536. • ce-id ce-id: Specifies the ID of the peer CE, in the range of 0 to 499. label-offset label-offset: Specifies the label offset in the range of 0 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
3.3.3.9 4 100 0 0 0 0 00:01:07 Active Table 65 Command output Field Description BGP local router ID ID of the local BGP router. Peers in established state Number of peers with BGP sessions in the state of established. Peer IP address of the peer. V BGP version that the peer is using. AS AS number. 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.
Table 66 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type. BGP current state Current status of the BGP session: Idle, Connect, Active, OpenSent, OpenConfirm, and Established. BGP current event Current event of the BGP session. BGP last state Last status of the BGP session. Port Ports used by the BGP session, one is local or the other remote. Configured Timers locally configured.
Table 67 Command output Field Description Route origin codes: • i – IGP—The network layer reachability information is from within the AS. Origin codes • e – EGP—The network layer reachability information is learned through EGP. • ? – incomplete—The network layer reachability information is learned through other ways. bgp.l2vpn Number of remote CEs in the BGP L2VPN. CE ID CE number in the VPN. nexthop IP address of the next hop. pref Preference. as-path AS-PATH of the route.
132097 up 132098 down 132099 down 132100 down 132101 down 132102 down 132103 down 132104 down 132105 down Table 69 Command output Field Description Route origin codes: • i – IGP—The network layer reachability information is from within the AS. Origin codes • e – EGP—The network layer reachability information is learned through EGP. • ? – incomplete—The network layer reachability information is learned through other ways. nexthop IP address of the next hop. pref Preference.
|: 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.
Field Description Remote ccc vc Number of remote CCC connections, and number of remote CCC connections in up state. Name Name of the CCC connection. Type Type of the CCC connection. State Status of the CCC connection. Intf Interface of the CCC connection, and the interface state. In-label Incoming label. Out-label Outgoing label. Nexthop IP address of the next hop.
Usage guidelines This command does not display the interface information for the VCs created for service instances. Examples # Display interface information for all types of VCs.
Field Description State Status of the interface. VC Type Implementation mode of the VC: CCC, Martini (LDP-VC), Kompella (BGP-VC), or SVC (static-VC). display mpls l2vc Use display mpls l2vc to display information about Martini VCs configured on the device.
Table 72 Command output Field Description Total ldp vc Total number of Martini VCs. Transport VC ID Remote VC ID. Client Intf Interface connected with the CE. # Display information about the Martini VC configured using service instance 100 on interface Ten-GigabitEthernet 2/0/1. display mpls l2vc interface Ten-GigabitEthernet 2/0/1 service-instance 100 ***VC ID : 10000000 VC State : up Destination : 1.1.1.
Tunnel Policy : - Tunnel Type : lsp Tunnel ID : 0x220020 Table 73 Command output Field Description VC ID Remote VC ID. VC State Status of the VC. Destination Destination IP address. CEM Class CEM class referenced by the interface. Jitter Buffer Size In milliseconds. Payload Size Size of the payload of a packet, in bytes. Idle Code Padding string to be used in case of packet loss. Client Intf Interface connected to the CE. Local Group ID Local VC group ID.
display mpls l2vpn Use display mpls l2vpn to display information about L2VPNs configured on a PE. Syntax display mpls l2vpn [ export-route-target-list | import-route-target-list | vpn-name vpn-name [ local-ce | remote-ce ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters export-route-target-list: Displays the export route target list. import-route-target-list: Displays the import route target list.
Table 76 Command output Field Description VPN Number Number of created VPNs. vpn-name Name of the MPLS L2VPN. encap-type VC type. mtu Maximum transmission unit. ce(L) Number of local CEs. ce(R) Number of remote CEs. # Display information about L2VPN vpn1.
Field Description LB Label block, including the label base, label-block offset, and label range. # Display information about remote CEs of L2VPN vpn1. display mpls l2vpn vpn-name vpn1 remote-ce no. ce-id peer-id route-distinguisher LB 1 4 100:1 132096/0/10 3.3.3.9 Table 79 Command output Field Description no Sequence number. ce-id CE ID. peer-id IP address of the peer. LB Label block.
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. Usage guidelines If you do not specify any parameter, the command displays information about all Kompella VCs. Examples # Display information about all Kompella VCs.
# Display information about Kompella VCs on interface Serial 2/1/0. display mpls l2vpn connection interface Serial 2/1/0 ***Conn-type : remote Local vc state : up Remote vc state : up Local ce-id : 1 Local ce name : ce1 Remote ce-id : 4 Intf(state,encap) : Serial2/1/0 (up,ppp) Peer id : 3.3.3.
Table 82 Command output Field Description connections Connection statistics, including the number of connections in up state, the number of connections in down state, the number of local connections, the number of remote connections, and the number of unknown connections. No. Sequence number. vpn-name Name of the MPLS L2VPN. local-num Number of local connections. remote-num Number of remote connections. unknown-num Number of unknown connections. up-num Number of connections that are up.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines • If you specify an interface but do not specify a service instance, the command displays the AC entries of the VCs created on the Layer 3 interface. • If you specify both an interface and a service instance, the command displays the AC entries of the VCs created for the service instance on the Layer 2 interface.
Field Description Number of bytes sent by the AC. OutBytes This field is displayed only when outbound traffic statistics is enabled for the service instance. display mpls l2vpn fib pw vpws Use display mpls l2vpn fib pw vpws to display pseudowire (PW) entry information for the MPLS L2VPN.
Examples # Display PW information for the MPLS L2VPN. display mpls l2vpn fib pw vpws Total PW Entry:1 In Interface ServiceID InVCLabel OutVCLabel TunnelID -------------------------------------------------------------GigabitEthernet2/1/0 1000 1000 1002 0x878ad000 Table 84 Command output Field Description Total PW Entry Total number of VPWS PW entries, which is displayed only when you display all VPWS PW entries. In Interface Incoming interface, which is bound to L2VPN.
In VC Label : 1216 Out VC Label : 3760 Packets received : 0 Receives discarded : 0 Packets sent : 0 Sends discarded : 0 Tunnel ID : 0xd2000(Done) GRCount:2 SIG In VC Label : 1217 SIG Out VC Label : 3761 Packets received : 0 Receives discarded : 0 Packets sent : 0 Sends discarded : 0 Tunnel ID : 0xd2000(Done) GRCount:2 Table 85 Command output Field Description Total PW Entry Total number of VPWS PW entries, which is displayed only when you display all VPWS PW entries.
Field Description Sends discarded Number of outgoing signaling packets dropped by the PW. Tunnel ID Public tunnel ID and entry state of signaling packets. The entry state can be Done or Waiting. GRCount: Number of times that GR occurs. Backup PW Information about the backup PW. display mpls static-l2vc Use display mpls static-l2vc to display information about static virtual circuits (SVCs) created on the device.
Vlan23 up -- -- 23 24 Table 86 Command output Field Description total connections Connections statistics, including the total number of static VCs, and the number of static VCs in up, down, and blocked state. ce-intfe Interface connected to the CE. state VC state: up, down, or blocked. VCID ID of the VC. SRVID ID of the service instance of the VC. tr-label Outgoing label—Label used when sending VPN packets. rcv-label Incoming label—Label used when receiving VPN packets.
Field Description Idle Code Padding string to be used in case of packet loss. VC State Data VC and signaling VC state: up, down, or blocked. Destination Destination IP address of the VC. VC ID VC IDs of the data VC and signaling VC. Transmit-vpn-label Outgoing label—Label used by the data VC and signaling VC to send VPN packets. Receive-vpn-label Incoming label—Label used by the data VC and signaling VC to receive VPN packets. Tunnel Type Type of the tunnel: LSP, CR-LSP, or GRE.
1025 VLAN abc 1026 VLAN - # Display information about the PW class named 1234. display pw-class 1234 PW-class name Transport mode Tunnel policy Reference count 1234 Ethernet abc 0 Table 88 Command output Field Description Tunnel policy Name of the tunneling policy used by the PW class. If no tunneling policy is specified for the PW class, this field displays a hyphen (-). Reference count Number of times that the PW class is referenced.
display service-instance interface Ten-gigabitethernet 1/0/1 service-instance 100 Service instance : 100 Encapsulation : c-vid 20 Rewrite inbound tag : remark 1-to-1 c-vid 30 Rewrite outbound tag : remark 1-to-1 c-vid 20 Local group : 1 Table 89 Command output Field Description Service instance ID of the service instance. Encapsulation Packet matching rule, which is based on VLAN tags.
The packet matching rule you configured overwrites the previous configuration, if any. You cannot modify the packet matching rule configured for a service instance if any of the following conditions is true: • The modification conflicts with a packet processing rule. • The service instance has set up local switching with another service instance after being associated with the same local switching group. • The forwarding mode in the current service instance is MPLS L2VPN.
Syntax l2vpn-family undo l2vpn-family Views BGP view Default command level 2: System level Examples # Enter BGP L2VPN address family view. system-view [Sysname] bgp 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] mpls l2vc Use mpls l2vc to create a Martini VC on a PE-CE interface of a PE. Use undo mpls l2vc to delete the Martini VC on the interface.
backup-tunnel-policy tunnel-policy-name: Specifies the tunneling policy for the backup VC. The tunneling policy name is a case-insensitive string of 1 to 19 characters. revertive: Enables support for switchback. With this keyword specified, when the primary VC recovers, traffic is switched from the backup VC back to the primary VC automatically. If you do not specify this keyword, traffic will not be switched back automatically. wtr-time wtr-time: Specifies the switchback delay time.
After you execute this command, if the VC has an available primary or backup VC, the device switches traffic from the VC to the primary or backup VC. Otherwise, the device does not switch traffic. Examples # Assume that a primary VC and a backup VC are created on interface GigabitEthernet 2/1/1. Switch traffic from the currently active VC to the standby VC on the interface.
Default command level 2: System level Parameters vpn-name: Specifies a name for the L2VPN, a case-insensitive string of 1 to 31 characters that cannot contain hyphens (-). The name uniquely identifies an L2VPN on a PE. encapsulation: Specifies the VC type. atm-aal5: Uses ATM AAL5 transparent transport encapsulation. ethernet: Uses Ethernet encapsulation. fr: Uses FR encapsulation. hdlc: Uses HDLC encapsulation. ppp: Uses PPP encapsulation. vlan: Uses VLAN encapsulation.
Views Interface view Default command level 2: System level Parameters destination: Specifies the IP address of the peer PE. vc-id: Specifies an ID for the VC, in the range of 1 to 4294967295. control-word: Enables the control word function. ethernet: Specifies the VC type as Ethernet. no-control-word: Disables the control word function. vlan: Specifies the VC type as VLAN.
[Sysname-Serial2/1/0-static-l2vc] Related commands tunnel-policy mpls static-l2vc (for ordinary SVC) Use mpls static-l2vc to create a static VC between CEs connected to different PEs. Use undo mpls static-l2vc to delete the static VC.
Examples # Create a static VC to the peer PE 1.1.1.1, and specify the outgoing VC label as 111, incoming VC label as 222, and the tunneling policy as pol1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mpls static-l2vc destination 1.1.1.1 transmit-vpn-label 111 receive-vpn-label 222 tunnel-policy pol1 mpls static-l2vc switchover Use mpls static-l2vc switchover to switch traffic from the active VC to the standby VC manually.
Default command level 2: System level Parameters mtu-value: Specifies the MTU for the L2VPN, in the range of 128 to 1500. Usage guidelines HP does not recommends not using the mtu command, because it affects only parameter negotiations between PEs and does not instruct traffic forwarding. Examples # Set the MPLS L2VPN MTU to 1000. system-view [Sysname] mpls l2vpn vpn1 [Sysname-mpls-l2vpn-vpn1] mtu 1000 pw-class Use pw-class to create a PW class and enter PW class view.
pw-tunnel-policy Use pw-tunnel-policy to specify the tunneling policy for a PW class. Use undo pw-tunnel-policy to restore the default. Syntax pw-tunnel-policy policy-name undo pw-tunnel-policy Default Only one tunnel is selected (no load balancing) in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel. Views PW class view Default command level 2: System level Parameters policy-name: Specifies the name of a tunneling policy, a case-insensitive string of 1 to 19 characters.
all: Resets all L2VPN BGP sessions. external: Resets L2VPN EBGP sessions. internal: Resets L2VPN IBGP sessions. Examples # Reset all L2VPN BGP sessions. reset bgp l2vpn all route-distinguisher (MPLS L2VPN view) Use route-distinguisher to configure an RD for the VPN. Syntax route-distinguisher route-distinguisher Views MPLS L2VPN view Default command level 2: System level Parameters route-distinguisher: Specifies the RD in the format of nn:nn or IP-address:nn.
Use undo service-instance to delete a service instance on the current interface. Syntax service-instance instance-id undo service-instance instance-id Default No service instances have been created on any interface. Views Interface view Default command level 2: System level Parameters instance-id: Specifies a service instance ID in the range of 1 to 4096. Usage guidelines This command is supported only on routers with SAP-4EXPs. The device can support up to 20480 service instances.
Usage guidelines When you configure a static VC, you must manually specify VC labels for the VC. Make sure VC labels you specify on the local device match those on the remote device. If you do not specify the backup-peer keyword in the mpls static-l2vc command (for main-backup SVC) or in the xconnect static-peer command, the static backup-label command will fail. Examples # Create a primary static VC and a backup static VC for service instance 1.
Usage guidelines When you configure a static VC, you must manually specify VC labels for the VC. Make sure VC labels you specify on the local device match those on the remote device. Examples # Create a primary static VC and a backup static VC for service instance 1. Configure the local VC label as 100 and remote VC label as 200 for the primary VC. (This configuration is supported only on routers with SAP-4EXPs.
vpn-target (MPLS L2VPN view) Use vpn-target to configure route targets for an MPLS L2VPN. Use undo vpn-target to remove the specified or all route targets of an MPLS L2VPN.
Use undo xconnect peer to delete the VCs for a service instance. Syntax xconnect peer peer-ip-address pw-id pw-id [ access-mode { ethernet | vlan } | mtu mtu-value | [ pw-class class-name ] [ backup-peer ip-address backup-pw-id pw-id [ backup-pw-class class-name | revertive [ wtr-time wtr-time ] ] * ] ] * undo xconnect peer Views Service instance view Default command level 2: System level Parameters peer-ip-address: Specifies the IP address of the remote peer.
• VLAN mode—The Ethernet packets sent from a CE to a PE carry a VLAN tag. The PE treats the VLAN tag as a P-Tag, which is a service delimiter that the service provider adds to the packets to identify the user. The PE also adds a P-tag into the packets to be sent to the CE. • Ethernet mode—If the Ethernet packets sent from a CE to a PE contain a VLAN tag, the PE treats the VLAN tag as a U-Tag, which is the VLAN tag of the user network.
xconnect static-peer Use xconnect static-peer to create primary and backup static VCs for a service instance, and enter static-xpeer view. Use undo xconnect static-peer to delete the static VCs for a service instance.
Usage guidelines This command is supported only on routers with SAP-4EXPs. After you enter the static-xpeer view, you can configure VC labels for the primary and backup VCs. The access mode refers to how a PE treats the outer VLAN tag carried in packets received from a CE, and how the PE sends packets to the CE. Two access modes are available: • VLAN mode—The Ethernet packets sent from a CE to a PE carry a VLAN tag.
Example # Assume that a primary static VC and a backup static VC are established for service instance 10. Switch traffic from the currently active VC to the standby VC.
VPLS configuration commands bandwidth Use bandwidth to set the upper speed limit of a VPLS instance. Use undo bandwidth to restore the default. Syntax bandwidth vpn-speed undo bandwidth Default The upper speed limit of a VPLS instance is 102400 kbps. Views VSI view Default command level 2: System level Parameters vpn-speed: Specifies the upper speed limit of the VPLS instance in kbps, in the range of 64 to 4194303.
Default The broadcast suppression ratio for a VPLS instance is 5. Views VSI view Default command level 2: System level Parameters vpn-speed: Specifies the upper speed limit of the VPLS instance in kbps, in the range of 64 to 4194303. The system automatically calculates a speed that is the greatest multiple of 64 kbps between 64 and the specified value.
[Sysname-vsi-aaa] description Aaa_Technologies_Co._Ltd. display bgp vpls Use display bgp vpls to display the VPLS information in a BGP routing table.
Table 90 Command output Field Description BGP Local Router ID Router ID of the local BGP router. Local AS number Number of the local AS. Route origin codes. Valid values include: • i - IGP—The route is learned from within the AS. • e - EGP—The route is learned through EGP. • ? - incomplete—The route is learned in any other way. Origin codes BGP.VPLS Number of BGP VPLS. SITE ID ID of a site in the VPLS instance. LB Offset Label offset value. LB Size Size of the label block.
Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 91 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type. BGP version 4 BGP version information. remote router ID IP address of the remote router. BGP current state Current status of the BGP session. BGP current event Current event of the BGP session.
Field Description Optional capabilities: Connect-interface has been configured Optional capabilities. In this example, route refresh capability is enabled, and the directly connected interface is configured. Peer Preferred Value Peer preference value. BFD Whether BFD is enabled for the peer. Routing policy configured Routing policy configured for the peer. Route refresh capability has been enabled # Display the VPLS information for RD 100:1 in the BGP routing table.
The following table gives the description on the fields of the display bgp vpls route-distinguisher site-id label-offset command. Table 93 Command output Field Description BGP Local router ID Router ID of the local BGP router. local AS number Number of the local AS. Route origin codes. Valid values include: Origin codes • i - IGP—The route is learned from within the AS. • e - EGP—The route is learned through EGP. • ? - incomplete—The route is learned in any other way.
Views Any view Default command level 1: Monitor level Parameters vsi-name: Specifies the name of the VPLS instance, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. blackhole: Specifies the black hole MAC forwarding entries. dynamic: Specifies the dynamic MAC forwarding entries. static: Specifies the static MAC forwarding entries. count: Specifies the number of MAC forwarding entries. |: Filters command output by specifying a regular expression.
Field Description AGING TIME Whether the MAC address of the VPLS instance might get aged, AGING or NOAGING. XX mac address(es) found Total number of MAC addresses in the MAC address table of the VPLS instance. Related commands • vsi • mac-address (Layer 2—LAN Switching Command Reference) display mpls l2vpn fib ac vpls Use display mpls l2vpn fib ac vpls to display the AC entry information for VPLS instances.
Usage guidelines • If you specify an interface, the command displays the AC entries of the VPLS connection created on the Layer 3 interface. • If you do not specify any parameter, the command displays the AC entries of all VPLS connections. Examples # Display AC entry information for all VPLS instances.
Field Description In Interface Incoming interface—the interface bound to an L2VPN. Link ID Link ID of an AC in the VPLS instance. Access Mode Access mode at the AC side. CE Type Interface encapsulation type at the AC side: PortVlan or Independent. AC Encapsulation Encapsulation VLAN information at the AC side. GR Count Number of times that GR occurs. display mpls l2vpn fib pw vpls Use display mpls l2vpn fib pw vpls to display the PW entry information for one or all VPLS instances.
display mpls l2vpn fib pw vpls Total VSI Entry:1 VSI Name VSI Index Total PW Entry:1 Link ID InVCLabel OutVCLabel TunnelID -------------------------------------------------------------vsi1 1 1 1000 1002 0x878ad000 Table 97 Command output Field Description Total VSI Entry Total number of VSI entries, which is displayed only when you display all VPLS PW entries. Total PW Entry Total number of VPLS PW entries, which is displayed only when you display all VPLS PW entries.
Field Description In VC Label Incoming VC label. Out VC Label Outgoing VC label. Local MTU Maximum transmission unit configured on the local PE. Role PW role: Main, Backup, or Normal. State PW state: Active or Standby. Dual Link ID Link ID of the other PW, which is displayed when primary and backup PWs exist in the VPLS instance. Fast Switch Group ID PW group ID. Public tunnel ID and entry state (Done or Waiting). Tunnel ID GRCount indicates the number of times that GR occurs.
1234 Ethernet abc 1025 VLAN abc 1026 VLAN - Table 99 Command output Field Description Transport mode PW transport mode. Tunnel policy Name of the tunneling policy used by the PW class. If no tunneling policy is specified for the PW class, this field displays a hyphen (-). display vpls connection Use display vpls connection to display information about VPLS connections.
Total 2 connection(s), connection(s): 2 up, 0 block, 0 down VSI Name: aaa Signaling: ldp, static VsiID VsiType PeerAddr InLabel OutLabel LinkID VCState 500 ethernet 1.1.1.9 1024 1024 1 up 500 ethernet 2.2.2.9 100 200 2 up Table 100 Command output Field Description VSI Name Name of the VPLS instance. Signaling PW signaling protocol used by the VPLS instance: ldp, bgp, or static. VsiID ID of the VPLS instance.
Field Description Encapsulation Encapsulation type of the VPLS instance: vlan, ethernet, or bgp-vpls. Group ID Displayed as double hyphens (--) for a static VPLS instance. Remote MTU Maximum transmission unit configured on the peer PE. Peer Ip Address IP address of the peer of the VPLS instance. PW type: PW Type • label—NPW, the PW with a PE. • MEHVPLS—UPW, the PW with a UPE. Link ID ID of the PW in the VPLS instance.
Table 102 Command output Field Description Vsi Name Name of the VSI. Peer discovery mechanism of the VSI: Mem Disc • static—The peer must be configured manually. • auto—The peer automatic discovery mechanism is used. PW Type PW signaling protocol, ldp, bgp, or static. Encap Type PW encapsulation type, vlan, ethernet, or bgp-vpls. Mtu Value Maximum transmission unit. Vsi State Status of the VSI, up or down. # Display detailed configuration information for the VPLS instance vsi1.
Remote VC Label : 1024 PW Type : label Tunnel ID : 0x320003 *Peer Ip Address : 1.1.1.1 PW State : up Local VC Label : 100 Remote VC Label : 200 PW Type : label Tunnel ID : 0xc000 # Display detailed configuration information for the VPLS instance vsi2.
Table 103 Command output Field Description VSI Name Name of the VPLS instance. VSI Index Index of the VPLS instance. PW Signaling Type of the PW signaling protocol used by the VPLS instance: ldp, bgp or static. Peer discovery mechanism of the VPLS instance: Member Discovery Style • static—The peer must be specified manually. • auto—The peer automatic discovery mechanism is used. PW MAC Learn Style MAC address learning type, unqualify or qualify.
Field Description Interface Name Name of the Layer 2 Ethernet interface where the service instance associated with the VPLS instance resides. State Status of the Layer 2 Ethernet interface where the service instance associated with the VPLS instance resides. PW type: • label—NPW, the PW with a PE. • MEHVPLS—UPW, the PW with a UPE. PW Type Related commands vsi display vsi remote Use display vsi remote to display information about remote VPLS connections using a specific signaling protocol.
Field Description Peer Router ID ID of the peer. VC Label Label of the VC. Group ID ID of the group. Vsi Type Encapsulation type of the VPLS instance. MTU Value Maximum transmission unit. Vsi Index Index of the VPLS instance. Related commands vsi dual-npe revertive Use dual-npe revertive to enable the PW switchback function and set the switchback delay time. Use undo dual-npe revertive wtr-time to restore the default switchback delay time.
[Sysname-vsi-vpnb] pwsignal static [Sysname-vsi-vpnb-static] dual-npe revertive wtr-time 5 encapsulation Use encapsulation to specify the PW encapsulation type for a VPLS instance. Syntax encapsulation { bgp-vpls | ethernet | vlan } Default The PW encapsulation type of a VPLS instance is VLAN.
access-mode: Specifies the access mode of the VPLS instance, which can be ethernet or vlan. If the interface bound with the VPLS instance is a Layer 3 Ethernet subinterface, the default access mode is vlan; otherwise, the default access mode is ethernet. ethernet: Specifies the access mode of Ethernet. vlan: Specifies the access mode of VLAN.
system-view [Sysname] vsi aaa [Sysname-vsi-aaa] mac-learning enable mac-table limit Use mac-table limit to specify the maximum number of MAC addresses that the device can learn for the VPLS instance. Use undo mac-table limit to restore the default. Syntax mac-table limit mac-limit-number undo mac-table limit Default The maximum number of MAC addresses that the device can learn for a VPLS instance is 16384.
Syntax mac-table limit drop-unknown undo mac-table limit drop-unknown Default The device forwards packets with unknown source MAC addresses after it has learned the maximum number of MAC addresses for the VPLS instance.
[Sysname-vsi-aaa] mtu 1400 multicast-restrain Use multicast-restrain to set the multicast suppression ratio for a VPLS instance. Use undo multicast-restrain to restore the default. Syntax multicast-restrain ratio undo multicast-restrain Default The multicast suppression ratio for a VPLS instance is 100%. Views VSI view Default command level 2: System level Parameters ratio: Specifies the multicast suppression ratio for the VPLS instance, in the range of 1 to 100, in percentage.
Parameters ip-address: Specifies the IP address of the remote VPLS peer PE. pw-class class-name: References a PW class by its name, a case-insensitive string of 1 to 19 characters. pw-id pw-id: Specifies the ID of the PW to the VPLS peer PE, in the range of 1 to 4294967295. The default is VSI ID. upe: Specifies that the peer PE is a UPE in the H-VPLS model. backup-peer ip-address: Specifies the IP address of the backup NPE. If you specify this parameter, you create a primary NPE and a backup NPE on the UPE.
Parameters pw-class-name: Specifies the name of the PW class, a case-insensitive string of 1 to 19 characters. Examples # Create PW class pw100 and enter its view.
Default The tunneling policy specified by the tnl-policy command in VSI view is used. Views PW class view Default command level 2: System level Parameters policy-name: Specifies the name of the tunneling policy, a case-insensitive string of 1 to 19 characters. Usage guidelines If you specify a non-existent tunneling policy in the pw-tunnel-policy command, the tunneling policy specified by the tnl-policy command in VSI view will be used.
reset mac-address vsi Use reset mac-address vsi to clear the MAC address table of a specific VPLS instance or all VPLS instances. Syntax reset mac-address vsi [ vsi-name ] Views User view Default command level 1: Monitor level Parameters vsi-name: Specifies the name of a VPLS instance, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. Examples # Clear the MAC address table of VPLS instance aaa.
Examples # Set the RD to 111:1. system-view [Sysname] vsi aaa [Sysname-vsi-aaa] pwsignal bgp [Sysname-vsi-aaa-bgp] route-distinguisher 111:1 shutdown (VSI view) Use shutdown to shut down the VPLS service of a VPLS instance. Use undo shutdown to restart the VPLS service of a VPLS instance. Syntax shutdown undo shutdown Default The VPLS service of a VPLS instance is started.
Parameters site-id: Specifies the ID of a site of the VPLS instance, in the range of 0 to 64. range site-range: Specifies the site range on a PE. The site-range argument is the total number of sites of a VPLS instance, in the range of 0 to 65. The default is 10. default-offset { 0 | 1 }: Specifies the default initial CE offset. It can be 0 or 1 and defaults to 0. Usage guidelines Sites of a VPLS instance use natural numbers as the site IDs. In a VPN, each site ID must be unique.
[Sysname] vsi vpn1 static [Sysname-vsi-vpn1] pwsignal static [Sysname-vsi-vpn1-static] peer 1.1.1.9 backup-peer 2.2.2.9 backup-pw-id 300 [Sysname-vsi-vpn1-static-1.1.1.9] static label local 100 remote 200 [Sysname-vsi-vpn1-static-1.1.1.9] static backup-label local 200 remote 300 static label (L2VPN peer view) Use static label to configure VC labels for a primary VC. Use undo static label to delete the VC labels configured for the primary VC.
Default No tunneling policy is specified for a VPLS instance and the default tunneling policy is used. The default tunneling policy selects only one tunnel (no load balancing) in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel. Views VSI view Default command level 2: System level Parameters tunnel-policy-name: Name of the tunneling policy for the VPLS instance, a string of 1 to 19 characters without any blank space.
Usage guidelines In Ethernet mode, P-Tag is not transferred on the PW. For a packet from a CE, if it contains the service delimiter, the PE removes the service delimiter and adds a PW label and a tunnel label into the packet before forwarding the packet. Otherwise, the PE adds a PW label and a tunnel label into the packet and then forwards the packet. For a packet to be sent downstream, whether the PE adds the service delimiter into the packet depends on your configuration.
system-view [Sysname] vsi aaa [Sysname-vsi-aaa] unknown-unicast-restrain 50 vpls-family Use vpls-family to enter BGP-VPLS address family view. Syntax vpls-family Views BGP view Default command level 2: System level Examples # Enter BGP-VPLS address family view. system-view [Sysname] bgp 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] vpn-target (VSI BGP view) Use vpn-target to configure one or more VPN targets for a VPLS instance.
• 32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than 65536. For example, 65536:1. both: Uses the specified VPN targets as both import targets and export targets. The both keyword is also used when you do not specify any of both, export-extcommunity, and import-extcommunity. export-extcommunity: Uses the specified VPN targets as export targets. import-extcommunity: Uses the specified VPN targets as import targets. all: Removes all VPN targets.
To create a VSI, you must specify a globally unique name for it, and specify the peer discovery mechanism (by specifying the auto or static keyword). If you specify the peer discovery mechanism as static, you can also enable P2P for the VPLS instance as needed. Before creating a VPLS instance, enable L2VPN and MPLS L2VPN through the l2vpn command and the mpls l2vpn command. Examples # Create VPLS instance aaa, and specify the peer discovery mechanism as static.
# Set the VSI ID to 200 for the static VPLS instance bbb. system-view [Sysname] vsi aaa [Sysname-vsi-aaa] pwsignal static [Sysname-vsi-aaa-static] vsi-id 200 xconnect vsi Use xconnect vsi to associate a VPLS instance with the service instance on a specific interface. Use undo xconnect vsi to remove the association. Syntax xconnect vsi vsi-name [ access-mode { ethernet | vlan } ] * undo xconnect vsi Default A service instance is not associated with any VPLS instance.
[Sysname-GigabitEthernet1/0/2-srv200] encapsulation s-vid 200 [Sysname-GigabitEthernet1/0/2-srv200] xconnect vsi vsi200 Related commands • service-instance • encapsulation 272
MPLS L3VPN configuration commands For information about the BGP-L2VPN address family and the VPLS address family, see MPLS Configuration Guide. default local-preference (BGP-VPNv4 subaddress family view) Use default local-preference to set the default value of the local preference. Use undo default local-preference to restore the default. Syntax default local-preference value undo default local-preference Default The default value of the local preference is 100.
Default The default system MED value is 0. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route. Examples # Set the default MED to 10 in BGP-VPNv4 subaddress family view.
display bgp vpnv4 all routing-table Use display bgp vpnv4 all routing-table to display all BGP VPNv4 routing information.
different-origin-as: Displays information about routes with different AS origins. peer ip-address: Specifies a peer by its IP address. advertised-routes: Specifies the routing information sent to the specified peer. received-routes: Specifies the routing information received from the specified peer. statistic: Displays BGP VPNv4 route statistics. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Route Distinguisher: 100:1 Paths: 1 available, 0 best, 1 VPN best BGP routing table entry information of 1.1.1.2/32: Label information (Received/Applied): 1034/NULL From : 1.1.1.9 (1.1.1.9) Original nexthop: 1.1.1.
Field Description Route origin codes. Valid values: Origin • i - IGP—learned from within the AS. • e - EGP—learned through EGP. • ? - incomplete—learned in any other way. Total number of routes from all PE Total number of VPNv4 routes from all PEs. Network Network address. NextHop Address of the next hop. In/Out Label Incoming and outgoing labels. MED Metric associated with the destination network. LocPrf Local preference value.
Default command level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument specifies the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. |: Filters command output by specifying a regular expression.
Field Description Threshold Threshold for warning. When the percentage of the number of the received route prefixes to the maximum number of routes supported reaches this value, the device generates a prompt. Configured hold timer value Setting of the hold timer. Keepalive timer value Keepalive interval. Optional capabilities Optional extended capabilities enabled for the peer group. ORF advertise capability Outbound Route Filtering (ORF) capability supported by the peer group.
Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument specifies the instance name of an MPLS L3VPN, 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.
as-regular-expression: Regular expression for filtering the AS path information to be displayed. |: 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.
Default command level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument specifies the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. log-info: Displays log information. ip-address: Specifies the IP address of the peer. verbose: Displays detailed information.
display bgp vpnv4 vpn-instance vpn1 peer verbose Peer: 10.1.1.1 Local: 2.2.2.2 Type: EBGP link BGP version 4, remote router ID 10.1.1.
Field Description Configured Settings of the local timers, including the active hold interval and keepalive interval. Received Received active hold interval. Negotiated Negotiated active hold interval. Peer optional capabilities Optional capabilities of the peer. Peer support bgp multi-protocol extended The peer supports multiprotocol extension. Peer support bgp route refresh capability The peer supports route refresh capability. Address family IPv4 Unicast IPv4 unicast family capability.
# Display all BGP VPNv4 peer information. display bgp vpnv4 all peer BGP local router ID : 2.2.2.2 Local AS number : 100 Total number of peers : 1 Peer AS 1.1.1.1 100 MsgRcvd 51 Peers in established state : 1 MsgSent OutQ 64 PrefRcv 0 2 Up/Down State 00:45:16 Established Table 111 Command output Field Description Peer IP address of the peer. AS AS number. MsgRcvd Number of messages received. MsgSent Number of messages sent.
Negotiated: send Connect-interface has been configured Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 112 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type. BGP version Version of BGP that the peer runs. remote router ID Router ID of the remote router. BGP current state Current status of BGP. Up for Duration since the peer is established.
Field Description Indicates 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. Local • send—Supports sending Route-refresh messages with ORF information. • receive—Supports receiving Route-refresh messages with ORF information. ORF capability negotiated by the local and remote peers.
Field Description Date Date when the notification message is sent or received. Time Time when the notification message is sent or received. Connection state of the peer: State • Up—The BGP session is in the Established state. • Down—The BGP session has been cut down. Notification Notification message. Error: Notification message error code, which specifies the error type. Error/SubError SubError: Notification message's error subcode, which specifies detailed information about the error.
20 deny 2.1.1.0/24 26 32 Table 114 Command output Field Description ORF ip-prefix entries Number of ORF IP prefix entries. index Index of the IP prefix. rule Matching rule of the IP prefix. ge greater-equal, which means the mask length is greater than or equal to the displayed value. le less-equal, which means the mask length is less than or equal to the displayed value.
no-export-subconfed: A route with this attribute is not advertised out of the local AS or to the other sub-ASs in the confederation. whole-match: Performs exact matching. community-list: Displays routing information for the specified BGP community list. basic-community-list-number: Specifies a basic community list number in the range of 1 to 99. comm-list-name: Specifies the name of a community attribute list, a string of 1 to 31 characters that contains at least one non-digit character.
display bgp vpnv4 route-distinguisher 100:1 routing-table 1.1.1.2 32 BGP local router ID : 3.3.3.9 Local AS number : 100 Route Distinguisher: 100:1 Paths: 1 available, 0 best, 1 VPN best BGP routing table entry information of 1.1.1.2/32: Label information (Received/Applied): 1034/NULL From : 1.1.1.9 (1.1.1.9) Original nexthop: 1.1.1.
Field Description Counts of routes, including: • available—Number of available routes. • best—Number of best routes. Paths Route label information: Label information • Received—Received label information. • Applied—Locally generated label information. Ext-Community Extended community attribute. AS-path The route's AS path attribute (AS_PATH), which records all ASs the route has passed to avoid route loops. Attribute value BGP routing attribute information. localpref Local preference value.
Field Description NextHop Address of the next hop. In/Out Label Incoming/outgoing label. MED Metric associated with the destination network. LocPrf Local preference value. Total Number of Routes Total number of routes of the specified VPN instance. Related commands route-distinguisher display bgp vpnv4 routing-table label Use display bgp vpnv4 routing-table label to display information about labeled routes in the BGP routing table.
Total number of routes from all PE: 1 Route Distinguisher: 100:1 Network *^ i 123.1.1.1 NextHop In/Out Label 1.1.1.1 NULL/1024 Total routes of vpn-instance vpn1: 4 Network NextHop In/Out Label * > 10.1.1.0 0.0.0.0 1025/NULL * > 20.0.0.0 0.0.0.0 1026/NULL * >i 123.1.1.1 1.1.1.1 NULL/1024 * > 124.1.1.1 0.0.0.0 1024/NULL Table 117 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status Route status codes. For valid values, see Table 105.
network-address: Specifies the IP address of the destination segment. mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, in the range of 0 to 32. longer-prefixes: Displays each routing entry that meets the following conditions: 1. Its destination IP address ANDed with the specified prefix equals the specified destination IP address ANDed with the specified prefix. 2. Its prefix length is shorter than or equal to the specified prefix length.
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. regular-expression as-regular-expression: Displays routing information matching the specified AS regular expression. Examples # Display the BGP VPNv4 routing information for VPN instance vpn1.
Views Any view Default command level 1: Monitor level Parameters vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters. acl acl-number: Displays the FIB information for the VPN instance permitted by the specified ACL. acl-number is the ACL number in the range of 2000 to 2999. If the specified ACL does not exist, the command displays all FIB information for the VPN instance.
[Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255 [Sysname-acl-basic-2000] display fib vpn-instance vpn1 acl 2000 Destination count: 2 FIB entry count: 2 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Relay Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.0.0/16 10.2.1.1 U GE2/1/1 Null Invalid 10.2.1.1/32 127.0.0.
display fib vpn-instance ip-address Use display fib vpn-instance ip-address to display the FIB information that matches the specified destination IP address in the specified VPN. Syntax display fib vpn-instance vpn-instance-name ip-address [ mask | mask-length ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters.
display ip vpn-instance Use display ip vpn-instance to display information about VPN instances. Syntax display ip vpn-instance [ instance-name vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters instance-name vpn-instance-name: Displays information about the specified VPN instance. The vpn-instance-name argument represents the VPN instance name, a case-sensitive string of 1 to 31 characters.
Up time : 0 days, 00 hours, 01 minutes and 39 seconds Route Distinguisher : 101:1 Description : This is vpn1 Export VPN Targets : 1:1 Import VPN Targets : 1:1 Import Route Policy : policy3 Export Route Policy : policy2 Tunnel Policy : policy1 Maximum Routes Limit : 600 IPv6 Export VPN Targets : 1:1 IPv6 Import VPN Targets : 1:1 IPv6 Import Route Policy : policy4 IPv6 Export Route Policy : policy1 IPv6 Tunnel Policy : policy1 IPv6 Maximum Routes Limit : 600 Interfaces : GigabitEthernet2/1/1 Table 12
Syntax display mpls ldp vpn-instance vpn-instance-name [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor view Parameters vpn-instance-name: Specifies the name of the VPN instance, 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.
Field Description VPN-Instance Name of the LDP-enabled VPN instance. Loop Detection Indicates whether loop detection is enabled. DU Re-advertise Timer Label re-advertisement timer for DU mode. DU Re-advertise Flag Indicates whether label re-advertisement is enabled for DU mode. DU Explicit Request Indicates whether explicit request transmission is enabled for DU mode. Request Retry Flag Indicates whether request retransmission is enabled.
Examples # Display information about all OSPF sham links. display ospf sham-link OSPF Process 100 with Router ID 100.1.1.2 Sham Link: Area NeighborId Source-IP Destination-IP State Cost 0.0.0.1 120.1.1.2 3.3.3.3 5.5.5.5 P-2-P 10 Table 123 Command output Field Description Area OSPF area to which the sham link belongs. NeighborId Router ID of the sham link neighbor. Source-IP Source IP address of the sham link. Destination-IP Destination IP address of the sham link.
Field Description MD5 authentication enabled MD5 authentication for the sham link is enabled. The last key Latest key ID for MD5 authentication. neighbor(s) Number of neighbors that do not finish the rollover. Related commands sham-link display tunnel-policy Use display tunnel-policy to display information about a tunneling policy or all tunneling policies.
Preferred paths : Number Interface Tunnel type Fallback -----------------------------------------------------2 Tunnel2 TE enabled Select-Seq : LSP GRE CR-LSP Load balance number : 1 # Display tunneling policy aaa. display tunnel-policy policy-name aaa Tunnel policy name : aaa Preferred paths : not configured Select-Seq : CR-LSP Load balance number : 1 Table 125 Command output Field Description Tunnel policy name Name of the tunneling policy. Preferred paths Preferred tunnels.
Parameters |: 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.
Usage guidelines After you configure a domain ID for an OSPF process by using the domain-id command, when you redistribute OSPF routes into BGP, BGP adds the configured OSPF domain ID to the redistributed BGP VPN routes as a BGP extended community attribute and advertises the routes to the BGP peer. When you redistribute the BGP VPN routes into OSPF on the BGP peer, OSPF uses the domain ID to determine whether the routes belong to the same OSPF routing domain.
Examples # Apply export routing policy poly-1 to VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] export route-policy poly-1 # Apply export routing policy poly-2 to the IPv4 VPN of VPN instance vpn2. system-view [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] ipv4-family [Sysname-vpn-ipv4-vpn2] export route-policy poly-2 ext-community-type Use ext-community-type to configure the type code of an OSPF extended community attribute.
fast-reroute route-policy Use fast-reroute route-policy to enable Fast Reroute (FRR) for a VPN instance and reference a routing policy to specify the backup next hop. Use undo fast-reroute route-policy to restore the default. Syntax fast-reroute route-policy route-policy undo fast-reroute route-policy Default FRR is not enabled for a VPN instance.
Default MP-BGP does not filter routes to be advertised. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters acl-number: Specifies an IP ACL number in the range of 2000 to 3999. ip-prefix ip-prefix-name: Specifies an IP address prefix list by its name, a string of 1 to 19 characters. direct: Filters direct routes to be advertised. isis process-id: Filters ISIS routes to be advertised that are from a specific ISIS process.
Default command level 2: System level Parameters acl-number: Specifies an IP ACL number in the range of 2000 to 3999. ip-prefix ip-prefix-name: Specifies an IP address prefix list by its name, a string of 1 to 19 characters. Usage guidelines Only routes that survive the filtering are added into the BGP routing table. Examples # In BGP-VPNv4 subaddress family view, use ACL 2255 to filter received routes.
Examples # Apply import routing policy poly-1 to VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] import route-policy poly-1 [Sysname-vpn-instance-vpn1] quit # Apply import routing policy poly-2 to the IPv4 VPN of VPN instance vpn2.
Syntax ip vpn-instance vpn-instance-name undo ip vpn-instance vpn-instance-name Views System view Default command level 2: System level Parameters vpn-instance-name: Specifies the name for the VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines A VPN instance takes effect only after you configure an RD for it. Examples # Create a VPN instance named vpn1.
Use undo ipv4-family to remove all configurations performed in IPv4 VPN view. Syntax ipv4-family undo ipv4-family Views VPN instance view Default command level 2: System level Examples # Enter IPv4 VPN view. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family [Sysname-vpn-ipv4-vpn1] mpls ldp vpn-instance Use mpls ldp vpn-instance to enable LDP for a VPN instance, create an LDP instance, and enter MPLS LDP VPN instance view.
Related commands • mpls • mpls lsr-id nesting-vpn Use nesting-vpn to enable the nested VPN function. Use undo nesting-vpn to disable the nested VPN function. Syntax nesting-vpn undo nesting-vpn Default The nested VPN function is disabled. Views BGP-VPNv4 subaddress family view Default command level 2: System level Usage guidelines If a nested VPN peer connected to a PE needs to advertise VPNv4 routes, you must enable nested VPN on the PE. Examples # Enable nested VPN.
Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Examples # In BGP-VPNv4 subaddress family view, specify to advertise community attributes to peer 3.3.3.3. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 3.3.3.
[Sysname-bgp-af-l2vpn] peer 1.1.1.1 allow-as-loop 2 # In BGP-VPLS address family view, allow the local AS number to appear repeatedly in the AS-PATH attribute of a route received from peer 1.1.1.1 for up to twice. system-view [Sysname] bgp 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] peer 1.1.1.
Use undo peer capability-advertise orf ip-prefix to disable the ORF capability for a BGP peer or peer group. Syntax peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send } undo peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send } Default The ORF capability is not enabled for a BGP peer or peer group.
[Sysname-bgp-af-vpnv4] peer 18.10.0.9 enable [Sysname-bgp-af-vpnv4] peer 18.10.0.9 capability-advertise orf ip-prefix both peer default-route-advertise vpn-instance Use peer default-route-advertise vpn-instance to advertise a default VPN route to the specified peer or peer group. Use undo peer default-route-advertise vpn-instance to remove the configuration.
Syntax peer { group-name | ip-address } enable undo peer { group-name | ip-address } enable Default Only IPv4 routing information is exchanged between BGP peers/peer groups. Views BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, VPLS address family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Examples # Configure peer 1.1.1.
Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. acl-number: Specifies an IP ACL number in the range of 2000 to 3999. export: Filters the routes to be advertised to the specified peer or peer group. import: Filters the routes received from the specified peer or peer group.
[Sysname-bgp] group test external [Sysname-bgp] peer 1.1.1.1 as-number 200 [Sysname-bgp] peer 1.1.1.1 group test [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test enable [Sysname-bgp-af-vpnv4] peer 1.1.1.1 group test [Sysname-bgp-af-vpnv4] quit # In BGP-L2VPN address family view, add peer 1.1.1.1 into peer group test. [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer test enable [Sysname-bgp-af-l2vpn] peer 1.1.1.
[Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer group1 ip-prefix list1 import peer label-route-capability (BGP view/BGP VPN instance view) Use peer label-route-capability to enable the exchange of labeled routes with an IPv4 peer or peer group. Use undo peer label-route-capability to disable the capability.
Default A device uses its address as the next hop when advertising a route to its EBGP peer. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer.
Examples # In BGP-VPNv4 subaddress family view, configure the device to use the local address as the next hop of a route when advertising it to peer group test. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test next-hop-local # In BGP-L2VPN address family view, configure the device to use the local address as the next hop of a route when advertising it to peer group test.
[Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 131.108.1.1 preferred-value 50 peer public-as-only (BGP-VPNv4 subaddress family view) Use peer public-as-only to make outbound BGP updates carry no private AS numbers. Use undo peer public-as-only to make outbound BGP updates carry private AS numbers. Syntax peer { group-name | ip-address } public-as-only undo peer { group-name | ip-address } public-as-only Default A BGP update carries private AS numbers.
undo peer { group-name | ip-address } reflect-client Default No RR or RR client is configured. Views BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Usage guidelines For more information about RR, see Layer 3—IP Routing Configuration Guide.
Syntax peer { group-name | ip-address } route-policy route-policy-name { export | import } undo peer { group-name | ip-address } route-policy route-policy-name { export | import } Default No routing policy is applied to a peer or peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer.
Usage guidelines UPE is a kind of special VPNv4 peer. It accepts only one default route for each related VPN instance on an SPE and routes from SPEs that are permitted by the routing policy. An SPE is a common VPN peer. Examples # Configure peer 1.1.1.1 as a UPE. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe peer upe route-policy Use peer upe route-policy to specify to advertise routes permitted by a routing policy to UPEs.
Related commands peer upe peer vpn-instance enable Use peer vpn-instance enable to activate a nested VPN peer or peer group and enable the capability of exchanging BGP-VPNv4 routes with the peer or peer group. Use undo peer vpn-instance enable to disable the capability of exchanging BGP-VPNv4 routes with a nested VPN peer or peer group.
Use undo peer vpn-instance group to remove a peer from a nested VPN peer group. Syntax peer peer-address vpn-instance vpn-instance-name group group-name undo peer peer-address vpn-instance vpn-instance-name group group-name Default A peer is not in any nested peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters peer-address: Specifies the IP address of the peer.
Default No routing policy is applied. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. peer-address: Specifies the IP address of the peer, in dotted decimal notation. vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
Default command level 2: System level Usage guidelines The command applies to an inter-AS option B VPN. Examples # In BGP-VPNv4 subaddress family view, disable route target filtering for received VPNv4 routes. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] undo policy vpn-target # In BGP-L2VPN address family view, disable route target filtering for received VPNv4 routes.
disable-fallback: With this keyword specified, the tunneling policy does not select other paths when this preferred tunnel is matched (the tunnel's destination address and encapsulation type are both matched) but is unavailable. Usage guidelines In a tunneling policy, you can configure up to 64 preferred tunnels. The tunnel interfaces specified for the preferred tunnels can have the same destination address and the tunnel encapsulation type must be GRE or MPLS TE.
Usage guidelines If fully meshed interconnections exist between the clients, route reflection is not required. Otherwise, an RR is required for routes to be reflected from one client to every other client. Examples # In BGP-VPNv4 subaddress family view, disable route reflection between clients. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] undo reflect between-clients # In BGP-L2VPN address family view, disable route reflection between clients.
Usage guidelines Generally, a cluster contains only one RR, and the router ID of the RR is used for identifying the cluster. Setting multiple RRs can improve network reliability. If more than one RR exists in a cluster, use the reflector cluster-id command to configure the same cluster ID for all RRs in the cluster to avoid routing loops. Examples # In BGP-VPNv4 subaddress family view, set the RR's cluster ID to 50.
Usage guidelines Soft reset of BGP connections refers to updating BGP routing information without breaking BGP neighbor relationships. Examples # Soft reset all BGP connections in VPN instance vpn1 in the inbound direction to make new configurations take effect. refresh bgp vpn-instance vpn1 all import refresh bgp vpnv4 Use refresh bgp vpnv4 to soft reset BGP VPNv4 connections.
Default command level 2: System level Parameters vpn-instance-name: Resets BGP connections with the peers in a VPN instance. The VPN instance name is a case-sensitive string of 1 to 31 characters. as-number: Resets BGP connections with the peers in an AS. The AS number is in the range of 1 to 4294967295. ip-address: Resets the connection with the BGP peer identified by this IP address. all: Resets all BGP connections in the specified VPN instance. external: Resets EBGP sessions.
Syntax reset bgp vpn-instance vpn-instance-name ip-address flap-info reset bgp vpn-instance vpn-instance-name flap-info [ ip-address [ mask | mask-length ] | as-path-acl as-path-acl-number | regexp as-path-regexp ] Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters. ip-address: Specifies the IP address of the BGP peer. mask: Specifies the network mask, in the format of X.X.X.X.
reset bgp vpnv4 all route-distinguisher (VPN instance view) Use route-distinguisher to configure an RD for a VPN instance. Syntax route-distinguisher route-distinguisher Views VPN instance view Default command level 2: System level Parameters route-distinguisher: RD for the VPN instance, a string of 3 to 21 characters in one of these formats: • 16-bit AS number:32-bit user-defined number. For example, 101:3. • 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
Default If BGP is running in the MPLS backbone and the BGP's AS number is not greater than 65535, the first two octets of the default external route tag is always 0xD000 and the last two octets is the AS number of the local BGP. For example, if the local BGP AS number is 100, the default value of the external route tag is 3489661028, which equals the decimal value of 0xD0000000 (3489660928) + 100.
routing-table limit (VPN instance view/IPv4 VPN view) Use routing-table limit to limit the maximum number of routes in a VPN instance, preventing too many routes from being accepted by a PE. Use undo routing-table limit to restore the default. Syntax routing-table limit number { warn-threshold | simply-alert } undo routing-table limit Default A VPN instance supports up to 100000 routes.
rr-filter (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use rr-filter to create an RR reflection policy so that only IBGP routes whose Extended Communities attribute matches the specified one are reflected. Use undo rr-filter to restore the default. Syntax rr-filter extended-community-number undo rr-filter Default An RR does not filter the reflected routes.
sham-link Use sham link to configure a sham link. Use undo sham link source-ip-address destination-ip-address to remove a sham link. Use undo sham link source-ip-address destination-ip-address with optional keywords to restore the defaults of the corresponding parameters for a sham link.
• cipher: Sets a ciphertext key. • plain: Sets a plaintext key. • password2: Specifies the key string. This argument is case sensitive. If cipher is specified, it must be a ciphertext string of 1 to 53 characters. If plain is specified, it must be a string of 1 to 16 characters. If neither cipher nor plain is specified, you can set a plaintext key of 1 to 16 characters or a ciphertext key of 33 to 53 characters.
Usage guidelines If a VPN instance is not associated with any tunneling policy or the associated tunneling policy is not configured, the VPN instance selects tunnels according to the default tunneling policy. The default tunneling policy selects only one tunnel in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel. A tunneling policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN. A tunneling policy specified in IPv4 VPN view is applicable to only the IPv4 VPN.
Default command level 2: System level Parameters cr-lsp: Specifies CR-LSP tunnels. gre: Specifies GRE tunnels. lsp: Specifies LSP tunnels. load-balance-number number: Specifies the number of tunnels for load balancing, in the range of 1 to 8. Usage guidelines Only tunnels of the types specified in the tunnel select-seq command can be used. A tunnel type closer to the select-seq keyword has a higher priority.
system-view [Sysname] tunnel-policy po1 [Sysname-tunnel-policy-po1] Related commands tunnel select-seq vpn popgo Use vpn popgo on an egress PE to specify the VPN label processing mode as POPGO forwarding, which will pop the label and then search for the outbound interface according to the label to forward the traffic. Use undo vpn popgo to restore the default.
Default Routing loop detection is enabled for a VPN OSPF process. Views VPN OSPF process view Default command level 2: System level Usage guidelines In an MCE network, you must disable the routing loop detection function for a VPN OSPF process on the MCE. Otherwise, the MCE does not receive OSPF routes from the PE. Examples # Disable routing loop detection for the VPN OSPF process.
both: Uses the specified route targets as both import targets and export targets. The both keyword is also used when you do not specify any of both, export-extcommunity, and import-extcommunity. export-extcommunity: Uses the specified route targets as export targets. import-extcommunity: Uses the specified route targets as import targets. all: Removes all route targets. Usage guidelines Route targets configured in VPN instance view apply to both the IPv4 VPN and the IPv6 VPN.
IPv6 MPLS L3VPN commands This chapter describes only IPv6 MPLS L3VPN-specific commands. For information about the commands available for both IPv4 MPLS L3VPN and IPv6 MPLS L3VPN, see "MPLS L3VPN configuration commands." default local-preference (BGP-VPNv6 subaddress family view) Use default local-preference to set the default value of the local preference. Use undo default local-preference to restore the default.
Default The default system MED value is 0. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route. Examples # Set the default MED to 10 in BGP-VPNv6 subaddress family view.
Usage guidelines If you do not specify any parameter, the command displays the brief information about all peers. Examples # Display the brief information about all BGP VPNv6 peers. display bgp vpnv6 all peer BGP local router ID : 192.168.1.40 Local AS number : 200 Total number of peers : 1 Peer 192.168.1.
Maximum allowed prefix number: 150000 Threshold: 75% Minimum time between advertisement runs is 15 seconds Optional capabilities: ORF advertise capability based on Prefix(type 64): Local: both Negotiated: send Connect-interface has been configured Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 128 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type.
Field Description Threshold Threshold for warning. When the percentage of the number of the received route prefixes to the maximum number of routes supported reaches this value, the device generates a prompt. Minimum time between advertisement runs Minimum interval between route advertisements. Optional capabilities Local optional capabilities. ORF advertise capability based on prefix (type 64): Supports the ORF address prefix capability and the capability value is 64.
Parameters network-address: Specifies the IPv6 address of the destination network segment. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: 1. Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 address ANDed with the specified prefix. 2. Its prefix length is shorter than or equal to the specified prefix length. 3.
Path/Ogn: ? Table 129 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes. For more information, see Table 105. Origin Route origin codes. For more information, see Table 105. Total number of routes from all PE Total number of VPNv6 routes from all PEs. Network Destination network address. PrefixLen Prefix length of the destination network address. NextHop IPv6 address of the next hop. LocPrf Local preference value.
network-address: Specifies the IPv6 address of the destination segment. prefix-length: Specifies the prefix length in the range of 0 to 128. |: 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.
display bgp vpnv6 vpn-instance peer Use display bgp vpnv6 vpn-instance peer to display information about the IPv6 BGP peers in the specified VPN instance. Syntax display bgp vpnv6 vpn-instance vpn-instance-name peer [ ipv6-address verbose | verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters.
Field Description MsgRcvd Number of messages received. MsgSent Number of messages sent. OutQ Number of messages to be sent to the peer. PrefRcv Number of prefixes received. Up/Down Duration of the BGP session in the current state. State Current state of the peer. # Display detailed information about the IPv6 BGP peers in the VPN instance vpn1. display bgp vpnv6 vpn-instance vpn1 peer verbose BGP Peer is 2001::1, remote AS 200, Type: EBGP link BGP version 4, remote router ID 2.2.2.
Field Description remote router ID Router ID of the peer. BGP current state Current state of the BGP session. Up for Duration since the peer is established. BGP current event Current event of the BGP session. BGP last state State that the BGP session was in before transitioning to the current state. Port Local and remote ports of the BGP session. Configured Settings of the local timers, including the active hold interval and keepalive interval. Received Received active hold interval.
Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: Specifies the IPv6 address of the destination network segment. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: 1.
Field Description Origin Route origin codes. For more information, see Table 105. Network Destination network address. PrefixLen Prefix length of the destination network address. NextHop IPv6 address of the next hop. LocPrf Local preference value. PrefVal Preference value of the route. Label Received label. MED Metric associated with the destination network. Path/Ogn AS_PATH attribute/route origin of the route. For more information, see Table 105.
Usage guidelines If you do not specify any optional parameters, the command displays all IPv6 FIB information for the VPN. Examples # Display all IPv6 FIB information for VPN instance vpn1.
Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. ipv6-address: Specifies the destination IPv6 address. prefix-length: Specifies the prefix length of the destination IPv6 address, in the range of 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
export route-policy (VPN instance view/IPv6 VPN view) Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a routing policy is referred to as an export routing policy. Use undo export route-policy to remove the application. Syntax export route-policy route-policy undo export route-policy Default No routing policy is applied to filter the routes to be advertised.
Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] undo filter-policy export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] Default MP-BGP does not filter routes to be advertised. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
Default Received routes are not filtered. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, a string of 1 to 19 characters. Usage guidelines Only routes that survive the filtering are added into the BGP routing table. Examples # In BGP-VPNv6 subaddress family view, use ACL 2255 to filter received routes.
An import routing policy specified in IPv6 VPN view applies to only the IPv6 VPN. An import routing policy specified in IPv6 VPN view takes precedence over that specified in VPN instance view. If you specify an import routing policy in both IPv6 VPN view and VPN instance view, the IPv6 VPN uses the policy specified in IPv6 VPN view. Examples # Apply import routing policy poly-1 to VPN instance vpn1.
Views VPN instance view Default command level 2: System level Examples # Enter IPv6 VPN view. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv6-family [Sysname-vpn-ipv6-vpn1] peer enable (BGP-VPNv6 subaddress family view) Use peer enable to enable a peer or peer group for an address family and enable the exchange of BGP routing information for the address family. Use undo peer enable to disable the capability.
Syntax peer ip-address filter-policy acl6-number { export | import } undo peer ip-address filter-policy [ acl6-number ] { export | import } Default No filtering policy is applied to a peer or peer group. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. acl-number: Specifies an IP ACL number in the range of 2000 to 3999.
Default command level 2: System level Parameters ip-address: Specifies the IP address of a peer. prefix-name: Specifies the name of an IPv6 prefix list, a string of 1 to 19 characters. export: Filters routes to be advertised to the peer. import: Filters routes received from the peer. Examples # In BGP-VPNv6 subaddress family view, apply IPv6 prefix list list1 to filter routes received from peer 1.1.1.1. system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] peer 1.
peer public-as-only (BGP-VPNv6 subaddress family view) Use peer public-as-only to make outbound BGP updates carry no private AS numbers. Use undo peer public-as-only to make outbound BGP updates carry private AS numbers. Syntax peer ip-address public-as-only undo peer ip-address public-as-only Default A BGP update carries private AS numbers.
Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Usage guidelines For more information about RR, see Layer 3—IP Routing Configuration Guide. The BGP view, BGP-VPNv4 subaddress family view, and BGP-VPNv6 subaddress family view support the peer reflect-client command.
Examples # In BGP-VPNv6 subaddress family view, apply routing policy test-policy to filter routes received from peer 1.1.1.1. system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] peer 1.1.1.1 route-policy test-policy import policy vpn-target (BGP-VPNv6 subaddress family view) Use policy vpn-target to enable route target filtering for received VPNv6 routes. Use undo policy vpn-target to disable the filtering, permitting all VPNv6 routes.
Default Route reflection between clients is enabled. Views BGP-VPNv6 subaddress family view Default command level 2: System level Usage guidelines If fully meshed interconnections exist between the clients, route reflection is not required. Otherwise, an RR is required for routes to be reflected from one client to every other client. Examples # In BGP-VPNv6 subaddress family view, disable route reflection between clients.
[Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] reflector cluster-id 50 refresh bgp ipv6 vpn-instance Use refresh bgp ipv6 vpn-instance to soft reset IPv6 BGP connections in a VPN instance. Syntax refresh bgp ipv6 vpn-instance vpn-instance-name { ipv6-address | all | external } { export | import } Views User view Default command level 2: System level Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
all: Soft resets all BGP VPNv6 connections. external: Soft resets EBGP sessions. internal: Soft resets IBGP sessions. export: Performs a soft reset in the outbound direction. import: Performs a soft reset in the inbound direction. Usage guidelines Soft reset of BGP connections refers to updating BGP routing information without breaking BGP neighbor relationships. Examples # Soft reset all BGP VPNv6 connections in the inbound direction to make new configurations take effect.
Views User view Default command level 2: System level Parameters as-number: Resets BGP VPNv6 connections with the peers in the AS identified by this number in the range of 1 to 4294967295. ip-address: Resets the BGP VPNv6 connection with the BGP peer identified by this IP address. all: Resets all BGP VPNv6 connections. external: Resets EBGP VPNv6 connections. internal: Resets IBGP VPNv6 connections. Examples # Reset all BGP VPNv6 connections to make new configurations take effect.
A limit configured in IPv6 VPN view applies to only the IPv6 VPN. IPv6 VPN prefers the limit configured in IPv6 view over the limit configured in VPN instance view. Examples # Specify that VPN instance vpn1 supports up to 1000 routes, and when routes exceed the limit, can receive new routes but generates a system log message.
[Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] rr-filter 10 tnl-policy (VPN instance view/IPv6 VPN view) Use tnl-policy to associate the current VPN instance with a tunneling policy. Use undo tnl-policy to remove the association. Syntax tnl-policy tunnel-policy-name undo tnl-policy Views VPN instance view, IPv6 VPN view Default command level 2: System level Parameters tunnel-policy-name: Specifies the name of the tunneling policy for the VPN instance, a string of 1 to 19 characters.
Related commands tunnel select-seq vpn-target (VPN instance view/IPv6 VPN view) Use vpn-target to configure route targets for a VPN instance, an IPv4 VPN, or an IPv6 VPN. Use undo vpn-target to remove the specified or all route targets of a VPN instance.
[Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 5:5 both # Configure route targets for the IPv6 VPN vpn3.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
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.
Index ABCDEFGHILMNOPRSTUVWX display bgp vpnv6 route-distinguisher routing-table,359 A accept-label,1 display bgp vpnv6 vpn-instance peer,361 add hop,77 display bgp vpnv6 vpn-instance routing-table,363 advertise-label,2 display ccc,191 B display explicit-path,78 display fib vpn-instance,297 bandwidth,233 display fib vpn-instance ip-address,300 bfd enable,3 display ip vpn-instance,301 broadcast-restrain,233 display ipv6 fib vpn-instance,365 C display ipv6 fib vpn-instance ipv6-address,366 ccc
Documents,386 display mpls lsp,25 display mpls lsp bfd ipv4,10 domain-id,308 display mpls lsp bfd te,87 dual-npe revertive,253 display mpls lsp statistics,28 du-readvertise,42 display mpls nhlfe,29 du-readvertise timer,43 display mpls nhlfe reflist,31 E display mpls route-state,33 enable traffic-adjustment,125 display mpls rsvp-te,88 enable traffic-adjustment advertise,126 display mpls rsvp-te established,90 encapsulation,254 display mpls rsvp-te peer,91 encapsulation,212 display mpls rsv
mpls rsvp-te srefresh,136 ipv6-family (VPN instance view),371 ipv6-family vpnv6 (BGP view),371 mpls rsvp-te timer graceful-restart recovery,136 L mpls rsvp-te timer graceful-restart restart,137 mpls rsvp-te timer hello,137 l2 binding vsi,254 mpls rsvp-te timer refresh,138 l2vpn,213 mpls rsvp-te timer retransmission,139 l2vpn-family,213 mpls static-l2vc (for ordinary SVC),219 label advertise,48 mpls static-l2vc (for primary-backup SVCs),217 label-distribution,48 mpls static-l2vc switchover,220
peer ipv6-prefix (BGP-VPNv6 subaddress family view),373 mpls te retry,165 mpls te route-pinning,166 peer label-route-capability (BGP view/BGP VPN instance view),325 mpls te signal-protocol,166 mpls te tie-breaking,167 peer next-hop-invariable (BGP-VPNv4 subaddress family view),325 mpls te timer auto-bandwidth,168 mpls te timer fast-reroute,169 peer next-hop-local,326 mpls te timer link-management periodic-flooding,169 peer preferred-value (BGP-VPNv4 subaddress family view),327 mpls te timer retry,1
sham-link,346 reflect between-clients (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view),336 shutdown (VSI view),263 site,263 reflect between-clients (BGP-VPNv6 subaddress family view),377 static backup-label,224 static backup-label (L2VPN peer view),264 reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view),337 static label,225 static label (L2VPN peer view),265 static-cr-lsp egress,176 reflector c
xconnect peer,227 vsi-id,270 xconnect peer switchover,229 W xconnect static-peer,230 Websites,386 xconnect static-peer switchover,231 X xconnect vsi,271 394