MPLS Command Reference Abstract This document describes the commands and command syntax options available for the HP 5820X & 5800 Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP 5820X & 5800 Series products.
Page 2
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an...
Page 6
mpls te ··································································································································································170 mpls te affinity property ······································································································································171 mpls te backup ····················································································································································171 mpls te backup bandwidth ·································································································································172 mpls te bfd enable···············································································································································173 mpls te commit ·····················································································································································174 mpls te cspf ··························································································································································174 mpls te cspf timer failed-link ·······························································································································175 mpls te failure-action teardown··························································································································175 mpls te fast-reroute ··············································································································································176 mpls te fast-reroute bypass-tunnel ······················································································································177 mpls te igp advertise···········································································································································178 mpls te igp metric ················································································································································178...
MCE configuration commands NOTE: This chapter describes only the commands related to the MCE feature. For information about the • Layer 3—IP Routing routing protocol configuration commands in the configuration examples, see Command Reference The Layer 3 Ethernet interface in this document refers to an Ethernet port that can perform IP routing •...
Page 11
View Any view Default level 1: Monitor level Parameters vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the instance name of a VPN, which is a case-sensitive string of 1 to 31 characters. group-name: Specifies the name of the BGP peer group, which is a string of 1 to 47 characters. |: Filters command output by specifying a regular expression.
Field Description Configured hold timer value Setting of the hold timer. Keepalive timer value Keepalive interval. Minimum time between advertisement Minimum route advertisement interval. runs Indicates whether the local device supports sending and receiving Route-refresh packets with ORF information. The value can be: •...
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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.
Page 15
ip-address: Specifies the IP address of the peer. verbose: Displays detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Page 16
Port: Local - 179 Remote - 1025 Configured: Active Hold Time: 180 sec Keepalive Time:60 sec Received : Active Hold Time: 180 sec Negotiated: Active Hold Time: 180 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast: advertised and received Received: Total 25 messages, Update messages 1 Sent: Total 30 messages, Update messages 4...
Field Description Peer support bgp route refresh capability The peer supports route refresh capability. Address family IPv4 Unicast IPv4 unicast family capability. Total number of received messages and the number of Received received update messages. Total number of sent messages and the number of sent Sent update messages.
Page 19
received-routes: Displays routing information received from the specified peer. regular-expression as-regular-expression: Displays routing information matching the specified AS regular expression. statistic: Displays BGP VPNv4 route statistics. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
display fib vpn-instance Description Use the display fib vpn-instance command to display the FIB information of a VPN. If you do not specify a parameter, all FIB information for the VPN is displayed. Syntax display fib vpn-instance vpn-instance-name [ acl acl-number | ip-prefix ip-prefix-name ] [ | { begin | exclude | include } regular-expression ] View Any view...
Page 21
<Sysname> display fib vpn-instance vpn1 | begin 127 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid 127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display the FIB information of VPN instance vpn1 that is permitted by ACL 2000. <Sysname>...
Field Description OutInterface Forwarding interface Token LSP index number display fib vpn-instance ip-address Description Use the display fib vpn-instance ip-address command to display the FIB information for the specified VPN instance that matches the specified destination IP address. If you do not specify either the mask or the mask-length parameter, the command displays the FIB information for the specified VPN that matches the specified destination IP address and has the longest mask.
10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid For more information about the command output, see Table display ip routing-table vpn-instance Description Use the display ip routing-table vpn-instance command to display the routing information for a VPN instance. Syntax display ip routing-table vpn-instance vpn-instance-name [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view...
Field Description Routes Number of routes Destination/Mask Destination address/mask length Proto Protocol discovering the route Preference of the route Cost Cost of the route NextHop Address of the next hop along the route Interface Outbound interface for forwarding packets to the destination segment display ip vpn-instance Description Use the display ip vpn-instance command to display information about a VPN instance or all VPN...
Page 25
Table 9 Command output Field Description VPN-Instance Name Name of the VPN instance RD of the VPN instance Create Time Time when the VPN instance was created # Display detailed information about a specific VPN instance. <Sysname> display ip vpn-instance instance-name vpn1 VPN-Instance Name and ID : vpn1, 1 Create time : 2006/04/08 13:01:30 Up time : 0 days, 00 hours, 11 minutes and 42 seconds...
Field Description Maximum ratio of the actual route number to the maximum route Threshold Value(%) number in percentage. When the ratio is reached, the device rejects new routes. Interfaces Interface to which the VPN instance is bound. domain-id Description Use the domain-id command to configure an OSPF domain ID. Use the undo domain-id command to restore the default.
export route-policy Description Use the export route-policy command to apply an export routing policy to a VPN instance. Use the undo export route-policy command to remove the application. By default, no policy is applied to filter the routes to be advertised. You can specify an export routing policy when the VPN route advertisement control provided by the extended community attributes is not enough.
View OSPF view Default 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. router-id type-code2: Specifies the type code for the OSPF extended community attribute of Router ID. Valid values are 0x0107 and 0x8001.
ip-prefix-name: Specifies the IP address prefix list name, which is 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 parameter is ranging from 1 to 4,294,967,295.
import route-policy Description Use the import route-policy command to apply an import routing policy to a VPN instance. Use the undo import route-policy command to remove the application. By default, all routes permitted by the import target attribute are accepted. You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough.
Syntax ip binding vpn-instance vpn-instance-name undo ip binding vpn-instance vpn-instance-name View VLAN interface view, Tunnel interface view, Layer 3 Ethernet interface Default level 2: System level Parameters vpn-instance-name: Specifies the name of the VPN instance to be associated, which is a case-insensitive string of 1 to 31 characters.
Parameters vpn-instance-name: Specifies the name of the VPN instance, which is a case-insensitive string of 1 to 31 characters. Examples # Create a VPN instance named vpn1. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family vpn-instance Description Use the ipv4-family vpn-instance command to enter BGP-VPN instance view. Use the undo ipv4-family command to remove all the configurations performed in either of the two views.
undo peer { group-name | ip-address } allow-as-loop View BGP-VPN instance view Default level 2: System level Parameters group-name: Specifies the name of the peer group, which is a string of 1 to 47 characters. ip-address: IP address of the peer. number: Maximum number that the local AS number can appear repeatedly in the AS-PATH attribute.
[Sysname-bgp] peer 1.1.1.1 group test [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test enable [Sysname-bgp-af-vpnv4] peer 1.1.1.1 group test [Sysname-bgp-af-vpnv4] quit refresh bgp vpn-instance Description Use the refresh bgp vpn-instance command to perform a soft reset of BGP connections in a VPN instance. Syntax refresh bgp vpn-instance vpn-instance-name { ip-address | all | external | group group-name } { export | import }...
Default level 1: Monitor level Parameters vpn-instance-name: Specifies the name of the VPN instance, which is a case-sensitive string of 1 to 31 characters. as-number: Specifies the AS number, ranging from 1 to 4,294,967,295. ip-address: Specifies the IP address of a peer. group group-name: Resets the connections with the specified BGP peer group.
View VPN instance view Default level 2: System level Parameters route-distinguisher: Specifies the RD for the VPN instance, which is a string of 3 to 21 characters in one of the following three formats: 16-bit AS number:32-bit user-defined number. For example, 101:3. •...
specified threshold, the system gives an alarm message but still allows new routes. If the number of routes in the VPN instance reaches the maximum supported, no more routes are added. simply-alert: Specifies that when the number of routes exceeds the maximum number of routes supported, the system still accepts routes but generates a Syslog message.
Page 39
VPN targets configured in IPv4 VPN view takes precedence over that configured in VPN instance • view. If you configure VPN targets in both IPv4 VPN view and VPN instance view, those configured in IPv4 VPN view are applied to the IPv4 VPN. Syntax vpn-target vpn-target&<1-8>...
IPv6 MCE configuration commands NOTE: This chapter describes only the commands related to the IPv6 MCE feature. For information about the • Layer 3—IP Routing routing protocol configuration commands in the configuration examples, see the Command Reference • For information about IPv6 MPLS L3VPN configuration commands, see the chapter “MPLS L3VPN commands.”...
Page 41
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, which is a case-sensitive string of 1 to 256 characters. Examples # Display all BGP VPNv6 routing information. <Sysname>...
Path/Ogn AS_PATH attribute/route origin of the route # Display all BGP VPNv6 route statistics. <Sysname> display bgp vpnv6 all routing-table statistic Total number of routes from all PE: 1 Total routes of vpn-instance vpn1: 2 Table 12 Command output Field Description Total number of routes from all PE Total number of VPNv6 routes from all PEs...
BGP Local router ID is 30.30.30.30.1 Status codes: * - valid, ^ - VPN best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *^ i Network : 30:30:: PrefixLen : 64 NextHop : ::FFFF:101:102...
Page 44
Parameters vpn-instance-name: Specifies the name of a VPN instance, which is a case-sensitive string of 1 to 31 characters. ipv6-address: Specifies the IPv6 address of a peer. verbose: Displays the detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Page 45
BGP last state: OpenConfirm Port: Local - 179 Remote - 1024 Configured: Active Hold Time: 180 sec Keepalive Time: 60 sec Received : Active Hold Time: 180 sec Negotiated: Active Hold Time: 180 sec Keepalive Time:60 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Address family IPv6 Unicast: advertised and received...
Field Description Peer support bgp route refresh The peer supports route refreshing. capability Address family IPv6 Unicast IPv6 unicast family capability. Total number of received messages and the number of received update Received messages. Total number of sent messages and the number of sent update Sent messages.
Page 47
• Its prefix length is the longest among the entries meeting the above two conditions. peer ipv6-address: Displays the routing information sent to or received from the specified BGP VPNv6 peer. ipv6-address is the IPv6 address of the peer. advertised-routes: Displays the routing information sent to the specified peer. received-routes: Displays the routing information received from the specified peer.
display ipv6 fib vpn-instance Description Use the display ipv6 fib vpn-instance command to display the IPv6 FIB information of the specified VPN. If you do not specify any optional parameters, the command displays all IPv6 FIB information of the VPN. Syntax display ipv6 fib vpn-instance vpn-instance-name [ acl6 acl6-number | ipv6-prefix ipv6-prefix-name ] [ | { begin | exclude | include } regular-expression ]...
Table 17 Command output Field Description Total number of Routes Total number of matched routes in the FIB Flag of the route. Possible values are: • U—Usable route • G—Gateway route • Flag H—Host route • B—Blackhole route • D—Dynamic route •...
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display the IPv6 FIB information with the destination address of ::1 in the VPN instance vpn1. <Sysname> display ipv6 fib vpn-instance vpn1 ::1 FIB Table: Total number of Routes : 1 Flag:...
Syntax export route-policy route-policy undo export route-policy View VPN instance view, IPv6 VPN view Default level 2: System level Parameters route-policy: Specifies the name of an export routing policy, which is a case-sensitive string of 1 to 63 characters. Examples # Apply export routing policy poly-1 to VPN instance vpn1.
ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, which is a string of 1 to 19 characters. direct: Filters direct routes to be advertised. isisv6 process-id: Filters IPv6 ISIS routes to be advertised that are from a specific IPv6 ISIS process. The process-id parameter is ranging from 1 to 65,535.
[Sysname-bgp-af-vpnv6] filter-policy 2255 import import route-policy Description Use the import route-policy command to apply an import routing policy to a VPN instance, an IPv4 VPN or an IPv6 VPN. Use the undo import route-policy command to remove the application. By default, all routes permitted by the import target attribute are accepted. You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough.
Default level 2: System level Parameters number: Specifies the maximum number of routes supported. The value ranges from 1 to 8192. warn-threshold: Specifies a threshold for warning, ranging from 1 to 100, in percentages. When the percentage of the number of existing routes to the maximum number of routes supported exceeds the specified threshold, the system gives an alarm message, but still allows new routes.
Page 57
Default level 2: System level Parameters vpn-target&<1-8>: Adds VPN target extended community attributes to the import VPN target extended community attribute list (Import Target) or export VPN target extended community attribute list (Export Target). &<1-8> means that you can add up to eight VPN targets. A VPN target attribute can be a string of 3 to 21 characters in one the following formats: 16-bit AS number:32-bit user-defined number.
VLAN routing. You can set an Ethernet interface as a Layer 3 Ethernet interface by using the port Layer 2—LAN Switching Configuration Guide link-mode route command (see the The HP 5820X switch series do not support MPLS. • accept-label Description Use the accept-label command to configure a label acceptance control policy.
Examples # Configure the device to accept only the label bindings of FECs with destination addresses on segments 10.1.1.0/24 and 10.2.1.0/24 from LDP peer 1.1.1.9. <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] accept-label peer 1.1.1.9 ip-prefix prefix-from-RTA [Sysname-mpls-ldp] quit [Sysname] ip ip-prefix prefix-from-RTA index 1 permit 10.1.1.0 24 [Sysname] ip ip-prefix prefix-from-RTA index 2 permit 10.2.1.0 24 advertise-label Description...
• Advertises label bindings for FEC 10.2.1.0/24 to the LDP peer with the LSR ID 4.4.4.9. • Does not advertise label bindings of other segments to any peers. <Sysname> system-view [Sysname] ip ip-prefix prefix-to-C permit 10.1.1.0 24 [Sysname] ip ip-prefix prefix-to-D permit 10.2.1.0 24 [Sysname] ip ip-prefix peerC permit 3.3.3.9 32 [Sysname] ip ip-prefix peerD permit 4.4.4.9 32 [Sysname] mpls ldp...
Examples # Enable BFD to check the connectivity of the LSPs to destination 1.1.1.9/32. <Sysname> system-view [Sysname] mpls lspv [Sysname-mpls-lspv] bfd enable 1.1.1.9 32 display mpls ilm Description Use the display mpls ilm command to display information about ILM entries. With no incoming label specified, the command displays information about all ILM entries.
Page 62
Total ILM Entry: 2 Inlabel In-Interface Token VRF-Index Oper LSP-Type Swap-Label -------------------------------------------------------------------------- 1024 Vlan2 NORMAL ---- 1025 Vlan3 SWAPGO NORMAL 1026 Table 19 Command output Field Description Total ILM Entry Total number of ILM entries Inlabel Incoming label In-Interface Incoming interface Token NHLFE entry index Operation type, which can be POP, POPGO,...
Table 20 Command output Field Description In Label Incoming label In Interface Incoming interface VSI Index VPLS instance index Link ID Link ID of a PW in the VPLS instance Operation Operation type, which can be POP, POPGO, SWAPGO, or NULL Swap Label Label for swapping Out Interface...
to label-value2: Specifies the end label of a range of labels, ranging from 16 to 204,799. all: Specifies all labels. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Page 66
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 Whether label re-advertisement is enabled for DU DU Re-advertise Flag mode. Whether explicit request transmission is enabled for DU Explicit Request DU mode. Request Retry Flag Whether request retransmission is enabled. Label distribution control mode of the instance, which can be: Label Distribution Mode •...
1.1.1.9:0 2.2.2.9/32 NULL/1027 -------/Vlan2 2.2.2.9:0 1.1.1.9/32 1027/NULL Vlan2/------- ---------------------------------------------------------------- The Total LDP CR-LSP(s): 2 display mpls ldp fec Description Use the display mpls ldp fec command to display the label advertisement information of a specified FEC. Syntax display mpls ldp fec [ vpn-instance vpn-instance-name ] dest-addr mask-length [ | { begin | exclude | include } regular-expression ] View Any view...
Page 69
Stale : No Label Request ID : NULL Label Space ID FEC Type : Generic Incoming Label : 1066 State : Release_Awaited (Aging) Hop Count Path Vector Count : 0 Path Vector : NULL Downstream Info: ------------------------------------------------------------------ Downstream Peer : 2.2.2.9 Stale : No Label Request ID...
Field Description Current state, which can be: • Established—Active state. • IDLE—Inactive state. • Release_Awaited—Waiting to a Release message. • Established (Sending Mapping)—Sending the mapping message. State • Established (Delay to withdraw)—Delay to withdraw the incoming label. • IDLE (Sending Release)—Sending the release message. •...
• 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, which is a case-sensitive string of 1 to 80 characters. Examples # Display the brief LDP information of all LDP-enabled interfaces.
Page 72
If you do not specify any parameter, the command will display information about all LSPs established by LDP. Related commands: display mpls ldp. Syntax display mpls ldp lsp [ all | [ vpn-instance vpn-instance-name ] [ destination-address mask-length ] ] [ | { begin | exclude | include } regular-expression ] View Any view...
display mpls ldp peer Description Use the display mpls ldp peer command to display information about specified peers or all peers. Related commands: mpls ldp (interface view) and mpls ldp (system view). Syntax display mpls ldp peer [ all [ verbose ] | [ vpn-instance vpn-instance-name ] [ peer-id | verbose ] ] [ | { begin | exclude | include } regular-expression ] View Any view...
Page 74
Table 26 Command output Field Description LDP identifier of the peer. See Table 24 for detailed Peer-ID description of LDP ID. Discovery-Source Interface that discovers the peer. # Display detailed information about all peers. <Sysname> display mpls ldp peer verbose LDP Peer Information in Public network --------------------------------------------------------------- Peer LDP ID...
Field Description Local LDP transport address used to establish a TCP Transport Address connection with this remote peer. Counts of hello messages sent to/received from this remote Hello Message Sent/Rcvd peer. display mpls ldp session Description Use the display mpls ldp session command to display information about LDP sessions. If you do not specify any parameter, the command displays information about all public network LDP sessions.
Page 77
Peer-ID Status SsnRole KA-Sent/Rcv -------------------------------------------------------------------------- 1.1.1.1:0 Operational Active 4582/4582 -------------------------------------------------------------------------- LAM : Label Advertisement Mode : Fault Tolerance Table 29 Command output Field Description LDP identifier of the peer. See Table 24 for detailed Peer-ID description of LDP ID. Session status, including: •...
Page 78
Session State : Operational Session Role : Active Session FT Flag : Off MD5 Flag : Off Reconnect Timer : --- Recovery Timer : --- Negotiated Keepalive Timer : 45 Sec Keepalive Message Sent/Rcvd : 25/25 (Message Count) Label Advertisement Mode : Downstream Unsolicited Label Resource Status(Peer/Local) : Available/Available Peer Discovery Mechanism...
display mpls ldp session all statistics Description Use the display mpls ldp session all statistics command to display statistics about all LDP sessions. Syntax display mpls ldp session all statistics [ | { begin | exclude | include } regular-expression ] View Any view Default level...
Page 80
Specifies LSPs established by a given protocol. bgp: Specifies BGP LSPs. bgp-ipv6: Specifies IPv6 BGP LSPs, or, BGP4+ LSPs. crldp: Specifies CR-LSPs established by CR-LDP. This is not supported by HP 5800 series now. ldp: Specifies LDP LSPs. rsvp-te: Specifies CR-LSPs established by RSVP-TE.
Page 81
• include: Displays all lines that match the specified regular expression. • regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about all LSPs. <Sysname> display mpls lsp ----------------------------------------------------------------------- LSP Information: L3VPN LSP ----------------------------------------------------------------------- In/Out Label In/Out IF Route-Distinguisher...
Label Operation ------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------- VrfIndex 1.1.1.9/32 Nexthop 127.0.0.1 In-Label Out-Label NULL In-Interface ---------- Out-Interface ---------- LspIndex 10241 Tunnel ID LsrType Egress Outgoing Tunnel ID Label Operation Table 32 Command output Field Description Forwarding equivalence class, in either of the following two forms: •...
Page 83
Default level 1: Monitor level Parameters destination-address mask-length: Displays the BFD information of the LSPs for the specified FEC. destination-address is the destination IP address of the FEC. mask-length is the mask length of the FEC destination address, ranging from 0 to 32. |: Filters command output by specifying a regular expression.
Displays all lines that match the specified regular expression. • regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display LSP statistics. <HP>display mpls lsp statistics Lsp Type Total Ingress Transit Egress...
Number of LSPs taking the current LSR as transit LSR Egress Number of LSPs taking the current LSR as egress NOTE: The HP 5800 switch series do not support CR-LDP generated CR-LSPs. display mpls nhlfe Description Use the display mpls nhlfe command to display information about NHLFE entries.
Page 86
---------------------------------------------------------------------- Vlan2 PUSH 88.1.1.2 1024 # Display information about all NHLFE entries. <Sysname> display mpls nhlfe Out-Interface Token Oper Nexthop Deep Stack ---------------------------------------------------------------------- Vlan2 PUSH 88.1.1.2 1024 Vlan3 PUSH 10.1.1.2 1025 Table 35 Command output Field Description Total NHLFE Entry Total number of NHLFE entries Out-Interface Outgoing interface...
Field Description Tunnel ID Index of the NHLFE tunnel Out Interface Outgoing interface AT Index Adjacency table index Operation Label operation type, which can be PUSH, SWAP, or GO LSP type, which can be LDP LSP, CR-LDP/RSVP LSP, BGP LSP, L3VPN LSP, LSP Type STATIC LSP, STATIC CR-LSP, L2VPN LSP, BGP IPv6 LSP, or INVALID Tunnel State...
• regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display the usage information of the specified NHLFE entry. <Sysname> display mpls nhlfe reflist 11 Type Key-Info ------------------------------------------------------------- 1023(Inlabel) Vlan10(In-If) 1(VPN ID) 2.2.2.2/32 ----(SRV ID) Vlan20(Private-If)
Syntax display mpls route-state [ vpn-instance vpn-instance-name ] [ dest-addr mask-length ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Displays the LSP information of the routes of a VPN instance. vpn- instance-name is the VPN instance name, which is a case-sensitive string of 1 to 31 characters.
Page 90
View Any view Default level 1: Monitor level Parameters lsp-name lsp-name: Specifies an LSP by its name, which is a string of 1 to 15 characters. exclude: Specifies LSPs other than the one for the given FEC. include: Specifies the LSP for the given FEC. dest-addr mask-length: Specifies a FEC by its destination address and the length of the mask.
Field Description Static-Lsp Type Type of the static LSP display mpls statistics interface Description Use the display mpls statistics interface command to display MPLS statistics for one or all interfaces. To display statistics on a device, set the statistics reading interval first. By default, the interval is 0, and the system does not read collected MPLS statistics.
Page 92
Octets Packets Errors Disables Start Time : 2010/04/28 10:23:55 End Time : 2010/04/28 10:23:55 Statistics for Interface IN : Incoming Interface Vlan-interface3 Octets Packets Errors Disables Failed Label Lookup Start Time : 2010/04/28 10:24:04 End Time : 2010/04/28 10:24:04 Statistics for Interface OUT : Outgoing Interface Vlan-interface4 Octets Packets...
Field Description Packets Number of packets processed Errors Number of errors Number of packets dropped by the incoming Disables interface/outgoing interface Start Time Start time of the statistics End Time End time of the statistics display mpls statistics lsp Description Use the display mpls statistics lsp command to display MPLS statistics for all LSPs or the LSP with a specified index or name.
Page 94
Packets Errors Down 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 Packets Errors Down 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...
du-readvertise Description Use the du-readvertise command to enable label re-advertisement for DU mode. Use the undo du-readvertise command to disable the function. By default, label re-advertisement is enabled in DU mode. Syntax du-readvertise undo du-readvertise View MPLS LDP view, MPLS LDP VPN instance view Default level 2: System level Parameters...
Parameters value: Specifies the label re-advertisement interval, ranging from 1 to 65,535 seconds. Examples # Set the DU mode label re-advertisement interval to 100 seconds for the public network LDP instance. <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] du-readvertise timer 100 # Set the DU mode label re-advertisement interval to 100 seconds for LDP instance vpn1.
This command is used to test MPLS LDP GR without main/backup switchover. Do not use it in normal cases. The MPLS LDP GR capability is required for this command to take effect. Related commands: graceful-restart (MPLS LDP view). Syntax graceful-restart mpls ldp View User view Default level...
[Sysname-mpls-ldp] graceful-restart timer neighbor-liveness 100 graceful-restart timer reconnect Description Use the graceful-restart timer reconnect command to set the FT reconnect time. Use the undo graceful-restart timer reconnect command to restore the default. By default, the FT reconnect time is 300 seconds. The FT reconnect time refers to the maximum time that the stale state flag is preserved by the LSR after the TCP connection fails.
View MPLS LDP view Default level 2: System level Parameters timer: Specifies the LDP recovery time, ranging from 3 to 300 seconds. Examples # Set the LDP recovery time to 45 seconds. <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] graceful-restart timer recovery 45 hops-count Description Use the hops-count command to set the maximum hop count for loop detection.
label advertise Description Use the label advertise command to specify what type of label the egress should distribute to the penultimate hop. Use the undo label advertise command to restore the default. By default, the egress distributes an implicit null label to the penultimate hop. The type of label for an egress to distribute depends on whether the penultimate hop supports PHP.
Syntax label-distribution { independent | ordered } undo label-distribution View MPLS LDP view, MPLS LDP VPN instance view Default level 2: System level Parameters independent: Specifies the independent label distribution control mode. In this mode, an LSR can advertise label bindings to its connected LSRs at any time. ordered: Specifies the ordered label distribution control mode.
Parameters None Examples # Enable loop detection for the public network LDP instance. <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] loop-detect # Enable loop detection for LDP instance vpn1. <Sysname> system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] loop-detect lsp-trigger Description Use the lsp-trigger command to configure the LSP establishment triggering policy. Use the undo lsp-trigger command to restore the default.
Examples # Specify that all routing entries can trigger establishment of LDP LSPs. <Sysname> system-view [Sysname] mpls [Sysname-mpls] lsp-trigger all lsr-id Description Use the lsr-id command to configure an LDP LSR ID. Use the undo lsr-id command to remove a configured LDP LSR ID and all LDP sessions. By default, the LDP LSR ID takes the value of the MPLS LSR ID.
[Sysname] mpls ldp [Sysname-mpls-ldp] mpls ldp (interface view) Description Use the mpls ldp command to enable LDP on an interface. Use the undo mpls ldp command to disable LDP on an interface. By default, LDP is disabled on an interface. After you enable LDP on an interface, the interface will periodically send hello messages.
Related commands: remote-ip. Syntax mpls ldp remote-peer remote-peer-name undo mpls ldp remote-peer remote-peer-name View System view Default level 2: System level Parameters remote-peer-name: Specifies the name of the remote peer, which is a case-insensitive string of 1 to 32 characters. Examples # Create a remote peer entity named BJI, and enter MPLS LDP remote peer view.
[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 Description Use the mpls ldp transport-address command to configure an LDP transport address. Use the undo mpls ldp transport-address command to restore the default. By default, a transport address takes the value of the MPLS LSR ID.
By default, no LSR ID is configured. 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. Related commands: display mpls interface.
Parameters lsr-id: Specifies the ID for identifying the LSR, in dotted decimal notation. Examples # Set the LSR ID to 3.3.3.3. <Sysname> system-view [Sysname] mpls lsr-id 3.3.3.3 path-vectors Description Use the path-vectors command to specify the path vector length. Use the undo path-vectors command to restore the default. By default, the path vector length is 32.
The periodic LSP tracert function is for locating faults of an LSP periodically. It detects the consistency of the forwarding plane and control plane, and it records detection results into logs. You can know whether an LSP has failed by checking the logs. This is what happens if you configure BFD as well as periodic tracert for an LSP.
Page 113
View Any view Default level 0: Visit level Parameters -a source-ip: Specifies the source address for the echo request messages to be sent. -c count: Specifies the number of echo request messages to be sent. The count parameter ranges from 1 to 4,294,967,295 and defaults to 5.
prefix-label advertise Description Use the prefix-label advertise command to configure LDP to advertise prefix-based labels through remote sessions. Use the undo prefix-label advertise command to restore the default. By default, LDP does not advertise prefix-based label through a remote session. A device can advertise prefix-based labels to its remote peers through remote sessions only after you have configured the prefix-label advertise command.
With no parameters specified, the command resets all sessions of the public network LDP instance. Syntax reset mpls ldp [ all | [ vpn-instance vpn-instance-name ] [ fec mask | peer peer-id ] ] View User view Default level 1: Monitor level Parameters all: Specifies all LDP instances, including the public one and private ones.
incoming-interface interface-type interface-number: Specifies an incoming interface by its type and number. in-label in-label: Specifies the incoming label, which can be 0, 3, or a value ranging from 16 to 1023. Examples # Configure a static LSP named bj-sh, taking the current LSR as the egress, VLAN-interface 2 as the incoming interface, and 233 as the incoming label.
static-lsp transit Description Use the static-lsp transit command to configure a static LSP taking the current LSR as a transit LSR. Use the undo static-lsp transit command to remove a static LSP taking the current LSR as a transit LSR. If you specify the next hop when configuring a static LSP, and the address of the next hop is present in the routing table, you also need to specify the next hop when configuring the static IP route.
destination-ip-addr-header: Specifies the destination address in the IP header of the MPLS echo request messages. It can be any address on segment 127.0.0.0/8—any local loopback address. Examples # Locate an error along the LSP to 3.3.3.9. <Sysname> tracert lsp ipv4 3.3.3.9 32 LSP Trace Route FEC: LDP IPV4 PREFIX 3.3.3.9/32 , press CTRL_C to break.
Use the undo ttl expiration pop command to configure the system to use LSPs to send back the ICMP TTL exceeded messages for TTL-expired MPLS packets. By 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.
Ethernet interface refers to an Ethernet interface working in route mode. For information about the Layer 2—LAN Switching Configuration Guide operating modes of an Ethernet interface, see the The HP 5820X switch series do not support MPLS TE. • add hop Description Use the add hop command to insert a node to the explicit path.
delete hop Description Use the delete hop command to remove a specified node from the explicit path. Syntax delete hop ip-address View Explicit path view Default 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.
<Sysname> display explicit-path Path Name : ErHop-Path1 Path Status : Enabled 1.1.1.10 Strict Include 2.1.1.10 Strict Include 1.1.1.20 Strict Include 2.1.1.20 Strict Include 2.1.1.30 Strict Include 1.1.1.30 Strict Include 9.4.4.4 Strict Include Path Name : ErHop-Path2 Path Status : Enabled 1.1.1.10 Strict Include...
Page 127
lsp-id lsp-id: Specifies a link state packet ID (LSP ID) to display the TE information advertised by it. For more information about IS-IS LSP, see the Layer 3—IP Routing Configuration Guide. local: Displays local TE information. process-id: Specifies an IS-IS process ID, ranging from 1 to 65,535. vpn-instance vpn-instance-name: Displays the IS-IS TE information of the specified VPN.
Field Description Reservable BW Reservable bandwidth BW Unresrv[0]-[7] Available subpool bandwidths at eight levels TE Cost TE cost display isis traffic-eng link Description Use the display isis traffic-eng link command to display information about TE links for IS-IS. If you do not specify an IS-IS level, the TE link information of IS-IS Level- 1 -2 routers is displayed. Syntax display isis traffic-eng link [ [ level-1 | level-1-2 | level-2 ] | verbose ] * [ process-id | vpn-instance vpn- instance-name ] [ | { begin | exclude | include } regular-expression ]...
------------------------ 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.01 Type: MULACC LinkID: 30.1.1.2 0000.0000.0004.00-->0000.0000.0004.01 Type: MULACC LinkID: 30.1.1.2 Total Number of TE Links in Level-2 Area: 6, Num Active: 6 Table 45 Command output Field Description...
Page 131
include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about TE networks for IS-IS. <Sysname> display isis traffic-eng network TE information for ISIS(1) -------------------------- Level-1 Network Information ---------------------------...
display isis traffic-eng statistics Description Use the display isis traffic-eng statistics command to display the statistics about TE for IS-IS. If you do not specify an IS-IS level, the statistics about TE in the IS-IS Level- 1 -2 area is displayed. Syntax display isis traffic-eng statistics [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]...
Field Description 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 mpls lsp bfd te Description Use the display mpls lsp bfd te command to display the BFD information for MPLS TE tunnels. Syntax display mpls lsp bfd [ te tunnel tunnel-number ] [ | { begin | exclude | include } regular-expression ] View...
Field Description Local Discr Local discriminator of the BFD session Remote Discr Remote discriminator of the BFD session Session State Status of the BFD session, which can be Init (initializing), Up, or Down Source IP IP address of the active end (ingress LSR) of the BFD session Session Role Role of the LSR in the BFD session, Active or Passive display mpls rsvp-te...
Page 135
Blockade Multiplier: 4 Graceful Restart: ENABLE Restart Time: 200 sec Recovery Time: 150 sec Table 49 Command output Field Description LSR ID Label switched Router ID, in the format of X.X.X.X Resv Confirmation Request Reserved confirmation request RSVP Hello Extension State of the hello mechanism: enabled or disabled Hello Interval Hello interval, in seconds...
Field Description Authentication State of authentication: enabled or disabled. Reliability Whether the reliability feature is configured: yes or no. Retransmit interval Initial retransmission interval (in milliseconds). Increment value delta that governs the speed at which the interface increases the retransmission interval. Increment value Assume the initial interval is Rf seconds.
Table 51 Command output Field Description Interface RSVP-TE enabled interface Token Bucket rate Token bucket rate, a traffic parameter Peak Data Rate Peak rate, a traffic parameter Tunnel Dest Tunnel destination, in the format of X.X.X.X Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X Next Hop Addr Next hop address, in the format of X.X.X.X display mpls rsvp-te peer...
Page 139
lspid: Specifies the local LSR ID, ranging from 1 to 65,535. tunnel-id: Specifies the tunnel ID, ranging from 0 to 65,535. egress-lsr-id: Specifies the egress LSR ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Field Description 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.
Page 141
Syntax display mpls rsvp-te request [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression.
display mpls rsvp-te reservation Description Use the display mpls rsvp-te reservation command to display information about RSVP-TE reservations on the specified or all interfaces. Syntax display mpls rsvp-te reservation [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view...
Table 55 Command output Field Description Interface Ethernet1/1 RSVP-TE enabled interface Tunnel Dest Tunnel destination, in the format of X.X.X.X Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X Token Bucket rate Token bucket rate, a traffic parameter Token Bucket Size Token bucket size, a traffic parameter display mpls rsvp-te rsb-content...
Page 144
Reservation Incoming Interface: Vlan-interface3 Reservation Interface: Vlan-interface3 Message ID : 2 Filter Spec Information- The filter number: 1 Ingress LSR ID: 19.19.19.19 Local LSP ID: 1 OutLabel: 3 Graceful Restart State: Stale RRO Information- RRO-Flag is RRO-CType: IPV4 RRO-IPAddress: 101.101.101.2 RRO-IPPrefixLen: 32 FlowSpec Information- Token bucket rate: 2500.00...
Field Description 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. Bandwidth guarantees Guaranteed bandwidth, a reservation specifications parameter.
# Display the RSVP-TE sender message information on all interfaces. <Sysname> display mpls rsvp-te sender Interface: Vlan-interface3 Tunnel Dest: 19.19.19.19 Ingress LSR ID: 29.29.29.29 LSP ID: 1 Session Tunnel ID: 0 Session Name: Tunnel0 Previous Hop Address: 101.101.101.2 Token bucket rate: 0.0 Token bucket size: 0.00 Interface: Incoming-Interface at the Ingress Tunnel Dest: 29.29.29.29...
Page 147
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, which is a case-sensitive string of 1 to 256 characters. Examples # Display global RSVP-TE statistics.
Page 148
Table 58 Command output Field Description PSB Count Number of PSBs RSB Count Number of RSBs RFSB Count Number of RFSBs TCSB Count Number of TCSBs LSP Count Number of LSPs PSB CleanupTimeOutCounter Number of PSB timeouts RSB CleanupTimeOutCounter Number of RSB timeouts SendPacketCounter Number of transmitted packets RecPacketCounter...
Field Description State Current state of the CR-LSP # Display detailed information about all static CR-LSPs. <Sysname> display mpls static-cr-lsp verbose LSP-Name : Tunnel0 LSR-Type : Ingress : 3.3.3.3/32 In-Label : NULL Out-Label : 20 In-Interface Out-Interface : Vlan-interface2 NextHop : 2.1.1.2 Lsp Status : Up...
Page 151
Parameters area-id: Specifies the area ID. For OSPF, it ranges from 0 to 4,294,967,295. For IS-IS, it takes the value of 1 or 2. ip-address: Specifies the IP address of an interface. network-lsa: Displays TEDB information in network LSAs. node: Displays the TEDB information on nodes. If you do not specify a node, the TEDB information on all nodes is displayed.
Page 152
104.4.4.4 ISIS Level-2 105.5.5.5 ISIS Level-2 Table 62 Command output Field Description Number MPLS LSR-Id MPLS LSR ID Interior gateway protocol: OSPF or IS-IS Process-Id IGP process ID Area Area to which the router belongs Total number of connected links belonging to a Link-count particular IGP protocol process # Display the TEDB information of IGP area 1.
Syntax display mpls te link-administration admission-control [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and a number. |: Filters command output by specifying a regular expression.
Page 155
View Any view Default level 1: Monitor level Parameters destination address: Specifies a destination IP address to display only the tunnels with the specified destination IP address. lsr-id: Specifies the LSR ID of the ingress node, in dotted decimal notation. lsp-id: Specifies the LSP ID, ranging from 1 to 65,535.
Page 156
Table 66 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. <Sysname> display mpls te tunnel verbose LSP-Id : 1.1.1.9:1024 Tunnel-Name...
Field Description ExcludeAllAff Link properties that are excluded IncludeAllAff All link affinity properties that must be included Created Time Time when the tunnel was created display mpls te tunnel path Description Use the display mpls te tunnel path command to display the path or paths that the specified or all MPLS TE tunnels traverse on this node.
Table 68 Command output Field Description Tunnel Interface Name Tunnel interface name Lsp ID LSP ID Hop 0 Hop 0 on the path Hop 1 Hop 1 on the path Hop 2 Hop 2 on the path display mpls te tunnel statistics Description Use the display mpls te tunnel statistics command to display statistics about MPLS TE tunnels.
Field Description Number of CR-LSP tunnels that use this device as the Modified ingress and are in modified state. Number of CR-LSP tunnels that use this device as the In-Progress ingress and are in in-progress state. Number of CR-LSP tunnels that use this device as the Failed ingress and are in failed state.
Page 160
Explicit Path Name Tie-Breaking Policy : None Metric Type None Record Route Disabled Record Label : Disabled FRR Flag Disabled BackUpBW Flag: Not Supported BackUpBW Type BackUpBW Route Pinning Disabled Retry Limit Retry Interval: Reopt Disabled Reopt Freq Back Up Type None Back Up LSPID Auto BW...
Field Description BackUpBW Backup bandwidth Route Pinning Route pinning function Retry Limit Maximum number of setup retries Retry Interval Retry interval Reopt State of the reoptimization function Reopt Freq Reoptimization interval Back Up Type Backup path type Back Up LSPID Backup LSP ID Auto BW State of the automatic bandwidth adjustment function...
Page 162
Parameters process-id: Specifies the OSPF process ID, ranging from 1 to 65,535. If you specify a process, only the TE LSAs of this process are displayed. If you do not specify a process, the TE LSAs of all processes are displayed.
Field Description Opaque Type 1 for TE, carried in the header of Opaque LSA Opaque ID Opaque ID, carried in the header of Opaque LSA Advertising Router ID Router ID of the node where the LSA was generated LSA age LSA age, carried in the header of Opaque LSA Length LSA length, carried in the header of Opaque LSA...
Configuration: Neighbor Ip Address: 100.0.0.2 Cost : -10 Cost Type : Relative Hold time : 10s Table 72 Command output Field Description Interface Tunnel interface address and name Approach to automatic route advertisement: IGP shortcut or Type forwarding adjacency Neighbor ID Remote neighbor ID State State: up or down...
0x1100002 2.2.2.2 # Display statistics about tunnels. <Sysname> display tunnel-info statistics Tunnel Allocation Method : GLOBAL Avail Tunnel ID Value : 102400 Total Tunnel ID Allocated : LSP : GRE : CRLSP : LOCAL IFNET : MPLS LOCAL IFNET : Table 73 Command output Field Description...
Parameters None Examples # Enable IGP shortcut when the IGP protocol is OSPF. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] enable traffic-adjustment enable traffic-adjustment advertise Description Use the enable traffic-adjustment advertise command to enable forwarding adjacency. Use the undo enable traffic-adjustment advertise command to disable forwarding adjacency. By default, forwarding adjacency is disabled.
View System view Default level 2: System level Parameters pathname: Specifies the name of an explicit path for a tunnel, which is a string of 1 to 31 characters. disable: Disables explicit routing. enable: Enables explicit routing. Examples # Create an explicit path named path1 and enter its view. <Sysname>...
Syntax modify hop ip-address1 ip-address2 [ include [ loose | strict ] | exclude ] View Explicit path view Default level 2: System level Parameters ip-address1 ip-address2: Substitutes the IP address specified by the ip-address2 parameter for the IP address specified by the ip-address1 parameter in the explicit path. The specified IP addresses could be link IP addresses or router IDs of nodes.
Where: • Kb is the blockade multiplier • refresh-time is the refresh interval for a reservation state. When the blockade time expires, the blockade state on the node is removed. Before configuring this command, enable RSVP-TE. Related commands: mpls rsvp-te timer refresh. Syntax mpls rsvp-te blockade-multiplier number undo mpls rsvp-te blockade-multiplier...
mpls rsvp-te hello-lost Description Use the mpls rsvp-te hello-lost command to configure the maximum number of consecutive hello losses before an RSVP neighbor is considered dead. Use the undo mpls rsvp-te hello-lost command to restore the default. By default, the RSVP node considers an RSVP neighbor is dead if no response is received after sending three consecutive hellos.
Enable RSVP-TE before you configure the keep multiplier. Related commands: mpls rsvp-te timer refresh. Syntax mpls rsvp-te keep-multiplier number undo mpls rsvp-te keep-multiplier View MPLS view Default level 2: System level Parameters number: Specifies the keep multiplier, ranging from 3 to 255. Examples # Set the keep multiplier to five.
mpls rsvp-te resvconfirm Description Use the mpls rsvp-te resvconfirm command to enable reservation confirmation on current node. Use the undo mpls rsvp-te resvconfirm command to disable reservation confirmation. By default, resource reservation confirmation is disabled. After the mpls rsvp-te resvconfirm command is configured, resource reservation requests are confirmed. Syntax mpls rsvp-te resvconfirm undo mpls rsvp-te resvconfirm...
Examples # Enable summary refresh on VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls rsvp-te srefresh mpls rsvp-te timer graceful-restart recovery Description Use the mpls rsvp-te timer graceful-restart recovery command to set the RSVP-TE GR recovery interval. Use the undo mpls rsvp-te timer graceful-restart recovery command to restore the default. By default, the RSVP-TE GR recovery interval is 300 seconds.
Default level 2: System level Parameters restart-time: Specifies the RSVP-TE GR restart interval in seconds, ranging from 60 to 300. Examples # Set the RSVP-TE GR restart interval to 200 seconds. <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te timer graceful-restart restart 200 mpls rsvp-te timer hello Description Use the mpls rsvp-te timer hello command to configure the hello interval.
Examples # Enable RSVP message retransmission on VLAN-interface 1, setting the increment value delta to 2 and the initial retransmission interval to 1000 milliseconds. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls rsvp-te timer retransmission increment-value 2 retransmit- value 1000 mpls te Description Use the mpls te command to enable MPLS TE.
mpls te affinity property Description Use the mpls te affinity property command to configure the link affinity attribute of the tunnel. Use the undo mpls te affinity property command to restore the default. The default affinity attribute of the tunnel is 0x00000000, and the mask is 0x00000000. The affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use.
undo mpls te backup View Tunnel interface view Default level 2: System level Parameters hot-standby: Sets the backup mode to hot backup for the tunnel. ordinary: Sets the backup mode to ordinary backup for the tunnel. Examples # Enable hot backup on tunnel 0. <Sysname>...
ct3: Indicates that only the LSPs of CT 3 can use the bypass tunnel. un-limited: Puts on limit on total protected bandwidth. Examples # Configure Tunnel 0 to provide protection for LSPs of CT 0 without constraining the bandwidth to be protected.
Examples # Enable BFD for the MPLS TE tunnel on tunnel interface Tunnel1. <Sysname> system-view [Sysname] interface tunnel 1 [Sysname-Tunnel1] mpls te bfd enable mpls te commit Description Use the mpls te commit command to submit current MPLS TE tunnel configuration. The MPLS TE tunnel configuration you made can take effect only after you perform this command.
Default level 2: System level Parameters None Examples # Enable CSPF. <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls te cspf mpls te cspf timer failed-link Description Use the mpls te cspf timer failed-link command to configure the failed link timer. Use the undo mpls te cspf timer failed-link command to restore the default. Related commands: mpls te cspf.
With this capability configured, after BFD or periodic LSP tracert detects a failure of an RSVP-TE tunnel, if RSVP does not re-establish the RSVP-TE tunnel within a specified period of time, MPLS TE will remove the tunnel and re-establish it. Syntax mpls te failure-action teardown undo mpls te failure-action teardown...
Parameters None Examples # Reroute MPLS TE tunnel 0 to an available bypass tunnel in case the protected link or node that it traverses fails. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te fast-reroute mpls te fast-reroute bypass-tunnel Description Use the mpls te fast-reroute bypass-tunnel command to specify a bypass tunnel for the protected interface.
mpls te igp advertise Description Use the mpls te igp advertise command to enable IGP to advertise the MPLS TE tunnel as a link to IGP neighbors. Use the undo mpls te igp advertise command to remove the configuration. By default, IGP does not advertise MPLS TE tunnels to IGP neighbors. The mpls te igp advertise command cannot be used together with the mpls te igp shortcut command.
Parameters absolute value: Assigns an absolute metric to the TE tunnel for path calculation. The value parameter takes an integer ranging from 1 to 65,535. This value is directly used for path calculation. relative value: Assigns a relative metric to the TE tunnel for path calculation. The value parameter takes an integer ranging from –10 to +10.
Use the undo mpls te link administrative group command to restore the default. The default link administrative group attribute is 0x00000000. The interface properties are propagated globally. They are used for path selection at the tunnel ingress. Related commands: mpls te affinity property. Syntax mpls te link administrative group value undo mpls te link administrative group...
Examples # Configure the node to perform loop detection when setting up tunnel 0. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te loop-detection mpls te metric Description Use the mpls te metric command to assign a TE metric to the link. Use the undo mpls te metric command to restore the default.
View Tunnel interface view Default level 2: System level Parameters dynamic: Uses the dynamically calculated path. explicit-path pathname: Uses an existing explicit path. The pathname parameter is a case-insensitive string of 1 to 31 characters. preference value: Specifies the preference of the path. The value parameter is ranging from 1 to 10. The smaller the value, the higher the preference.
Parameters igp: Uses IGP metric for tunnel path calculation. te: Uses TE metric for tunnel path calculation. Examples In MPLS view: # Configure TE tunnels that were not explicitly specified with a metric type to use IGP metric for path calculation.
Parameters -a source-ip: Specifies the source IP address of MPLS Echo Request messages. By default, the MPLS LSR ID is used as the source address of MPLS Echo Request messages. -exp exp-value: Specifies the EXP value of the label. exp-value ranges from 0 to 7 and defaults to 0. -h ttl-value: Specifies the TTL value to be carried by an MPLS Echo Request message.
<Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te priority 1 mpls te record-route Description Use the mpls te record-route command to enable route recording or label recording. Use the undo mpls te record-route command to restore the default. By default, route recording and label recording are disabled. Syntax mpls te record-route [ label ] undo mpls te record-route...
Parameters frequency seconds: Specifies reoptimization frequency, ranging from 1 to 604,800 seconds. The default is 3600 seconds, or 1 hour. Examples # Enable reoptimization, setting the reoptimization (automatic rerouting) frequency to 43,200 seconds (12 hours). <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te reoptimization frequency 43200 mpls te reoptimization (user view) Description...
Parameters ff: Sets the resource reservation style to FF. se: Sets the resource reservation style to SE. Examples # Adopt the FF reservation style when setting up the CR-LSP tunnel for TE tunnel 0. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te resv-style ff mpls te retry Description...
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. This keyword is not supported on HP 5820X&5800 series. static: Sets up the tunnel using a static CR-LSP.
[Sysname-Tunnel0] mpls te signal-protocol rsvp-te mpls te timer fast-reroute Description Use the mpls te timer fast-reroute command to set the FRR polling timer. Use the undo mpls te timer fast-reroute command to restore the default setting. The default FRR polling timer is 300 seconds. Syntax mpls te timer fast-reroute [ seconds] undo mpls te timer fast-reroute...
Parameters second: Specifies the interval for re-establishing the tunnel, ranging from 1 to 4,294,967,295 seconds. Examples # Set the interval for re-establishing tunnel 0 to 20 seconds. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te timer retry 20 mpls te tunnel-id Description Use the mpls te tunnel-id command to configure the tunnel ID.
View Tunnel interface view Default level 2: System level Parameters acl acl-number: Configures the MPLS TE tunnel to forward only VPN traffic that matches the specified ACL. The ACL number is ranging from 3000 to 3999. vpn-instance vpn-instance-name: Configures the MPLS TE tunnel to forward only traffic of the specified VPN.
Parameters enable: Enables the MPLS TE capability in the OSPF area. Examples # Enable the MPLS TE capability in OSPF area 1. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] mpls-te enable next hop Description Use the next hop command to define a node on the explicit path. By performing this command multiple times, you may define all nodes that the explicit path must traverse in sequence.
Use the undo opaque-capability command to restore the default. By default, the opaque LSA capability of OSPF is disabled. Syntax opaque-capability enable undo opaque-capability View OSPF view Default level 2: System level Parameters enable: Enables the opaque LSA capability. Examples # Enable the opaque LSA capability of OSPF.
-r reply-mode: Specifies the reply mode of the receiver in response to an Echo Request message. The reply-mode parameter can be 1 or 2, where 1 means “Do not respond” and 2 means “Respond using a UDP packet.” The default is 2. -s packet-size: Specifies the payload length of the Echo Request messages.
Examples # Clear statistics about global RSVP-TE. <Sysname> reset mpls rsvp-te statistics global static-cr-lsp egress Description Use the static-cr-lsp egress command to configure a static CR-LSP on the egress node. Use the undo static-cr-lsp egress command to remove the static CR-LSP. Related commands: mpls te tunnel-id.
Default level 2: System level Parameters tunnel-name: Specifies the tunnel name, which is a case-sensitive string of 1 to 15 characters. It must be an exact reference to a tunnel interface created by the interface tunnel command. For example, if the tunnel interface created is Tunnel2, the tunnel name referenced here must be Tunnel2.
Examples # Configure a static CR-LSP on the transit node, setting its name to tunnel34, incoming interface to VLAN- interface 3, incoming label to 123, outgoing interface to VLAN-interface 4, outgoing label to 253. <Sysname> system-view [Sysname] static-cr-lsp transit tunnel34 incoming-interface Vlan-interface 3 in-label 123 outgoing-interface Vlan-interface 4 out-label 253 tracert lsp te Description...
Table 74 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 Description Use the traffic-eng command to enable IS-IS TE.
VPLS configuration commands NOTE: The HP 5820X switch series do not support VPLS. description Description Use the description command to set a description for a VPLS instance. Use the undo description command to remove the configuration. By default, no description is set for a VPLS instance.
Page 209
Default level 1: Monitor level Parameters all: Specifies all VPLS information in the BGP routing table. group group-name: Specifies a peer group by its name, which is a string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. verbose: Displays detailed information.
Page 210
Field Description LB Base Initial label of the label block LocPref Local preference # Display detailed information about VPLS peer 3.3.3.9 in the BGP routing table. <Sysname> display bgp vpls 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.9 BGP current state: Established, Up for 01h06m42s BGP current event: KATimerExpired...
Page 211
Field Description remote router ID IP address of the remote router. BGP current state Current status of the BGP session. BGP current event Current event of the BGP session. State that the BGP session was in before BGP last state transitioning to the current status.
Page 212
BGP.VPLS: 1 destination SITE ID LB Offset LB Size LB Base Nexthop LocPref 524624 3.3.3.9 Table 77 Command output Field Description BGP Local Router ID Router ID of the local BGP router Local AS Number Number of the local AS Route origin codes.
Field Description Current status of the label 0x0001 (BGP_VPLS_LB_NOT_SENTTO_VPLS) 0x0002 (BGP_VPLS_LB_SENTTO_VPLS) 0x0004 (BGP_VPLS_LB_SELECTED) 0x0008 (BGP_VPLS_LB_ASBR_TNLDOWN) 0x0010 (BGP_VPLS_LB_FROM_RR_IBGP) Flag 0x0020 (BGP_VPLS_LB_FROM_RR_EBGP) 0x0040 (BGP_VPLS_LB_FROM_IBGP) 0x0080 (BGP_VPLS_LB_FROM_EBGP) 0x0085 (BGP_VPLS_LB_NOT_SENTTO_VPLS | BGP_VPLS_LB_SELECTED | BGP_VPLS_LB_FROM_EBGP) LB Offset Label offset value LB Size Label size LB Base Initial label of the label base LB NewBase New label base...
dynamic: Specifies the dynamic MAC forwarding entries. static: Specifies the static MAC forwarding entries. count: Specifies the number of MAC forwarding entries. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Page 215
Syntax display mpls l2vpn fib ac vpls [ vsi vsi-name | interface interface-type interface-number [ service-instance service-instanceid ] ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters...
Field Description VSIName VPLS instance name VSIIndex VPLS instance index LinkID Link ID of an AC in the VPLS instance # Display the detailed VPLS AC information. <Sysname> display mpls l2vpn fib ac vpls verbose Total VSI Entry:1 Total AC Entry:1 VSI Name : vsi1 VSI Index: 0 **In Interface...
Page 217
View Any view Default level 1: Monitor level Parameters vsi vsi-name: Specifies the VPLS instance name, which is a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. link link-id: Specifies a PW in the VPLS instance by its link ID. verbose: Displays the detailed information.
# Display the detailed VPLS PW information. <Sysname> display mpls l2vpn fib pw vpls verbose Total VSI Entry:1 Total PW Entry:1 VSI Name : vsi1 VSI Index: 0 **Link ID In Interface : GigabitEthernet1/0/1 In VC Label : 1000 Out VC Label : 1002 Encapsulation Type : Ethernet...
If you do not specify a PW class template, the command displays information about all PW class templates. If you specify a PW class template, the output information of the display command includes an additional field to show the number of times the PW class template has been referenced. Syntax display pw-class [ pw-class-name ] [ | { begin | exclude | include } regular-expression ] View...
Page 220
View Any view Default level 1: Monitor level Parameters bgp: Specifies all Kompella VPLS connections. ldp: Specifies all Martini VPLS connections. vsi vsi-name: Specifies a VPLS instance by its name, which is a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. block: Specifies VPLS connections that are blocked.
Field Description LinkID ID of the PW in the VPLS instance VCState Status of the VC # Display the detailed information of VPLS connections of VPLS instance aaa. <Sysname> display vpls connection vsi aaa verbose VSI Name: aaa Signaling: ldp **Remote Vsi ID : 500 VC State...
Page 222
Syntax display vsi [ vsi-name ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vsi-name: Specifies the name of the VPLS instance, which is a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed.
Page 223
PW MAC Learn Style : unqualify Encapsulation Type : vlan : 1500 MacLearnEnable : enable Wait to Restore Time : 10(Min) VSI State : up VSI ID : 100 *Peer Router ID : 2.2.2.2 VC Label : 1024 Session : up Interface Name : GigabitEthernet1/0/4 State...
Page 224
Local Label Block : 8192/10/0 Table 87 Command output Field Description VSI Name Name of the VPLS instance VSI Index Index of the VPLS instance VSI Description Description of the VPLS instance Type of the PW signaling protocol used by the VPLS PW Signaling instance Member Discovery Style...
display vsi remote Description Use the display vsi remote command to display information about remote VPLS connections using a specified signaling protocol. Related commands: vsi. Syntax display vsi remote { bgp | ldp } [ | { begin | exclude | include } regular-expression ] View Any view Default level...
dual-npe revertive Description Use the dual-npe revertive command to enable the switchback function and set the switchback delay time. Use the undo dual-npe revertive wtr-time command to restore the default switchback delay time. Use the undo dual-npe revertive command to disable the switchback function. By default, the switchback function is disabled.
Syntax encapsulation { port-based | s-vid vlan-id [ only-tagged ] | tagged | untagged } undo encapsulation View Service instance view Default level 2: System level Parameters port-based: Matches all packets received on the current port. s-vid vlan-id: Specifies a VLAN ID to match packets carrying the specified VLAN ID. If the specified VLAN ID is the default VLAN ID (PVID) of the current port and the only-tagged keyword is not specified, the service instance matches packets carrying the current port’s PVID tag as well as untagged packets.
View VSI view Default level 2: System level Parameters bgp-vpls: Specifies the encapsulation type for a BGP VPLS instance as the standard encapsulation type defined in RFC 4761. This type corresponds to the VPLS instance PW encapsulation type of Ethernet. ethernet: Uses the encapsulation type of Ethernet.
mac-move enable Description Use the mac-move enable command to enable MAC address transition. Use the undo mac-move enable command to disable MAC address transition. By default, MAC address transition is enabled. Syntax mac-move enable undo mac-move enable View VSI view Default level 2: System level Parameters...
<Sysname> system-view [Sysname] vsi aaa [Sysname-vsi-aaa] mac-table limit 1024 peer (VSI LDP view) Description Use the peer command to specify a peer PE for a VPLS instance. Use the undo peer command to remove a peer PE. With the hub-spoke feature for a VPLS instance, you can specify the connection mode of the peer PE as hub or spoke.
Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms --- FEC: FEC 128 PSEUDOWIRE (NEW) 3.3.3.9 301 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 31/55/62 ms...
Default level 2: System level Parameters bgp: Specifies to use BGP signaling (Kompella mode). ldp: Specifies to use LDP signaling (the Martini mode). Examples # Specify that VPLS instance aaa uses the connection mode of Martini and enter VSI LDP view. <Sysname>...
reset bgp vpls Description Use the reset bgp vpls command to reset a specific VPLS BGP connection or all VPLS BGP connections. Syntax reset bgp vpls { as-number | ip-address | all | external | internal } View User view Default level 2: System level Parameters...
route-distinguisher (VSI BGP view) Description Use the route-distinguisher command to configure an RD for a VPLS instance. Different VPLS instances on a PE must have different RDs. A VPLS instance can have the same RD or different RDs on different PEs. RD has no default value.
View Interface view Default level 2: System level Parameters instance-id: Specifies a service instance ID ranging from 1 to 4094. Examples # Create service instance 100 on GigabitEthernet 1/0/10 and enter service instance view. <Sysname> system-view [Sysname] interface gigabitethernet 1/0/10 [Sysname-GigabitEthernet1/0/10] service-instance 100 [Sysname-GigabitEthernet1/0/10-srv100] shutdown (VSI view)
• Sites of a VPLS instance use natural numbers as the site IDs. In a VPN, each site ID must be unique. • For a VPLS instance, you are not allowed to execute the site command repeatedly. Syntax site site-id [ range site-range ] [ default-offset { 0 | 1 } ] undo site site-id View VSI BGP view...
Parameters tunnel-policy-name: Specifies the name of the tunneling policy for the VPLS instance, which is a string of 1 to 19 characters without any blank space. Examples # Specify that VPLS instance aaa uses the tunneling policy of policy1. <Sysname> system-view [Sysname] vsi aaa [Sysname-vsi-aaa] tnl-policy policy1 trans-mode...
A VPN target attribute can be a string of 3 to 21 characters in one the following formats: • 16-bit AS number:32-bit user-defined number, such as 101:3. • 32-bit IP address:16-bit user-defined number, such as 192.168.122.15:1. • 32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than 65,536.
auto: Configures the peer discovery mechanism as dynamic. This corresponds to BGP mode. static: Configures the peer discovery mechanism as static. This corresponds to LDP mode. Examples # Create a VPLS instance named aaa that uses the peer discovery mechanism of manual configuration. <Sysname>...
Page 242
For VPLS, signaling advertisement uses the MTU of the VPLS instance. The xconnect vsi command is available for service instances with the ID ranging from 1 to 4094. Syntax xconnect vsi vsi-name [ access-mode { ethernet | vlan } ] undo xconnect vsi View Service instance view...
Specifies the outgoing label, ranging from 16 to 1023. nexthop ip-address: Specifies the IP address of the next hop. control-word: Enables the control word option. no-control-word: Disables the control word option. NOTE: The HP 5800 switch series do not support the control word option.
Page 244
Examples # Create a remote CCC connection from CEA to CEB, specifying the incoming interface as the interface connected to CEA , the next hop as 20.1.1.2, the incoming label as 100, and the outgoing label as 200. <Sysname> system-view [Sysname] ccc CEA-CEB interface vlan-interface 10 in-label 100 out-label 200 nexthop 20.1.1.2 Description...
connection Description Use the connection command to create a Kompella connection. Use the undo connection command to delete a Kompella connection on a CE interface. When creating a Kompella connection, you must specify the ID of the peer CE and the local CE interface. If you do not specify a tunneling policy for a VC or the specified tunneling policy is not configured, the VC selects tunnels by using the default tunneling policy.
Page 246
View Any view Default level 1: Monitor level Parameters all: Displays all L2VPN information. group group-name: Specifies the name of the peer group, which is a string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. verbose: Displays detailed information.
Page 247
Field Description 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 brief information about L2VPN peers in the BGP routing table. <Sysname> display bgp l2vpn peer BGP local router ID : 4.4.4.9 Local AS number : 100 Total number of peers : 1...
Page 248
Negotiated: Active Hold Time: 180 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast: advertised and received Address family L2VPN: advertised and received Received: Total 26 messages, Update messages 2 Sent: Total 28 messages, Update messages 2 Maximum allowed prefix number: 150000 Threshold: 75%...
Page 249
# Display L2VPN information with the RD being 100:1 in the BGP routing table. <Sysname> display bgp l2vpn route-distinguisher 100:1 BGP Local router ID : 2.2.2.9, local AS number : 100 Origin codes:i - IGP, e - EGP, ? - incomplete bgp.l2vpn: 1 destination CE ID Label Offset...
# Display L2VPN information with the RD being 100:1, the CE ID being 4, and the label offset being 0 in the BGP routing table. <Sysname> display bgp l2vpn route-distinguisher 100:1 ce-id 4 label-offset 0 BGP Local router ID : 2.2.2.9, local AS number : 100 Origin codes:i - IGP, e - EGP, ? - incomplete nexthop:3.3.3.9, pref :100,...
Page 251
View Any view Default level 1: Monitor level Parameters ccc-name: Specifies the CCC connection name, which is a string of 1 to 20 characters.. type: Specifies the type of the CCC connections. local: Specifies local CCC connections. remote: Specifies remote CCC connections. |: Filters command output by specifying a regular expression.
Field Description Local ccc vc Number of local CCC connections Remote ccc vc Number of remote CCC connections Name Name of the CCC connection Type Type of the CCC connection State Status of the CCC connection Intf Interface of the CCC connection In-label Incoming label Out-label...
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about interfaces of any encapsulation types. <Sysname> display l2vpn ccc-interface vc-type all Total ccc-interface of CCC VC: 3 up (3), down (0) Interface Encap Type State...
Page 254
Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies the interface connecting the CE by its type and number. service-instance instance-id: Specifies a service instance by its ID, which ranges from 1 to 4094. remote-info: Specifies Martini VCs from the remote peer. |: Filters command output by specifying a regular expression.
Tunnel ID : 0x220020 Table 98 Command output Field Description VC ID Remote VC ID VC State Status of the VC Destination Destination IP address Client Intf Interface connected with the CE Local VC group ID, used for the L2VPN VC FEC TLV Local Group ID field of LDP messages Remote VC group ID, used for the L2VPN VC FEC...
Page 257
Field Description Maximum transmission unit ce(L) Number of local CEs ce(R) Number of remote CEs # Display information about L2VPN vpn1. <Sysname> display mpls l2vpn vpn-name vpn1 ***VPN name : vpn1 Encap type : vlan Local ce number(s) Remote ce number(s) Route distinguisher : 100:2 : 1500...
3.3.3.9 100:1 132096/0/10 Table 104 Command output Field Description Sequence number ce-id CE ID peer-id IP address of the peer Label block display mpls l2vpn connection Description Use the display mpls l2vpn connection command to display information about Kompella L2VPN connections.
Page 259
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about all Kompella L2VPN connections. <Sysname> 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...
Page 260
Local ce-id Local ce name : ce1 Remote ce-id Intf(state,encap) : Vlan-interface 2 (up,ethernet) Peer id : 3.3.3.9 Route-distinguisher : 100:1 Local vc label : 132100 Remote vc label : 132097 Tunnel policy : policy1 Tunnel Type : lsp Tunnel ID : 0x226013 Table 106 Command output Field...
Field Description Sequence number vpn-name Name of the VPN local-num Number of local connections remote-num Number of remote connections unknown-num Number of unknown connections up-num Number of connections that are up total-num Total number of connections display mpls l2vpn fib ac vpws Description Use the display mpls l2vpn fib ac vpws command to display the L2VPN AC information.
In Interface ServiceID AccessMode CEType EncapVlanID ------------------------------------------------------------ Vlan2 1000 Ethernet PortVlan Table 108 Command output Field Description Total number of VPWS AC entries, which is displayed Total AC Entry only when you display all VPWS AC entries In Interface Incoming interface, which is bound to L2VPN ServiceID Service instance ID AccessMode...
Page 263
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters. Examples # Display the MPLS L2VPN PW information. <Sysname> display mpls l2vpn fib pw vpws Total PW Entry:1 In Interface ServiceID InVCLabel OutVCLabel TunnelID -------------------------------------------------------------- Vlan2 1000 1000...
Receives discarded Packets sent Sends discarded Tunnel ID : 0x878ae001(Done) GRCount: 1 Tunnel ID : 0x878ad002(Waiting) GRCount: 1 Table 110 Command output Field Description Total number of VPWS PW entries, which is displayed Total PW Entry only when you display all VPWS PW entries In Interface Incoming interface, which is bound to L2VPN Service Instance ID...
Page 265
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, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about all static VCs configured on the router. <Sysname>...
Field Description Tunnel ID ID of the tunnel display pw-class Description Use the display pw-class command to display the PW class template information. If you do not specify a PW class template, the command displays information about all PW class templates.
l2vpn Description Use the l2vpn command to enable L2VPN and enter L2VPN view. Use the undo l2vpn command to disable L2VPN. By default, L2VPN is disabled. Syntax l2vpn undo l2vpn View System view Default level 2: System level Parameters None Examples # Enable L2VPN and enter L2VPN view.
Specifies the tunneling policy for the VC, which is a string of 1 to 19 characters. control-word: Enables the control word option. no-control-word: Disables the control word option. NOTE: The HP 5800 switch series do not support the control word option. Examples # Create a Martini MPLS L2VPN connection. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] mpls l2vc 2.2.2.9 999...
NOTE: The HP 5800 switch series do not support the control word option. Examples # Create Kompella VPN named vpn1 and enter MPLS L2VPN view. <Sysname> system-view [Sysname] mpls l2vpn vpn1 encapsulation ethernet [Sysname-mpls-l2vpn-vpn1] # Create Kompella VPN named vpn2 and enter MPLS L2VPN view.
Use the mtu command to set the maximum transmission unit (MTU) for the Kompella connections. Use the undo mtu command to restore the default. HP does not recommend using the mtu command, because it affects only possible protocol parameter negotiations and does not instruct traffic forwarding.
Page 272
View Any view Default level 0: Visit level Parameters -a source-ip: Specifies the source IP address of the Echo Request messages to be sent. -c count: Specifies the number of request messages to be sent. The count parameter ranges from 1 to 4,294,967,295 and defaults to 5.
pw-class Description Use the pw-class command to create a PW class template and enter PW class template view. Use the undo pw-class command to delete an existing PW class template. By default, no PW class template is created. Syntax pw-class class-name undo pw-class class-name View System view...
Default level 2: System level Parameters policy-name: Specifies the name of the tunneling policy, which is a case-insensitive string of 1 to 19 characters. Examples # Specify tunneling policy tp100 for PW class template pw100. <Sysname> system-view [Sysname] pw-class pw100 [Sysname-pw-pw100] pw-tunnel-policy tp100 reset bgp l2vpn Description...
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. Syntax route-distinguisher route-distinguisher View...
The HP 5800 switch series keep or remove the service delimiter of a downstream packet, depending on the link type configured for the downstream port when the port is added to the VLAN indicated by the service delimiter.
• 16-bit AS number:32-bit user-defined number. For example, 101:3. • 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1. • 32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater than 65,536. For example, 65536:1. both: Uses the specified VPN target value as both import targets and export targets. The both keyword also is used when you do not specify any of both, export-extcommunity, and import-extcommunity.
Page 278
Parameters peer-ip-address: Specifies the IP address of the remote peer. pw-id pw-id: Specifies the PW ID of the Martini MPLS L2VPN connection, ranging from 1 to 4,294,967,295. pw-class class-name: Specifies a PW class template by its name. class-name is a case-insensitive string of 1 to 19 characters.
For information about the BGP L2VPN address family and the VPLS address family, see the • Configuration Guide • The HP 5820X switch series do not support MPLS L3VPN. default local-preference (BGP-VPNv4 subaddress family view) Description Use the default local-preference command to set the default value of the local preference.
With other criteria the same, the system selects the route with a smaller MED value as the AS external route. By default, the default system MED value is 0. Syntax default med med-value undo default med View BGP-VPNv4 subaddress family view Default level 2: System level Parameters...
display bgp vpnv4 all routing-table Description Use the display bgp vpnv4 all routing-table command to display all BGP VPNv4 routing information. 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- 1 3>...
Page 282
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 the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Page 283
Paths: 1 available, 1 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 : <RT: 111:1> AS-path : 65410 Origin : incomplete Attribute value : MED 0, localpref 100, pref-val 0, pre 255 State : valid, internal, VPNv4 best, Not advertised to any peers yet...
Field Description Route origin codes. Valid values include: i - IGP (learned from within the AS) Origin e - EGP (learned through EGP) ? - incomplete (learned in any other way) Total number of routes from all PE Total number of VPNv4 routes from all PEs Network Network address NextHop...
Page 285
Syntax display bgp vpnv4 { all | vpn-instance vpn-instance-name } group [ group-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the instance name of an MPLS L3VPN, which is a case-sensitive string of 1 to 31 characters.
Field Description remote AS number Number of the remote AS. Type Type of the BGP peer group. Maximum number of routes that the VPN instance Maximum allowed prefix number supports. Threshold Threshold value. Configured hold timer value Setting of the hold timer. Keepalive timer value Keepalive interval.
View Any view Default level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the instance name of an MPLS L3VPN, which is a case-sensitive string of 1 to 31 characters. |: Filters command output by specifying a regular expression.
Page 288
Default level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the instance name of an MPLS L3VPN, which is a case-sensitive string of 1 to 31 characters. as-regular-expression: Specifies the regular expression for filtering the AS path information to be displayed.
display bgp vpnv4 peer Description Use the display bgp vpnv4 peer command to display information about BGP VPNv4 peers. Syntax display bgp vpnv4 all peer [ ip-address verbose | verbose ] [ | { begin | exclude | include } regular- expression ] display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name log-info | ip-address { log-info | verbose } | verbose ] [ | { begin | exclude | include } regular-expression ]...
Page 290
Field Description Peers in established state Number of peers in the state of established Peer IP address of the peer AS number of the peer group MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of messages waiting to be sent to the peer PrefRcv Number of received prefixes Up/Down...
Page 291
Table 118 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 the BGP session.
Page 292
Field Description ORF capability negotiated by the local and remote peers. The value can be: • send—The local peer can send Route-refresh messages with ORF information and the remote peer can receive Route-refresh messages with ORF information. Negotiated • receive—The local peer can receive Route-refresh messages with ORF information and the remote peer can send Route-refresh messages with ORF information.
Page 293
Configured: Active Hold Time: 180 sec Keepalive Time:60 sec Received : Active Hold Time: 180 sec Negotiated: Active Hold Time: 180 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast: advertised and received Address family VPNv4: advertised and received Received: Total 52 messages, Update messages 2 Sent: Total 65 messages, Update messages 5...
Page 294
Field Description Address family IPv4 Unicast IPv4 unicast family capability. Address family VPNv4 IPv4 address group VPNv4 capability. Counts of received messages and received update Received messages. Counts of sent messages and the number of sent Sent update messages. Maximum number of routes that the VPN instance Maximum allowed prefix number supports.
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, which is a case-sensitive string of 1 to 256 characters. Example # Display the ORF IP prefix information received from BGP peer 10.1 10.25.20.
Page 297
network-address: Specifies the IP address of the destination segment. mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, ranging from 0 to 32. as-path-acl as-path-acl-number: Filters routing information using the specified AS_PATH list. The as-path- acl-number parameter ranges from 1 to 256.
Page 299
Table 123 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes. For valid values, see Table 113. Origin Route status codes. For valid values, see Table 113. Network Network address. NextHop Address of the next hop.
Network NextHop In/Out Label LocPrf *^ i 10.0.0.0 1.1.1.1 1025 /NULL Total Number of Routes: 1(vpn1) Network NextHop In/Out Label LocPrf * >i 10.0.0.0 1.1.1.1 Table 124 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes.
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, which is a case-sensitive string of 1 to 256 characters. Examples # Display information about labeled routes in the BGP routing table. <Sysname>...
Page 303
longer-match: Displays flap statistics for routes with masks longer than that specified by the network- address { mask | mask-length } combination. peer ip-address: Specifies a peer by its IP address. advertised-routes: Displays routing information sent to the specified peer. received-routes: Displays routing information received from the specified peer.
Field Description AS_PATH attribute/route origin of the route, see Path/Ogn Table 113. display fib vpn-instance Description Use the display fib vpn-instance command to display the FIB information of a VPN instance. If you do not specify a parameter, all FIB information of the VPN instance is displayed. Syntax display fib vpn-instance vpn-instance-name [ acl acl-number | ip-prefix ip-prefix-name ] [ | { begin | exclude | include } regular-expression ]...
Page 305
10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid 127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display the FIB information of VPN instance vpn1 that begins with the line containing the string 127. <Sysname> display fib vpn-instance vpn1 | begin 127 Flag: U:Useable G:Gateway...
Field Description Flag of the route. Possible values are: • U—available route • G—gateway route • Flag H—host route • B—blackhole route • D—dynamic route • S—static route OutInterface Forwarding interface Token LSP index number display fib vpn-instance ip-address Description Use the display fib vpn-instance ip-address command to display the FIB information of the specified VPN instance that matches the specified destination IP address.
Examples # Display the FIB information of VPN instance vpn1 that matches the destination IP address 10.2.1.1. <Sysname> display fib vpn-instance vpn1 10.2.1.1 FIB entry count: 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.1.1/32 127.0.0.1 InLoop0...
Page 308
Table 128 Command output Field Description VPN-Instance Name Name of the VPN instance RD of the VPN instance Create Time Time when the VPN instance was created # Display detailed information about a specific VPN instance. <Sysname> display ip vpn-instance instance-name vpn1 VPN-Instance Name and ID : vpn1, 1 Create time : 2006/04/08 13:01:30 Up time : 0 days, 00 hours, 11 minutes and 42 seconds...
Field Description Maximum ratio of the actual route number to the maximum route Threshold Value(%) number in percentage. When the ratio is reached, the device rejects new routes. Interfaces Interface to which the VPN instance is bound. display mpls ldp vpn-instance Description Use the display mpls ldp vpn-instance command to display information about an LDP instance.
DU Re-advertise Timer : 30 Sec DU Re-advertise Flag : On DU Explicit Request : Off Request Retry Flag : On Label Distribution Mode : Ordered Label Retention Mode : Liberal Table 130 Command output Field Description Protocol Version Version of the LDP protocol. Neighbor Liveness Neighbor liveness timer of LDP GR.
Page 311
area area-id: Specifies an OSPF area by the area ID, which can be an integer ranging from 0 to 4,294,967,295 or in the format of an IPv4 address. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Field Description State Status of the sham link neighbor Area Destination IP address of the sham link Cost Cost of the sham link State Status of the sham link Type Type of the sham link Timers Timers of the sham link display tunnel-policy Description Use the display tunnel-policy command to display information about a tunneling policy or all tunneling...
<Sysname> display tunnel-policy policy-name aaa Tunnel Policy Name Select-Seq Load balance No ------------------------------------------------------ LSP CR-LSP Table 133 Command output Field Description Tunnel Policy Name Name of the tunneling policy Select-Seq Preference order for tunnel selection Load balance No Number of tunnels for load balancing domain-id Description Use the domain-id command to configure an OSPF domain ID.
[Sysname-ospf-100] domain-id 234 export route-policy Description Use the export route-policy command to apply an export routing policy to a VPN instance. Use the undo export route-policy command to remove the application. By default, no policy is applied to filter the routes to be advertised. You can specify an export routing policy when the VPN route advertisement control provided by the extended community attributes is not enough.
Parameters acl-number: Specifies the IP ACL number, ranging from 2000 to 3999. ip-prefix ip-prefix-name: Specifies an IP address prefix list by its name, which is 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 specified ISIS process. The process-id parameter is ranging from 1 to 65,535.
[Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] filter-policy 2255 import import route-policy Description Use the import route-policy command to apply an import routing policy to a VPN instance. Use the undo import route-policy command to remove the application. By default, all routes permitted by the import target attribute are accepted. You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough.
When configured on an interface, the ip binding vpn-instance command clears the IP address of the interface. You must re-configure the IP address of the interface after configuring the command. The Layer 3 Ethernet interface refers to the Ethernet port that can perform IP routing and inter-VLAN routing.
Examples # Create a VPN instance named vpn1. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family Description Use the ipv4-family command to enter BGP-VPNv4 subaddress family view or BGP VPN instance view. Use the undo ipv4-family command to remove all configurations performed in either of the two views. Before entering BGP VPN instance view, you must create the VPN instance.
mpls ldp vpn-instance Description Use the mpls ldp vpn-instance command to enable LDP for a VPN instance, create an LDP instance, and enter MPLS LDP VPN instance view. Use the undo mpls ldp vpn-instance command to disable LDP for a VPN instance and remove the LDP instance.
View BGP-VPNv4 subaddress family view Default level 2: System level Parameters None Examples # Enable nested VPN. <Sysname> system-view [Sysname] bgp 10 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] nesting-vpn peer advertise-community (BGP-VPNv4 subaddress family view) Description Use the peer advertise-community command to specify to advertise community attributes to a peer or peer group.
peer allow-as-loop Description Use the peer allow-as-loop command 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 the undo peer allow-as-loop command to remove the configuration. Syntax peer { group-name | ip-address } allow-as-loop [ number ] undo peer { group-name | ip-address } allow-as-loop...
peer as-path-acl (BGP-VPNv4 subaddress family view) Description Use the peer as-path-acl command to specify filter routes received from or advertised to a specific peer or peer group based on an AS_PATH list. Use the undo peer as-path-acl command to remove the configuration. By default, no AS filtering list is applied to a peer or peer group.
• If you disable the ORF capability, the local BGP router does not negotiate the ORF capability with the specified peer or peer group. Table 134 Description of the both, send, and receive parameters and the negotiation result Local parameter Peer parameter Negotiation result The ORF sending capability is enabled locally...
Use the undo peer default-route-advertise vpn-instance command to remove the configuration. By default, no default route is advertised to a peer or peer group. Related commands: peer upe. Syntax peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name undo peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name View BGP-VPNv4 subaddress family view Default level...
Parameters group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Examples # Configure peer 1.1.1.1 and enable the peer for the BGP-VPNv4 subaddress family. <Sysname>...
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. Examples # Apply a filtering policy to filter the routes received from the peer group test. <Sysname>...
[Sysname-bgp-af-vpls] peer test enable [Sysname-bgp-af-vpls] peer 1.1.1.1 group test peer ip-prefix (BGP-VPNv4 subaddress family view) Description Use the peer ip-prefix command to apply a route filtering policy based on IP prefix list to a peer or peer group. Use the undo peer ip-prefix command to remove the configuration. By default, no route filtering policy based on IP prefix list is applied to a peer or peer group.
• PEs in the same AS. • The peer ASBR PE. Syntax peer { group-name | ip-address } label-route-capability undo peer { group-name | ip-address } label-route-capability View BGP view, BGP VPN instance view Default level 2: System level Parameters group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
Examples # In BGP-VPNv4 subaddress family view, configure the device not to change the next hop of a route when advertising it to EBGP peer 1.1.1.1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 next-hop-invariable peer next-hop-local Description Use the peer next-hop-local command to configure the device to use the local address as the next hop of a route when advertising it to a peer or peer group.
peer preferred-value (BGP-VPNv4 subaddress family view) Description Use the peer preferred-value command to specify the preference value for the routes received from the specified peer or peer group. Use the undo peer preferred-value command to restore the default. By default, the preference value for the routes received from a peer or peer group is 0. Syntax peer { group-name | ip-address } preferred-value value undo peer { group-name | ip-address } preferred-value...
Default level 2: System level Parameters group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. Examples # In BGP-VPNv4 subaddress family view, configure the device to exclude private AS numbers from the BGP updates to be sent to the peer group test.
[Sysname-bgp-af-vpnv4] peer test reflect-client # In BGP-L2VPN address family view, configure the local device as an RR and the peer group test as the client of the RR. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer test reflect-client # In VPLS address family view, configure the local device as an RR and the peer group test as the client of the RR.
peer upe Description Use the peer upe command to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress family. Use the undo peer upe command to remove the configuration. 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.
Default level 2: System level Parameters group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of the peer. route-policy-name: Specifies the name of the routing policy, which is a case-sensitive string of 1 to 19 characters.
peer-address: Specifies the IP address of the peer. vpn-instance-name: Specifies the name of the VPN instance, which is a case-sensitive string of 1 to 31 characters. Examples # Activate a nested VPN peer group named ebgp. <Sysname> system-view [Sysname] bgp 10 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] group ebgp external [Sysname-bgp-vpn1] quit...
[Sysname-bgp-vpn1] quit [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer ebgp vpn-instance vpn1 enable [Sysname-bgp-af-vpnv4] peer 1.1.1.1 vpn-instance vpn1 group ebgp peer vpn-instance route-policy import Description Use the peer vpn-instance route-policy import command to specify the routing policy to be applied to VPNv4 routes received from a nested VPN peer or peer group. Use the undo peer vpn-instance route-policy import command to restore the default.
policy vpn-target Description Use the policy vpn-target command to enable VPN target filtering for received VPNv4 routes. Use the undo policy vpn-target command to disable the filtering, permitting all VPNv4 routes. Only VPNv4 routes with export route target attributes matching the local import route target attributes are added into the routing table.
By default, no preferred tunnel exists. In a tunneling policy, you can configure up to 64 preferred tunnels. The tunnel interfaces specified for the preferred tunnels can have the same destination address. The tunnel encapsulation type must be MPLS TE. Syntax preferred-path number interface tunnel tunnel-number [ disable-fallback ] undo preferred-path number...
Default level 2: System level Parameters cluster-id: Specifies the cluster ID of the RR, ranging from 1 to 4,294,967,295. ip-address: Specifies the IP address of the peer, which is to be used as the cluster ID of the RR. Examples # In BGP-VPNv4 subaddress family view, set the RR’s cluster ID to 50.
export: Performs a soft reset in the outbound direction. import: Performs a soft reset in the inbound direction. Examples # Perform a soft reset of all BGP connections in VPN instance vpn1 in the inbound direction to make new configurations take effect. <Sysname>...
association between a VPN instance and its reserved VLAN, you need to delete the VPN instance, recreate it, and then specify another reserved VLAN for it. Syntax reserve-vlan vlan-id View VPN instance view Default level 2: System level Parameters vlan-id: Specifies the ID of the VLAN to be specified as the reserved VLAN of the VPN instance, ranging from 1 to 4094.
as-path-acl-number: Specifies the number of the AS_PATH list, ranging from 1 to 256. as-path-regexp: Specifies the AS_PATH regular expression. Examples # Clear route flap history information about BGP peer 2.2.2.2 of VPN instance vpn1. <Sysname> reset bgp vpn-instance vpn1 2.2.2.2 flap-info reset bgp vpnv4 Description Use the reset bgp vpnv4 command to reset BGP VPNv4 connections.
Syntax route-distinguisher route-distinguisher View VPN instance view Default level 2: System level Parameters route-distinguisher: Specifies the RD for the VPN instance, which is a string of 3 to 21 characters in one of the following three formats: 16-bit AS number:32-bit user-defined number. For example, 101:3. •...
View OSPF view Default level 2: System level Parameters tag-value: Specifies the tag for identifying injected VPN routes, ranging from 0 to 4,294,967,295. Examples # Configure the route tag for OSPF process 100 as 100. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] route-tag 100 routing-table limit Description...
Examples # Specify that the VPN instance vpn1 supports up to 1000 routes and can receive new routes after the number of existing routes exceeds the limit. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 100:1 [Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert rr-filter Description Use the rr-filter command to create an RR reflection policy.
[Sysname-bgp-af-vpls] rr-filter 10 sham-link Description Use the sham link command to configure a sham link. Use the undo sham link command with no optional keyword to remove a sham link. Use the undo sham link command with optional keywords to restore the defaults of the parameters for a sham link.
md5: Uses MD5 algorithm for authentication. hmac-md5: Uses HMAC-MD5 algorithm for authentication. key-id: Specifies the authentication key ID of the interface, ranging from 1 to 255. It must be the same as that of the peer. cipher: Uses cipher text. plain: Uses plain text.
[Sysname-tunnel-policy-po1] quit [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] route-distinguisher 22:33 [Sysname-vpn-instance-vpn2] tnl-policy po1 tunnel-policy Description Use the tunnel-policy command to establish a tunneling policy and enter tunneling policy view. Use the undo tunnel-policy command to delete a tunneling policy. Related commands: tunnel select-seq. Syntax tunnel-policy tunnel-policy-name undo tunnel-policy tunnel-policy-name...
undo tunnel select-seq View Tunneling policy view Default level 2: System level Parameters cr-lsp: Specifies CR-LSP tunnels. lsp: Specifies LSP tunnels. load-balance-number number: Specifies the number of tunnels for load balancing. The number parameter is ranging from 1 to 8. Examples # Define a tunneling policy, specifying that only LSP tunnels are used and the number of tunnels for load balancing be 2.
Page 353
A VPN target attribute can be a string of 3 to 21 characters in one the following formats: • 16-bit AS number:32-bit user-defined number. For example, 101:3. • 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1. • 32-bit AS number:16-bit user-defined number, where the AS number must not be less than 65,536. For example, 65536:1.
IPv6 MPLS L3VPN configuration commands default local-preference (BGP-VPNv6 subaddress family view) Description Use the default local-preference command to set the default value of the local preference. Use the undo default local-preference command to restore the default. By default, the default value of the local preference is 100. Syntax default local-preference value undo default local-preference...
View BGP-VPNv6 subaddress family view Default level 2: System level Parameters med-value: Specifies the default value of the MED, ranging from 0 to 4,294,967,295. Examples # Set the default MED to 10 in BGP-VPNv6 subaddress family view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] default med 10 display bgp vpnv6 all peer...
Page 356
Local AS number : 200 Total number of peers : 1 Peers in established state : 0 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 192.168.1.40 0 00:02:10 Active Table 135 Command output Field Description Peer IP address of the peer AS number of the peer MsgRcvd Number of messages received...
Page 357
Connect-interface has been configured Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 136 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.
Field Description ORF advertise capability based Supports the ORF address prefix capability and the capability value is on prefix (type 64): 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.
Page 359
Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 • address ANDed with the specified prefix. Its prefix length is shorter than or equal to the specified prefix length. • Its prefix length is the longest among the entries meeting the above two conditions. •...
Table 137 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 113. Origin Route origin codes. For more information, see Table 113. Total number of routes from all PE Total number of VPNv6 routes from all PEs.
Page 361
Parameters route-distinguisher: Specifies the RD. network-address: Specifies the IPv6 address of the destination segment. prefix-length: Specifies the prefix length, ranging from 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
display bgp vpnv6 vpn-instance peer Description Use the display bgp vpnv6 vpn-instance peer command to display information about the IPv6 BGP peers in the specified VPN instance. If you do not specify any optional parameters, the command displays the brief information of all IPv6 BGP peers.
Page 363
Field Description AS number of the peer 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.
Field Description BGP version Version of BGP that the peer runs. 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. State that the BGP session was in before transitioning to the current BGP last state state.
Page 365
Syntax display bgp vpnv6 vpn-instance vpn-instance-name routing-table [ network-address prefix-length [ longer- prefixes ] | peer ipv6-address { advertised-routes | received-routes } ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, which is a case-sensitive string of 1 to 31 characters.
Path/Ogn: ? Table 142 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 113. Origin Route origin codes. For more information, see Table 113. Network Destination network address.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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.
Page 368
Syntax display ipv6 fib vpn-instance vpn-instance-name ipv6-address [ prefix-length ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vpn-instance-name: Specifies the VPN instance name, which is a case-sensitive string of 1 to 31 characters.
Field Description Flag of the route. Possible values are: • U—Usable route • G—Gateway route • Flag H—Host route • B—Blackhole route • D—Dynamic route • S—Static route Label Label value added to a packet Token LSP index, used to associate an NHLFE entry Interface Outgoing interface of packets export route-policy...
[Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] export route-policy poly-1 # Apply export routing policy poly-3 to the IPv6 VPN of VPN instance vpn3. <Sysname> system-view [Sysname] ip vpn-instance vpn3 [Sysname-vpn-instance-vpn3] ipv6-family [Sysname-vpn-ipv6-vpn3] export route-policy poly-3 filter-policy export (BGP-VPNv6 subaddress family view) Description Use the filter-policy export command to filter all or certain types of routes to be advertised.
[Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] filter-policy 2555 export filter-policy import (BGP-VPNv6 subaddress family view) Description Use the filter-policy import command to filter received routes. Use the undo filter-policy import command to remove the configuration. By default, received routes are not filtered. Only routes that survive the filtering are added into the BGP routing table.
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 policy specified in IPv6 VPN view is applied to the IPv6 VPN. Syntax import route-policy route-policy undo import route-policy...
Parameters vpn-instance vpn-instance-name: Associates a VPN instance with an IPv6 address family and enters IPv6 BGP-VPN instance view. The vpn-instance-name parameter is a case-sensitive string of 1 to 31 characters. vpnv6: Enters BGP-VPNv6 subaddress family view. Examples # Enter BGP-VPNv6 subaddress family view. <Sysname>...
peer enable Description Use the peer enable command to enable a peer or peer group for an address family and enable the exchange of BGP routing information of the address family. Use the undo peer enable command to disable the capability. By default, only IPv4 routing information is exchanged between BGP peers/peer groups.
peer filter-policy (BGP-VPNv6 subaddress family view) Description Use the peer filter-policy command to apply a filtering policy to a peer or peer group. Use the undo peer filter-policy command to remove the configuration. By default, no filtering policy is applied to a peer or peer group. Related commands: peer as-path-acl.
Syntax peer ip-address ipv6-prefix prefix-name { export | import } undo peer ip-address ipv6-prefix { export | import } View BGP-VPNv6 subaddress family view Default level 2: System level Parameters ip-address: Specifies the IP address of a peer. prefix-name: Specifies the name of an IPv6 prefix list, which is a string of 1 to 19 characters. export: Filters routes to be advertised to the peer.
Parameters group-name: Specifies the name of the peer group, which is 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, ranging from 0 to 65,535. Examples # In BGP-VPNv6 subaddress family view, set the preference value for the routes received from peer 131.108.1.1 to 50.
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 public-as-only peer reflect-client Description Use the peer reflect-client command to configure the local device as an RR and a peer or peer group as the client of the RR. Use the undo peer reflect-client command to remove the configuration. By default, no RR or RR client is configured.
[Sysname-bgp-af-vpls] peer test reflect-client # In BGP-VPNv6 subaddress family view, configure the local device as an RR and peer 1.1.1.1 as the client of the RR. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] peer 1.1.1.1 reflect-client peer route-policy (BGP-VPNv6 subaddress family view) Description Use the peer route-policy command to apply a routing policy to a peer or peer group.
policy vpn-target Description Use the policy vpn-target command to enable VPN target filtering for received VPNv6 routes. Use the undo policy vpn-target command to disable the filtering, permitting all VPNv6 routes. Only VPNv6 routes with export route target attributes matching the local import route target attributes are added into the routing table.
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. Syntax reflect between-clients undo reflect between-clients View BGP-L2VPN address family view, VPLS address family view, BGP-VPNv6 subaddress family view Default level 2: System level Parameters...
View BGP-L2VPN address family view, VPLS address family view, BGP-VPNv6 subaddress family view Default level 2: System level Parameters cluster-id: Specifies the cluster ID of the RR, ranging from 1 to 4,294,967,295. ip-address: Specifies the IP address of the peer, which is to be used as the cluster ID of the RR. Examples # In BGP-L2VPN address family view, set the RR’s cluster ID to 50.
export: Performs a soft reset in the outbound direction. import: Performs a soft reset in the inbound direction. Examples # Soft reset all IPv6 BGP connections in VPN instance vpn1 in the inbound direction to make new configurations take effect. <Sysname>...
Parameters vpn-instance-name: Resets IPv6 BGP connections with the peers in a VPN instance. The VPN instance name is a case-sensitive string of 1 to 31 characters. as-number: Resets IPv6 BGP connections with the peers in an AS. The AS number is ranging from 1 to 4,294,967,295.
A limit configured in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN. • A limit configured in IPv6 VPN view is applicable to only the IPv6 VPN. • A limit configured in IPv6 VPN view takes precedence over that configured in VPN instance view. If •...
Syntax rr-filter extended-community-number undo rr-filter View BGP-VPNv6 subaddress family view Default level 2: System level Parameters extended-community-number: Specifies the number of the Extended Communities attribute supported by the RR, ranging from 1 to 199. Examples # In BGP-VPNv6 subaddress family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv6 route update packets.
Parameters tunnel-policy-name: Specifies the name of the tunneling policy for the VPN instance, which is a string of 1 to 19 characters. Examples # Associate VPN instance vpn1 with tunneling policy po1. <Sysname> system-view [Sysname] tunnel-policy po1 [Sysname-tunnel-policy-po1] tunnel select-seq lsp load-balance-number 1 [Sysname-tunnel-policy-po1] quit [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 22:33...
Page 388
Parameters vpn-target&<1-8>: Adds VPN target extended community attributes to the import VPN target extended community attribute list (Import Target) or export VPN target extended community attribute list (Export Target). &<1-8> means that you can add up to eight VPN targets. A VPN target attribute can be a string of 3 to 21 characters in one the following formats: 16-bit AS number:32-bit user-defined number.
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
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. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 391
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.
Page 392
Index A B C D E F G H I L M N O P R S T V X display bgp vpnv4 vpn-instance routing-table,8 display bgp vpnv6 all peer,346 accept-label,49 display bgp vpnv6 all routing-table,31 hop,1 15 display bgp vpnv6 all routing-table,349 advertise-label,50 display bgp vpnv6 route-distinguisher...
Page 395
mpls te retry,187 peer preferred-value (BGP-VPNv6 subaddress family view),367 mpls te route-pinning,187 peer public-as-only (BGP-VPN6 subaddress family mpls te signal-protocol,188 view),368 mpls te timer fast-reroute,189 peer public-as-only (BGP-VPNv4 subaddress family mpls te timer retry,189 view),322 mpls te tunnel-id,190 peer reflect-client,323 mpls te vpn-binding,190 peer...