HP 6600/HSR6600 Routers MPLS Command Reference Part number: 5998-1508 Software version: A6602-CMW520-R3103 A6600-CMW520-R3102-RPE A6600-CMW520-R3102-RSE HSR6602_MCP-CMW520-R3102 Document version: 6PW103-20130628
Legal and notice information © Copyright 2013 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 ·················································································································································
non-stop-routing ····················································································································································· 58 path-vectors ···························································································································································· 59 ping lsp ipv4 ··························································································································································
modify hop ··························································································································································· 122 mpls rsvp-te··························································································································································· 123 mpls rsvp-te authentication ································································································································· 124 mpls rs
mpls te timer auto-bandwidth ····························································································································· 160 mpls te timer fast-reroute ····································································································································· 161 mpls te timer link-management periodic-flooding ···························································································· 162 mpls te timer retry ·······················
trans-mode ···························································································································································· 221 vpn-target (MPLS L2VPN view) ··························································································································· 221 xconnect peer ······················································································································································ 222 xconnect peer
display bgp vpnv4 paths ···································································································································· 277 display bgp vpnv4 peer ····································································································································· 278 display bgp vpnv4 peer received ip-prefix ······································································································ 285 display bgp vpnv4 route-distinguisher rou
reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) ·························································································································································· 333 refresh bgp vpn-instance ····································································································································· 334 refresh bgp vpnv4 ·························································
Support and other resources ·································································································································· 382 Contacting HP ······························································································································································ 382 Subscription service ············································································································································ 382 Relate
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) display mpls ilm Use display mpls ilm to display information about ILM entries.
60 GE2/1/1 1 0 NULL STATIC LSP - Token VRF-Index Oper LSP-Type Swap-Label # Display all ILM entries. display mpls ilm Total ILM Entry: 2 Inlabel In-Interface ----------------------------------------------------------------------------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.
Create Time : 07:57:26:927 Last Change Time : 07:57:26:927 Tunnel ID : 0xc0002(Done) GrCount: 0 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.
verbose: Displays detailed information. If you do not specify this keyword, the command displays the brief 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 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.
Syntax display mpls ldp [ all [ verbose ] ] [ | { begin | exclude | include } regular-expression ] 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.
Field Description Graceful Restart Indicates whether GR is enabled. FT Reconnect Timer Setting of the GR's FT reconnect timer. 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.
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. The lsp-id argument is the local LSP ID of the ingress, 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. begin: Displays the first line that matches the specified regular expression and all lines that follow.
|: 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.
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.4 Received : 65535 MTU OutIfCount : 1 OutGoing Info : Interface Nexthop GE3/1/1 24.1.1.2 Table 5 Command output Field Description Label Advertisement Policy Information about the label advertisement policy.
display mpls ldp interface Use display mpls ldp interface to display the LDP related information for one or more LDP-enabled interfaces. Syntax display mpls ldp interface [ all [ verbose ] | [ vpn-instance vpn-instance-name ] [ interface-type interface-number | verbose ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all: Displays all information. verbose: Displays detailed information.
LDP Interface Information in Public Network -------------------------------------------------------------Interface Name : GigabitEthernet2/1/1 LDP ID : 172.17.1.1:0 Transport Address : 172.17.1.
display mpls ldp lsp Use display mpls ldp lsp to display information about LSPs established by LDP. Syntax display mpls ldp lsp [ all | [ vpn-instance vpn-instance-name ] [ destination-address mask-length ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all: Specifies all LSPs established by LDP. vpn-instance vpn-instance-name: Displays the LSP information for the specified VPN.
Table 7 Command output Field Description In/OutLabel Incoming/outgoing label. A * before a label means that the LSP is in process of GR. Liberal(number) means that the LSP is unavailable and the label value is number. Related commands display mpls ldp display mpls ldp peer Use display mpls ldp peer to display information about specified peers or all peers.
168.1.1.1:0 168.1.1.1 GigabitEthernet2/1/1 100.10.1.1:0 100.10.1.1 Serial3/1/0 -------------------------------------------------------------- Table 8 Command output Field Description Peer-ID LDP identifier of the peer. For a description of the LDP identifier, see the LDP ID field in Table 6. Discovery-Source Interface that discovers the peer. # Display detailed information about all peers.
Field Description 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. Peer Discovery Source Interface that discovers the peer. Related commands • mpls ldp (interface view) • mpls ldp (system view) display mpls ldp remote-peer Use display mpls ldp remote-peer to display information about remote LDP peers.
Hello Message Sent/Rcvd : 3/2 (Message Count) -------------------------------------------------------------------------- Table 10 Command output Field Description LDP ID Local LDP identifier. For a description of the LDP identifier, see the LDP ID field in Table 6. Transport Address Local LDP transport address used to establish a TCP connection with this remote peer. Hello Message Sent/Rcvd Counts of hello messages sent to/received from this remote peer.
Usage guidelines If you do not specify any parameter, the command displays information about all public network LDP sessions. Examples # Display information about all public network LDP sessions. display mpls ldp session LDP Session(s) in Public Network Total number of sessions: 1 -----------------------------------------------------------------------------Peer-ID Status SsnRole FT MD5 KA-Sent/Rcv -----------------------------------------------------------------------------100.101.102.
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 Local LDP ID : 3.3.3.3:0 TCP Connection : 3.3.3.3 -> 2.2.2.
Field Description 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. LDP Basic Discovery Source Interface where the session is established.
display mpls lsp Use display mpls lsp to display information about LSPs.
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. For more information about regular expressions, see Fundamentals Configuration Guide.
---------------------------------------------------------------No. : 4 VrfName : vpn1 Fec : 56.10.10.2 Nexthop : ------- In-Label : 1024 Out-Label : NULL In-Interface : ---------- Out-Interface : ---------- LspIndex : 5121 Tunnel ID : 0x0 LsrType : Egress Outgoing Tunnel ID : 0x0 Label Operation : POP ------------------------------------------------------------LSP Information: LDP LSP ------------------------------------------------------------No.
Field Description 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. Syntax display mpls lsp statistics [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
Table 15 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 17 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 23 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.
Related commands display mpls interface mpls mtu Use mpls mtu to specify the MPLS MTU of an interface. Use undo mpls mtu to restore the default. Syntax mpls mtu value undo mpls mtu Default The MPLS MTU of an interface is not configured. In this case, MPLS packets will be fragmented based on the MTU of the interface, and the length of a fragment will not include that of the MPLS label.
undo mpls statistics enable { interface interface-type interface-number | lsp in-label in-label | tunnel token token } Default MPLS statistics is disabled. Views System view Default command level 2: System level Parameters interface interface-type interface-number: Specifies an interface by its type and number. lsp in-label in-label: Specifies an LSP by its incoming label.
Default command level 2: System level Usage guidelines The graceful-restart command and the non-stop-routing command are mutually exclusive. Do not configure both commands on the device. The following matrix shows the command and router compatibility: Command 6602 HSR6602 6604/6608/6616 non-stop-routing No No • Yes on routers with the RPE-X1 or RSE-X1 MPU. • No on routers with MCP MPUs. Examples # Enable the LDP NSR function.
# Set the maximum hops of the path vector to 3 for LDP instance vpn1. system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] path-vectors 3 Related commands • hops-count • loop-detect ping lsp ipv4 Use ping lsp ipv4 to check the connectivity of the LSP for a FEC.
Examples # Check the connectivity of the LSP to destination 3.3.3.9/32. ping lsp ipv4 3.3.3.9 32 LSP Ping FEC: IPV4 PREFIX 3.3.3.9/32 : 100 data bytes, press CTRL_C to break Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms --- FEC: IPV4 PREFIX 3.3.3.
[Sysname] mpls ldp remote-peer bji [Sysname-mpls-ldp-remote-bji] prefix-label advertise remote-ip Use remote-ip to configure the remote peer IP address. Use undo remote-ip to remove the configuration. Syntax remote-ip ip-address undo remote-ip Views MPLS LDP remote peer view Default command level 2: System level Parameters ip-address: Specifies the remote peer IP address. Usage guidelines The remote peer IP address must be the MPLS LSR ID of the remote peer.
Default command level 2: System level Examples # Enable BFD to detect the IP connectivity to the remote LDP peer bji. system-view [Sysname] mpls ldp remote-peer bji [Sysname-mpls-ldp-remote-bji] remote-ip bfd reset mpls ldp Use reset mpls ldp to reset LDP sessions.
reset mpls statistics interface Use reset mpls statistics interface to clear MPLS statistics for the specified MPLS interfaces. Syntax reset mpls statistics interface { interface-type interface-number | all } Views User view Default command level 1: Monitor level Parameters interface-type interface-number: Clears statistics collected for the specified interface. all: Clears statistics collected for all interfaces. Examples # Clear MPLS statistics for interface GigabitEthernet 2/1/1.
reset mpls statistics lsp in-label Use reset mpls statistics lsp in-label to clear LSP statistics according to the LSP incoming label. Syntax reset mpls statistics lsp [ in-label in-label ] Views User view Default command level 1: Monitor level Parameters in-label in-label: Specifies an LSP by its incoming label.
Related commands display mpls statistics tunnel static-lsp egress Use static-lsp egress to configure a static LSP taking the current LSR as the egress. Use undo static-lsp egress to remove a static LSP taking the current LSR as the egress. Syntax static-lsp egress lsp-name incoming-interface interface-type interface-number in-label in-label undo static-lsp egress lsp-name Views System view Default command level 2: System level Parameters lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
Default command level 2: System level Parameters lsp-name: Specifies an LSP name, a string of 1 to 15 characters. destination dest-addr: Specifies a destination IP address for the LSP. mask: Specifies the mask of the destination IP address. mask-length: Specifies the mask length of the destination address, in the range of 0 to 32. nexthop next-hop-addr: Specifies a next hop address. outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and number.
Default command level 2: System level Parameters lsp-name: Specifies an LSP name, a string of 1 to 15 characters. incoming-interface interface-type interface-number: Specifies an incoming interface by its type and number. in-label in-label: Specifies an incoming label in the range of 16 to 1023. nexthop next-hop-addr: Specifies a next hop address. outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and number.
Parameters ipv4 destination mask: Collects statistics on the IPv4 LSP for a FEC. The destination mask argument specifies a FEC by an IPv4 destination address and the mask length. The value range for the mask length is 0 to 32. vpn-instance vpn-instance-name: Collects statistics on LSPs 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. ipv6 destination mask: Collects statistics on the BGP-IPv6 LSP for a FEC.
Related commands • display mpls statistics interface • display mpls statistics lsp tracert lsp ipv4 Use tracert lsp ipv4 to locate errors on the LSP for a FEC. Syntax tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -t time-out ] * ipv4 dest-addr mask-length [ destination-ip-addr-header ] Views Any view Default command level 0: Visit level Parameters -a source-ip: Specifies the source IP address for the echo request messages.
ttl expiration enable Use ttl expiration enable to enable the device to send back an ICMP TTL exceeded message when it receives an MPLS TTL expired packet. Use undo ttl expiration enable to disable sending back of ICMP TTL exceeded messages for MPLS TTL expired messages. Syntax ttl expiration enable undo ttl expiration enable Default This function is enabled.
Usage guidelines The configuration does not take effect for an MPLS packet with multiple levels of labels. The ICMP TTL exceeded message is always sent back along the LSP when the TTL of such a packet expires. Examples # Configure the device to use LSPs to send back ICMP TTL exceeded messages for TTL-expired MPLS packets that have only one level of label.
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 30 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 31 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 rsvp-te Use display mpls rsvp-te to display RSVP-TE configuration.
Path and Resv message refresh retries count: 3 Blockade Multiplier: 4 Graceful Restart: ENABLE Restart Time: 200 sec Recovery Time: 150 sec Table 32 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. Hello Interval Hello interval, in seconds.
Field Description 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. Increment value Assume the retransmission interval is Rf seconds.
Table 34 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 35 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 38 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 41 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 42 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 44 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 46 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 49 display mpls te ds-te command output information 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.
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 51 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 52 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 53 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 58 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 59 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 NOTE: This command is not supported when the signaling protocol is CR-LDP. Use mpls te backup bandwidth to configure the total bandwidth and type of LSP that the bypass tunnel can protect.
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.
Examples # Configure an MPLS TE tunnel and submit the configuration. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] tunnel-protocol mpls te [Sysname-Tunnel0] destination 2.2.2.9 [Sysname-Tunnel0] mpls te commit 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.
Default The failed link timer is 10 seconds. Views MPLS view Default command level 2: System level 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.
After you change the bandwidth constraints model in IETF DS-TE mode, all CR-LSPs with non-zero reserved bandwidths will be cleared on the device. Examples # Configure the BC model in IETF mode as MAM. system-view [Sysname] mpls [Sysname-mpls] mpls te ds-te ietf bc-mode mam 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.
TE Class CT Priority 5 1 0 6 2 0 7 3 0 When using the mpls te ds-te ietf te-class command to configure a TE class mapping, be sure to specify a CT-priority pair different from that in any existing TE class mappings. 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.
[Sysname-mpls] mpls te ds-te mode ietf mpls te fast-reroute Use mpls te fast-reroute to enable the Fast Reroute (FRR) function. Use undo mpls te fast-reroute to disable FRR. 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.
Views Interface view Default command level 2: System level Parameters tunnel tunnel-number: Specifies a bypass tunnel by its tunnel number. Usage guidelines You can specify multiple bypass tunnels for the protected interface. A maximum of three bypass tunnels can be specified for a protected interface. 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.
Examples # Set the hold time to 10000 milliseconds. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te igp advertise hold-time 10000 mpls te igp metric Use mpls te igp metric to assign a metric to the MPLS TE tunnel. Use undo mpls te igp metric to restore the default. Syntax mpls te igp metric { absolute value | relative value } undo mpls te igp metric Default TE tunnels take their IGP metrics.
Syntax mpls te igp shortcut [ isis | ospf ] undo mpls te igp shortcut Default An IGP does not consider MPLS TE tunnels in its enhanced SPF calculation. Views Tunnel interface view Default command level 2: System level Parameters isis: Sets the IGP protocol to IS-IS. ospf: Sets the IGP protocol to OSPF. Usage guidelines The mpls te igp shortcut command cannot be used together with the mpls te igp advertise command.
Usage guidelines The interface properties are propagated globally and are used for path selection at the tunnel ingress. Examples # Assign interface GigabitEthernet 2/1/1 the link administrative group attribute of 0x00000101.
Views Interface view Default command level 2: System level Parameters bandwidth-value: Maximum bandwidth of the link, in the range of 1 to 32000000 kbps. Usage guidelines The configured maximum link bandwidth is available for only MPLS TE traffic. Examples # On interface Serial 2/1/1, set the maximum link bandwidth for MPLS TE traffic to 1158 kbps.
Examples # Set the maximum reservable bandwidth for MPLS TE in prestandard mode to 1158 kbps, and BC 1 to 200 kbps. system-view [Sysname] interface giabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mpls te max-reservable-bandwidth 1158 bc1 200 mpls te max-reservable-bandwidth mam Use mpls te max-reservable-bandwidth mam to configure the maximum reservable bandwidth of the MPLS TE link and the BCs in IETF DS-TE MAM model. Use undo mpls te max-reservable-bandwidth mam to restore the default.
[Sysname-GigabitEthernet2/1/1] mpls te max-reservable-bandwidth mam 1158 bc0 500 bc1 300 bc2 400 bc3 100 mpls te max-reservable-bandwidth rdm Use mpls te max-reservable-bandwidth rdm to configure the bandwidth constraints in IETF DS-TE RDM model. Use undo mpls te max-reservable-bandwidth rdm to restore the default.
Syntax mpls te metric value undo mpls te metric Default The link uses its IGP metric as its TE metric. Views Interface view Default command level 2: System level Parameters value: TE metric of the link, in the range of 0 to 4294967295. Examples # Assign a TE metric of 20 to the link on interface GigabitEthernet 2/1/1.
Usage guidelines Up to 10 paths can be specified for an MPLS TE tunnel. The paths for a tunnel to use must have different preferences. A path with the highest preference is preferred for CSPF calculation. Examples # Configure interface Tunnel 0 to use the explicit path named path1 and the dynamically calculated path, setting the preferences of the paths to 1 and 2 respectively.
system-view [Sysname] mpls [Sysname-mpls] mpls te path metric-type igp In tunnel interface view: # Configure tunnel 0 to use the IGP metric for path calculation. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te path metric-type igp Related commands mpls te metric mpls te priority Use mpls te priority to assign a setup priority and holding priority to the MPLS TE tunnel. Use undo mpls te priority to restore the default.
Use undo mpls te record-route to restore the default. Syntax mpls te record-route [ label ] undo mpls te record-route Default A tunnel does not support route recording or label recording. Views Tunnel interface view Default command level 2: System level Parameters label: Includes the record of labels in the route record. This keyword is not supported when the signaling protocol is CR-LDP. Examples # Enable route recording on MPLS TE tunnel 0.
Examples # Enable reoptimization, setting the reoptimization (automatic rerouting) frequency to 43200 seconds (12 hours). system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te reoptimization frequency 43200 mpls te reoptimization (user view) Use mpls te reoptimization to start reoptimizing all reoptimization-enabled TE tunnels. Syntax mpls te reoptimization Views User view Default command level 2: System level Examples # Start reoptimizing all reoptimization-enabled TE tunnels.
Examples # Adopt the FF reservation style when setting up the CR-LSP tunnel for TE tunnel 0. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te resv-style ff mpls te retry Use mpls te retry to configure the maximum number of tunnel setup retries. Use undo mpls te retry to restore the default. Syntax mpls te retry times undo mpls te retry Default The maximum number of tunnel setup retries is 10.
Default Route pinning is disabled. Views Tunnel interface view Default command level 2: System level Usage guidelines The mpls te route-pinning command cannot be used together with the mpls te reoptimization command and the mpls te auto-bandwidth adjustment command. Examples # Enable route pinning.
mpls te tie-breaking Use mpls te tie-breaking to specify a tie breaker that a tunnel uses to select a path when multiple paths with the same metric are present. Use undo mpls te tie-breaking to restore the default. Syntax mpls te tie-breaking { least-fill | most-fill | random } undo mpls te tie-breaking Default In MPLS view, the tie breaker is random. In tunnel interface view, no tie breaker is specified.
Syntax mpls te timer auto-bandwidth [ seconds ] undo mpls te timer auto-bandwidth Default Automatic bandwidth adjustment is disabled. Views MPLS view Default command level 2: System level Parameters seconds: Interval for output rate sampling for tunnels configured with automatic bandwidth adjustment, in the range of 1 to 604800 seconds. If it is not configured, the default of 300 seconds applies. Use the default in normal cases.
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. The value range is 0 to 604800 seconds, with 0 disabling the PLR to poll available bypass tunnels regularly for the best one. The default is 300 seconds or 5 minutes. Examples # Set the FRR polling timer to 120 seconds or 2 minutes.
mpls te timer retry Use mpls te timer retry to configure the interval for re-establishing the tunnel. Use undo mpls te timer retry to restore the default. Syntax mpls te timer retry seconds undo mpls te timer retry Default The interval for re-establishing a tunnel is 2 seconds. Views Tunnel interface view Default command level 2: System level Parameters seconds: Interval for re-establishing the tunnel, in the range of 1 to 4294967295 seconds.
6602 HSR6602 6604/6608/6616 0 to 256 0 to 256 • With the RSE-X1 MPU: 0 to 1024 • With other MPUs: 0 to 256 Usage guidelines Configure the tunnel ID before issuing the mpls te commit command for the first time. Otherwise, the tunnel cannot be created. Once configured, a tunnel ID cannot be removed. To change a tunnel ID, remove the tunnel, reconfigure the tunnel, and specify a new tunnel ID. Examples # Configure the tunnel ID as 100.
Examples # Configure tunnel 0 to forward only traffic of the VPN vpn1. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te vpn-binding vpn-instance vpn1 # Configure tunnel 0 to forward only the VPN traffic that matches ACL 3001.
next hop Use next hop to define a node on the explicit path. By executing this command multiple times, you can define all nodes that the explicit path must traverse in sequence. Syntax next hop ip-address [ include [ loose | strict ] | exclude ] Views Explicit path view Default command level 2: System level Parameters ip-address: Defines a node by its link IP address or router ID in dotted decimal notation. In the strict routing approach, this IP address must be a link IP address.
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. system-view [Sysname] ospf 100 [Sysname-ospf-100] opaque-capability enable ping lsp te Use ping lsp te to check MPLS TE tunnel connectivity.
-t time-out: Specifies the timeout interval for waiting for the response to an echo request message. T The value range for the time-out argument is 0 to 65535 milliseconds, and the default is 2000 milliseconds. -v: Displays detailed response information. te interface-type interface-number: Specifies a tunnel interface. Examples # Use the ping function to check the connectivity of the MPLS TE tunnel Tunnel1.
Syntax reset mpls te auto-bandwidth adjustment timers Views User view Default command level 1: Monitor level Usage guidelines This command clears information about output rate sampling and the remaining time for next bandwidth optimization. Examples # Reset the automatic bandwidth adjustment function. reset mpls te auto-bandwidth adjustment timers static-cr-lsp egress Use static-cr-lsp egress to configure a static CR-LSP on the egress node.
Usage guidelines In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established. CT 2 and CT 3 are valid only in IETF DS-TE mode. Examples # Configure a static CR-LSP on the egress node, setting its name to tunnel34, incoming interface to Serial 2/1/1, and incoming label to 233.
Usage guidelines In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established. CT 2 and CT 3 are valid only in IETF DS-TE mode. The next hop address for a static CR-LSP configured on the ingress or a transit node cannot be a local public address. Examples # Configure a static CR-LSP on the ingress node, setting its name to Tunnel3, destination IP address to 202.25.38.1, destination address mask length to 24, next hop IP address to 202.55.25.
bandwidth-value: Bandwidth required by the static CR-LSP, in the range of 1 to 32000000 kbps. Usage guidelines CT 2 and CT 3 can be used in only IETF DS-TE mode. In prestandard DS-TE mode, the configuration of CT 2 or CT 3 is invalid, and thus the tunnel cannot be established. The next hop address for a static CR-LSP configured on the ingress or a transit node cannot be a local public address.
te-set-subtlv Use te-set-subtlv to configure the sub-TLVs carrying the DS-TE parameters. Because no standard is available for these sub-TLVs, you need to configure them manually for interoperability with other vendors' devices. Use undo te-set-subtlv to restore the default.
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. The exp-value argument is in the range of 0 to 7 and defaults to 0. -h ttl-value: Specifies the maximum TTL value (the maximum number of hops to be inspected) for the Echo Request messages. The ttl-value argument is in the range of 1 to 255 and defaults to 30.
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. Usage guidelines To enable IS-IS TE, you must use the cost-style command to configure the IS-IS cost style as wide, compatible, or wide-compatible. For more information about the cost-style command, see Layer 3—IP Routing Command Reference.
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 63 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 64 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 65 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 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. 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 70 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.
Idle Code : 0x99 Client Intf : Seria2/0:0 is up Local Group ID : 0 Remote Group ID : 0 Local VC Label : 1029/1030 Remote VC Label : 1029/1030 Tunnel Policy : - Tunnel Type : lsp Tunnel ID : 0x220020 Local VCCV CC Type : CW, RA Local VCCV CV Type : LSPV Remote VCCV CC Type : RA Remote VCCV CV Type : LSPV Table 71 Command output Field Description VC ID Remote VC ID. VC State Status of the VC. Destination Destination IP address.
Field Description NOTE: You can use VCCV to verify the connectivity of a VC only if the two peers support at least one identical CC type and one identical CV type. # Display information about Martini VCs received from the remote peer. display mpls l2vc remote-info total remote ldp vc : 1 Transport Group Peer Remote Remote C Remote VC ID ID Addr Encap VC Label Bit MTU 100 0 3.3.3.
|: 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.
Table 75 Command output Field Description VPN name Name of the MPLS L2VPN. Encap type VC type. Local ce number(s) Number of local CEs. Remote ce number(s) Number of remote CEs. MTU Maximum transmission unit. Import vpn target Import route target of the VPN. Export vpn target Export route target of the VPN. # Display information about local CEs of L2VPN vpn1.
Syntax display mpls l2vpn connection [ interface interface-type interface-number | summary | vpn-name vpn-name [ remote-ce ce-id | down | up | verbose ] ] [ | { 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. summary: Displays summary information about VC connections.
Table 78 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. VPN name Name of the MPLS L2VPN. CE name Name of the local CE. id ID of the local CE. Rid ID of the remote CE. type Type of the connection. status Status of the connection. peer-id IP address of the peer.
Table 79 Command output Field Description Conn-type Type of the connection. Local vc state Local VC status. Remote vc state Remote VC status. Local ce-id ID of the local CE. Local ce name Name of the local CE. Remote ce-id ID of the remote CE. Intf(state,encap) Interface name (interface status, interface encapsulation type). Peer id IP address of the peer. Local vc label Local VC label. Remote vc label Remote VC label. Tunnel policy Name of the tunneling policy.
display mpls l2vpn fib ac vpws Use display mpls l2vpn fib ac vpws to display Attachment Circuit (AC) information for the MPLS L2VPN.
AC Encapsulation **In Interface : 100 : Eth1/1 Service Instance ID : 2 Access Mode : Vlan CE Type : Independent AC Encapsulation : s-vid 101 c-vid 400 to 500 600 700 # Display the AC information for service instance 1 on Layer 2 Ethernet interface GigabitEthernet 2/1/1.
Parameters interface interface-type interface-number: Specifies the interface connecting a CE by the interface type and number. service-instance service-instanceid: Specifies a service instance by its ID in the range of 1 to 4094. verbose: Displays the detailed information. slot slot-number: Displays the PW entry information for a card. The slot-number argument specifies the number of the slot that holds the card.
Field Description TunnelID ID of the public tunnel. # Display the detailed MPLS L2VPN PW information.
Table 83 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. Service Instance ID Service instance ID. In VC Label Incoming VC label of the data packets. Out VC Label Outgoing VC label of the data packets. Out Interface Outgoing interface, valid for a local CCC connection. For other connections, this field displays hyphens (----).
Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Displays information about static VCs on the specified interface. The interface-type interface-number argument specifies a PE-CE interface by its type and number. If you do not specify an interface, the command displays information about static VCs on all interfaces. service-instance instance-id: Displays information about static VCs created for the specified service instance.
***CE-interface : S2/1/0:0 is up Service instance ID : -- CEM Class : satopexam Jitter Buffer Size : 100 ms Payload Size : 24 bytes Idle Code : 0x99 VC State : up/up Destination : 3.3.3.9 VC ID : 100/101 Transmit-vpn-label : 100/200 Receive-vpn-label : 300/400 Tunnel Policy : policy1 Tunnel Type : lsp Tunnel ID : 0x226013 Backup VC VC State : up/up Destination : 3.3.4.
Syntax display pw-class [ class-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters class-name: Specifies the name of a PW class, a case-insensitive string of 1 to 19 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.
display service-instance interface NOTE: This command is supported only on routers with SAP-4EXPs. Use display service-instance interface to display information about one or all service instances created on an interface.
Field Description Rewrite inbound tag Inbound packet processing rule, which can be defined to add, swap, or remove VLAN tags for inbound packets that fit the packet matching rule. Rewrite out bound tag Outbound packet processing rule, which can be defined to add, swap, or remove VLAN tags for outbound packets that fit the packet matching rule. Local group ID of the local switching group associated with the service instance.
In a service instance, you cannot delete the packet matching rule after configuring a packet processing rule or forwarding mode (such as VLAN switching or MPLS L2VPN). Examples # Configure a packet matching rule in service instance 1 on Ten-GigabitEthernet1/0/1 to match traffic that carries outer VLAN ID 111, and inner VLAN ID 20 or an inner VLAN ID in the range of 30 to 40.
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.
Usage guidelines If you do not specify a tunneling policy, or if you specify a nonexistent tunneling policy, the default policy is used for the VC. The default tunneling policy selects only one tunnel in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel. For information about how to configure a tunneling policy, see MPLS Configuration Guide. Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, and ATM AAL5 transparent transport support the control word function.
mpls l2vpn Use mpls l2vpn to enable MPLS L2VPN. Use undo mpls l2vpn to disable MPLS L2VPN and delete all L2VPN configurations. Syntax mpls l2vpn undo mpls l2vpn Default MPLS L2VPN is disabled. Views L2VPN view Default command level 2: System level Usage guidelines You must use the mpls l2vpn command to enable MPLS L2VPN before configuring other MPLS L2VPN commands except the mpls l2vpn reserve vlan command. Examples # Enable MPLS L2VPN.
ethernet: Uses Ethernet encapsulation. fr: Uses FR encapsulation. hdlc: Uses HDLC encapsulation. ppp: Uses PPP encapsulation. vlan: Uses VLAN encapsulation. control-word: Enables the control word function. no-control-word: Disables the control word function. Usage guidelines The VC type specified by this command must match that of the AC link. Only L2VPNs that use VC types of PPP, HDLC, FR DLCI, FR port mode, and ATM AAL5 transparent transport support the control word function.
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. tunnel-policy tunnel-policy-name: Specifies a tunneling policy for the VC by its name, a string of 1 to 19 case-insensitive characters. backup-peer ip-address vcid: Specifies the peer PE IP address and VC ID of the backup VC.
Use undo mpls static-l2vc to delete the static VC. Syntax mpls static-l2vc destination destination-router-id transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ { control-word | ethernet | no-control-word | vlan } | tunnel-policy tunnel-policy-name ] * undo mpls static-l2vc Views Interface view Default command level 2: System level Parameters destination dest-router-id: Specifies the IP address of the peer PE.
mpls static-l2vc switchover Use mpls static-l2vc switchover to switch traffic from the active VC to the standby VC manually. Syntax mpls static-l2vc switchover Views Interface view Default command level 2: System level Usage guidelines This command applies only to primary and backup SVCs create by using the mpls static-l2vc command. You can use this command to manage traffic on the network.
Examples # Set the MPLS L2VPN MTU to 1000. system-view [Sysname] mpls l2vpn vpn1 [Sysname-mpls-l2vpn-vpn1] mtu 1000 ping lsp pw (for MPLS L2VPN) Use ping lsp pw to check the connectivity of a Martini VC.
Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms --- FEC: FEC 128 PSEUDOWIRE (NEW) 3.3.3.9 301 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 31/55/62 ms pw-class Use pw-class to create a PW class and enter PW class view. Use undo pw-class to delete an existing PW class.
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.
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. It can be a string of 3 to 21 characters. An RD can be 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.
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 The device can support up to 20480 service instances. Examples # Create service instance 1 on Ten-GigabitEthernet 1/0/1, and then enter service instance view.
Examples # Create a primary static VC and a backup static VC for service instance 1. Configure the local VC label as 200 and remote VC label as 201 for the backup VC. (This configuration is supported only on routers with SAP-4EXPs.) system-view [Sysname] interface Ten-GigabitEthernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] service-instance 1 [Sysname-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 100 [Sysname-Ten-GigabitEthernet1/0/1-srv1] xconnect static-peer 1.1.1.9 pw-id 600 backup-peer 2.
system-view [Sysname] interface Ten-GigabitEthernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] service-instance 1 [Sysname-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 100 [Sysname-Ten-GigabitEthernet1/0/1-srv1] xconnect static-peer 1.1.1.9 pw-id 600 backup-peer 2.2.2.9 backup-pw-id 7 [Sysname-Ten-GigabitEthernet1/0/1-srv1-static-xpeer] static label local 100 remote 200 # Create a primary static VC and a backup static VC on the interface Ten-GigabitEthernet 1/0/1.
undo vpn-target { all | { vpn-target&<1-16> [ both | export-extcommunity | import-extcommunity ] } Views MPLS L2VPN view Default command level 2: System level Parameters vpn-target&<1-16>: Adds route target extended community attributes to the import route target extended community attribute list (Import Target) or export route target extended community attribute list (Export Target). &<1-16> means that you can add up to 16 route targets.
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. pw-id pw-id: Specifies the PW ID of the Martini VC. The value range for the PW ID is 1 to 4294967295.
• 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. When the PE sends packets to the CE, it does not add a P-tag into the packets. The MTU specified by this command is advertised through LDP and used for PW negotiation. This command is available for service instances with the ID in the range of 1 to 4094.
xconnect static-peer NOTE: This command is supported only on routers with SAP-4EXPs. 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.
wtr-time wtr-time: Specifies the switchback delay time. When the primary VC recovers, the device waits for the switchback delay time before switching the traffic from the backup VC back to the primary VC. The value range for the wtr-time argument is 1 to 720 minutes, and the default is 30 minutes. Usage guidelines After you enter the Static-xpeer view, you can configure VC labels for the primary and backup VCs.
You can use this command to manage traffic on the network. 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. 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: Upper speed limit of the VPLS instance in kbps, in the range of 64 to 4194303.
undo broadcast-restrain Default The broadcast suppression ratio for a VPLS instance is 5. Views VSI view Default command level 2: System level Parameters ratio: Broadcast suppression ratio for the VPLS instance, in the range of 1 to 100, in percentage. Usage guidelines Together with the bandwidth command, this command defines a threshold for suppressing the broadcast traffic (including broadcast, multicast, and unknown unicast traffic) of the VPLS instance.
display bgp vpls Use display bgp vpls to display the VPLS information in a BGP routing table. Syntax display bgp vpls { all | group [ group-name ] | peer [ [ ip-address ] verbose ] | route-distinguisher route-distinguisher [ site-id site-id [ label-offset label-offset ] ] } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all: Specifies all VPLS information in the BGP routing table.
Field Description 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. LB Base Initial label of the label block. LocPref Local preference.
Routing policy configured: No routing policy is configured Table 89 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. BGP last state State that the BGP session was in before transitioning to the current status.
Field Description Peer Preferred Value Peer preference value. BFD Whether BFD is enabled for the peer. Routing policy configured Routing policy configured for the peer. # Display the VPLS information for RD 100:1 in the BGP routing table. display bgp vpls route-distinguisher 100:1 BGP Local Router ID : 2.2.2.9, Local AS Number : 100 Origin codes:i - IGP, e - EGP, ? - incomplete BGP.VPLS: 1 destination SITE ID LB Offset LB Size LB Base Nexthop LocPref 8 0 10 524624 3.3.3.
Table 91 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. *Nexthop Address of the next hop. Locpref Local preference. Metric Cost value.
Views Any view Default command level 1: Monitor level Parameters vsi-name: Name of the VPLS instance, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. blackhole: Black hole MAC forwarding entries. dynamic: Dynamic MAC forwarding entries. static: Static MAC forwarding entries. count: Number of MAC forwarding entries. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Field Description AGING TIME Whether the MAC address of the VPLS instance may 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 the 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 95 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 97 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 98 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 100 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 101 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. Usage guidelines The device does not support binding a VPLS instance to a VLAN interface.
[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.
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. Views VSI view Default command level 2: System level Examples # Set the maximum number of MAC addresses that the device can learn for VPLS instance aaa to 1024, and configure the device to drop packets with unknown source MAC addresses after it has learned the maximum number of MAC addresses.
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: Multicast suppression ratio for the VPLS instance, in the range of 1 to 100, in percentage.
pw-class class-name: References a PW class by its name, a case-insensitive string of 1 to 19 characters. pw-id pw-id: 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. backup-pw-id pw-id: Specifies the ID of the PW to the backup NPE.
-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. -r reply-mode: Specifies the reply mode of the receiver in response to an Echo Request message. The reply-mode argument can be 1 or 2, where 1 means "Do not respond," and 2 means "Respond using a UDP packet." The default is 2. -s packet-size: Specifies the payload length of the Echo Request message.
Parameters pw-class-name: Name of the PW class, a case-insensitive string of 1 to 19 characters. Examples # Create PW class pw100 and enter its view. system-view [Sysname] pw-class pw100 [Sysname-pw-pw100] pwsignal Use pwsignal to specify the PW signaling protocol for a VPLS instance, and enter VSI-protocol view Syntax pwsignal { bgp | ldp | static } Views VSI view Default command level 2: System level Parameters bgp: Specifies the VPLS instance to use BGP signaling (Kompella mode).
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: 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: 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: 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 }: 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.
[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 268
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: 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.
Syntax display bgp vpnv4 all routing-table [ [ network-address [ { mask | mask-length } [ longer-prefixes ] ] | as-path-acl as-path-acl-number | cidr | community [ aa:nn ]&<1-13> [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | different-origin-as | peer ip-address { advertised-routes | received-routes } [ statistic ] | statistic ] [ | { begin | exclude | include } regular-
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. begin: Displays the first line that matches the specified regular expression and all lines that follow.
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.9 Ext-Community : AS-path : 65410 Origin : incomplete Attribute value : MED 0, localpref 100, pref-val 0, pre 255 State : valid, internal, VPN best, Not advertised to any peers yet Total Number of Routes: 1(vpna) Paths: 1 available, 1 best, 0 VPN best BGP routing table entry information of 1.1.1.
Field Description 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. Counts of routes, including: Paths • available—Number of available routes. • best—Number of best routes. Route label information. Label information • Received—Received label information.
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: Name of the peer group, a case-sensitive string of 1 to 47 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Field Description 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. 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.
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.
|: 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.
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: Name of the peer group, a case-sensitive string of 1 to 47 characters. log-info: Displays log information. ip-address: 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 109 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 110 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 112 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: Basic community list number in the range of 1 to 99. comm-list-name: 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 115 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status Route status codes. For valid values, see Table 103.
network-address: IP address of the destination segment. mask: Network mask, in the format of X.X.X.X. mask-length: 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. 3.
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: 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 11
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: 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 121 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 123 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.
filter-policy export (BGP-VPNv4 subaddress family view) Use filter-policy export to filter all or certain types of routes to be advertised. Use undo filter-policy export to remove the configuration. Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id | rip process-id | static ] undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ] Default MP-BGP does not filter routes to be advertised.
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import undo filter-policy import Default Received routes are not filtered. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters acl-number: 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.
Usage guidelines You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough. An import routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. An import routing policy specified in IPv4 VPN view applies to only the IPv4 VPN. An import routing policy specified in IPv4 VPN view takes precedence over that specified in VPN instance view.
system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] ip binding vpn-instance vpn1 ip vpn-instance Use ip vpn-instance to create a VPN instance and enter VPN instance view. Use undo ip vpn-instance to delete a VPN instance. 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: Name for the VPN instance, a case-sensitive string of 1 to 31 characters.
Examples # Enter BGP-VPNv4 subaddress family view. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] ipv4-family (VPN instance view) Use ipv4-family in VPN instance view to enter IPv4 VPN view. 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.
Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines Before configuring the mpls ldp vpn-instance command, you must configure the MPLS LSR ID and enable MPLS for the device. Examples # Enable LDP for VPN instance vpn1, create the LDP instance, and enter the MPLS LDP VPN instance view.
peer advertise-community (BGP-VPNv4 subaddress family view) Use peer advertise-community to specify to advertise community attributes to a peer or peer group. Use undo peer advertise-community to remove the configuration. Syntax peer { group-name | ip-address } advertise-community undo peer { group-name | ip-address } advertise-community Default No community attributes are advertised to any peer or peer group.
ip-address: IP address of the peer. number: Maximum number that the local AS number can appear repeatedly in the AS-PATH attribute, in the range of 1 to 10. The default is 1. Examples # In BGP-VPNv4 subaddress 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] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.
import: Filters the received routes. export: Filters the routes to be advertised. Examples # In BGP-VPNv4 subaddress family view, apply AS filtering list 3 to routes advertised by peer group test. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test as-path-acl 3 export peer capability-advertise orf ip-prefix (BGP-VPNv4 subaddress family view) Use peer capability-advertise orf ip-prefix to enable the ORF capability for a BGP peer or peer group.
Table 124 Description of the both, send, and receive parameters and the negotiation result Local parameter send receive both Peer parameter Negotiation result receive The ORF sending capability is enabled locally and the ORF receiving capability is enabled on the peer. both send The ORF receiving capability is enabled locally and the ORF sending capability is enabled on the peer. both Both the ORF sending and receiving capabilities are enabled locally and on the peer.
Usage guidelines After you execute this command, the device always advertises a default route with the local address as the next hop for the specified VPN instance to the specified peer or peer group, regardless of whether the default route is present in the local routing table for the VPN. Examples # In BGP-VPNv4 subaddress family view, advertise a default route for VPN instance vpn1 to peer 1.1.1.1. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.
[Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer 1.1.1.1 enable # Configure peer 1.1.1.1 and enable the peer for the VPLS address family. system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] peer 1.1.1.1 enable peer filter-policy (BGP-VPNv4 subaddress family view) Use peer filter-policy to apply a filtering policy to a peer or peer group.
peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view) Use peer group to add a peer into an existing peer group. Use undo peer group to remove a peer from a peer group.
Syntax peer { group-name | ip-address } ip-prefix prefix-name { export | import } undo peer { group-name | ip-address } ip-prefix { export | import } Default No route filtering policy based on IP prefix list is applied to a peer or peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: IP address of the peer.
ip-address: IP address of the peer. Usage guidelines According to the networking scheme, the peer label-route-capability command enables the exchange of labeled IPv4 routes with: • ASBR PEs in the same AS. • PEs in the same AS. • The peer ASBR PE. Examples # Specify to exchange labeled IPv4 routes with peer 2.2.2.2. system-view [Sysname] bgp 100 [Sysname-bgp] peer 2.2.2.
Related commands peer ebgp-max-hop (Layer 3—IP Routing Command Reference) peer next-hop-local Use peer next-hop-local to configure the device to use the local address as the next hop of a route when advertising it to a peer or peer group. Use undo peer next-hop-local to remove the configuration.
Use undo peer preferred-value to restore the default. Syntax peer { group-name | ip-address } preferred-value value undo peer { group-name | ip-address } preferred-value Default The preference value for the routes received from a peer/peer group is 0. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: IP address of the peer.
Usage guidelines If a BGP update to be sent carries any public AS number, this command does not take effect. The value range for the private AS number is 64512 to 65535. Examples # In BGP-VPNv4 subaddress family view, configure the device to exclude private AS numbers from the BGP updates to be sent to the peer group test.
system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test reflect-client # In BGP-L2VPN address family view, configure the local device as an RR and peer group test as the client of the RR. system-view [Sysname] bgp 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer test reflect-client # In BGP-VPLS address family view, configure the local device as an RR and peer group test as the client of the RR.
[Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test route-policy test-policy import peer upe Use peer upe to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress family. Use undo peer upe to remove the configuration.
Default command level 2: System level Parameters group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: IP address of the peer. route-policy-name: Name of the routing policy, a case-sensitive string of 1 to 63 characters. export: Applies the filtering policy to routes to be advertised. Usage guidelines This command must be used together with the peer upe command Examples # In BGP-VPNv4 subaddress family view, configure peer 1.1.1.
peer-address: IP address of the peer. vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines This configuration takes effect only after the nested VPN function is enabled. Before specifying a nested VPN peer or peer group, be sure to configure the corresponding CE peer or peer group by using the peer as-number command in BGP-VPN instance view. Deleting the VPN instance to which a peer belongs will also delete the configuration of this command.
system-view [Sysname] bgp 10 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] group ebgp external [Sysname-bgp-vpn1] peer 1.1.1.1 as-number 600 [Sysname-bgp-vpn1] peer 1.1.1.1 group ebgp [Sysname-bgp-vpn1] quit [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer ebgp vpn-instance vpn1 enable [Sysname-bgp-af-vpnv4] peer 1.1.1.
[Sysname] bgp 10 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer ebgp vpn-instance vpn1 route-policy comtest import policy vpn-target (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use policy vpn-target to enable route target filtering for received VPNv4 routes. Use undo policy vpn-target to disable the filtering, permitting all VPNv4 routes.
Use undo preferred-path to remove a preferred tunnel. Syntax preferred-path number interface tunnel tunnel-number [ disable-fallback ] undo preferred-path number Default No preferred tunnel exists. Views Tunneling policy view Default command level 2: System view Parameters number: Specifies the number of the preferred tunnel, in the range of 0 to 63. A smaller number means a higher priority. interface tunnel tunnel-number: Specifies a tunnel interface for the preferred tunnel.
reflect between-clients (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable the function. Syntax reflect between-clients undo reflect between-clients Default Route reflection between clients is enabled.
reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use reflector cluster-id to specify a cluster ID for an RR. Use undo reflector cluster-id to remove the cluster ID. Syntax reflector cluster-id { cluster-id | ip-address } undo reflector cluster-id Default Each RR in a cluster uses its own router ID as the cluster ID.
refresh bgp vpn-instance Use refresh bgp vpn-instance to soft reset the BGP connections in a VPN instance. Syntax refresh bgp vpn-instance vpn-instance-name { ip-address | all | external | group group-name } { export | import } Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. ip-address: Soft resets the BGP connection with the BGP peer identified by this IP address.
external: Soft resets EBGP sessions. group group-name: Soft resets the VPNv4 connections with the BGP peer group identified by this name. 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.
Syntax reset bgp vpn-instance vpn-instance-name dampening [ network-address [ mask | mask-length ] ] Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. network-address: Network address. mask: Network mask, in the format of X.X.X.X. mask-length: Length of the network mask, in the range of 0 to 32. Examples # Clear the route flap dampening information for VPN instance vpn1.
reset bgp vpnv4 Use reset bgp vpnv4 to reset BGP VPNv4 connections. Syntax reset bgp vpnv4 { as-number | ip-address | all | external | internal | group group-name } Views User view Default command level 2: System level Parameters as-number: Resets VPNv4 connections with the peers in an AS identified by this number in the range of 1 to 4294967295. ip-address: Resets the VPNv4 connection with a BGP peer identified by this IP address. all: Resets all BGP VPNv4 connections.
No RD is configured by default; you must configure an RD for each VPN instance. A VPN instance takes effect only after you configure an RD for it. Once you configure an RD for a VPN, you cannot remove the association. You cannot change an RD directly; you can only delete the VPN instance, and then re-create the VPN instance and re-configure a new RD. Examples # Configure the RD of VPN instance vpn1.
The external route tag is used to avoid routing loops. If the external route tag carried in a Type 5 or 7 LSA received by a PE is the same as the locally configured external route tag, the PE neglects the LSA in route calculation to avoid routing loops. HP recommends that you configure configuring the same external route tag for PEs in the same area. An external route tag is not transferred in any BGP extended community attribute.
A limit configured in IPv4 VPN view applies to only the IPv4 VPN. IPv4 VPN prefers the limit configured in IPv4 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.
system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] rr-filter 10 # In BGP-L2VPN address family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv4 route update packets. system-view [Sysname] bgp 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] rr-filter 10 # In BGP-VPLS address family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv4 route update packets.
retrans-interval: Interval at which the interface retransmits LSAs, in the range of 1 to 8192 seconds. The default is 5 seconds. delay: Delay interval before the interface sends an LSA, in the range of 1 to 8192 seconds. The default is 1 second. simple [ cipher | plain ] password1: Uses simple authentication. • cipher: Sets a ciphertext key. • plain: Sets a plaintext key. • password1: Specifies the key string. This argument is case sensitive.
Use undo tnl-policy to remove the association. Syntax tnl-policy tunnel-policy-name undo tnl-policy Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters tunnel-policy-name: Name of the tunneling policy for the VPN instance, a string of 1 to 19 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.
tunnel select-seq Use tunnel select-seq to configure the preference order for tunnel selection and the number of tunnels for load balancing. Use undo tunnel select-seq to restore the default. Syntax tunnel select-seq { cr-lsp | gre | lsp } * load-balance-number number undo tunnel select-seq Default The tunnel selection preference order is: LSP tunnels, GRE tunnels, CR-LSP tunnels, and the number of tunnels for load balancing is 1—no load balancing.
tunnel-policy Use tunnel-policy to establish a tunneling policy and enter tunneling policy view. Use undo tunnel-policy to delete a tunneling policy. Syntax tunnel-policy tunnel-policy-name undo tunnel-policy tunnel-policy-name Views System view Default command level 2: System level Parameters tunnel-policy-name: Name for the tunneling policy, a string of 1 to 19 characters. Examples # Establish a tunneling policy named po1 and enter tunneling policy view.
After the command is executed successfully, the device does not inform you of the result. You can use the display vpn label operation command to view the current VPN label processing mode. Examples # Specify the VPN label processing mode of an egress PE as outbound interface based forwarding. system-view [Sysname] vpn popgo # Specify the VPN label processing mode of an egress PE as FIB based forwarding.
Default No route targets are configured and you must configure route targets when creating a VPN instance, an IPv4 VPN, or an IPv6 VPN. Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters vpn-target&<1-8>: Adds route target extended community attributes to the import route target extended community attribute list (Import Target) or export route target extended community attribute list (Export Target). &<1-8> means that you can add up to eight route targets.
[Sysname-vpn-instance-vpn2] quit 348
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: 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 126 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: IPv6 address of the destination network segment. prefix-length: 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 127 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 103. Origin Route origin codes. For more information, see Table 103. 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: IPv6 address of the destination segment. prefix-length: 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: Name of a VPN instance, a case-sensitive string of 1 to 31 characters. ipv6-address: IPv6 address of a peer.
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: VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: IPv6 address of the destination network segment. prefix-length: 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.
Field Description Origin Route origin codes. For more information, see Table 103. 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 103.
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: VPN instance name, a case-sensitive string of 1 to 31 characters. ipv6-address: Destination IPv6 address. prefix-length: 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. begin: Displays the first line that matches the specified regular expression and all lines that follow.
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: 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: 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: Name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: IP address of the peer. acl-number: IP ACL number in the range of 2000 to 3999.
Default command level 2: System level Parameters ip-address: IP address of a peer. prefix-name: 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.1.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: Name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: 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. If you configure this command in BGP view, you configure the local device to reflect public network routes.
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: 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: Name of the tunneling policy for the VPN instance, a string of 1 to 19 characters.
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. Syntax vpn-target vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] undo vpn-target { all | vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] } Default No route targets are configured and you must configure route targets when creating a VPN instance.
# 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,355 A accept-label,1 display bgp vpnv6 vpn-instance peer,357 add hop,73 display bgp vpnv6 vpn-instance routing-table,359 advertise-label,2 display ccc,184 B display explicit-path,74 display fib vpn-instance,293 bandwidth,228 display fib vpn-instance ip-address,296 broadcast-restrain,228 display ip vpn-instance,297 C display ipv6 fib vpn-instance,361 ccc interface in-label out-label,176 display ipv6 fib vpn-instan
display mpls lsp,23 dual-npe revertive,248 display mpls lsp statistics,26 du-readvertise,40 display mpls nhlfe,27 du-readvertise timer,41 display mpls nhlfe reflist,29 E display mpls route-state,31 enable traffic-adjustment,120 display mpls rsvp-te,83 enable traffic-adjustment advertise,121 display mpls rsvp-te established,85 encapsulation,206 display mpls rsvp-te peer,86 encapsulation,249 display mpls rsvp-te psb-content,87 explicit-path,121 display mpls rsvp-te request,90 export route-p
l2 binding vsi,249 mpls rsvp-te timer refresh,133 l2vpn,207 mpls rsvp-te timer retransmission,134 l2vpn-family,207 mpls static-l2vc (for ordinary SVC),212 label advertise,46 mpls static-l2vc (for primary-backup SVCs),211 label-distribution,46 mpls static-l2vc switchover,214 list hop,122 mpls statistics enable,57 loop-detect,47 mpls te,134 lsp-trigger,48 mpls te affinity property,135 lsr-id,49 mpls te auto-bandwidth,136 M mpls te backup,137 mpls te backup bandwidth,138 mac-learning,250 m
peer preferred-value (BGP-VPNv4 subaddress family view),322 mpls te timer retry,163 mpls te tunnel-id,163 peer preferred-value (BGP-VPNv6 subaddress family view),370 mpls te vpn-binding,164 mpls-te,165 peer public-as-only (BGP-VPNv4 subaddress family view),323 mtu (MPLS L2VPN view),214 mtu (VSI view),252 peer public-as-only (BGP-VPNv6 subaddress family view),371 multicast-restrain,253 N peer reflect-client (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view),
reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view),333 static backup-label (L2VPN peer view),260 static label,220 static label (L2VPN peer view),261 reflector cluster-id (BGP-VPNv6 subaddress family view),374 static-cr-lsp egress,169 static-cr-lsp ingress,170 refresh bgp ipv6 vpn-instance,375 static-cr-lsp transit,171 refresh bgp vpn-instance,334 static-lsp egress,66 refresh bgp vpnv4,334 static-lsp ingress,66 refresh bgp vpnv6,375 s
xconnect static-peer,225 X xconnect static-peer switchover,226 xconnect peer,222 xconnect vsi,267 xconnect peer switchover,224 390