HP MSR Router Series MPLS Command Reference(V5) Part number: 5998-2044 Software version: CMW520-R2511 Document version: 6PW103-20140128
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Basic MPLS commands ················································································································································ 1 accept-label ······························································································································································· 1 advertise-label ·················································································································································
ping lsp ipv4 ·························································································································································· 56 prefix-label advertise ············································································································································· 57 remote-ip································································································································································· 5
default med (BGP-VPNv4 subaddress family view) ························································································· 114 description (VPN instance view) ························································································································ 115 display bgp vpnv4 all routing-table··················································································································· 115 display bgp vpnv4 group ···································
reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) ······················ 176 refresh bgp vpn-instance ····································································································································· 176 refresh bgp vpnv4 ··············································································································································· 177 reset bgp vpn-instance ···············································
MPLS TE configuration commands ························································································································· 224 add hop ································································································································································ 224 delete hop ···························································································································································· 224 display ex
mpls te auto-bandwidth······································································································································· 287 mpls te backup····················································································································································· 288 mpls te backup bandwidth ································································································································· 289 mpls te bandwidth ·····
traffic-eng ····························································································································································· 327 L2VPN access to L3VPN or IP backbone configuration commands ···································································· 328 default ··································································································································································· 328 description ················
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 fast-forwarding cache Use display mpls fast-forwarding cache to display information about MPLS fast forwarding entries.
Table 1 Command output Field Description Label Label used as the index of the fast forwarding entry. Input_If Incoming interface. Output_If Outgoing interface. Len Length of the pre-header, in bytes. Flg Flag for indicating the packet type. It can be IP, MPLS, or L2VPN. Used Number of times the entry has been used. Fast-Forwarding Cache PreIIpHead Content of the pre-header when the Flg field is IP. Fast-Forwarding Cache PreMPLSHead Content of the pre-header when the Flg field is MPLS.
Examples # Display the ILM entry with a specific incoming label. display mpls ilm 60 Inlabel In-Interface Token VRF-Index Oper LSP-Type Swap-Label ----------------------------------------------------------------------------60 Eth1/1 1 0 NULL STATIC LSP - Token VRF-Index Oper LSP-Type Swap-Label # Display all ILM entries.
In Interface : Eth1/2 VRF Index : 0 Operation : NULL Swap Label : - Out Interface : - Status : MAIN Create Time : 07:57:26:927 Last Change Time : 07:57:26:927 Tunnel ID : 0xc0002(Done) GrCount: 0 Service : Statistics(Succeeded) Table 3 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.
Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. Without this argument, the command displays information about all MPLS-enabled interfaces. verbose: Displays detailed information. Without this keyword, the command displays brief information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display mpls label Use display mpls label to display usage information for the specified labels or all labels. Syntax display mpls label { label-value1 [ to label-value2 ] | all } [ | { begin | exclude | include } 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. The value range for the label is 16 to an integer in the range of 16 to 204799.
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: • On—LDP NSR is enabled but the data backup is not finished yet. Nonstop Routing • 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.
Vlan100 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 Vlan300 24.1.1.2 Table 6 Command output Field Description Label Advertisement Policy Information about the label advertisement policy.
display mpls ldp interface Use display mpls ldp interface to display 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.
-------------------------------------------------------------Interface Name : Ethernet1/1 LDP ID : 172.17.1.1:0 Transport Address : 172.17.1.1 Entity Status : Active Interface MTU Configured Hello Timer : 15 Sec Negotiated Hello Timer : 15 Sec : 1500 Configured Keepalive Timer : 45 Sec Label Advertisement Mode : Downstream Unsolicited Hello Message Sent/Rcvd : 591/1033 (Message Count) ------------------------------------------------------------Interface Name : Ethernet1/2 LDP ID : 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 LSP information for the specified VPN.
Table 8 Command output Field Description In/OutLabel Incoming/outgoing label. An asterisk (*) 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 the specified peers or all peers.
168.1.1.1:0 168.1.1.1 Ethernet1/1 100.10.1.1:0 100.10.1.1 Serial2/0 -------------------------------------------------------------- Table 9 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 7. 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 11 Command output Field Description LDP ID Local LDP identifier. For a description of the LDP identifier, see the LDP ID field in Table 7. 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 -------------------------------------------------------------------------1.1.1.
LDP Extended Discovery Source : Remote peer: 1 Addresses received from peer: (Count: 2) 10.1.1.1 1.1.1.1 -------------------------------------------------------------------------Peer LDP ID : 2.2.2.2:0 TCP Connection : 3.3.3.3 -> 2.2.2.2 Session State : Operational Local LDP ID : 3.3.3.
Field Description Session existed time Length of time that elapsed after the session was established. LDP Basic Discovery Source Interface where the session is established. The value is the name of the interface for basic discovery and name of the remote peer for extended discovery..
[ vpn-instance vpn-instance-name ] [ protocol { bgp | bgp-ipv6 | crldp | ldp | rsvp-te | static | static-cr } ] ] [ egress | ingress | transit ] [ { exclude | include } { ipv4-dest-addr mask-length | ipv6-dest-addr prefix-length } ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters incoming-interface interface-type interface-number: Displays information about the LSPs using the specified interface as the incoming interface.
|: 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.
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. VrfName : 1 : Fec : 1.1.1.9/32 Nexthop : 127.0.0.
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. For more information about regular expressions, see Fundamentals Configuration Guide.
display mpls nhlfe Use display mpls nhlfe to display information about NHLFE entries. Syntax display mpls nhlfe [ token ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters token: Specifies an NHLFE entry index in the range of 0 to 32767. verbose: Displays the detailed information. |: Filters command output by specifying a regular expression.
Field Description Deep Depth of the MPLS label stack. Stack MPLS label. # Display detailed information about all NHLFE entries. display mpls nhlfe verbose Total NHLFE Entry: 1 **Token : 1 Tunnel ID:0x7600001 VRF Index : 0 Next Hop : 1.1.1.
Field Description Last Change Time Time of the last update of the entry. Service type and status. Service The service type is Statistics. The service status can be Succeeded (service has been enabled successfully) or Failed (service failed to be enabled). display mpls nhlfe reflist Use display mpls nhlfe reflist to display the usage information for the NHLFE entries.
Field Description Key-Info Key parameters of the entry. NOTE: An asterisk (*) before the number of a node entry means that the node is invalid and is to be deleted.. Table 20 Types of associated nodes and their key parameters Node type Description Key parameter FTN FEC to NHLFE mapping. • VPN ID—VPN instance ID • Address prefix/mask ILM Incoming label mapping. • In-Label—Incoming label • In-If—Incoming interface LPW Sending entries of VPWS PW.
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines With no VPN instance specified, the command displays the LSP information for the public routes. With no destination address and mask specified, the command displays the LSP information for all routes.
Views Any view Default command level 1: Monitor level Parameters lsp-name lsp-name: Displays information about the specified LSP. The LSP name is a string of 1 to 15 characters. exclude: Displays information about the LSPs other than the one for the given FEC. include: Displays information about the LSP for the given FEC. 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.
Related commands • display mpls lsp • display mpls statistics lsp display mpls statistics interface Use display mpls statistics interface to display MPLS statistics for one or all interfaces. Syntax display mpls statistics interface { interface-type interface-number | all } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface-type interface-number: Displays MPLS statistics for the specified interface.
Errors : 0 Disables : 0 Start Time : 2004/04/28 10:23:55 End Time : 2004/04/28 10:23:55 Statistics for Interface IN : Incoming Interface Ethernet1/2 Octets : 0 Packets : 0 Errors : 0 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 Ethernet1/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
Field Description Disables Number of packets dropped by the incoming interface/outgoing interface. Start Time Start time of the statistics. End Time End time of the statistics. Related commands • mpls statistics enable • statistics interval 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.
Errors : 0 Down : 0 Start Time : 2006/05/20 15:52:30 End Time : 2006/05/20 15:52:30 Statistics for Lsp OUT : LSP Name /LSP Index : DynamicLsp/9217 OutSegment 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 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 : L
NOTE: • On an ingress, no statistics are collected in the incoming direction and the start time and end time in the InSegment part of the command output are both 0. • On an egress, no statistics are collected in the outgoing direction and the start time and end time in the OutSegment part of the command output are both 0. Related commands statistics interval dscp Use dscp to configure a DSCP value for outgoing LDP packets. Use undo dscp to restore the default.
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.
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. Views MPLS LDP view Default command level 2: System level Usage guidelines Enabling or disabling GR also causes all LDP sessions and all LSPs based on the sessions to be removed and then reestablished. Examples # Enable MPLS LDP GR. system-view [Sysname] mpls lsr-id 1.1.
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. Use undo graceful-restart timer neighbor-liveness to restore the default. Syntax graceful-restart timer neighbor-liveness timer undo graceful-restart timer neighbor-liveness Default The LDP neighbor liveness time is 120 seconds.
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. Modifying the FT reconnect time will cause all LDP sessions and all LSPs based on the sessions to be removed and then reestablished. Examples # Set the FT reconnect time to 100 seconds.
hops-count Use hops-count to set the maximum hop count for loop detection. Use undo hops-count to restore the default. Syntax hops-count hop-number undo hops-count Default The maximum hop count for loop detection is 32. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters hop-number: Specifies the hop count in the range of 1 to 32. Usage guidelines Configure this command before enabling LDP on any interface.
Default The egress distributes an implicit null label to the penultimate hop. Views MPLS view Default command level 2: System level Parameters explicit-null: Specifies the egress to distribute an explicit null label of 0 to the penultimate hop. implicit-null: Specifies the egress to distribute an implicit null label of 3 to the penultimate hop. non-null: Specifies the egress to distribute a normal label of not less than 1024 to the penultimate hop.
ordered: Specifies the ordered label distribution control mode. In this mode, an LSR advertises to its upstream a label binding for a FEC only when it receives a label binding for the FEC from its downstream or when it is the egress of the FEC. Usage guidelines You must use the reset mpls ldp command to reset LDP sessions so that this command takes effect for those sessions. Examples # Set the label distribution control mode to independent for the public network LDP instance.
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. Syntax lsp-trigger [ vpn-instance vpn-instance-name ] { all | ip-prefix prefix-name } undo lsp-trigger [ vpn-instance vpn-instance-name ] { all | ip-prefix prefix-name } Default Only host routes with 32-bit masks can trigger establishment of LDP LSPs.
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. Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters lsr-id: Specifies the LDP LSR ID. Examples # Configure the LDP LSR ID of the public network as 2.2.2.3. system-view [Sysname] mpls ldp [Sysname-mpls-ldp] lsr-id 2.2.2.
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. Usage guidelines The key configured locally must be the same as that configured on the peer.
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 Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mpls Related commands mpls lsr-id mpls ldp (system view) Use mpls ldp to enable LDP globally and enter MPLS LDP view.
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. Views Interface view Default command level 2: System level Usage guidelines After you enable LDP on an interface, the interface will periodically send Hello messages. Before enabling LDP in interface view, be sure to complete the following tasks: • Use the mpls lsr-id command in system view to set the node LSR-ID.
Default command level 2: System level Parameters remote-peer-name: Specifies a name for the remote peer, a case-insensitive string of 1 to 32 characters. Examples # Create a remote peer entity named BJI and enter MPLS LDP remote peer view. system-view [Sysname] mpls ldp remote-peer BJI [Sysname-mpls-ldp-remote-bji] Related commands remote-ip mpls ldp timer hello-hold Use mpls ldp timer hello-hold to set a Hello timer. Use undo mpls ldp timer hello-hold to restore the default.
[Sysname] mpls ldp remote-peer BJI [Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3 [Sysname-mpls-ldp-remote-bji] mpls ldp timer hello-hold 1000 Related commands • mpls ldp (interface view) • mpls ldp (system view) mpls ldp timer keepalive-hold Use mpls ldp timer keepalive-hold to set a keepalive timer. Use undo mpls ldp timer keepalive-hold to restore the default.
[Sysname] mpls ldp remote-peer BJI [Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3 [Sysname-mpls-ldp-remote-bji] mpls ldp timer keepalive-hold 1000 mpls ldp transport-address Use mpls ldp transport-address to configure an LDP transport address. Use undo mpls ldp transport-address to restore the default.
mpls lsr-id Use mpls lsr-id to configure the ID of an LSR. Use undo mpls lsr-id to remove the ID of an LSR. Syntax mpls lsr-id lsr-id undo mpls lsr-id Default No LSR ID is configured. Views System view Default command level 2: System level Parameters lsr-id: Specifies the ID for identifying the LSR, in dotted decimal notation. Usage guidelines Configure the LSR ID of an LSR before configuring any other MPLS commands. HP recommends that you use the address of a loopback interface on the LSR as the ID.
Default command level 2: System level Parameters value: Specifies the MPLS MTU of the interface, in the range of 46 to 65535. Usage guidelines The command is effective only when MPLS is enabled on the interface. If the MPLS MTU is larger than the interface MTU, data forwarding might fail. The command does not apply to TE tunnel interfaces. Examples # Configure the MPLS MTU of Ethernet 1/1 as 1000.
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.
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.9/32 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.
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. Two peers use their MPLS LSR IDs as the transport addresses to establish a TCP connection.
system-view [Sysname] mpls ldp remote-peer bji [Sysname-mpls-ldp-remote-bji] remote-ip bfd reset mpls fast-forwarding cache Use reset mpls fast-forwarding cache to clear information in the MPLS fast forwarding cache. Syntax reset mpls fast-forwarding cache Views User view Default command level 1: Monitor level Examples # Clear information in the MPLS fast forwarding cache. reset mpls fast-forwarding cache reset mpls ldp Use reset mpls ldp to reset LDP sessions.
# Reset the sessions of LDP instance vpn1. reset mpls ldp vpn-instance vpn1 # Reset the sessions for a FEC. reset mpls ldp 2.2.2.2 24 # Reset the session with a specific peer. reset mpls ldp peer 2.2.2.9 reset mpls statistics interface Use reset mpls statistics interface to clear MPLS statistics for the specified MPLS interfaces.
Examples # Clear MPLS statistics for LSP lsp1. reset mpls statistics lsp name lsp1 Related commands display mpls statistics lsp 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.
Views System view 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.
Views System view 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.
Default command level 2: System level Parameters interval-time: Specifies the statistics reading interval in the range of 30 to 65535 seconds. Examples # Set the LSP statistics reading interval to 30 seconds. system-view [Sysname] mpls [Sysname-mpls] statistics interval 30 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.
LSP Trace Route FEC: IPV4 PREFIX 3.3.3.9/32 , press CTRL_C to break. TTL Replier Time Type Downstream 1 10.4.5.1 1 Ingress 10.4.5.1/[1025] Transit 100.3.4.1/[1024] 2 100.1.4.2 3 100.1.2.1 63 Transit 100.1.2.1/[3] 129 Egress 0 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.
Default An ICMP TTL exceeded message is sent back along an IP route when the TTL of an MPLS packet with a one-level label stack expires. Views MPLS view Default command level 2: System level 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.
Related commands ttl expiration pop 67
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.
If a P device is connected to a PE, you must configure static LSPs between them. Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, ATM AAL5 transparent transport, and ATM cell transparent transport support the control word function. Only when the link that the outgoing interface connects is a point-to-point link, can you use the out-interface keyword to specify the outgoing interface.
Examples # CE 1 and CE 2 are connected to the same PE. On the PE, create a local CCC connection for the two CEs. system-view [Sysname] ccc ccc-connect-1 interface ethernet 1/1 out-interface ethernet 1/2 ce Use ce to create a CE, specify the CE name, CE ID, CE range, and the initial CE ID, and enter MPLS L2VPN CE view. Use undo ce to delete a CE.
connection Use connection to create a Kompella connection. Use undo connection to delete a Kompella connection on a CE interface. Syntax connection [ ce-offset tunnel-policy-name ] ce-id ] interface interface-type interface-number [ tunnel-policy undo connection { ce-offset id | interface interface-type interface-number } Views MPLS L2VPN CE view Default command level 2: System level Parameters ce-offset ce-id: Specifies the ID of the peer CE.
Syntax default-nexthop { ip ip-address | mac { mac-address | broadcast } } undo default-nexthop Default No default next hop is specified. Views Interface view Default command level 2: System level Parameters ip ip-address: Specifies the IP address of the default next hop. mac: Specifies the MAC address of the default next hop. mac-address: Specifies the MAC address of the default next hop. broadcast: Uses the broadcast MAC address as the MAC address of the default next hop.
Parameters all: Displays all L2VPN information in the BGP routing table. group group-name: Specifies the name of a BGP peer group, a case-sensitive string of 1 to 47 characters. peer: Displays L2VPN information of the specified BGP peer. ip-address: Specifies the IP address of a BGP peer. verbose: Displays detailed information. route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters.
Table 25 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 Local preference. as-path AS path of the route.
display bgp l2vpn peer 3.3.3.9 verbose Peer: 3.3.3.9 Local: 2.2.2.9 Type: IBGP link BGP version 4, remote router ID 3.3.3.
Field Description Address family L2VPN L2VPN address family. Received Total number of received messages and that of received update messages. Sent Total number of sent messages and that of received update messages. Maximum allowed prefix number Maximum number of routes allowed. Threshold When the number of IP prefixes received by the device to the maximum number of routes allowed by the device reaches this threshold value, the device generates a prompt.
Table 29 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. CE ID CE number in the VPN. nexthop IP address of the next hop. pref Preference. as-path AS path of the route.
Field Description encap type VC encapsulation type. Related commands route-distinguisher display ccc Use display ccc to display information about CCC connections. Syntax display ccc [ ccc-name ccc-name | type { local | remote } ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ccc-name ccc-name: Specifies the name of a CCC connection, a case-insensitive string of 1 to 20 characters..
# Display information about all local CCC connections. display ccc type local ***Name : c2 Type : local State : up Intf1 : Serial2/0 (up) Intf2 : Serial2/1 (up) # Display information about all CCC connections. display ccc Total ccc vc : 1 Local ccc vc : 0, 0 up Remote ccc vc : 1, 0 up ***Name : c1 Type : remote State : down Intf : Serial2/0 (up) In-label : 100 Out-label : 200 Nexthop : 20.1.1.
Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by the interface type and interface number. |: 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 all: Specifies all interfaces, regardless of the VC type. bgp-vc: Specifies interfaces used by Kompella VCs. ccc: Specifies interfaces used by CCC VCs. ldp-vc: Specifies interfaces used by Martini VCs. static-vc: Specifies interfaces used by static VCs (SVC). up: Specifies VC interfaces in up state. down: Specifies VC interfaces in down state. |: Filters command output by specifying a regular expression.
Interface Encap Type State VC Type Vlan10 vlan up ccc # Display interface information for Kompella VCs. display l2vpn ccc-interface vc-type bgp-vc Total ccc-interface of BGP VC: 1 up (1), down (0) Interface Encap Type State VC Type S2/1 ppp up bgp-vc # Display information about the interfaces that are used by static VCs and in up state.
include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If you specify an interface, the command displays information about the Martini VC configured on the specified interface. Examples # Display information about all Martini VCs configured on the device.
Local VC Label : 1030 Remote VC Label : 1030 Tunnel Policy : - Tunnel Type : lsp Tunnel ID : 0x220021 Remote VCCV CC Type : RA Remote VCCV CV Type : LSPV # Display information about the Martini VC connecting the CE through interface Serial 2/0:0. display mpls l2vc interface Serial2/0:0 ***VC ID : 1000/1001 VC State : up Destination : 1.1.1.
Field Description Tunnel ID ID of the tunnel. Virtual Circuit Connectivity Verification (VCCV) control channel types supported on the local end, including: • CW—Control word. • RA—Router alert (RA) label. Local VCCV CC Type VCCV is a technology like ping. It is used to check the connectivity of L2VPN PWs. Local VCCV CV Type VCCV connectivity verification types supported on the local end. Only LSPV is supported, indicating that MPLS LSP ping is used to check the PW connectivity.
Syntax display mpls l2vpn [ export-route-target-list | import-route-target-list | vpn-name vpn-name [ local-ce | remote-ce ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters export-route-target-list: Displays the export route target list. import-route-target-list: Displays the import route target list. vpn-name vpn-name: Specifies an L2VPN by its name, a case-insensitive string of 1 to 31 characters that cannot include hyphens (-).
Field Description vpn-name Name of the MPLS L2VPN. encap-type VC encapsulation type. mtu Maximum transmission unit. ce(L) Number of local CEs. ce(R) Number of remote CEs. # Display information about L2VPN vpn1.
# Display information about remote CEs of L2VPN vpn1. display mpls l2vpn vpn-name vpn1 remote-ce no. ce-id peer-id route-distinguisher LB 1 4 100:1 132096/0/10 3.3.3.9 Table 41 Command output Field Description no Sequence number. ce-id CE ID. peer-id IP address of the peer. LB Label block. display mpls l2vpn connection Use display mpls l2vpn connection to display information about Kompella VCs.
Usage guidelines If you do not specify any parameter, the command displays information about all Kompella VCs. Examples # Display information about all Kompella VCs. display mpls l2vpn connection 1 total connections, connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown VPN name: vpn1, 1 total connections, connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown CE name: ce1, id: 1, Rid type status peer-id route-distinguisher intf 4 100:1 S2/0 rmt up 3.3.3.
Local vc state : up Remote vc state : up Local ce-id : 1 Local ce name : ce1 Remote ce-id : 4 Intf(state,encap) : Serial2/0 (up,ppp) Peer id : 3.3.3.9 Route-distinguisher : 100:1 Local vc label : 132100 Remote vc label : 132097 Tunnel policy : policy1 C bit is set Tunnel Type : lsp Tunnel ID : 0x226013 Table 43 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.
Table 44 Command output Field Description connections Connection statistics, including the number of connections in the state of Up, the number of connections in the state of Down, the number of local connections, the number of remote connections, and the number of unknown connections. No. Sequence number. vpn-name Name of the MPLS L2VPN. local-num Number of local connections. remote-num Number of remote connections. unknown-num Number of unknown connections.
If you do not specify any parameter, the command displays the AC entries of all VCs. Examples # Display AC information for the MPLS L2VPN.
display mpls l2vpn fib pw vpws Use display mpls l2vpn fib pw vpws to display pseudowire (PW) entry information for MPLS L2VPN. Syntax display mpls l2vpn fib pw vpws [ interface interface-type interface-number [ service-instance service-instanceid ] ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies the interface connecting a CE by the interface type and number.
Field Description ServiceID Service instance ID. InVCLabel Incoming VC label. OutVCLabel Outgoing VC label. TunnelID ID of the public tunnel. # Display detailed MPLS L2VPN PW information.
Field Description MTU Maximum transmission unit. Control Word Indicates whether control word is used. Packets received Number of data packets received by the PW. Receives discarded Number of data packets dropped in the inbound direction of the PW. Packets sent Number of data packets sent by the PW. Sends discarded Number of data packets dropped in the outbound direction of the PW. Tunnel ID Public tunnel ID and entry state of data packets. The entry state can be Done or Waiting.
Usage guidelines If you do not specify an interface or a service instance, this command displays brief SVC information. Otherwise, it displays detailed SVC information. Examples # Display brief information about all static VCs created on the device.
Tunnel ID : 0x226013 Table 49 Command output Field Description CE-interface Interface connected to the CE. CEM Class CEM class referenced by the interface. Jitter Buffer Size Jitter buffer size, in milliseconds. Payload Size Size of the payload of a packet, in bytes. Idle Code Padding string to be used in case of packet loss. VC State Data VC and signaling VC state: up, down, or blocked. Destination Destination IP address of the VC. VC ID VC IDs of the data VC and signaling VC.
stp: Specifies all STP protocols that include MSTP and RSTP. udld: Specifies the UDLD protocol. vtp: Specifies the VTP protocol. drop: Drops packets of a protocol. tunnel: Tunnels the protocol packets. The PE replaces the protocol destination MAC address of packets from the private network with the L2PT multicast MAC address. If the destination MAC address of packets from the public network is the L2PT multicast MAC address, the PE replaces the MAC address with the protocol destination MAC address.
Configure the same destination multicast MAC address on the local and remote PEs when the l2protocol-tunnel command with the tunnel keyword, or with the tunnel and experimental keywords is configured on the PEs. Examples # Configure the destination multicast MAC address as 0010-cd10-10ac. system-view [Sysname] l2protocol-tunnel mac-address 0010-cd10-10ac Related commands l2protocol-tunnel l2vpn Use l2vpn to enable L2VPN and enter L2VPN view. Use undo l2vpn to disable L2VPN.
Usage guidelines For information about BGP L2VPN address family view, see Layer 3—IP Routing Configuration Guide. 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.
revertive: Enables support for switchback. With this keyword specified, when the primary VC recovers, traffic is switched from the backup VC back to the primary VC automatically. If you do not specify this keyword, traffic will not be switched back automatically. wtr-time wtr-time: Specifies the switchback delay time. 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.
Examples # Assume that a primary VC and a backup VC are created on Ethernet 1/1. Switch traffic from the active VC to the standby VC on the interface. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mpls l2vc switchover 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.
Default command level 2: System level Usage guidelines Before executing this command, you must enable MPLS L2VPN by using the mpls l2vpn command. Only SVC MPLS L2VPN supports Soft GRE. To set up a remote MPLS L2VPN connection between two PEs, you must use MPLS LDP, MPLS TE, or GRE to set up a public tunnel that carry the VC. You can use Soft GRE to replace the complicated public tunnel configuration.
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 encapsulation type specified by this command must match that of the AC link. Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, ATM AAL5 transparent transport, and ATM cell transparent transport support the control word function.
Parameters destination: Specifies the IP address of the peer PE. vc-id: Specifies an ID for the VC, in the range of 1 to 4294967295. control-word: Enables the control word function. ethernet: Specifies the VC encapsulation type as Ethernet. ip-interworking: Enables the SVC to support IP interworking. If you specify this keyword, when the PE receives a packet from an AC bound to the SVC, it extracts the IP packet from the packet, sends the IP packet to the peer PE over the SVC.
[Sysname] interface serial 2/0 [Sysname-Serial2/0] mpls static-l2vc 1.1.1.9 100 backup-peer 2.2.2.9 200 [Sysname-Serial2/0-static-l2vc] Related commands tunnel-policy mpls static-l2vc (for ordinary SVC) Use mpls static-l2vc to create a static VC between CEs connected to different PEs. Use undo mpls static-l2vc to delete the static VC.
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, ATM AAL5 transparent transport, and ATM cell transparent transport support the control word function.
Use undo mtu to restore the default. Syntax mtu mtu undo mtu Default The MPLS L2VPN MTU is 1500. Views MPLS L2VPN view Default command level 2: System level Parameters mtu-value: Specifies the MTU for the L2VPN, in the range of 128 to 1500. Usage guidelines HP recommends not using the mtu command, because it affects only parameter negotiations between PEs and does not instruct traffic forwarding. Examples # Set the MPLS L2VPN MTU to 1000.
-m wait-time: Specifies the interval for sending Echo Request messages. The value range for the wait-time argument is 1 to 10000, and the default is 200, in milliseconds. -r reply-mode: Specifies the reply mode of a 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 by using a UDP packet." The default is 2. -s packet-size: Specifies the payload length of the Echo Request messages.
Usage guidelines If you configure PPP to support IPCP negotiation without IP address on a PE, the PE ignores the local interface address when it performs IPCP negotiation with the peer CE in the PPP NCP phase. On an interface, the IPCP negotiation without IP address configuration takes precedence over the IPCP proxy IP address configuration, and the IPCP proxy IP address configuration takes precedence over the local interface IP address configuration.
reset bgp l2vpn Use reset bgp l2vpn to reset L2VPN BGP sessions. Syntax reset bgp l2vpn { as-number | ip-address | all | external | internal } Views User view Default command level 2: System level Parameters as-number: Resets L2VPN BGP sessions with the peers in the specified AS. The AS number must be in the range of 1 to 4294967295. ip-address: Resets the L2VPN BGP session to the peer with the specified IP address. all: Resets all L2VPN BGP sessions. external: Resets L2VPN eBGP sessions.
No RD is configured by default. You must configure an RD for each VPN. A VPN takes effect only when it is configured with an RD. Once you configure an RD for a VPN, you cannot remove the association between the RD and the VPN. You cannot change an RD directly. You can only delete the VPN and then re-create the VPN by using the new RD. Examples # Configure the RD of a VPN.
Examples # Configure export route targets as 1:1 and 1:2, and import route target as 1.2.3.4:11 for the MPLS L2VPN vpn1. system-view [Sysname] mpls l2vpn vpn1 encapsulation ppp [Sysname-mpls-l2vpn-vpn1] route-distinguisher 300:1 [Sysname-mpls-l2vpn-vpn1] vpn-target 1:1 2:2 export-extcommunity [Sysname-mpls-l2vpn-vpn1] vpn-target 1.2.3.
MPLS L3VPN configuration commands For information about the BGP-L2VPN 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.
Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route. Examples # Set the default MED to 10 in BGP-VPNv4 subaddress family view.
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. Label information • Received—Received label information. • Applied—Locally generated 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 56 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 57 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 59 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.
whole-match: Performs exact matching. community-list: Displays routing information for the specified BGP community list. basic-community-list-number: Specifies a basic community list number in the range of 1 to 99. comm-list-name: Specifies the name of a community attribute list, a string of 1 to 31 characters that contains at least one non-digit character. adv-community-list-number: Specifies an advanced community list number in the range of 100 to 199.
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 Network Network address in the BGP routing table. 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 62 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status Route status codes. For valid values, see Table 50.
mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, in the range of 0 to 32. longer-prefixes: Displays each routing entry that meets the following conditions: 1. Its destination IP address ANDed with the specified prefix equals the specified destination IP address ANDed with the specified prefix. 2. Its prefix length is shorter than or equal to the specified prefix length. 3.
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. display bgp vpnv4 vpn-instance vpn1 routing-table Total Number of Routes: 5 BGP Local router ID is 2.2.2.
Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the 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.
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 Eth1/1 Null Invalid 10.2.1.1/32 127.0.0.1 UH InLoop0 Null Invalid # Display the FIB information permitted by the IP prefix abc0 for VPN instance vpn1. system-view [Sysname] ip ip-prefix abc0 permit 10.2.0.
Syntax display fib vpn-instance vpn-instance-name ip-address [ mask | mask-length ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. ip-address: Specifies the destination IP address, in dotted decimal format. mask: Specifies the mask of the IP address, in dotted decimal format.
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. |: Filters command output by specifying a regular expression.
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 : Ethernet1/1 Table 66 Command output Field Description VPN-Instance Name and ID Name and ID of the VPN instance.
Default command level 1: Monitor view Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. 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 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. Label Distribution Mode Label distribution control mode of the instance, Ordered or Independent. Label Retention Mode Label retention mode of the instance. The device supports only the Liberal mode.
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 68 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. State Status of the sham link interface. Cost Cost of the sham link. # Display information about OSPF sham links in area 1.
Syntax display tunnel-policy { all | policy-name tunnel-policy-name } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all: Specifies all tunneling policies. tunnel-policy-name: Specifies the name of a tunneling policy, a string of 1 to 19 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Table 70 Command output Field Description Tunnel policy name Name of the tunneling policy. Preferred paths Preferred tunnels. Number Path number. Interface Tunnel interface. Tunnel type Tunnel type: GRE or TE. Fallback Whether fallback is enabled (fallback enables selecting another tunnel when the preferred tunnel is unavailable): • Enabled. • Disabled. Select-Seq Preference order for tunnel selection. Load balance number Number of tunnels for load balancing.
# Display the VPN label processing mode. display vpn label operation Pop VPN label and look up FIB entry. The output shows that the VPN label processing mode on the current egress PE is FIB based forwarding. domain-id Use domain-id to configure an OSPF domain ID. Use undo domain-id to restore the default. Syntax domain-id domain-id [ secondary ] undo domain-id [ domain-id ] Default The OSPF domain ID is 0.
export route-policy (VPN instance view/IPv4 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.
undo ext-community-type { domain-id | router-id | route-type } Default The type codes for the OSPF extended community attributes of Domain ID, Router ID, and Route Type are 0x0005, 0x0107, and 0x0306. Views OSPF view Default command level 2: System level Parameters domain-id type-code1: Specifies the type code for the OSPF extended community attribute of Domain ID. Valid values are 0x0005, 0x0105, 0x0205, and 0x8005.
ip-prefix ip-prefix-name: Specifies an IP address prefix list by its name, a string of 1 to 19 characters. direct: Filters direct routes to be advertised. isis process-id: Filters ISIS routes to be advertised that are from a specific ISIS process. The process-id argument is in the range of 1 to 65535. ospf process-id: Filters OSPF routes to be advertised that are from a specific OSPF process. The process-id argument is in the range of 1 to 65535.
Examples # In BGP-VPNv4 subaddress family view, use ACL 2255 to filter received routes. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] filter-policy 2255 import import route-policy (VPN instance view/IPv4 VPN view) Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a routing policy is referred to as an import routing policy. Use undo import route-policy to remove the application.
ip binding vpn-instance Use ip binding vpn-instance to associate an interface with a VPN instance. Use undo ip binding vpn-instance to remove the association. Syntax ip binding vpn-instance vpn-instance-name undo ip binding vpn-instance vpn-instance-name Default An interface is associated with no VPN instance; it belongs to the public network.
Usage guidelines A VPN instance takes effect only after you configure an RD for it. You can create up to 128 VPN instances for a router. Examples # Create a VPN instance named vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] Related commands route-distinguisher ipv4-family vpnv4 Use ipv4-family vpnv4 in BGP view to enter BGP-VPNv4 subaddress family view. Use undo ipv4-family vpnv4 to remove all settings configured in BGP-VPNv4 subaddress family view.
Default command level 2: System level Examples # Enter IPv4 VPN view. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family [Sysname-vpn-ipv4-vpn1] mpls ldp vpn-instance Use mpls ldp vpn-instance to enable LDP for a VPN instance, create an LDP instance, and enter MPLS LDP VPN instance view. Use undo mpls ldp vpn-instance to disable LDP for a VPN instance and remove the LDP instance.
Use undo nesting-vpn to disable the nested VPN function. Syntax nesting-vpn undo nesting-vpn Default The nested VPN function is disabled. Views BGP-VPNv4 subaddress family view Default command level 2: System level Usage guidelines If a nested VPN peer connected to a PE needs to advertise VPNv4 routes, you must enable nested VPN on the PE. Examples # Enable nested VPN.
system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 3.3.3.3 advertise-community peer allow-as-loop Use peer allow-as-loop to allow the local AS number to appear in the AS-PATH attribute of a received route and to set the allowed maximum number of repetitions. Use undo peer allow-as-loop to remove the configuration.
undo peer { group-name | ip-address } as-path-acl as-path-acl-number { import | export } Default No AS filtering list is applied to a peer or peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. as-path-acl-number: Specifies the AS_PATH filtering list number in the range of 1 to 256.
both: Supports sending and receiving Route-refresh messages with ORF information. receive: Supports receiving Route-refresh messages with ORF information. send: Supports sending Route-refresh messages with ORF information. Usage guidelines With the ORF capability enabled, the local BGP router negotiates the ORF capability with the BGP peer through Open messages.
Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
[Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable # Configure peer 1.1.1.1 and enable the peer for the BGP-L2VPN address family. system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] 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) 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 ip-address group group-name undo peer ip-address group group-name Views BGP-VPNv4 subaddress family view, BGP-L2VPN address family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. prefix-name: Specifies the name of the IP prefix list, a string of 1 to 19 characters. export: Filters the routes to be advertised to the specified peer or peer group. import: Filters the routes received from the specified peer or peer group.
• 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.2 label-route-capability peer next-hop-invariable (BGP-VPNv4 subaddress family view) Use peer next-hop-invariable to configure the device not to change the next hop of a route when advertising it to a peer. Use undo peer next-hop-invariable to restore the default.
Use undo peer next-hop-local to remove the configuration. Syntax peer { group-name | ip-address } next-hop-local undo peer { group-name | ip-address } next-hop-local Views BGP-VPNv4 subaddress family view, BGP-L2VPN address family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer.
Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. value: Specifies the preference value to be specified, in the range of 0 to 65535. Examples # In BGP-VPNv4 subaddress family view, set the preference value for the routes received from peer 131.108.1.1 to 50. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 131.108.1.
peer reflect-client (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) Use peer reflect-client to configure the local device as a route reflector (RR) and a peer or peer group as the client of the RR. Use undo peer reflect-client to remove the configuration. Syntax peer { group-name | ip-address } reflect-client undo peer { group-name | ip-address } reflect-client Default No RR or RR client is configured.
Use undo peer route-policy to remove the application. Syntax peer { group-name | ip-address } route-policy route-policy-name { export | import } undo peer { group-name | ip-address } route-policy route-policy-name { export | import } Default No routing policy is applied to a peer or peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
Usage guidelines UPE is a kind of special VPNv4 peer. It accepts only one default route for each related VPN instance on an SPE and routes from SPEs that are permitted by the routing policy. An SPE is a common VPN peer. Examples # Configure peer 1.1.1.1 as a UPE. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe peer upe route-policy Use peer upe route-policy to specify to advertise routes permitted by a routing policy to UPEs.
Related commands peer upe peer vpn-instance enable Use peer vpn-instance enable to activate a nested VPN peer or peer group and enable the capability of exchanging BGP-VPNv4 routes with the peer or peer group. Use undo peer vpn-instance enable to disable the capability of exchanging BGP-VPNv4 routes with a nested VPN peer or peer group.
Use undo peer vpn-instance group to remove a peer from a nested VPN peer group. Syntax peer peer-address vpn-instance vpn-instance-name group group-name undo peer peer-address vpn-instance vpn-instance-name group group-name Default A peer is not in any nested peer group. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters peer-address: Specifies the IP address of the peer.
Default No routing policy is applied. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. peer-address: Specifies the IP address of the peer, in dotted decimal notation. vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
Usage guidelines This command applies to inter-AS option B VPN. Only VPNv4 routes with export route target attributes matching the local import route target attributes are added into the routing table. Examples # In BGP-VPNv4 subaddress family view, disable route target filtering for received VPNv4 routes.
Examples # Tunnel interfaces Tunnel 0, Tunnel 2, and Tunnel 3 have the same destination address 1.1.1.1. Configure a tunneling policy po1 for the device, so that the device selects tunnels for traffic destined for 1.1.1.1 in this order: Tunnel 0, Tunnel 2, Tunnel 3. If all three tunnels are unavailable, tunnel selection is stopped and traffic destined for 1.1.1.1 cannot be transmitted. For traffic going to other destinations, the device selects tunnels by type and only one CR-LSP tunnel can be selected.
reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN 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.
Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters. ip-address: Soft resets the BGP connection with the BGP peer identified by this IP address. all: Soft resets all BGP connections in the specified VPN instance. external: Soft resets eBGP sessions. group group-name: Soft resets the connections with the BGP peer group identified by this name.
Usage guidelines Soft reset of BGP connections refers to updating BGP routing information without breaking BGP neighbor relationships. Examples # Soft reset all BGP VPNv4 connections in the inbound direction to make new configurations take effect. refresh bgp vpnv4 all import reset bgp vpn-instance Use reset bgp vpn-instance to reset the BGP connections in a VPN instance.
Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters. network-address: Specifies the network address. mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, in the range of 0 to 32. Examples # Clear the route flap dampening information for VPN instance vpn1.
Default command level 2: System level Parameters as-number: Resets VPNv4 connections with the peers in an AS identified by this number. The value ranges for the as-number argument is 1 to 4294967295. ip-address: Resets the VPNv4 connection with a BGP peer identified by this IP address. all: Resets all BGP VPNv4 connections. external: Resets eBGP VPNv4 connections. internal: Resets iBGP VPNv4 connections. group group-name: Resets the VPNv4 connections with a BGP peer group identified by this name.
Examples # Configure the RD of VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 22:1 route-tag Use route-tag to configure an external route tag for imported VPN routes. Use undo route-tag to restore the default.
You can configure the same external route tag for different OSPF processes. Examples # In OSPF process 100, set the external route tag for imported VPN routes to 100.
Param eter number MSR900 MSR93X MSR20-1X MSR20 MSR30 1 to 1024. 1 to 1024. 1 to 1024. 1024 by default. 1024 by default. 1024 by default. 1 to 1024. 1 to 1024. 1024 by default. 1024 by default. MSR50 MSR1000 1 to 10000. 1 to 5000. 10000 by default. 5000 by default. Examples # Specify that VPN instance vpn1 supports up to 1000 routes and can receive new routes after the number of existing routes exceeds the limit.
Usage guidelines By configuring different RR reflection policies on different RRs, you can implement load balancing among the RRs. Examples # In BGP-VPNv4 subaddress family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv4 route update packets.
retrans-interval: Specifies the interval at which the interface retransmits LSAs. The value range is 1 to 8192 seconds, and the default is 5 seconds. delay: Specifies the delay interval before the interface sends an LSA. The value range is 1 to 8192 seconds, and 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.
Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters tunnel-policy-name: Specifies the name of the tunneling policy for the VPN instance, a string of 1 to 19 characters. 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.
undo tunnel-policy tunnel-policy-name Views System view Default command level 2: System level Parameters tunnel-policy-name: Specifies the name for the tunneling policy, a string of 1 to 19 characters. Examples # Create a tunneling policy named po1 and enter tunneling policy view.
The number of tunnels for load balancing refers to the number of tunnels that an application can use. CR-LSP tunnels are preferred in this order: 1. CR-LSPs configured with ACLs 2. CR-LSPs bound with VPN 3. Ordinary CR-LSPs These three types of CR-LSPs are mutually exclusive. Only one of the three types is selected at a time. Examples # Define a tunneling policy, specifying that only GRE tunnels can be used and the number of tunnels for load balancing be 2.
[Sysname] vpn popgo # Specify the VPN label processing mode of an egress PE as FIB based forwarding. system-view [Sysname] undo vpn popgo vpn-instance-capability simple Use vpn-instance-capability simple to disable routing loop detection for the VPN OSPF process. Use undo vpn-instance-capability to restore the default. Syntax vpn-instance-capability simple undo vpn-instance-capability Default Routing loop detection is enabled for a VPN OSPF process.
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. A route target attribute can be a string of 3 to 21 characters in one these formats: • 16-bit AS number:32-bit user-defined number. For example, 101:3.
IPv6 MPLS L3VPN commands This chapter describes only IPv6 MPLS L3VPN-specific commands. For information about the commands available for both IPv4 MPLS L3VPN and IPv6 MPLS L3VPN, see "MPLS L3VPN configuration commands." default local-preference (BGP-VPNv6 subaddress family view) Use default local-preference to set the default value of the local preference. Use undo default local-preference to restore the default.
Default The default system MED value is 0. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route. Examples # Set the default MED to 10 in BGP-VPNv6 subaddress family view.
Usage guidelines If you do not specify any parameter, the command displays brief information about all peers. Examples # Display 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 AS 192.168.1.40 100 Peers in established state : 1 MsgRcvd 24 MsgSent OutQ PrefRcv Up/Down 27 0 1 00:02:10 Established Table 72 Command output Field Description Peer IP address of the peer.
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 73 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type.
Field Description Threshold Threshold for warning. When the percentage of the number of the received route prefixes to the maximum number of routes supported reaches this value, the device generates a prompt. Minimum time between advertisement runs Minimum interval between route advertisements. Optional capabilities Local optional capabilities. ORF advertise capability based on prefix (type 64): Supports the ORF address prefix capability and the capability value is 64.
Parameters network-address: Specifies the IPv6 address of the destination network segment. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: 1. Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 address ANDed with the specified prefix. 2. Its prefix length is shorter than or equal to the specified prefix length. 3.
Path/Ogn: ? Table 74 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 50. Origin Route origin codes. For more information, see Table 50. Total number of routes from all PE Total number of VPNv6 routes from all PEs. Network Destination network address. PrefixLen Prefix length of the destination network address. NextHop IPv6 address of the next hop. LocPrf Local preference value.
network-address: Specifies the IPv6 address of the destination segment. prefix-length: Specifies the prefix length in the range of 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
display bgp vpnv6 vpn-instance peer Use display bgp vpnv6 vpn-instance peer to display information about the IPv6 BGP peers in the specified VPN instance. Syntax display bgp vpnv6 vpn-instance vpn-instance-name peer [ ipv6-address verbose | verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters.
Field Description MsgRcvd Number of messages received. MsgSent Number of messages sent. OutQ Number of messages to be sent to the peer. PrefRcv Number of prefixes received. Up/Down Duration of the BGP session in the current state. State Current state of the peer. # Display detailed information about the IPv6 BGP peers in the VPN instance vpn1. display bgp vpnv6 vpn-instance vpn1 peer verbose BGP Peer is 2001::1, remote AS 200, Type: EBGP link BGP version 4, remote router ID 2.2.2.
Field Description remote router ID Router ID of the peer. BGP current state Current state of the BGP session. Up for Duration since the peer is established. BGP current event Current event of the BGP session. BGP last state State that the BGP session was in before transitioning to the current state. Port Local and remote ports of the BGP session. Configured Settings of the local timers, including the active hold interval and keepalive interval. Received Received active hold interval.
Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: Specifies the IPv6 address of the destination network segment. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: 1.
Field Description Origin Route origin codes. For more information, see Table 50. 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 50.
Usage guidelines If you do not specify any optional parameters, the command displays all IPv6 FIB information for the VPN. Examples # Display all IPv6 FIB information for VPN instance vpn1.
Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. ipv6-address: Specifies the destination IPv6 address. prefix-length: Specifies the prefix length of the destination IPv6 address, in the range of 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
export route-policy (VPN instance view/IPv6 VPN view) Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a routing policy is referred to as an export routing policy. Use undo export route-policy to remove the application. Syntax export route-policy route-policy undo export route-policy Default No routing policy is applied to filter the routes to be advertised.
Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] undo filter-policy export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] Default MP-BGP does not filter routes to be advertised. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
Default Received routes are not filtered. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, a string of 1 to 19 characters. Usage guidelines Only routes that survive the filtering are added into the BGP routing table. Examples # In BGP-VPNv6 subaddress family view, use ACL 2255 to filter received routes.
An import routing policy specified in IPv6 VPN view applies to only the IPv6 VPN. An import routing policy specified in IPv6 VPN view takes precedence over that specified in VPN instance view. If you specify an import routing policy in both IPv6 VPN view and VPN instance view, the IPv6 VPN uses the policy specified in IPv6 VPN view. Examples # Apply import routing policy poly-1 to VPN instance vpn1.
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.
Default No filtering policy is applied to a peer or peer group. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. acl-number: Specifies an IP ACL number in the range of 2000 to 3999. acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
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.
Syntax peer ip-address public-as-only undo peer ip-address public-as-only Default A BGP update carries private AS numbers. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Usage guidelines If a BGP update to be sent carries any public AS number, this command does not take effect.
ip-address: Specifies the IP address of the peer. Usage guidelines For more information about RR, see Layer 3—IP Routing Configuration Guide. The BGP view, BGP-VPNv4 subaddress family view, and BGP-VPNv6 subaddress family view support the peer reflect-client command. If you configure this command in BGP view, you configure the local device to reflect public network routes.
[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. Syntax policy vpn-target undo policy vpn-target Default The route target filtering function is enabled for received VPNv6 routes.
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.
Syntax refresh bgp ipv6 vpn-instance vpn-instance-name { ipv6-address | all | external } { export | import } Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters. ipv6-address: Soft resets the BGP connection with the BGP peer identified by this IPv6 address. all: Soft resets all IPv6 BGP connections in the specified VPN instance. external: Soft resets eBGP sessions.
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. refresh bgp vpnv6 all import reset bgp ipv6 vpn-instance Use reset bgp ipv6 vpn-instance to reset IPv6 BGP connections in a VPN instance.
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.
Parameter number MSR900 MSR93X MSR20-1X MSR20 MSR30 1 to 1024. 1 to 1024. 1 to 1024. 1 to 1024. 1024 by default. 1024 by default. 1 to 1024. 1024 by default. 1024 by default. 1024 by default. MSR50 MSR1000 1 to 10000. 1 to 5000. 10000 by default. 5000 by default. Examples # Specify that VPN instance vpn1 supports up to 1000 routes and can receive new routes after the number of existing routes exceeds the limit.
Examples # In BGP-VPNv6 subaddress family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv6 route update packets. system-view [Sysname] bgp 100 [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.
[Sysname] ip vpn-instance vpn3 [Sysname-vpn-instance-vpn3] route-distinguisher 11:33 [Sysname-vpn-instance-vpn3] ipv6-family [Sysname-vpn-ipv6-vpn3] tnl-policy po1 Related commands tunnel select-seq vpn-target (VPN instance view/IPv6 VPN view) Use vpn-target to configure route targets for a VPN instance, an IPv4 VPN, or an IPv6 VPN. Use undo vpn-target to remove the specified or all route targets of a VPN instance.
Examples # Configure route targets for VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 5:5 both # Configure route targets for the IPv6 VPN of VPN instance vpn3.
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.
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.4 Strict Include Table 82 Command output Field Description Path Name Explicit path name.
|: 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[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 0 Bytes/sec BW Unresrv[7]: 0 Bytes/sec BW Unresrv[6]: TE Cost : 10 Bandwidth Constraint Model: Russian Doll Bandwidth Constraints: BC[0] : 0 Bytes/sec BW Unresrv[0]: 6250 Byt
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 IS-IS TE link information.
Examples # Display 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 IS-IS TE statistics.
IS-IS Router ID : 1.1.1.9 Table 86 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 87 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 88 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 Srefresh interval Summary refresh interval (in seconds) Authentication State of authentication: enabled or disabled. Reliability Whether the reliability feature is configured. Retransmit interval Initial retransmission interval (in milliseconds) Increment value delta which governs the speed at which the interface increases the retransmission interval. Increment value Assume the retransmission interval is Rf seconds.
Table 90 Command output Field Description Interface Ethernet1/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.
Interface Ethernet1/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 91 Command output Field Description Interface Ethernet1/1 RSVP-TE enabled interface. Neighbor Addr: Neighbor address, in the format of X.X.X.X. SrcInstance Instance of source Message ID.
Parameters ingress-lsr-id: Specifies an ingress LSR ID. lspid: Specifies a local LSR ID in the range of 1 to 65535. tunnel-id: Specifies a tunnel ID in the range of 0 to 65535. egress-lsr-id: Specifies an 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.
Table 92 Command output Field Description Tunnel Dest Tunnel destination, in the format of X.X.X.X Session Tunnel ID Session tunnel ID. 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.
Field Description Bandwidth constraints model carried in the path message: Bandwidth Constraint Mode • IETF DS-TE RDM. • IETF DS-TE MAM. • Prestandard DS-TE RDM. display mpls rsvp-te request Use display mpls rsvp-te request to display information about RSVP-TE requests on the specified or all interfaces.
Field Description Next Hop Address Next hop address, in the format of X.X.X.X SessionFlag Reservation style. Token Bucket rate Token bucket rate, a traffic parameter. Token Bucket Size Token bucket size, a traffic parameter. Out Interface Output interface. display mpls rsvp-te reservation Use display mpls rsvp-te reservation to display information about RSVP-TE reservations on the specified or all interfaces.
Interface: Outgoing-Interface at the Egress Tunnel Dest: 19.19.19.19 Ingress LSR ID: 29.29.29.29 LSP ID: 1 Tunnel ID: 1 Upstream Label: 3 Token bucket rate: 0.00 Token bucket size: 0.00 Table 94 Command output Field Description Interface Ethernet1/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.
The RSB Content: Tunnel Dest: 29.29.29.29 Session Tunnel ID: 0 Tunnel ExtID: 19.19.19.19 Next Hop: 101.101.101.2 Reservation Style: SE Style Reservation Incoming Interface: Ethernet1/1 Reservation Interface: Ethernet1/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.
Field Description RRO-IPPrefixLen IP prefix length of recorded route. Flow Spec information Flow specifications. Token Bucket rate Token bucket rate (in kbps), a traffic parameter. Token Bucket size Token bucket size, a traffic parameter. Peak Data Rate Peak data rate (in kbps), a traffic parameter. Maximum packet size Maximum packet size, a traffic parameter. Minimum policed unit Minimum policed unit, a traffic parameter.
display mpls rsvp-te sender interface ethernet 1/1 Interface Ethernet1/1 Tunnel Dest: 29.29.29.29 Ingress LSR ID: 19.19.19.19 LSP ID: 1 Session Tunnel ID: 1 Session Name: Tunnel0 Previous Hop Address: 101.101.101.1 Token bucket rate: 0.0 Token bucket size: 0.00 # Display the RSVP-TE sender message information on all interfaces. display mpls rsvp-te sender Interface: Ethernet1/1 Tunnel Dest: 19.19.19.19 Ingress LSR ID: 29.29.29.
interface: Displays statistics about RSVP-TE for a specific interface or, if no interface is specified, all interfaces. interface-type interface-number: Specifies an interface for which statistics about RSVP-TE is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
SendPathTearCounter: 0 RecPathTearCounter: 0 SendResvTearCounter: 0 RecResvTearCounter: 0 SendSrefreshCounter: 0 RecSrefreshCounter: 0 SendAckMsgCounter: 0 RecAckMsgCounter: 0 SendErrMsgCounter: 0 RecErrMsgCounter: 0 RecReqFaultCounter: 0 BindFrrFaultCounter: 0 Table 97 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.
Field Description RecAckMsgCounter Number of received AckMsg messages. SendErrMsgCounter Number of transmitted errors. RecErrMsgCounter Number of received errors. RecReqFaultCounter Number of request failures. 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.
total statics-cr-lsp : 1 Name FEC I/O Label I/O If State abc -/- 60/NULL Eth1/1/- Down Table 98 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.
display mpls te cspf tedb Use display mpls te cspf tedb to display information about CSPF-based TEDB by specified criteria. 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: Specifies an area ID. For OSPF, the value range is 0 to 4294967295. For IS-IS, it takes the value of 1 or 2.
5 5.1.1.2 3.0.0.6 OSPF 100 0 5.1.1.1 6.1.1.1 5.1.1.2 6 6.1.1.2 3.0.0.9 OSPF 100 0 6.1.1.1 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 100 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.
Field Description Link-count Total number of connected links belonging to a particular IGP protocol process. # Display TEDB information for IGP area 1. display mpls te cspf tedb area 1 Router Node Information for Area 1: 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.
Link Type: point-to-point IGP Metric: 100 Link Status: Inactive TE Metric: 100 Color: 0xff Maximum Bandwidth: 100 (kbps) Maximum Reservable Bandwidth: 20 (kbps) Bandwidth Constraint Mode: Prestandard DS-TE RDM Bandwidth Constraints: BC[0] : 100 (kbps) BC[1] : 20 (kbps) 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 (kbp
Field Description Process Id IGP process ID. MPLS-TE Link Count Number of MPLS TE links. Link[1] Information of the first link. DR Address IP address of the DR. IGP Metric IGP metric of link. TE Metric TE metric of link. 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.
Field Description Interface IP Address Interface IP address. DR Address IP address of the DR. IGP Metric IGP metric of link. TE Metric TE metric of link. Color Link administrative attribute. Maximum Bandwidth Maximum bandwidth of the link. 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.
6 0 6 7 0 7 8 1 0 9 1 1 10 1 2 11 1 3 12 1 4 13 1 5 14 1 6 15 1 7 Table 105 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.
Table 106 Command output Field Description LspID ID of an LSP carried on a link. In/Out IF Incoming/Outgoing interface. 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.
PhysicalUpdown Link Status : UP BC Prestandard RDM(kbps) IETF Mode RDM(kbps) IETF Mode MAM(kbps) 0 2000000 200000 2000 1 1000000 150000 2000 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 1
Syntax display mpls te tunnel [ destination dest-addr ] [ lsp-id lsr-id lsp-id ] [ lsr-role { all | egress | ingress | remote | transit } ] [ name name ] [ { incoming-interface | outgoing-interface | interface } interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] 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.
LSP-Id Destination In/Out-If Name 1.1.1.9:1024 3.3.3.9 -/Eth1/1 Tunnel0 1.1.1.9:2048 3.3.3.9 -/Eth1/2 Tunnel0 Table 108 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.
IncludeAllAff : 0x0 Created Time : 2011/01/28 09:59:49 Table 109 Command output Field Description No Number. LSP ID of the tunnel. LSP-Id A value containing an asterisk (*) indicates that the CR-LSP is the reverse CR-LSP of a bidirectional 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: Specifies the ingress LSR ID, in dotted decimal notation. lsp-id: Specifies the LSP ID in the range of 1 to 65535. tunnel-name tunnel-name: Specifies the 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.
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: Specifies an 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 114 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.
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 115 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. CRLSP Number of CR-LSP tunnels.
[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.
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. Syntax list hop [ ip-address ] Views Explicit path view Default command level 2: System level Parameters ip-address: Specifies the IP address of a node 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. strict: Specifies the node ip-address2 as a strict node, which means that ip-address2 and its previous hop must be connected directly. exclude: Excludes the node ip-address2 from path calculations for the explicit path. Usage guidelines If you specify neither include nor exclude, the include keyword is used by default.
# Enable RSVP-TE on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mpls [Sysname-Ethernet1/1] mpls te [Sysname-Ethernet1/1] mpls rsvp-te mpls rsvp-te authentication Use mpls rsvp-te authentication to enable RSVP authentication on an interface. Use undo mpls rsvp-te authentication to disable RSVP authentication on an interface. Syntax mpls rsvp-te authentication { cipher | plain } auth-key undo mpls rsvp-te authentication Default RSVP authentication is disabled.
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. Syntax mpls rsvp-te bfd enable undo mpls rsvp-te bfd enable Default BFD for link detection is not enabled on an RSVP-TE enabled interface.
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. When the number of non-refreshing times exceeds the blockade multiplier, the blockade state is removed.
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. Examples # Enable MPLS RSVP-TE GR. system-view [Sysname] mpls lsr-id 1.1.1.
system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello # Enable RSVP hello extension on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mpls rsvp-te hello mpls rsvp-te hello-lost Use mpls rsvp-te hello-lost to configure the maximum number of consecutive hello losses before an RSVP neighbor is considered dead. Use undo mpls rsvp-te hello-lost to restore the default.
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 keep-multiplier number undo mpls rsvp-te keep-multiplier Default The keep multiplier is 3. Views MPLS view Default command level 2: System level Parameters number: Specifies the keep multiplier in the range of 3 to 255.
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 Ethernet 1/1.
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. Examples # Enable summary refresh on Ethernet 1/1.
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. Syntax mpls rsvp-te timer graceful-restart restart restart-time undo mpls rsvp-te timer graceful-restart restart Default The RSVP-TE GR restart interval is 120 seconds.
Usage guidelines Before configuring this command, enable the hello mechanism in MPLS view. Examples # Set the hello interval to five seconds. system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te timer hello 5 Related commands • mpls rsvp-te hello • mpls rsvp-te hello-lost mpls rsvp-te timer refresh Use mpls rsvp-te timer refresh to configure the path/reservation state refresh interval. Use undo mpls rsvp-te timer refresh 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. Views Interface view Default command level 2: System level Parameters increment-value increment-value: Specifies the increment value delta in the range of 1 to 10. The default is 1.
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.
mask-value: Specifies the 32-bit mask that includes 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. The affinity bits corresponding to the 1s in the mask are "do care" bits which must be considered; those corresponding to the 0s in the mask are "don't care" bits. Usage guidelines The affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use.
Usage guidelines If automatic bandwidth adjustment is enabled, bandwidth tuning happens every 24 hours without upper and lower bandwidth limits. Automatic bandwidth adjustment cannot be used together with the mpls te reoptimization, mpls te route-pinning, mpls te backup, and mpls te resv-style ff commands. Examples # Automatically tune bandwidth for tunnel 0 hourly.
[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. Use undo mpls te backup bandwidth to remove the configuration. Syntax mpls te backup bandwidth { bandwidth | { ct0 | ct1 | ct2 | ct3 } { bandwidth | un-limited } } undo mpls te backup bandwidth Default Bypass tunnels do not protect bandwidth.
[Sysname-Tunnel0] quit [Sysname] interface tunnel 1 [Sysname-Tunnel1] mpls te backup bandwidth ct1 1000 mpls te bandwidth Use mpls te bandwidth to assign bandwidth to the MPLS TE tunnel and specify the service class type to which the tunnel's traffic belong. Use undo mpls te bandwidth to restore the default. Syntax mpls te bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth undo mpls te bandwidth Default The bandwidth assigned to an MPLS TE tunnel is 0 and the tunnel's traffic belongs to CT 0.
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. Views Interface view Default command level 2: System level Parameters down: Sets the threshold in percentages for IGP to flood when the bandwidth is decreasing. When the percentage of available bandwidth decrease exceeds the threshold, the change is flooded and the traffic engineering database (TEDB) is updated.
[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. CSPF provides a method to path selection in MPLS domains. You must enable CSPF to establish an MPLS TE tunnel through dynamic signaling.
Parameters timer-interval: Specifies the value of the failed link timer, in the range of 0 to 300 seconds. The default is 10 seconds. Usage guidelines The failed link timer starts once a link goes down. If the IGP removes or modifies the link before the timer expires, CSPF updates information about the link in TEDB and stops the timer. If the IGP does not remove or modify the link before the timer expires, the state of the link in TEDB will change to up. Examples # Set the failed link timer to 50 seconds.
Related commands mpls te ds-te mode mpls te ds-te ietf te-class Use mpls te ds-te ietf te-class to configure a TE class mapping, or, the association of a TE class, CT, and preemption priority. Use undo mpls te ds-te ietf te-class to restore the default for a TE class mapping.
After a TE class is modified, the device will notify the IGP to re-advertise the bandwidth information of all TE interfaces, and will remove and then re-establish the CR-LSPs of the TE class on all TE interfaces. Examples # Associate TE class 7, CT 2, and preemption priority 3 in the IETF mode. system-view [Sysname] mpls [Sysname-mpls] mpls te ds-te ietf te-class 7 class-type 2 priority 3 Related commands mpls te ds-te mode mpls te ds-te mode Use mpls te ds-te mode to specify the DS-TE mode.
Syntax mpls te fast-reroute undo mpls te fast-reroute Default FRR is disabled. Views Tunnel interface view Default command level 2: System level Usage guidelines After FRR is enabled, the record route flag is automatically set to record reroute with label, whether the mpls te record-route label command is configured or not. Disable FRR before configuring the mpls te record-route command or its undo form. FRR cannot be used together with the mpls te resv-style ff command.
A bypass tunnel cannot be used for services like VPN at the same time. When you specify a bypass tunnel, make sure that: • The state of the tunnel is up. • The protected interface is not the outgoing interface in the route entries for the LSP of the bypass tunnel. Examples # Use tunnel 0 as the bypass tunnel to protect the link connected to Ethernet 1/1.
undo mpls te igp metric Default TE tunnels take their IGP metrics. Views Tunnel interface view Default command level 2: System level Parameters absolute value: Assigns an absolute metric to the TE tunnel for path calculation. The value argument takes an integer in the range of 1 to 65535. This value is directly used for path calculation. relative value: Assigns a relative metric to the TE tunnel for path calculation. The value argument takes an integer in the range of –10 to +10. The default is 0.
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. Examples # Enable OSPF and IS-IS to consider TE tunnel 0 (in up state) in its enhanced SPF calculation. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te igp shortcut mpls te link administrative group Use mpls te link administrative group to configure the link administrative group attribute.
Use undo mpls te loop-detection to disable loop detection. Syntax mpls te loop-detection undo mpls te loop-detection Default A node does not perform loop detection when setting up a tunnel. Views Tunnel interface view Default command level 2: System level Examples # Configure the node to perform loop detection when setting up tunnel 0.
mpls te max-reservable-bandwidth Use mpls te max-reservable-bandwidth to configure the bandwidth constraints BC 0 and BC 1 in prestandard DS-TE RDM mode. Use undo mpls te max-reservable-bandwidth to restore the default. Syntax mpls te max-reservable-bandwidth bandwidth-value [ bc1 bc1-bandwidth ] undo mpls te max-reservable-bandwidth Default BC 1 is 0 kbps. Default Both BC 0 and BC 1 is 0 kbps.
Default The maximum reservable bandwidth and each BC are 0 kbps. Views Interface view Default command level 2: System level Parameters bandwidth-value: Specifies the maximum reservable bandwidth of the link, in the range of 1 to 32000000, in kbps. bc0 bc0-bandwidth: Specifies the value of BC 0, in the range of 1 to 32000000, in kbps. By default, BC 0 is 0. bc1 bc1-bandwidth: Specifies the value of BC 1, in the range of 1 to 32000000, in kbps. By default, BC 1 is 0.
Default Each BC is 0 kbps. Views Interface view Default command level 2: System level Parameters bandwidth-value: Specifies the maximum reservable bandwidth of the link, or, the value of BC 0, in the range of 1 to 32000000, in kbps. bc1 bc1-bandwidth: Specifies the value of BC 1, in the range of 1 to 32000000, in kbps. By default, BC 1 is 0 kbps. bc2 bc2-bandwidth: Specifies the value of BC 2, in the range of 1 to 32000000, in kbps. By default, BC 2 is 0 kbps.
Parameters value: Specifies the TE metric of the link, in the range of 0 to 4294967295. Examples # Assign a TE metric of 20 to the link on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mpls te metric 20 Related commands mpls te path metric-type mpls te path Use mpls te path to specify a path for the tunnel to use and set the preference of the path. Use undo mpls te path to remove a path used by the tunnel.
mpls te path metric-type Use mpls te path metric-type in MPLS view to specify the link metric type for path calculation when a metric type is not explicitly configured for a tunnel. Use mpls te path metric-type in tunnel interface view to specify the link metric type to be used for path calculation of the current tunnel. Use undo mpls te path metric-type to restore the default. This undo form is only available in tunnel interface view.
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. Syntax mpls te priority setup-priority [ hold-priority ] undo mpls te priority Default Both setup and holding priorities of TE tunnels are 7. Views Tunnel interface view Default command level 2: System level Parameters setup-priority: Specifies the setup priority of the tunnel, in the range of 0 to 7.
Default command level 2: System level Parameters bidirectional: Specifies the bidirectional path switching mode. Usage guidelines Before configuring the command, you must configure an MPLS TE tunnel protection group by using the mpls te protection tunnel command. Bidirectional path switching requires that the main and backup tunnels are both bidirectional tunnels, and you must configure the bidirectional path switching mode on both ends of the main tunnel.
mode: Specifies the reverting mode, non-revertive or revertive. The default reverting mode is revertive. non-revertive: Specifies the non-revertive mode. In this mode, data is not switched back from the protection tunnel to the main tunnel even if the main tunnel recovers. revertive: Specifies the revertive mode. In this mode, data is switched back from the protection tunnel to the main tunnel when the main tunnel recovers.
Parameters clear: Clears all configured switching actions. force: Forces data to travel on the backup LSP. lock: Always uses the main LSP to transfer data. manual: Switches data from the main LSP to the backup LSP.
[Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te record-route mpls te reoptimization (tunnel interface view) Use mpls te reoptimization to enable reoptimization on the tunnel. Use undo mpls te reoptimization to disable reoptimization on the tunnel. Syntax mpls te reoptimization [ frequency seconds ] undo mpls te reoptimization Default Reoptimization is disabled.
mpls te resv-style Use mpls te resv-style to set the resource reservation style for the MPLS TE tunnel. Use undo mpls te resv-style to restore the default. Syntax mpls te resv-style { ff | se } undo mpls te resv-style Default The resource reservation style is SE. Views Tunnel interface view Default command level 2: System level Parameters ff: Sets the resource reservation style to fixed filter (FF). se: Sets the resource reservation style to shared explicit (SE).
Usage guidelines You can configure the system to attempt setting up a tunnel multiple times until it is established successfully or until the number of attempts reaches the upper limit. Examples # Set the maximum number of tunnel setup retries to 20. system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te retry 20 Related commands mpls te timer retry mpls te route-pinning Use mpls te route-pinning to enable route pinning. Use undo mpls te route-pinning to restore the default.
Views Tunnel interface view Default command level 2: System level Parameters rsvp-te: Sets the signaling protocol for MPLS TE tunnel establishment to RSVP-TE. crldp: Sets the signaling protocol for MPLS TE tunnel establishment to CR-LDP. static: Sets up the tunnel using a static CR-LSP. Usage guidelines To use RSVP-TE as the signaling protocol for setting up the MPLS TE tunnel, you must enable both MPLS TE and RSVP-TE on each interface for the tunnel to use.
Usage guidelines A tunnel prefers the tie breaker specified in the tunnel interface view. If no tie breaker is specified in tunnel interface view, the tunnel uses the tie breaker specified in MPLS view to select a path. The IETF DS-TE supports only random path selection. Examples # Configure tunnels to use the paths with the least bandwidth usage ratio.
Related commands mpls te auto-bandwidth mpls te timer fast-reroute NOTE: This command is not supported when the signaling protocol is CR-LDP. Use mpls te timer fast-reroute to set the FRR polling timer. Use undo mpls te timer fast-reroute to restore the default setting. Syntax mpls te timer fast-reroute [ seconds ] undo mpls te timer fast-reroute Default The FRR polling timer is 300 seconds.
Default command level 2: System level Parameters interval: Specifies the interval for advertising bandwidth, in the range of 0 to 3600, in seconds. Usage guidelines The interval specified by this command is that at which the system will periodically advertise interface bandwidth if the bandwidth changes are within the specified threshold. To set the interval to 0 means to disable the bandwidth advertisement function. The minimal valid interval is 30 seconds.
mpls te tunnel-id Use mpls te tunnel-id to configure the tunnel ID. Syntax mpls te tunnel-id tunnel-id Views Tunnel interface view Default command level 2: System level Parameters tunnel-id: Specifies the tunnel ID in the range of 1 to 1024. 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.
vpn-instance vpn-instance-name: Configures the MPLS TE tunnel to forward only traffic of the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. Usage guidelines The device selects a TE tunnel for forwarding VPN traffic in this order: the TE tunnel specified with an ACL, the TE tunnel specified with a VPN instance, the TE tunnel with no restriction on traffic to be forwarded.
[Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] mpls-te enable Related commands opaque-capability next hop Use next hop to define a node on the explicit path. By executing this command multiple times, you can define all nodes that the explicit path must traverse in sequence.
Use undo opaque-capability to restore the default. Syntax opaque-capability enable undo opaque-capability Default The opaque LSA capability of OSPF is disabled. Views OSPF view Default command level 2: System level Parameters enable: Enables the opaque LSA capability. Examples # Enable the opaque LSA capability of OSPF. system-view [Sysname] ospf 100 [Sysname-ospf-100] opaque-capability enable ping lsp te Use ping lsp te to check MPLS TE tunnel connectivity.
packet," and 5 means "Respond using the reverse CR-LSP of the bidirectional MPLS TE tunnel" (not supported). The default is 2. -s packet-size: Specifies the payload length of the Echo Request messages. The value range for the packet-size argument is 65 to 8100, and the default is to 100, in bytes. -t time-out: Specifies the timeout interval for waiting for the response to an echo request message. The value range for the time-out argument is 0 to 65535, and the default is 2000, in milliseconds.
reset mpls te auto-bandwidth adjustment timers Use reset mpls te auto-bandwidth adjustment timers to reset the automatic bandwidth adjustment function. 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.
ct3: Specifies CT 3 for static CR-LSP traffic. bandwidth-value: Specifies the bandwidth required by static CR-LSP traffic, in the range of 1 to 32000000, in kbps. 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. To use the MPLS OAM function, you must specify the ingress node's LSR ID and tunnel ID.
ct1: Specifies CT 1 for static CR-LSP traffic. ct2: Specifies CT 2 for static CR-LSP traffic. ct3: Specifies CT 3 for static CR-LSP traffic. bandwidth-value: Specifies the bandwidth required by the static CR-LSP, in the range of 1 to 32000000 kbps. 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.
bandwidth: Specifies the class type (CT) for static CR-LSP traffic. ct0: Specifies CT 0 for static CR-LSP traffic. ct1: Specifies CT 1 for static CR-LSP traffic. ct2: Specifies CT 2 for static CR-LSP traffic. ct3: Specifies CT 3 for static CR-LSP traffic. bandwidth-value: Specifies the 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.
unreserved-bw-sub-pool value: Sets the sub-TLV of unreserved subpool bandwidth. value is the sub-TLV value in the range of 19 to 254. Examples # Configure sub-TLVs for IS-IS process 1. system-view [Sysname] isis 1 [Sysname-isis-1] te-set-subtlv bw-constraint 200 lo-multiplier 201 unreserved-bw-sub-pool 202 Related commands display isis traffic-eng sub-tlvs tracert lsp te Use tracert lsp te to locate errors of MPLS TE tunnels.
Table 117 Command output Field Description Replier Address of the LSR that replies to the request. Time Time when the reply was received, in milliseconds. Type Role of the LSR in the LSP, Ingress, Transit, or Egress. Downstream Address of the downstream LSR and the outgoing label. traffic-eng Use traffic-eng to enable IS-IS TE. Use undo traffic-eng to restore the default.
L2VPN access to L3VPN or IP backbone configuration commands default Use default to restore the default settings for the current interface. Syntax default Views VE-L2VPN-Terminate interface view, VE-L3VPN-Access interface view, VE-L3VPN-Access subinterface view Default command level 2: System level Usage guidelines This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
Syntax description text undo description Views VE-L2VPN-Terminate interface view, VE-L3VPN-Access interface view, VE-L3VPN-Access subinterface view Default command level 2: System level Parameters text: Specifies a description of the interface, a string of 1 to 80 characters.
display interface { ve-l2vpn-terminate interface-number | ve-l3vpn-access { interface-number | interface-number.subnumber } } [ brief ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ve-l2vpn-terminate: Displays information about terminating VE interfaces. ve-l3vpn-access: Displays information about access VE interfaces.
IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e20c-0a58 Link service is PWE3 ethernet mode Physical is VTER, baudrate: 100000000 bps Last clearing of counters: Never Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops Table 118 Command output Field Description Physical state of the interface: • DOWN ( Administratively )—The interfac
# Display brief information about all VE-L2VPN-Terminate interfaces.
Field Description Interface name: Interface • VTER—Terminating VE interface. • VACC—Access VE interface. Physical link state of the interface: Link • UP—The link is physically up. • DOWN—The link is physically down. • ADM—The link is administratively shut down. You can execute the undo shutdown command to restore the interface's physical state. • Stby—The interface is a standby interface. Protocol connection state of the interface: UP, DOWN, or UP(s).
Related commands • interface ve-l2vpn-terminate • interface ve-l3vpn-access display ve-group Use display ve-group to display information about VE groups. Syntax display ve-group [ ve-group-id ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ve-group-id: Displays information about the specified virtual Ethernet (VE) group. The ve-group-id argument is in the range of 1 to 8192.
interface ve-l2vpn-terminate Use interface ve-l2vpn-terminate to create a terminating VE interface and enter terminating VE interface view. Use undo interface ve-l2vpn-terminate to delete the specified terminating VE interface. Syntax interface ve-l2vpn-terminate interface-number undo interface ve-l2vpn-terminate interface-number Views System view Default command level 2: System level Parameters interface-number: Specifies the number of a terminating VE interface, in the range of 1 to 8192.
interface-number.subnumber: Specifies the number of an access VE subinterface. The interface-number argument specifies the number of an access VE interface, in the range of 1 to 8192. The subnumber argument specifies the number of a subinterface created on the access VE interface, in the range of 0 to 1023. Usage guidelines An access VE interface in a VE group cannot be directly deleted. To delete it, remove it from the VE group first.
[Sysname] interface ve-l2vpn-terminate 100 [Sysname-VE-L2VPN-Terminate100] mtu 1430 # Set the MTU for interface VE-L3VPN-Access 100 to 1430 bytes. system-view [Sysname] interface ve-l3vpn-access 100 [Sysname-VE-L3VPN-Access100] mtu 1430 reset counters interface Use reset counters interface to clear interface statistics. Syntax reset counters interface [ ve-l2vpn-terminate [ interface-number ] | ve-l3vpn-access [ interface-number | interface-number.
shutdown Use shutdown to shut down the interface. Use undo shutdown to bring up the interface. Syntax shutdown undo shutdown Default An interface is in the up state. Views VE-L2VPN-Terminate interface view, VE-L3VPN-Access interface view, VE-L3VPN-Access subinterface view Default command level 2: System level Examples # Shut down interface VE-L2VPN-Terminate 100.
Parameters ve-group-id: Specifies the ID of a VE group, in the range of 1 to 8192. Usage guidelines One VE group can contain only one terminating VE interface and one access VE interface. The terminating VE interface is used to terminate the MPLS L2VPN and the access VE interface is used to access the MPLS L3VPN or IP backbone. Examples # Add interface VE-L2VPN-Terminate 100 to VE group 100 to terminate MPLS L2VPN.
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 ACDEFGHILMNOPRSTVW display bgp vpnv6 vpn-instance routing-table,201 A display ccc,78 accept-label,1 display explicit-path,225 add hop,224 display fib vpn-instance,138 advertise-label,2 display fib vpn-instance ip-address,140 C display interface,329 ccc interface in-label out-label,68 display ip vpn-instance,141 ccc interface out-interface,69 display ipv6 fib vpn-instance,203 ce,70 display ipv6 fib vpn-instance ipv6-address,204 connection,71 display isis traffic-eng advertisements,226
export route-policy (VPN instance view/IPv6 VPN view),206 display mpls nhlfe reflist,30 display mpls route-state,31 display mpls rsvp-te,234 ext-community-type,150 display mpls rsvp-te established,236 F display mpls rsvp-te peer,237 filter-policy export (BGP-VPNv4 subaddress family view),151 display mpls rsvp-te psb-content,238 display mpls rsvp-te request,241 filter-policy export (BGP-VPNv6 subaddress family view),206 display mpls rsvp-te reservation,242 display mpls rsvp-te rsb-content,243 filte
lsr-id,47 mpls te bandwidth,290 M mpls te bandwidth change thresholds,290 mpls te commit,291 md5-password,47 mpls te cspf,292 modify hop,273 mpls te cspf timer failed-link,292 mpls,48 mpls te ds-te ietf bc-mode,293 mpls l2vc,100 mpls te ds-te ietf te-class,294 mpls l2vc switchover,101 mpls te ds-te mode,295 mpls l2vpn,102 mpls te fast-reroute,295 mpls l2vpn soft-gre,102 mpls te fast-reroute bypass-tunnel,296 mpls l2vpn vpn-name,103 mpls te igp advertise,297 mpls ldp (interface view),50
peer route-policy (BGP-VPNv6 subaddress family view),214 nesting-vpn,156 next hop,319 peer upe,169 O peer upe route-policy,170 opaque-capability,319 peer vpn-instance enable,171 P peer vpn-instance group,171 path-vectors,55 peer vpn-instance route-policy import,172 peer advertise-community (BGP-VPNv4 subaddress family view),157 ping lsp pw (for MPLS L2VPN),108 peer allow-as-loop,158 ping lsp te,320 peer as-path-acl (BGP-VPNv4 subaddress family view),158 policy vpn-target (BGP-VPNv4 subaddres
reset mpls statistics lsp,60 T reset mpls te auto-bandwidth adjustment timers,322 te-set-subtlv,325 route-distinguisher (MPLS L2VPN view),111 tnl-policy (VPN instance view/IPv4 VPN view),185 route-distinguisher (VPN instance view),180 tnl-policy (VPN instance view/IPv6 VPN view),221 route-tag,181 tracert lsp ipv4,64 routing-table limit (VPN instance view/IPv4 VPN view),182 tracert lsp te,326 routing-table limit (VPN instance view/IPv6 VPN view),219 ttl expiration enable,65 rr-filter (BGP-VPNv4