H3C S5820X Series Command Reference Manual

H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

H3C S5820X&S5800 Switch Series
MPLS Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1805P02
Release 1808P12
Document version: 6W101-20140314

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5820X Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S5820X Series

  • Page 1 H3C S5820X&S5800 Switch Series MPLS Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1805P02 Release 1808P12 Document version: 6W101-20140314...
  • Page 2 Copyright © 2012-2014, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S5820X&S5800 documentation set includes 12 command references, which describe the commands and command syntax options available for the S5820X&S5800 Switch Series. The MPLS Command Reference describes the commands for configuring MPLS and its extended functions, including MCE, IPv6 MCE, MPLS basics, MPLS TE, VPLS, MPLS L2VPN, MPLS L3VPN, and IPv6 MPLS L3VPN.
  • Page 4 Command reference Added and modified commands Added command: ipv4-family. Modified commands: • The value range of the number argument in the routing-table limit command changed to 1 to 8192 in VPN instance view and to 1 to 16384 in IPv4 VPN view. •...
  • Page 5 Command reference Added and modified commands Added commands: • mpls static-l2vc • static label (static-L2VC view, static-xpeer view) • xconnect static-peer MPLS L2VPN Modified commands: • Keywords ethernet and vlan were added to the mpls l2vc command. • Keywords ethernet and vlan were added to the mpls static-l2vc destination command.
  • Page 6 Convention Description Asterisk marked square brackets enclose optional syntax choices separated by vertical [ x | y | ... ] * bars, from which you select one choice, multiple choices, or none. The argument or keyword and argument combination before the ampersand (&) sign can &<1-n>...
  • Page 7 Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. About the H3C S5820X&S5800 documentation set The H3C S5820X&S5800 documentation set includes: Category Documents Purposes Marketing brochures Describe product specifications and benefits.
  • Page 8 Guides you through installing SFP/SFP+/XFP Transceiver Modules transceiver modules. Installation Guide • S5800-60C-PWR Switch Video Installation Guide Shows how to install the H3C S5800-60C-PWR and • H3C S5820X-28C Ethernet switches. S5820X-28C Switch Video Installation Guide Describe software features and configuration Configuration guide procedures.
  • Page 9 Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents]—Provides hardware installation, software upgrading, and software feature configuration and maintenance documentation.
  • Page 10: Table Of Contents

    Contents MCE configuration commands ···································································································································· 1   description ································································································································································· 1   display bgp vpnv4 vpn-instance group ·················································································································· 1   display bgp vpnv4 vpn-instance network ·············································································································· 3   display bgp vpnv4 vpn-instance paths ··················································································································· 4   display bgp vpnv4 vpn-instance peer ···················································································································· 5  ...
  • Page 11 display mpls interface ··········································································································································· 49   display mpls label ················································································································································· 50   display mpls ldp ···················································································································································· 51   display mpls ldp fec ·············································································································································· 53   display mpls ldp interface ···································································································································· 55   display mpls ldp lsp ·············································································································································· 57   display mpls ldp peer ··········································································································································· 58  ...
  • Page 12 static-lsp ingress ··················································································································································· 106   static-lsp transit ····················································································································································· 106   statistics interval ··················································································································································· 107   tracert lsp ipv4 ····················································································································································· 108   ttl expiration enable ············································································································································ 109   ttl expiration pop ················································································································································· 109   ttl propagate ························································································································································ 110   MPLS TE configuration commands ························································································································· 112  ...
  • Page 13 mpls rsvp-te timer graceful-restart recovery ······································································································· 167   mpls rsvp-te timer graceful-restart restart ··········································································································· 168   mpls rsvp-te timer hello ········································································································································ 168   mpls rsvp-te timer refresh ···································································································································· 169   mpls rsvp-te timer retransmission························································································································ 170   mpls te ·································································································································································· 170  ...
  • Page 14 display mac-address vsi ······································································································································ 210   display mpls l2vpn fib ac vpls ··························································································································· 211   display mpls l2vpn fib pw vpls ·························································································································· 213   display pw-class··················································································································································· 216   display mpls statistics pw ··································································································································· 217   display service-instance interface ······················································································································ 218  ...
  • Page 15 display pw-class··················································································································································· 274   l2vpn ····································································································································································· 275   l2vpn-family ·························································································································································· 275   mpls l2vc ······························································································································································ 276   mpls l2vpn ···························································································································································· 277   mpls l2vpn vpn-name ·········································································································································· 277   mpls static-l2vc ····················································································································································· 278   mpls static-l2vc destination ································································································································· 279   mtu (MPLS L2VPN view) ······································································································································ 280  ...
  • Page 16 peer default-route-advertise vpn-instance ·········································································································· 335   peer enable (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view) ····································································································································································· 336   peer filter-policy (BGP-VPNv4 subaddress family view) ·················································································· 337   peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view) ··············································································································································································...
  • Page 17 filter-policy export (BGP-VPNv6 subaddress family view) ··············································································· 381   filter-policy import (BGP-VPNv6 subaddress family view) ··············································································· 382   import route-policy (VPN instance view/IPv6 VPN view) ··············································································· 383   ipv6-family vpnv6 (BGP view) ···························································································································· 384   ipv6-family (VPN instance view) ························································································································ 384  ...
  • Page 18: Mce Configuration Commands

    MCE configuration commands This chapter describes only the commands related to the MCE feature. For information about the routing protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command Reference. The term "interface" in this chapter collectively refers to Layer 3 interfaces, including VLAN interfaces, Layer 3 Ethernet interfaces, and Layer 3 aggregate interfaces.
  • Page 19 Default command level 1: Monitor level Parameters vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. group-name: Specifies the name of the BGP peer group, a string of 1 to 47 characters. |: Filters command output by specifying a regular expression.
  • Page 20: Display Bgp Vpnv4 Vpn-Instance Network

    Field Description Minimum time between advertisement Minimum route advertisement interval. runs Whether the local device supports sending and receiving Route-refresh packets with ORF information. The value can be: • both—Supports sending and receiving Route-refresh messages with ORF information. Local • Send—Supports sending Route-refresh messages with ORF information.
  • Page 21: Display Bgp Vpnv4 Vpn-Instance Paths

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about the BGP VPNv4 routes injected into VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 network BGP Local Router ID is 1.1.1.1.
  • Page 22: Display Bgp Vpnv4 Vpn-Instance Peer

    Examples # Display the BGP VPNv4 AS path information for VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 paths Address Hash Refcount Path/Origin 0x6E72D18 200? 0x6E72E50 0x6E72B78 0x6E72BE0 Table 3 Command output Field Description Address Routing address in the local database. Hash Hash bucket for storing routes.
  • Page 23 Examples # Display information about the BGP VPNv4 peers of VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 peer BGP local router ID : 2.2.2.2 Local AS number : 100 Total number of peers : 1 Peers in established state : 1 Peer MsgRcvd MsgSent...
  • Page 24 Maximum allowed prefix number: 150000 Threshold: 75% Minimum time between advertisement runs is 30 seconds Optional capabilities: ORF advertise capability based on Prefix(type 64): Local: both Negotiated: send Peer Preferred Value: 99 BFD: Enabled Routing policy configured: No routing policy is configured Table 5 Command output Field Description...
  • Page 25: Display Bgp Vpnv4 Vpn-Instance Routing-Table

    Field Description Minimum time between advertisement Minimum route advertisement interval. runs Optional capabilities Local optional capabilities. Whether the local device supports sending and receiving Route-refresh packets with the ORF information. The value can be: • both—Supports sending and receiving Route-refresh messages with the ORF information.
  • Page 26 mask-length: Specifies the length of the network mask, in the range of 0 to 32. mask-address: Specifies the network mask, in the format of X.X.X.X. longer-prefixes: Specifies to match the longest prefix. as-path-acl as-path-acl-number: Filters routing information by using the specified AS_PATH list. The value range for the as-path-acl-number argument is 1 to 256.
  • Page 27: Display Fib Vpn-Instance

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display the BGP VPNv4 routing information for VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 routing-table Total Number of Routes: 5 BGP Local router ID is 2.2.2.2 Status codes: * - valid, >...
  • Page 28 Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. acl acl-number: Displays the FIB information for the VPN instance permitted by the specified ACL. acl-number is the number of the ACL, in the range of 2000 to 2999. If the specified ACL does not exist, the command displays all FIB information for the VPN instance.
  • Page 29: Display Fib Vpn-Instance Ip-Address

    Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.0.0/16 10.2.1.1 Vlan1 Null Invalid 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid # Display the FIB information permitted by the IP prefix abc0 for VPN instance vpn1. <Sysname> system-view [Sysname] ip ip-prefix abc0 permit 10.2.0.0 16 [Sysname] display fib vpn-instance vpn1 ip-prefix abc0 FIB entry count: 1 Flag:...
  • Page 30: Display Ip Vpn-Instance

    Parameters vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters. ip-address: Specifies the destination IP address, in dotted decimal format. mask: Specifies the mask of the IP address, in dotted decimal format. mask-length: Specifies the length of the IP address mask, in the range of 0 to 32. |: Filters command output by specifying a regular expression.
  • Page 31 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 32: Domain-Id

    Table 9 Command output Field Description VPN-Instance Name and ID Name and ID of the VPN instance. CreateTime Time when the VPN instance was created. Up time Duration of the VPN instance. Route Distinguisher RD of the VPN instance. Export VPN Targets Export target attribute of the IPv4 VPN.
  • Page 33: Export Route-Policy

    secondary: Uses the domain ID as secondary. With this keyword not specified, the domain ID configured is primary. Usage guidelines With no parameter specified, the undo domain-id command deletes the primary domain ID. Usually, routes injected from PEs are advertised as External-LSAs. However, routes to different destinations in the same OSPF domain must be advertised as Type-3 LSAs.
  • Page 34: Filter-Policy Export

    Examples # Apply export routing policy poly-1 to VPN instance vpn1. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] export route-policy poly-1 filter-policy export Use filter-policy export to filter all or certain types of routes to be advertised. Use undo filter-policy export to remove the configuration. Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id | rip process-id | static ]...
  • Page 35: Filter-Policy Import

    [Sysname-bgp-vpn1] filter-policy 2555 export filter-policy import Use filter-policy import to filter received routes. Use undo filter-policy import to remove the configuration. Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import undo filter-policy import Default BGP does not filter received routes. Views BGP-VPN instance view Default command level...
  • Page 36: Ip Binding Vpn-Instance

    Default command level 2: System level Parameters route-policy: Specifies the name of a routing policy for the VPN instance, a string of 1 to 63 characters. Usage guidelines You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough.
  • Page 37: Ip Vpn-Instance

    You can associate a management Ethernet interface on the switch with a VPN instance, so the IP address of the interface participates in the route calculation of only the specified VPN instance. Examples # Associate VLAN-interface 1 with VPN instance vpn1. <Sysname>...
  • Page 38: Ipv4-Family

    ipv4-family Use ipv4-family to enter IPv4 VPN view. Use undo ipv4-family to remove all configurations performed in IPv4 VPN view. Syntax ipv4-family undo ipv4-family Views VPN instance view Default command level 2: System level Examples # Enter IPv4 VPN view. <Sysname>...
  • Page 39: Peer Allow-As-Loop

    [Sysname-bgp-vpn1] peer allow-as-loop Use peer allow-as-loop to allow the local AS number to appear in the AS-PATH attribute of a received route and to set the allowed maximum number of repetitions. Use undo peer allow-as-loop to remove the configuration. Syntax peer { group-name | ip-address } allow-as-loop [ number ] undo peer { group-name | ip-address } allow-as-loop Views...
  • Page 40: Reset Bgp Vpn-Instance

    all: Soft resets all BGP VPN instance connections. external: Soft resets EBGP sessions. group group-name: Soft resets the connections with the specified BGP peer group. The group-name argument is a string of 1 to 47 characters. export: Performs a soft reset in the outbound direction. import: Performs a soft reset in the inbound direction.
  • Page 41: Reset Bgp Vpn-Instance Flap-Info

    Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. network-address: Specifies a network address. mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, in the range of 0 to 32.
  • Page 42: Route-Distinguisher

    route-distinguisher Use route-distinguisher to configure an RD for a VPN instance. Syntax route-distinguisher route-distinguisher Views VPN instance view Default command level 2: System level Parameters route-distinguisher: Specifies the route distinguisher (RD) for the VPN instance, a string of 3 to 21 characters in one of the following formats: 16-bit AS number:32-bit user-defined number.
  • Page 43: Vpn-Instance-Capability Simple

    Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters number: Specifies the maximum number of routes to support. The value range is 1 to 6144 in VPN instance view and is 1 to 12288 in IPv4 VPN view. The value range is 1 to 8192 in VPN instance view and is 1 to 16384 in IPv4 VPN view.
  • Page 44: Vpn-Target

    Default command level 2: System level Examples # Disable routing loop detection for the VPN OSPF process 100. <Sysname> system-view [Sysname] ospf 100 vpn-instance vpna [Sysname-ospf-100] vpn-instance-capability simple vpn-target Use vpn-target to configure VPN targets for a VPN instance or an IPv4 VPN. Use undo vpn-target to remove the specified or all VPN targets of a VPN instance or an IPv4 VPN.
  • Page 45 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. Examples # Configure VPN targets for VPN instance vpn1.
  • Page 46: Ipv6 Mce Configuration Commands

    IPv6 MCE configuration commands This chapter describes only the commands related to the IPv6 MCE feature. For information about the routing protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command Reference. display bgp vpnv6 vpn-instance peer Use display bgp vpnv6 vpn-instance peer to display information about the IPv6 BGP peers in the specified VPN instance.
  • Page 47 2001::1 2 00:00:09 Established Table 10 Command output Field Description BGP local router ID Router ID of the local BGP router. Peer IPv6 address of the peer. 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.
  • Page 48: Display Bgp Vpnv6 Vpn-Instance Routing-Table

    Table 11 Command output Field Description BGP Peer IPv6 address of the BGP peer. remote AS AS number of the peer. Type BGP type. 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.
  • Page 49 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 ] Views Any view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies a VPN instance name, a case-sensitive string of 1 to 31 characters.
  • Page 50: Display Ipv6 Fib Vpn-Instance

    Path/Ogn: ? Table 12 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes. Origin Route origin codes. Network Destination network address. PrefixLen Prefix length of the destination network address. NextHop IPv6 address of the next hop.
  • Page 51: Display Ipv6 Fib Vpn-Instance Ipv6-Address

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If you do not specify any optional parameters, the command displays all IPv6 FIB information for the VPN. Examples # Display all IPv6 FIB information for VPN instance vpn1. <Sysname>...
  • Page 52 Default command level 1: Monitor level Parameters vpn-instance-name: Specifies a VPN instance name, a case-sensitive string of 1 to 31 characters. ipv6-address: Specifies the destination IPv6 address. prefix-length: Specifies the PREFIX length of the destination IPv6 address, in the range of 0 to 128. |: Filters command output by specifying a regular expression.
  • Page 53: Export Route-Policy

    Field Description Interface Outgoing interface of packets. export route-policy Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a routing policy is referred to as an export routing policy. Use undo export route-policy to remove the application. Syntax export route-policy route-policy undo export route-policy...
  • Page 54: Filter-Policy Export

    filter-policy export Use filter-policy export to configure BGP to filter all or certain types of routes to be advertised. Use undo filter-policy export to remove the configuration. Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] undo filter-policy export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] Default...
  • Page 55: Import Route-Policy

    Use undo filter-policy import to remove the configuration. Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import undo filter-policy import Default Received routes are not filtered. Views IPv6 BGP-VPN instance view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, a string of 1 to 19 characters.
  • Page 56: Ipv6-Family

    Usage guidelines Specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough. An import routing policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN.
  • Page 57: Refresh Bgp Ipv6 Vpn-Instance

    Use undo ipv6-family vpn-instance to remove all configurations performed in IPv6 BGP-VPN instance view. Syntax ipv6-family vpn-instance vpn-instance-name undo ipv6-family vpn-instance vpn-instance-name Views BGP view Default command level 2: System level Parameters vpn-instance vpn-instance-name: Associates a VPN instance with an IPv6 address family and enters IPv6 BGP-VPN instance view.
  • Page 58: Reset Bgp Ipv6 Vpn-Instance

    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> refresh bgp ipv6 vpn-instance vpn1 all import reset bgp ipv6 vpn-instance Use reset bgp ipv6 vpn-instance to reset IPv6 BGP connections in a VPN instance.
  • Page 59: Vpn-Target

    Default command level 2: System level Parameters number: Specifies the maximum number of routes supported, in the range of 1 to 65536. warn-threshold: Specifies a threshold for warning, in the range of 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 60 Views VPN instance view, IPv6 VPN view Default command 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).
  • Page 61: Basic Mpls Commands

    Basic MPLS commands These interface types support MPLS and MPLS LDP: Layer 3 Ethernet interface, Layer 3 aggregate interface, and VLAN interface. The term "Layer 3 Ethernet interface" refers to route-mode (Layer 3) Ethernet ports. You can set an Ethernet port to operate in route mode by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide).
  • Page 62: Advertise-Label

    Examples # Configure the device to accept only the label bindings of FECs with destination addresses on subnet 10.1.1.0/24 and 10.2.1.0/24 from LDP peer 1.1.1.9. <Sysname> system-view [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 [Sysname] mpls ldp [Sysname-mpls-ldp] accept-label peer 1.1.1.9 ip-prefix prefix-from-RTA Related commands...
  • Page 63: Bfd Enable

    Examples # Configure label advertisement control policies so that the device: Advertises label bindings for FEC 10.1.1.0/24 to the LDP peer with the LSR ID 3.3.3.9 • • 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 subnets to any peers.
  • Page 64: Display Mpls Ilm

    The BFD session parameters are those configured on the loopback interface whose IP address is configured as the MPLS LSR ID. The BFD packets use the MPLS LSR ID as the source address. Before enabling BFD for an LSP, configure an IP address for the loopback interface and configure the MPLS LSR ID as the IP address of the loopback interface.
  • Page 65 # Display all ILM entries. <Sysname> display mpls ilm Total ILM Entry: 2 Inlabel In-Interface Token VRF-Index Oper LSP-Type Swap-Label ----------------------------------------------------------------------------- GE1/0/1 NULL STATIC LSP GE1/0/2 NULL STATIC LSP Table 15 Command output Field Description Total ILM Entry Total number of ILM entries. Inlabel Incoming label.
  • Page 66: Display Mpls Interface

    Create Time : 07:57:26:927 Last Change Time : 07:57:26:927 Tunnel ID : 0xc0002(Done) GrCount: 0 Service : Statistics(Succeeded) Table 16 Command output Field Description In Label Incoming label. LSP type: LDP LSP, CR-LDP, RSVP LSP, BGP LSP, L3VPN LSP, STATIC LSP Type LSP, STATIC CR-LSP, L2VPN LSP, or BGP IPv6 LSP.
  • Page 67: Display Mpls Label

    verbose: Displays detailed information. If you do not specify this keyword, the command displays the brief information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 68: Display Mpls Ldp

    Views Any view Default command level 1: Monitor level Parameters label-value1: Specifies a label, or, when used with the label-value2 argument, the start label of a range of labels. The value range for this argument is 16 to 204799. to label-value2: Specifies the end label of a range of labels. The value range for this argument is 16 to 204799.
  • Page 69 Default command level 1: Monitor level Parameters all: Displays all information about LDP . verbose: Displays detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 70: Display Mpls Ldp Fec

    Field Description State of LDP NSR: • On—LDP NSR is enabled but the data backup is not finished yet. Nonstop Routing • Off—LDP NSR is disabled. • Ready—LDP NSR is enabled and data backup is finished. Instance ID Sequence number of the LDP instance. Instance name of the LDP-enabled VPN.
  • Page 71 dest-addr mask-length: Displays the label advertisement information for a FEC. The dest-addr argument specifies the FEC destination address. The mask-length argument is the mask length of the destination address, in the range of 0 to 32. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 72: Display Mpls Ldp Interface

    OutIfCount OutGoing Info : Interface Nexthop Vlan200 21.21.21.2 Vlan100 12.12.12.2 Table 19 Command output Field Description Label Advertisement Policy Information about the label advertisement control policy. FEC IP-prefix IP prefix list for checking FEC destination addresses. Peer IP-prefix IP prefix list for checking LSR IDs of LDP peers. Stale Whether the device is in GR process.
  • Page 73 vpn-instance vpn-instance-name: Displays the LDP related information for the specified VPN. The vpn-instance-name argument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. interface-type interface-number: Display the LDP information for an interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 74: Display Mpls Ldp Lsp

    Field Description LDP transport address. The device uses this address to establish Transport Address a TCP connection with an LDP peer. Entity Status Entity status, Active or Inactive. Hello Message Sent/Rcvd Number of hello messages sent/received on the interface. Related commands mpls ldp (interface view) •...
  • Page 75: Display Mpls Ldp Peer

    ------------------------------------------------------------------------------- DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface ------------------------------------------------------------------------------- 3.3.3.3/32 3/NULL 127.0.0.1 -------/InLoop0 10.1.1.0/24 3/NULL 10.1.1.1 -------/Vlan1 100.1.1.1/32 Liberal(1025) -------------------------------------------------------------------------- A '*' before an LSP means the LSP is not established A '*' before a Label means the USCB or DSCB is stale A '>' before an LSP means the LSP may be invalid Table 21 Command output Field...
  • Page 76 exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display brief information about all peers. <Sysname>...
  • Page 77: Display Mpls Ldp Remote-Peer

    Peer Loop Detection : Off Peer Path Vector Limit : 0 Peer FT Flag : Off Peer Keepalive Timer : 45 Sec Recovery Timer : ---- Reconnect Timer : ---- Peer Label Advertisement Mode : Downstream Unsolicited Peer Discovery Source : Vlan-interface3 ------------------------------------------------------------ Table 23 Command output...
  • Page 78: Display Mpls Ldp Session

    <Sysname> display mpls ldp remote-peer remote-name BJI LDP Remote Entity Information -------------------------------------------------------------------------- Remote Peer Name : BJI Remote Peer IP : 3.3.3.3 LDP ID : 1.1.1.1:0 Transport Address : 1.1.1.1 Configured Keepalive Timer : 45 Sec Configured Hello Timer : 45 Sec Negotiated Hello Timer : 45 Sec Hello Message Sent/Rcvd...
  • Page 79 peer-id: Displays the LDP session information for a peer. peer-id indicates the LSR ID of the peer. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 80 <Sysname> display mpls ldp session verbose LDP Session(s) in Public Network -------------------------------------------------------------------------- Peer LDP ID : 1.1.1.1:0 Local LDP ID : 3.3.3.3:0 TCP Connection : 3.3.3.3 -> 1.1.1.1 Session State : Operational Session Role : Active Session FT Flag : Off MD5 Flag : Off Reconnect Timer : ---...
  • Page 81: Display Mpls Ldp Session All Statistics

    Field Description For the description of session states, see the Status field in Table Session State Session Role Role of the current LSR in the session, Active or Passive. Whether the peer has enabled the GR function for the session. If Session FT Flag the L bit in the FT Session TLV is set to 1, it indicates that the GR function is enabled for the session.
  • Page 82: Display Mpls Lsp

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display statistics about all LDP sessions. <Sysname> display mpls ldp session all statistics Total number of sessions : 1024 Session(s) in Non-Existent state : 100 Session(s) in Initialized state...
  • Page 83 ldp: Displays information about LDP LSPs. rsvp-te: Displays information about CR-LSPs established by RSVP-TE. static: Displays information about static LSPs. static-cr: Displays information about static CR-LSPs. egress: Displays information about the LSPs taking the current LSR as the egress. ingress: Displays information about the LSPs taking the current LSR as the ingress. transit: Displays information about the LSPs taking the current LSR as a transit LSR.
  • Page 84 Table 27 Command output Field Description Forwarding equivalence class in either of these two forms: • IP address/mask—Classifies packets to FECs based on destination addresses. • IP address—Classifies packets to FECs based on the addresses of the next hops. MPLS L3VPN name. Vrf Name This field is blank for a public network or N/A (ASBR) for an ASBR LSP.
  • Page 85: Display Mpls Lsp Bfd Ipv4

    Table 28 Command output Field Description MPLS L3VPN name. VrfName This field is blank for a public network or N/A (ASBR) for an ASBR LSP. Forwarding equivalence class in either of these two forms: • IP address/mask—Classifies packets to FECs based on destination addresses.
  • Page 86: Display Mpls Lsp Statistics

    Examples # Display BFD information for the LSPs for FEC 1.1.1.9/32. <Sysname> display mpls lsp bfd ipv4 1.1.1.9 32 MPLS BFD Session(s) Information ----------------------------------------------------------------------------- : 1.1.1.9/32 Type : LSP Local Discr Remote Discr Tunnel ID : 0xd2007 NextHop : 11.1.1.2 Session State : Up Source IP...
  • Page 87: Display Mpls Nhlfe

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 88 verbose: Displays the detailed information. slot slot-number: Displays the ILM entries on an IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric. |: Filters command output by specifying a regular expression.
  • Page 89: Display Mpls Nhlfe Reflist

    AT Index Label Stack : 1024 Operation : PUSH LSP Type : LDP LSP Tunnel State : Done FRR Tunnel ID : 0x0 FRR Flag : False FRR Inner Label FRR Tunnel State : Waiting Next Tunnel ID : 0x0 Gr Count Create Time : 00:02:11:222...
  • Page 90 Views Any view Default command level 1: Monitor level Parameters token: Specifies an NHLFE entry index in the range of 0 to 102399. slot slot-number: Displays the ILM entries on an IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric.
  • Page 91: Display Mpls Route-State

    Table 34 Types of associated nodes and their key parameters Node type Description Key parameter • VPN ID—VPN instance ID. FEC to NHLFE mapping. • Address prefix/mask. • In-Label—Incoming label. Incoming label mapping. • In-If—Incoming interface. • SRV ID—Service instance ID. Sending entries of VPWS PW.
  • Page 92: Display Mpls Static-Lsp

    Usage guidelines With no VPN instance specified, the command displays LSP information for the public routes. With no destination address and mask specified, the command displays LSP information for all routes. Examples # Display LSP-related information about all routes. <Sysname> display mpls route-state Flags: M: Master B: Backup...
  • Page 93 Parameters lsp-name lsp-name: Displays information about the specified LSP. The LSP name is a string of 1 to 15 characters. exclude: Displays information about the LSPs other than the one for the given FEC. include: Displays information about the LSP for the given FEC. dest-addr mask-length: Specifies a FEC by a destination address and mask length.
  • Page 94: Display Mpls Statistics Interface

    display mpls statistics interface Use display mpls statistics interface to display MPLS statistics for one or all interfaces. Syntax display mpls statistics interface { interface-type interface-number | all } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
  • Page 95 Statistics for Interface IN : Incoming Interface Vlan-interface3 Octets Packets Errors Disables Failed Label Lookup Start Time : 2004/04/28 10:24:04 End Time : 2004/04/28 10:24:04 Statistics for Interface OUT : Outgoing Interface Vlan-interface4 Octets Packets Errors Disables Start Time : 2004/04/28 10:24:04 End Time : 2004/04/28...
  • Page 96: Display Mpls Statistics Lsp

    Related commands mpls statistics enable • • statistics interval display mpls statistics lsp Use display mpls statistics lsp to display MPLS statistics for all LSPs or the LSP with a specific index or name. Syntax display mpls statistics lsp { index | all | name lsp-name } [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 97 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 Packets Errors Down Start Time : 0000/00/00 00:00:00 End Time : 0000/00/00 00:00:00 Statistics for Lsp OUT : LSP Name /LSP Index : DynamicLsp/9218...
  • Page 98: Dscp

    statistics • • statistics interval dscp Use dscp to configure a DSCP value for outgoing LDP packets. Use undo dscp to restore the default. Syntax dscp dscp-value undo dscp Default The DSCP value for outgoing LDP packets is 48. Views MPLS LDP view Default command level 2: System level...
  • Page 99: Du-Readvertise Timer

    Default command level 2: System level Examples # Enable DU mode label re-advertisement for the public network LDP instance. <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] du-readvertise # Enable DU mode label re-advertisement for LDP instance vpn1. <Sysname> system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] du-readvertise du-readvertise timer Use du-readvertise timer to set the interval for label re-advertisement in DU mode.
  • Page 100: Graceful-Restart Mpls Ldp

    Syntax graceful-restart undo graceful-restart Default MPLS LDP GR is disabled. Views MPLS LDP view Default command level 2: System level Usage guidelines Enabling or disabling GR also causes all LDP sessions and all LSPs based on the sessions to be removed and then reestablished.
  • Page 101: Graceful-Restart Timer Neighbor-Liveness

    Related commands graceful-restart (MPLS LDP view) graceful-restart timer neighbor-liveness Use graceful-restart timer neighbor-liveness to set the LDP neighbor liveness time. Use undo graceful-restart timer neighbor-liveness to restore the default. Syntax graceful-restart timer neighbor-liveness timer undo graceful-restart timer neighbor-liveness Default The LDP neighbor liveness time is 120 seconds. Views MPLS LDP view Default command level...
  • Page 102: Graceful-Restart Timer Recovery

    Views MPLS LDP view Default command level 2: System level Parameters timer: Specifies the Fault Tolerance (FT) reconnect time, in the range of 60 to 300 seconds. Usage guidelines The FT reconnect time refers to the maximum time that the stale flag will be preserved by the LSR after the TCP connection fails.
  • Page 103: Hops-Count

    <Sysname> system-view [Sysname] mpls ldp [Sysname-mpls-ldp] graceful-restart timer recovery 45 hops-count Use hops-count to set the maximum hop count for loop detection. Use undo hops-count to restore the default. Syntax hops-count hop-number undo hops-count Default The maximum hop count for loop detection is 32. Views MPLS LDP view, MPLS LDP VPN instance view Default command level...
  • Page 104: Label-Distribution

    Syntax label advertise { explicit-null | implicit-null | non-null } undo label advertise Default The egress distributes an implicit null label to the penultimate hop. Views MPLS view Default command level 2: System level Parameters explicit-null: Specifies the egress to distribute an explicit null label of 0 to the penultimate hop. implicit-null: Specifies the egress to distribute an implicit null label of 3 to the penultimate hop.
  • Page 105: Loop-Detect

    Parameters independent: Specifies the independent label distribution control mode. In this mode, an LSR can advertise label bindings to its connected LSRs at anytime. ordered: Specifies the ordered label distribution control mode. In this mode, an LSR advertises to its upstream a label binding for a FEC only when it receives a label binding for the FEC from its downstream or when it is the egress of the FEC.
  • Page 106: Lsp-Trigger

    [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] loop-detect Related commands hops-count • path-vectors • lsp-trigger Use lsp-trigger to configure the LSP establishment triggering policy. Use undo lsp-trigger to restore the default. Syntax lsp-trigger [ vpn-instance vpn-instance-name ] { all | ip-prefix prefix-name } undo lsp-trigger [ vpn-instance vpn-instance-name ] { all | ip-prefix prefix-name } Default Only host routes with 32-bit masks can trigger establishment of LDP LSPs.
  • Page 107: Lsr-Id

    lsr-id Use lsr-id to configure an LDP LSR ID. Use undo lsr-id to remove a configured LDP LSR ID and all LDP sessions. Syntax lsr-id lsr-id undo lsr-id Default The LDP LSR ID takes the value of the MPLS LSR ID. Views MPLS LDP view, MPLS LDP VPN instance view Default command level...
  • Page 108: Mpls

    Parameters cipher: Sets a ciphertext key. plain: Sets a plaintext key. peer-lsr-id: Specifies the MPLS LSR ID of a peer. password: Specifies the key string. This argument is case sensitive. If plain is specified, it must be a string of 1 to 16 characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters. Usage guidelines The key configured locally must be the same as that configured on the peer.
  • Page 109: Mpls Ldp (System View)

    Enable MPLS globally before enabling it for an interface. Examples # Enable MPLS globally. <Sysname> system-view [Sysname] mpls lsr-id 1.1.1.1 [Sysname] mpls [Sysname-mpls] quit # Enable MPLS for interface VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls Related commands mpls lsr-id mpls ldp (system view) Use mpls ldp to enable LDP globally and enter MPLS LDP view.
  • Page 110: Mpls Ldp (Interface View)

    mpls ldp (interface view) Use mpls ldp to enable LDP on an interface. Use undo mpls ldp to disable LDP on an interface. Syntax mpls ldp undo mpls ldp Default LDP is disabled on an interface. Views Interface view Default command level 2: System level Usage guidelines After you enable LDP on an interface, the interface will periodically send Hello messages.
  • Page 111: Mpls Ldp Timer Hello-Hold

    Default command level 2: System level Parameters remote-peer-name: Specifies the name of a remote peer, a case-insensitive string of 1 to 32 characters. Examples # Create a remote peer entity named BJI and enter MPLS LDP remote peer view. <Sysname> system-view [Sysname] mpls ldp remote-peer BJI [Sysname-mpls-ldp-remote-bji] Related commands...
  • Page 112: Mpls Ldp Timer Keepalive-Hold

    LSRs use their respective keepalive timer configured on the interface that first triggered an LDP session to negotiate the keepalive timer with each other. Because the negotiation result is difficult to predict. Therefore, H3C recommends that you set the same keepalive timer for all the links.
  • Page 113: Mpls Ldp Transport-Address

    <Sysname> system-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 Use mpls ldp transport-address to configure an LDP transport address. Use undo mpls ldp transport-address to restore the default. Syntax In interface view: mpls ldp transport-address { ip-address | interface } undo mpls ldp transport-address In MPLS LDP remote peer view:...
  • Page 114: Mpls Lspv

    Specifies the ID for identifying the LSR, in dotted decimal notation. Usage guidelines Configure the LSR ID of an LSR before configuring any other MPLS commands. H3C recommends that you use the address of a loopback interface on the LSR as the ID.
  • Page 115: Non-Stop-Routing

    Examples # Set the LSR ID to 3.3.3.3. <Sysname> system-view [Sysname] mpls lsr-id 3.3.3.3 Related commands display mpls interface non-stop-routing Use non-stop-routing to enable the LDP NSR function. Use undo non-stop-routing to disable the LDP NSR function. Syntax non-stop-routing undo non-stop-routing Default The LDP NSR function is disabled.
  • Page 116: Periodic-Tracert

    Views MPLS LDP view, MPLS LDP VPN instance view Default command level 2: System level Parameters pv-number: Specifies the path vector length in the range of 1 to 32. Usage guidelines This command must be configured before you enable LDP on any interface. Examples # Set the maximum hops of the path vector to 3 for the public network LDP instance.
  • Page 117: Ping Lsp Ipv4

    -a source-ip: Specifies the source IP address for MPLS echo request messages. By default, the MPLS LSR ID is used as the source address of MPLS echo request messages. -exp exp-value: Specifies the EXP value of the label. The value range for the exp-value argument is 0 to 7, and the default is 0.
  • Page 118: Prefix-Label Advertise

    -h ttl-value: Specifies the TTL value for the echo request messages. The value range for the ttl-value argument is 1 to 255, and the default is 255. -m wait-time: Specifies the interval for sending echo request messages. The value range for the wait-time argument is 1 to 10000 milliseconds, and the default is 200 milliseconds.
  • Page 119: Remote-Ip

    Default command level 2: System level Usage guidelines A device can advertise prefix-based labels to its remote peers through remote sessions only after you have configured the prefix-label advertise command. However, a device can receive labels advertised by its remote peers no matter whether you have configured this command or not. After the device receives labels advertised by the peer, the corresponding LDP LSP can be established if the following conditions are satisfied: The FEC's outgoing interface is the MPLS TE tunnel interface.
  • Page 120: Remote-Ip Bfd

    Related commands mpls ldp remote-peer remote-ip bfd Use remote-ip bfd to enable BFD to detect the IP connectivity to the remote LDP peer. Use undo remote-ip bfd to disable BFD detection of the IP connectivity to the remote LDP peer. Syntax remote-ip bfd undo remote-ip bfd...
  • Page 121: Reset Mpls Statistics Interface

    Usage guidelines With no parameters specified, the command resets all sessions of the public network LDP instance. Examples # Reset all sessions of the public network LDP instance. <Sysname> reset mpls ldp # Reset the sessions of all LDP instances. <Sysname>...
  • Page 122: Static-Lsp Egress

    Default command level 1: Monitor level Parameters index: Clears statistics for the LSP with the specified index number. The LSP index is in the range of 0 to 4294967295. all: Clears statistics for all LSPs. name lsp-name: Clears statistics for the LSP with the specified name. The LSP name is a string of 1 to 15 characters.
  • Page 123: Static-Lsp Ingress

    static-lsp ingress Use static-lsp ingress to configure a static LSP taking the current LSR as the ingress. Use undo static-lsp ingress to remove a static LSP taking the current LSR as the ingress. Syntax static-lsp ingress lsp-name destination dest-addr { mask | mask-length } nexthop next-hop-addr out-label out-label undo static-lsp ingress lsp-name Views...
  • Page 124: Statistics Interval

    Use undo static-lsp transit to remove a static LSP taking the current LSR as a transit LSR. Syntax static-lsp transit lsp-name incoming-interface interface-type interface-number in-label in-label nexthop next-hop-addr out-label out-label undo static-lsp transit lsp-name Views System view Default command level 2: System level Parameters lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
  • Page 125: Tracert Lsp Ipv4

    Views MPLS view Default command level 2: System level Parameters interval-time: Statistics reading interval in the range of 30 to 65535 seconds. Examples # Set the LSP statistics reading interval to 30 seconds. <Sysname> system-view [Sysname] mpls [Sysname-mpls] statistics interval 30 Related commands •...
  • Page 126: Ttl Expiration Enable

    Examples # Locate errors along the LSP to 3.3.3.9/32. <Sysname> tracert lsp ipv4 3.3.3.9 32 LSP Trace Route FEC: IPV4 PREFIX 3.3.3.9/32 , press CTRL_C to break. Replier Time Type Downstream Ingress 10.4.5.1/[1025] 10.4.5.1 Transit 100.3.4.1/[1024] 100.1.4.2 Transit 100.1.2.1/[3] 100.1.2.1 Egress ttl expiration enable Use ttl expiration enable to enable the device to send back an ICMP TTL exceeded message when it...
  • Page 127: Ttl Propagate

    undo ttl expiration pop Default An ICMP TTL exceeded message is sent back along an IP route when the TTL of an MPLS packet with a one-level label stack expires. Views MPLS view Default command level 2: System level Usage guidelines The configuration does not take effect for an MPLS packet with multiple levels of labels.
  • Page 128 [Sysname] mpls [Sysname-mpls] ttl propagate vpn Related commands ttl expiration pop...
  • Page 129: Mpls Te Configuration Commands

    MPLS TE configuration commands This chapter supports Layer 3 Ethernet interfaces, Layer 3 aggregate interfaces, and VLAN interfaces. The S5820X Switch Series does not support MPLS TE. add hop Use add hop to insert a node to the explicit path, and configure the node's attributes (include or exclude, strict or loose).
  • Page 130: Delete Hop

    delete hop Use delete hop to remove a specific node from the explicit path. Syntax delete hop ip-address Views Explicit path view Default command level 2: System level Parameters ip-address: Specifies the IP address of a node along the explicit path. Examples # Remove the node identified by 10.0.0.1 from the explicit path path1.
  • Page 131: Display Isis Traffic-Eng Advertisements

    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 2.1.1.10 Strict Include...
  • Page 132 vpn-instance vpn-instance-name: Displays the IS-IS TE information for the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE information for the public network, do not specify this option. |: Filters command output by specifying a regular expression.
  • Page 133 Reservable BW: 6250 Bytes/sec Unreserved BW for Class Type 0: BW Unresrv[0]: 6250 Bytes/sec BW Unresrv[1]: 6250 Bytes/sec BW Unresrv[2]: 6250 Bytes/sec BW Unresrv[3]: 6250 Bytes/sec BW Unresrv[4]: 6250 Bytes/sec BW Unresrv[5]: 6250 Bytes/sec BW Unresrv[6]: 6250 Bytes/sec BW Unresrv[7]: 6250 Bytes/sec Unreserved BW for Class Type 1: BW Unresrv[0]:...
  • Page 134: Display Isis Traffic-Eng Link

    Field Description INTF ADDR Interface address. +NBR Neighbor. COST Cost. Admin Group Link administrative group attribute. Physical BW Physical bandwidth. Reservable BW Reservable bandwidth. BW Unresrv[0]-[7] Available subpool bandwidths at eight levels. TE Cost TE cost. BC[0] Global pool. BC[1] Subpool.
  • Page 135: Display Isis Traffic-Eng Network

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If no IS-IS level is specified, this command displays the TE link information for IS-IS Level- 1 -2 routers. Examples # Display the IS-IS TE link information. <Sysname>...
  • Page 136 vpn-instance vpn-instance-name: Displays the IS-IS TE network information for the specified VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive string of 1 to 31 characters. To display the IS-IS TE network information for the public network, do not specify this option.
  • Page 137: Display Isis Traffic-Eng Statistics

    Table 42 Command output Field Description DIS's Ip Address IP address of the DR router. Status In CSPF CSPF state. Attached Router Count Number of attached routers. List of Attached Routers List of attached routers. RouterId Router ID. Neighbors. Level-2 Network Information Level-2 network information.
  • Page 138: Display Mpls Lsp Bfd Te

    ------------------------- IS-IS System Type : Level-1-2 IS-IS Cost Style Status : Wide IS-IS Level-1 Traffic Engineering Status : Disabled IS-IS Level-2 Traffic Engineering Status : Enabled IS-IS Router ID : 1.1.1.9 Table 43 Command output Field Description IS-IS System Type System type.
  • Page 139: Display Mpls Rsvp-Te

    Session State : Up Source IP : 1.1.1.1 Session Role : Active Total Session Num: 1 Table 44 Command output Field Description Type Type of the tunnel detected by BFD, LSP or TE Tunnel. Local Discr Local discriminator of the BFD session. Remote Discr Remote discriminator of the BFD session.
  • Page 140 <Sysname> display mpls rsvp-te LSR ID: 4.4.4.4 Resv Confirmation Request: DISABLE RSVP Hello Extension: ENABLE Hello interval: 3 sec Max Hello misses: 3 Path and Resv message refresh interval: 30 sec Path and Resv message refresh retries count: 3 Blockade Multiplier: 4 Graceful Restart: ENABLE Restart Time: 200 sec Recovery Time: 150 sec...
  • Page 141: Display Mpls Rsvp-Te Established

    Field Description Used-BW Used bandwidth in kbps. Hello configured Whether the hello mechanism is configured. Num of Neighbors Number of neighbors connected to the interface. State of the summary refresh function: enabled or Srefresh feature disabled. Srefresh interval Summary refresh interval in seconds. Authentication State of authentication: enabled or disabled.
  • Page 142: Display Mpls Rsvp-Te Peer

    Interface Vlan-interface 3 Token Bucket Rate: 0.00 Peak Data Rate: 0.00 Tunnel Dest: 2.2.2.2 Ingress LSR ID: 3.3.3.3 Local LSP ID: 4 Session Tunnel ID: 4 Next Hop Addr: 80.4.1.1 Upstream Label: 1024 Downstream Label: 3 Table 47 Command output Field Description Interface...
  • Page 143: Display Mpls Rsvp-Te Psb-Content

    PSB Count: 0 RSB Count: 1 Hello Type Sent: ACK Neighbor Hello Extension: ENABLE SRefresh Enable: NO Reliability Enable: YES Graceful Restart State: Ready Restart Time: 200 sec Recovery Time: 150 sec Interface Vlan-interface 2 Neighbor Addr: 80.2.1.1 SrcInstance: 832 NbrSrcInstance: 920 PSB Count: 1 RSB Count: 0...
  • Page 144 Syntax display mpls rsvp-te psb-content ingress-lsr-id lspid tunnel-id egress-lsr-id [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ingress-lsr-id: Specifies the ingress LSR ID. lspid: Specifies the local LSR ID in the range of 1 to 65535. tunnel-id: Specifies the tunnel ID in the range of 0 to 65535.
  • Page 145 Maximum packet size: 4294967295 Path Message arrive on Vlan-interface 1 from PHOP 101.101.101.1 Resource Reservation OK Graceful Restart State: Stale Bandwidth Constraint Mode: IETF DS-TE RDM Table 49 Command output Field Description Tunnel Dest Tunnel destination, in the format of X.X.X.X. Session Tunnel ID Session tunnel ID.
  • Page 146: Display Mpls Rsvp-Te Request

    Field Description Resource Available when the RSVP flag is configured. State of GR: stale or normal. Graceful Restart State If this field is not supported, three hyphens (---) are displayed. Bandwidth constraints model carried in the path message: • IETF DS-TE RDM. Bandwidth Constraint Mode •...
  • Page 147: Display Mpls Rsvp-Te Reservation

    Table 50 Command output Field Description Interface RSVP-TE enabled Ethernet interface. Tunnel Dest Tunnel destination, in the format of X.X.X.X. Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X. Next Hop Address Next hop address, in the format of X.X.X.X. SessionFlag Reservation style.
  • Page 148: Display Mpls Rsvp-Te Rsb-Content

    <Sysname> display mpls rsvp-te reservation Interface Vlan-interface 1 Tunnel Dest: 29.29.29.29 Ingress LSR ID: 19.19.19.19 LSP ID: 1 Tunnel ID: 1 Upstream Label: ----- Token bucket rate: 0.00 Token bucket size: 0.00 Interface: Outgoing-Interface at the Egress Tunnel Dest: 19.19.19.19 Ingress LSR ID: 29.29.29.29 LSP ID: 1 Tunnel ID: 1...
  • Page 149 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about RSVP-TE RSBs. <Sysname> display mpls rsvp-te rsb-content 19.19.19.19 1 0 29.29.29.29 101.101.101.2 The RSB Content: Tunnel Dest: 29.29.29.29 Session Tunnel ID: 0...
  • Page 150: Display Mpls Rsvp-Te Sender

    Field Description Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X. Out Label Outgoing label. RRO Information Information about route recording. RRO-C Type Type of route recording. RRO-IP Address IP address of recorded route in the format of X.X.X.X. RRO-IPPrefixLen IP prefix length of recorded route.
  • Page 151: Display Mpls Rsvp-Te Statistics

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display the RSVP-TE sender message information on interface VLAN-interface 1. <Sysname>...
  • Page 152 Views Any view Default command level 1: Monitor level Parameters global: Display global RSVP-TE information. interface: Displays statistics about RSVP-TE for a specific interface or, if no interface is specified, all interfaces. interface-type interface-number: Specifies an interface for which statistics about RSVP-TE is displayed. |: Filters command output by specifying a regular expression.
  • Page 153 Field Description RSB Count Number of RSBs. RFSB Count Number of RFSBs. TCSB Count Number of TCSBs. LSP Count Number of LSPs. PSB CleanupTimeOutCounter Number of PSB timeouts. RSB CleanupTimeOutCounter Number of RSB timeouts. SendPacketCounter Number of transmitted packets. RecPacketCounter Number of received packets.
  • Page 154: Display Mpls Static-Cr-Lsp

    display mpls static-cr-lsp Use display mpls static-cr-lsp to display information about static CR-LSPs. Syntax display mpls static-cr-lsp [ lsp-name lsp-name ] [ egress | ingress | transit ] [ { include | exclude } ip-address prefix-length ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
  • Page 155: Display Mpls Te Cspf Tedb

    Field Description I/O Label Incoming/outgoing label. I/O If Incoming/outgoing interface. State Current state of the CR-LSP. # Display detailed information about all static CR-LSPs. <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...
  • Page 156 Default command level 1: Monitor level Parameters area-id: Specifies an area ID. For OSPF, the value range is 0 to 4294967295. For IS-IS, it takes the value of 1 or 2. ip-address: Specifies the IP address of an interface. network-lsa: Displays traffic engineering database (TEDB) information in network LSAs. node: Displays the TEDB information on nodes.
  • Page 157 Table 57 Command output Field Description Sequence number. MPLS LSR ID of the designated router (DR), in dotted DR MPLS LSR-Id decimal notation. DR-Address Interface address of the DR. Interior gateway protocol: OSPF or IS-IS. Process-Id IGP process ID. Area Area to which the router belongs.
  • Page 158: Display Mpls Te Link-Administration Admission-Control

    3.3.3.3 ISIS Level-1 Network LSA Information for Area 1: DR MPLS LSR-Id DR-Address Process-Id Area Neighbor 3.3.3.3 20.1.1.2 OSPF 100 2.2.2.2 3.3.3.3 3.3.3.3 20.1.1.2 ISIS 100 Level-1 3.3.3.3 2.2.2.2 Table 59 Command output Field Description Sequence number. MPLS LSR-Id MPLS LSR ID, in dotted decimal notation. Interior gateway protocol: OSPF or IS-IS.
  • Page 159: Display Mpls Te Protection Tunnel

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about the CR-LSPs carried on the links of all interfaces. <Sysname> display mpls te link-administration admission-control LspID In/Out IF S/H Prio BW(kbps) 1.1.1.9:1024 ---/Vlan1 1.1.1.9:2048 ---/Vlan2...
  • Page 160: Display Mpls Te Tunnel

    <Sysname> display mpls te protection tunnel 100 ----------------------------------------------------------------- Work-tunnel id Protect-tunnel id Switch-Result ------------------------------------------------------------------ work-tunnel # Display detailed information about tunnel 100 and its protection tunnel. <Sysname> display mpls te protection tunnel 100 verbose Work-tunnel id Protect-tunnel id Protection mode Switching mode bidirectional Switch result...
  • Page 161 Syntax display mpls te tunnel [ destination dest-addr ] [ lsp-id lsr-id lsp-id ] [ lsr-role { all | egress | ingress | remote | transit } ] [ name name ] [ { incoming-interface | outgoing-interface | interface } interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 162 LSP-Id Destination In/Out-If Name 1.1.1.9:1024 3.3.3.9 -/Vlan1 Tunnel0 1.1.1.9:2048 3.3.3.9 -/Vlan2 Tunnel0 Table 62 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>...
  • Page 163: Display Mpls Te Tunnel Path

    IncludeAllAff : 0x0 Created Time : 2011/01/28 09:59:49 Table 63 Command output Field Description Number. LSP ID of the tunnel. LSP-Id A value containing an asterisk (*) indicates that the CR-LSP is the reverse CR-LSP of a bidirectional tunnel. Tunnel-Name Tunnel name configured on the ingress node.
  • Page 164: Display Mpls Te Tunnel Statistics

    Parameters lsr-id: Specifies the ingress LSR ID, in dotted decimal notation. lsp-id: Specifies the LSP ID in the range of 1 to 65535. tunnel-name tunnel-name: Specifies the tunnel name, a string of 1 to 63 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 165: Display Mpls Te Tunnel-Interface

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display statistics about MPLS TE tunnels.
  • Page 166 regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about MPLS TE tunnel interfaces on this node. <Sysname> display mpls te tunnel-interface Tunnel Name Tunnel0 Tunnel Desc Tunnel0 Interface Tunnel State Desc CR-LSP is Up Tunnel Attributes LSP ID...
  • Page 167 Field Description Oper State Operation state. Signaling Prot Signaling protocol. Resv Style Reservation style. Tunnel mode of the bidirectional tunnel: • Co-routed, active—The device is the active end of the co-routed bidirectional tunnel. Tunnel mode • Co-routed, passive—The device is the passive end of the co-routed bidirectional tunnel.
  • Page 168: Display Ospf Mpls-Te

    Field Description Car Policy Whether CAR policy is enabled. Tunnel Group Whether the tunnel is the primary tunnel or backup tunnel in the group. Tunnel ID of the corresponding primary tunnel. Displayed as - for a Primary Tunnel primary tunnel. Tunnel ID of the corresponding backup tunnel.
  • Page 169 ------------------------------------------------ Type : Opq-Area Opaque Type Opaque ID Advertising Router ID : xxx.xxx.xxx.xxx Length Options LS Seq Number CheckSum Link Type :Point to Point / Point to Multi Point /MultiAccess Link ID Local Interface Address : xxx.xxx.xxx.xxx Remote Interface Address : xxx.xxx.xxx.xxx TE Metric Maximum Bandwidth bytes/sec...
  • Page 170: Display Ospf Traffic-Adjustment

    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.
  • Page 171: Display Tunnel-Info

    Examples # Display the settings of tunnel traffic adjustment for all OSPF processes. <Sysname> display ospf traffic-adjustment OSPF Process 100 with Router ID 100.0.0.1 Traffic adjustment Interface: 100.0.0.1 (Tunnel0) Type: Forwarding Adjacency State: Up Neighbor ID: 100.0.0.2 Cost: 100 Configuration: Neighbor Ip Address: 100.0.0.2 Cost : -10...
  • Page 172: Enable Traffic-Adjustment

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about all tunnels. <Sysname> display tunnel-info all Tunnel ID Type Destination ------------------------------------------------------ 0x1100002 2.2.2.2 # Display statistics about tunnels. <Sysname> display tunnel-info statistics Tunnel Allocation Method : GLOBAL Avail Tunnel ID Value :...
  • Page 173: Enable Traffic-Adjustment Advertise

    Views OSPF view Default command level 2: System level Usage guidelines IGP shortcut allows OSPF to include static LSP tunnels in SPF calculation and advertise them to OSPF neighbors. Examples # Enable IGP shortcut when the IGP protocol is OSPF. <Sysname>...
  • Page 174: List Hop

    undo explicit-path path-name Views System view Default command level 2: System level Parameters path-name: Specifies the name of an explicit path for a tunnel, a string of 1 to 31 characters. disable: Disables explicit routing. enable: Enables explicit routing. Examples # Create an explicit path named path1 and enter its view.
  • Page 175: Modify Hop

    Syntax moam dm [ -c count | -m interval | -exp value ] * te interface-type interface-number Views Any view Default command level 1: Monitor level Parameters -c count: Specifies the number of packet delay measurement (DM) operations to be performed. The value range for the count argument is 1 to 4294967295, and the default is 5.
  • Page 176: Mpls Rsvp-Te

    Views Explicit path view Default command level 2: System level Parameters ip-address1 ip-address2: Substitutes the IP address specified by the ip-address2 argument for the IP address specified by the ip-address1 argument in the explicit path. The specified IP addresses can be link IP addresses or router IDs of nodes.
  • Page 177: Mpls Rsvp-Te Authentication

    Before enabling RSVP-TE in MPLS view on a node, enable MPLS in system view and MPLS TE in MPLS view. Before enabling RSVP-TE in interface view, enable MPLS and MPLS TE in interface view. Disabling RSVP-TE in MPLS view also disables RSVP-TE on interfaces. Examples # Enable RSVP-TE on current node.
  • Page 178: Mpls Rsvp-Te Bfd Enable

    interface to authenticate received RSVP messages. For the two interfaces at the two ends of a link to exchange RSVP messages, they must share the same authentication key. This hop-by-hop authentication of RSVP prevents fake resource reservation requests from occupying network resources.
  • Page 179: Mpls Rsvp-Te Dscp

    Default The blockade multiplier is 4. Views MPLS view Default command level 2: System level Parameters number: Specifies the blockade multiplier in the range of 3 to 255. Usage guidelines Sometimes, although a reservation request does not pass admission control on some node, you may want to store the resource reservation state for it while allowing other requests to use the resources reserved for the request.
  • Page 180: Mpls Rsvp-Te Graceful-Restart

    Examples # Set the DSCP value for RSVP packets to 56. <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te dscp 56 mpls rsvp-te graceful-restart Use mpls rsvp-te graceful-restart to enable the GR capability for MPLS RSVP-TE. Use undo mpls rsvp-te graceful-restart to disable MPLS RSVP-TE GR. Syntax mpls rsvp-te graceful-restart undo mpls rsvp-te graceful-restart...
  • Page 181: Mpls Rsvp-Te Hello-Lost

    Views MPLS view, interface view Default command level 2: System level Usage guidelines RSVP-TE uses the hello extension mechanism to test the reachability of an RSVP neighbor. Before you enable RSVP hello extension in interface view, enable RSVP-TE in interface view and RSVP hello extension in MPLS view.
  • Page 182: Mpls Rsvp-Te Keep-Multiplier

    Before configuring this command, enable RSVP-TE and RSVP hello extension in MPLS view. Examples # Set the maximum number of consecutive hello losses allowed on a node to 5. <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello-lost 5 Related commands mpls rsvp-te timer hello mpls rsvp-te keep-multiplier Use mpls rsvp-te keep-multiplier to configure the keep multiplier, which determines the timeout time of...
  • Page 183: Mpls Rsvp-Te Resvconfirm

    Syntax mpls rsvp-te reliability undo mpls rsvp-te reliability Default The RSVP reliability mechanism is disabled. Views Interface view Default command level 2: System level Usage guidelines With RSVP reliability enabled, the device adds objects Message_ID and Message_ID_ACK into the outgoing RSVP messages. The objects will be used for RSVP message acknowledgment to improve reliability.
  • Page 184: Mpls Rsvp-Te Srefresh

    [Sysname-mpls] mpls rsvp-te resvconfirm mpls rsvp-te srefresh Use mpls rsvp-te srefresh to enable summary refresh. Use undo mpls rsvp-te srefresh to restore the default. Syntax mpls rsvp-te srefresh undo mpls rsvp-te srefresh Default Summary refresh is disabled. Views Interface view Default command level 2: System level Usage guidelines...
  • Page 185: Mpls Rsvp-Te Timer Graceful-Restart Restart

    Usage guidelines Before using this command, be sure to enable the GR capability for MPLS RSVP-TE. Examples # Set the RSVP-TE GR recovery interval to 100 seconds. <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te timer graceful-restart recovery 100 mpls rsvp-te timer graceful-restart restart Use mpls rsvp-te timer graceful-restart restart to set the RSVP-TE GR restart interval.
  • Page 186: Mpls Rsvp-Te Timer Refresh

    Default The hello interval is three seconds. Views MPLS view Default command level 2: System level Parameters timevalue: Specifies the hello interval in the range of 1 to 60 seconds. Usage guidelines Before configuring this command, enable the hello mechanism in MPLS view. Examples # Set the hello interval to five seconds.
  • Page 187: Mpls Rsvp-Te Timer Retransmission

    Related commands mpls rsvp-te keep-multiplier mpls rsvp-te timer retransmission Use mpls rsvp-te timer retransmission to enable RSVP message retransmission. Use undo mpls rsvp-te timer retransmission to restore the default. Syntax mpls rsvp-te timer retransmission { increment-value [ increment-value ] | retransmit-value [ retrans-timer-value ] } * undo mpls rsvp-te timer retransmission Default...
  • Page 188: Mpls Te Affinity Property

    Use undo mpls te to disable MPLS TE. Syntax mpls te undo mpls te Default MPLS TE is disabled. Views MPLS view, interface view Default command level 2: System level Usage guidelines When executed in MPLS view, the mpls te command enables MPLS TE globally and its undo form disables MPLS TE and removes all CR-LSPs.
  • Page 189: Mpls Te Backup

    Views Tunnel interface view Default command level 2: System level Parameters properties: Specifies the link properties affinity attribute of the tunnel, a 32-bit integer in the range of 0x0 to 0xFFFFFFFF. Each affinity bit represents a property with a value of 1 or 0. mask-value: Specifies the 32-bit mask comprising 0s and 1s, in the range of 0x0 to 0xFFFFFFFF.
  • Page 190: Mpls Te Bfd Enable

    Usage guidelines When backup is enabled, the record route flag is automatically set to record reroute regardless of whether the mpls te record-route command is configured. Examples # Enable hot backup for tunnel 0. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te backup hot-standby mpls te bfd enable Use mpls te bfd enable to configure BFD to test the connectivity of the MPLS TE tunnel.
  • Page 191: Mpls Te Bidirectional

    mpls te bidirectional Use mpls te bidirectional to enable the bidirectional tunnel function on an MPLS TE tunnel interface. Use undo mpls te bidirectional to disable the bidirectional tunnel function on an MPLS TE tunnel interface. Syntax mpls te bidirectional { co-routed { active | passive reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id } | associated reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id } undo mpls te bidirectional Default...
  • Page 192: Mpls Te Commit

    IMPORTANT: To set up a bidirectional MPLS TE tunnel in co-routed mode, you must specify the signaling protocol for • tunnel setup as RSVP-TE, and use the mpls te resv-style command to configure the resources reservation style as FF for the tunnel. To set up a bidirectional MPLS TE tunnel in associated mode and use RSVP-TE to set up one CR-LSP of the •...
  • Page 193: Mpls Te Cspf

    [Sysname-Tunnel0] mpls te commit mpls te cspf Use mpls te cspf to enable CSPF. Use undo mpls te cspf to disable CSPF. Syntax mpls te cspf undo mpls te cspf Default CSPF is disabled. Views MPLS view Default command level 2: System level Usage guidelines Before enabling CSPF, enable MPLS TE in MPLS view.
  • Page 194: Mpls Te Failure-Action Teardown

    Parameters timer-interval: Specifies the value of the failed link timer, in the range of 0 to 300 seconds. The default is 10 seconds. Usage guidelines The failed link timer starts once a link goes down. If the IGP removes or modifies the link before the timer expires, CSPF updates information about the link in TEDB and stops the timer.
  • Page 195: Mpls Te Fast-Reroute

    mpls te fast-reroute Use mpls te fast-reroute to enable the Fast Reroute (FRR) function. Use undo mpls te fast-reroute to disable FRR. Syntax mpls te fast-reroute undo mpls te fast-reroute Default FRR is disabled. Views Tunnel interface view Default command level 2: System level Usage guidelines After FRR is enabled, the record route flag is automatically set to record reroute with label, whether the...
  • Page 196: Mpls Te Igp Advertise

    Usage guidelines You may execute the mpls te fast-reroute bypass-tunnel command multiple times to specify multiple bypass tunnels for the protected interface. A maximum of three bypass tunnels can be specified for a protected interface. A bypass tunnel cannot be used for services, such as VPN. When you specify a bypass tunnel, make sure: •...
  • Page 197: Mpls Te Igp Metric

    mpls te igp metric Use mpls te igp metric to assign a metric to the MPLS TE tunnel. Use undo mpls te igp metric to restore the default. Syntax mpls te igp metric { absolute value | relative value } undo mpls te igp metric Default TE tunnels take their IGP metrics.
  • Page 198: Mpls Te Link Administrative Group

    Default An IGP does not consider MPLS TE tunnels in its enhanced SPF calculation. Views Tunnel interface view Default command level 2: System level Parameters isis: Sets the IGP protocol to IS-IS. ospf: Sets the IGP protocol to OSPF. Usage guidelines The mpls te igp shortcut command cannot be used together with the mpls te igp advertise command.
  • Page 199: Mpls Te Loop-Detection

    <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls te link administrative group 101 Related commands mpls te affinity property mpls te loop-detection Use mpls te loop-detection to configure the node to perform loop detection when setting up the MPLS TE tunnel.
  • Page 200: Mpls Te Path

    Parameters value: Specifies the TE metric of the link, in the range of 0 to 4294967295. Examples # Assign a TE metric of 20 to the link on VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls te metric 20 Related commands mpls te path metric-type mpls te path...
  • Page 201: Mpls Te Path Metric-Type

    mpls te path metric-type Use mpls te path metric-type in MPLS view to specify the link metric type for path calculation when a metric type is not explicitly configured for a tunnel. Use mpls te path metric-type in tunnel interface view to specify the link metric type to be used for path calculation of the current tunnel.
  • Page 202: Mpls Te Periodic-Tracert

    mpls te periodic-tracert Use mpls te periodic-tracert to enable periodic LSP tracert for the MPLS TE tunnels on a tunnel interface. Use undo mpls te periodic-tracert to disable periodic LSP tracert for MPLS TE tunnels on a tunnel interface. Syntax mpls te periodic-tracert [ -a source-ip | -exp exp-value | -h ttl-value | -m wait-time | -t time-out | -u retry-attempt ] * undo mpls te periodic-tracert...
  • Page 203: Mpls Te Priority

    [Sysname-Tunnel0] mpls te periodic-tracert mpls te priority Use mpls te priority to assign a setup priority and holding priority to the MPLS TE tunnel. Use undo mpls te priority to restore the default. Syntax mpls te priority setup-priority [ hold-priority ] undo mpls te priority Default Both setup and holding priorities of TE tunnels are 7.
  • Page 204: Mpls Te Protection Tunnel

    Views Tunnel interface view Default command level 2: System level Parameters bidirectional: Specifies the bidirectional path switching mode. Usage guidelines Before configuring the command, you must configure an MPLS TE tunnel protection group by using the mpls te protection tunnel command. Bidirectional path switching requires that the main and backup tunnels are both bidirectional tunnels, and you must configure the bidirectional path switching mode on both ends of the main tunnel.
  • Page 205: Mpls Te Protect-Switch

    defaults to 0. Holdoff time = holdoff time factor × 500 milliseconds. Therefore, the maximum holdoff time is 10 seconds. mode: Specifies the reverting mode, non-revertive or revertive. The default reverting mode is revertive. non-revertive: Specifies the non-revertive mode. In this mode, data is not switched back from the protection tunnel to the primary tunnel even if the primary tunnel recovers.
  • Page 206: Mpls Te Record-Route

    Default command level 2: System level Parameters clear: Clears all configured switching actions. force: Forces data to travel on the backup LSP. lock: Always uses the primary LSP to transfer data. manual: Switches data from the primary LSP to the backup LSP. Usage guidelines The following shows the priority of the externally configured switching actions and the signal fail switching actions, in the descending order:...
  • Page 207: Mpls Te Reoptimization (Tunnel Interface View)

    Examples # Enable route recording on MPLS TE tunnel 0. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te record-route mpls te reoptimization (tunnel interface view) Use mpls te reoptimization to enable reoptimization on the tunnel. Use undo mpls te reoptimization to disable reoptimization on the tunnel. Syntax mpls te reoptimization [ frequency seconds ] undo mpls te reoptimization...
  • Page 208: Mpls Te Resv-Style

    Default command level 2: System level Examples # Start reoptimizing all reoptimization-enabled TE tunnels. <Sysname> mpls te reoptimization mpls te resv-style Use mpls te resv-style to set the resource reservation style for the MPLS TE tunnel. Use undo mpls te resv-style to restore the default. Syntax mpls te resv-style { ff | se } undo mpls te resv-style...
  • Page 209: Mpls Te Route-Pinning

    Views Tunnel interface view Default command level 2: System level Parameters times: Specifies the number of tunnel setup retries, in the range of 10 to 4294967295. Usage guidelines You may configure the system to attempt setting up a tunnel multiple times until it is established successfully or until the number of attempts reaches the upper limit.
  • Page 210: Mpls Te Signal-Protocol

    mpls te signal-protocol Use mpls te signal-protocol to configure the signaling protocol for MPLS TE tunnel establishment. Syntax mpls te signal-protocol { rsvp-te | static } Default The signaling protocol for MPLS TE tunnel establishment is RSVP-TE. Views Tunnel interface view Default command level 2: System level Parameters...
  • Page 211: Mpls Te Timer Retry

    Parameters seconds: Specifies the FRR polling timer for the PLR to poll available bypass tunnels for the best one. The value range is 0 to 604800 seconds, with 0 disabling the PLR to poll available bypass tunnels regularly for the best one. The default is 300 seconds or 5 minutes. Examples # Set the FRR polling timer to 120 seconds or 2 minutes.
  • Page 212: Mpls Te Vpn-Binding

    Default command level 2: System level Parameters tunnel-id: Specifies the tunnel ID in the range of 1 to 1024. Usage guidelines Configure the tunnel ID before issuing the mpls te commit command for the first time. Otherwise, the tunnel cannot be created. Once configured, a tunnel ID cannot be removed.
  • Page 213: Mpls-Te

    Examples # Configure tunnel 0 to forward only traffic of the VPN vpn1. <Sysname> system-view [Sysname] interface tunnel 0 [Sysname-Tunnel0] mpls te vpn-binding vpn-instance vpn1 # Configure tunnel 0 to forward only the VPN traffic that matches ACL 3001. <Sysname> system-view [Sysname] acl number 3001 [Sysname-acl-adv-3001] rule 0 permit ip vpn-instance vpn1 [Sysname-acl-adv-3001] quit...
  • Page 214: Next Hop

    next hop Use next hop to define a node on the explicit path. By executing this command multiple times, you may define all nodes that the explicit path must traverse in sequence. Syntax next hop ip-address [ include [ loose | strict ] | exclude ] Views Explicit path view Default command level...
  • Page 215: Ping Lsp Te

    Default The opaque LSA capability of OSPF is disabled. Views OSPF view Default command level 2: System level Parameters enable: Enables the opaque LSA capability. Examples # Enable the opaque LSA capability of OSPF. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] opaque-capability enable ping lsp te Use ping lsp te to test MPLS TE tunnel connectivity.
  • Page 216: Reset Mpls Rsvp-Te Statistics

    -t time-out: Specifies the timeout interval for waiting for the response to an echo request message. The value range for the time-out argument is 0 to 65535 milliseconds, and the default is 2000 milliseconds. -v: Displays detailed response information. te interface-type interface-number: Specifies a tunnel interface. Examples # Use the ping function to test the connectivity of the MPLS TE tunnel Tunnel1.
  • Page 217: Static-Cr-Lsp Ingress

    Syntax static-cr-lsp egress tunnel-name incoming-interface interface-type interface-number in-label in-label-value undo static-cr-lsp egress tunnel-name Default Static CR-LSP traffic belongs to CT 0. Views System view Default command level 2: System level Parameters tunnel-name: Specifies the tunnel name, a case-sensitive string of 1 to 15 characters. incoming-interface interface-type interface-number: Specifies the incoming interface.
  • Page 218: Static-Cr-Lsp Transit

    out-label out-label-value: Specifies the outgoing label, which can be a value of 0, 3, or 16 through 1023. Usage guidelines Do not specify a local public address as the next hop address for a static CR-LSP configured on the ingress node. Examples # Configure a static CR-LSP on the ingress node, setting its name to Tunnel3, destination IP address to 202.25.38.1, destination address mask length to 24, next hop IP address to 202.55.25.33, and...
  • Page 219: Tracert Lsp Te

    tracert lsp te Use tracert lsp te to locate errors of MPLS TE tunnels. Syntax tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode |-t time-out ] * te interface-type interface-number Views Any view Default command level 0: Visit level Parameters -a source-ip: Specifies the source IP address of the Echo Request messages.
  • Page 220: Traffic-Eng

    traffic-eng Use traffic-eng to enable IS-IS TE. Use undo traffic-eng to restore the default. Syntax traffic-eng [ level-1 | level-1-2 | level-2 ] undo traffic-eng [ level-1 | level-1-2 | level-2 ] Default IS-IS TE is disabled. Views IS-IS view Default command level 2: System level Parameters...
  • Page 221: Vpls Configuration Commands

    VPLS configuration commands The S5820X Switch Series does not support VPLS. Use car to apply a global CAR action to the incoming traffic of an AC. Use undo car to restore the default. Syntax car inbound name car-name undo car inbound Default No global CAR action is applied to an AC.
  • Page 222: Display Bgp Vpls

    Views VSI view Default command level 2: System level Parameters text: Specifies a description for the VPLS instance, a string of 1 to 80 characters. Examples # Configure the description of VPLS instance aaa as Aaa_Technologies_Co._Ltd.. <Sysname> system-view [Sysname] vsi aaa [Sysname-vsi-aaa] description Aaa_Technologies_Co._Ltd.
  • Page 223 Examples # Display all VPLS information in the BGP routing table. <Sysname> display bgp vpls all BGP Local Router ID : 2.2.2.9, Local AS number : 100 Origin codes:i - IGP, e - EGP, ? - incomplete BGP.VPLS: 1 destination **Route Distinguisher: 100:1 SITE ID LB Offset...
  • Page 224 VPLS Address family IPv4 Unicast: advertised and received Address family VPLS: advertised and received Received: Total 26 messages, Update messages 2 Sent: Total 28 messages, Update messages 2 Maximum allowed prefix number: 4294967295 Threshold: 75% Minimum time between advertisement runs is 15 seconds Optional capabilities: Route refresh capability has been enabled Connect-interface has been configured...
  • Page 225 Field Description Number of sent messages, including the total number Sent of sent messages and the number of sent update messages. Maximum allowed prefix number Maximum number of routes allowed. Threshold value. When the number of routes reaches Threshold the maximum number of routes allowed multiplied by this threshold value, an alarm is issued.
  • Page 226 BGP Local router ID : 2.2.2.9, local AS number : 100 Origin codes:i - IGP, e - EGP, ? - incomplete *Nexthop : 3.3.3.9 Locpref : 100 Metric : 133 Flag : 0x85 LB Base : 132096 LB NewBase LB Size : 10 Label Offset : 0 Encap Type...
  • Page 227: Display Mac-Address Vsi

    display mac-address vsi Use display mac-address vsi to display the MAC address table information for a specific VPLS instance or all VPLS instances. Syntax display mac-address vsi [ vsi-name ] [ blackhole | dynamic | static ] [ count ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 228: Display Mpls L2Vpn Fib Ac Vpls

    Field Description Vsilndex VSI index. LINK ID Link ID. VSI ID ID of the VPLS instance. IP address of the peer in the VPLS instance. For a device on the private network side, it is the ID of the VLAN to which the device PEER IP belongs.
  • Page 229 exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If you specify an interface but do not specify a service instance, the command displays the AC entries of the VPLS connection created on the Layer 3 interface.
  • Page 230: Display Mpls L2Vpn Fib Pw Vpls

    Service Instance ID : 2 Link ID Access Mode : Vlan CE Type : PortVlan AC Encapsulation : 10 Hub Spoke Type : ---- GR Count Table 77 Command output Field Description Total number of VSI entries, which is displayed only when Total VSI Entry you display all VPLS AC entries.
  • Page 231 Parameters vsi vsi-name: Specifies the VPLS instance name, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. The specified VPLS instance must have existed. link link-id: Specifies a PW in the VPLS instance by its link ID. The specified PW must have existed. verbose: Displays the detailed information.
  • Page 232 **Link ID In VC Label : 1000 Out VC Label : 1002 Encapsulation Type : Ethernet Hub Spoke Type : ---- : 1500 Role : Main State : Active Dual Link ID Service : QoS(Succeeded) Inbound CAR ID Tunnel ID : 0x878ad000(Done) GrCount:1 Tunnel ID...
  • Page 233: Display Pw-Class

    display pw-class Use display pw-class to display information about one or all PW classes. Syntax display pw-class [ pw-class-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters pw-class-name: Specifies the name of a PW class, a case-insensitive string of 1 to 19 characters.
  • Page 234: Display Mpls Statistics Pw

    display mpls statistics pw Use display mpls statistics pw to display statistics of one or more PWs. Syntax display mpls statistics pw [ vsi vsi-name [ link link-id ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
  • Page 235: Display Service-Instance Interface

    Table 81 Command output Field Description VSI Name Name of the VPLS instance. Link ID Link ID of the PW, which identifies the PW in the VPLS instance. Input statistics Statistics on the PW in the inbound direction. Output statistics Statistics on the PW in the outbound direction.
  • Page 236: Display Vpls Connection

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about service instance 100 created on GigabitEthernet 1/0/1. <Sysname> display service-instance interface gigabitethernet 1/0/1 service-instance 100 Service instance : 100 Encapsulation : s-vid 1 Table 82 Command output Field Description...
  • Page 237 <Sysname> display vpls connection vsi aaa Total 2 connection(s), connection(s): 2 up, 0 block, 0 down VSI Name: aaa Signaling: ldp VsiID VsiType PeerAddr InLabel OutLabel LinkID VCState vlan 1.1.1.9 1024 1024 vlan 2.2.2.9 Table 83 Command output Field Description VSI Name Name of the VPLS instance.
  • Page 238 Peer Ip Address : 2.2.2.9 PW Type : label Local VC Label : 100 Remote VC Label : 200 Link ID Tunnel Policy : -- Tunnel ID : 0xc000 Local VCCV CC Type : CW, RA Local VCCV CV Type : LSPV Table 84 Command output Field...
  • Page 239: Display Vsi

    Related commands display vsi Use display vsi to display information about a specific VPLS instance or all VPLS instances. Syntax display vsi [ vsi-name ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level...
  • Page 240 # Display detailed configurations about the VPLS instance aaa. <Sysname> display vsi aaa verbose ***VSI Name : aaa VSI Index PW Signaling : ldp Member Discovery Style : static PW MAC Learn Style : unqualify Encapsulation Type : vlan : 1500 Bandwidth Broadcast Restrain Multicast Restrain...
  • Page 241 Member Discovery Style : auto PW MAC Learn Style : unqualify Encapsulation Type : vlan : 1500 Bandwidth Broadcast Restrain Multicast Restrain Unknown Unicast Restrain : - MacTabLimit : 524288 Drop Unkown : disable MacLearnEnable : enable Hub-spoke : unspecified Mac-move : enable : unspecified...
  • Page 242 Field Description Whether to drop packets with unknown source MAC addresses when the VPLS instance has learned the maximum number of MAC addresses allowed. • Drop Unknown enabled—Drops packets with unknown source MAC addresses. • disabled—Forwards packets with unknown source MAC addresses.
  • Page 243: Display Vsi Remote

    Field Description Name of the interface where the service instance associated Interface Name with the VPLS instance resides. Status of the interface where the service instance associated State with the VPLS instance resides. Service instance ID ID of the service instance associated with the VPLS instance. PW type: •...
  • Page 244: Dual-Npe Revertive

    Table 87 Command output Field Description Vsi ID ID of the VPLS instance. Peer Router ID ID of the peer. VC Label Label of the VC. Group ID ID of the group. Vsi Type Encapsulation type of the VPLS instance. MTU Value Maximum transmission unit.
  • Page 245: Encapsulation (Service Instance View)

    H3C recommends that you also specify the only-tagged keyword when you configure matching packets carrying specific VLAN tags. Otherwise, untagged packets may be matched to a different service instance than the one you expected.
  • Page 246: Encapsulation (Vsi View)

    [Sysname-GigabitEthernet1/0/2] service-instance 101 [Sysname-GigabitEthernet1/0/2-srv101] encapsulation s-vid 200 only-tagged [Sysname-GigabitEthernet1/0/2-srv101] quit # Configure a packet matching rule in service instance 102 on GigabitEthernet 1/0/2 to match all untagged packets. [Sysname-GigabitEthernet1/0/2] service-instance 102 [Sysname-GigabitEthernet1/0/2-srv102] encapsulation untagged encapsulation (VSI view) Use encapsulation to specify the PW encapsulation type for a VPLS instance. Syntax encapsulation { bgp-vpls | ethernet | vlan } Default...
  • Page 247: Mac-Move Enable

    Default command level 2: System level Parameters enable: Enables MAC address learning for the VPLS instance. disable: Disables MAC address learning for the VPLS instance. Usage guidelines With MAC address learning disabled for a VPLS instance, the system does not learn source MAC addresses from the packets received from the VPLS instance.
  • Page 248: Mtu (Vsi View)

    Use undo mac-table limit to restore the default. Syntax mac-table limit mac-limit-number undo mac-table limit Default The maximum number of MAC addresses that the device can learn for a VPLS instance is 524288. Views VSI view Default command level 2: System level Parameters mac-limit-number: Sets the maximum number of MAC addresses that the device can learn for the VPLS instance, in the range of 1 to 524288.
  • Page 249: Peer (Vsi-Ldp View)

    NOTE: This command is available in R1808P12 and later versions. Examples # Set the MTU of VPLS instance aaa to 1400. <Sysname> system-view [Sysname] vsi aaa [Sysname-vsi-aaa] mtu 1400 peer (VSI-LDP view) Use peer to create a peer PE for a VPLS instance, and enter L2VPN peer view. Use undo peer to remove a peer PE.
  • Page 250: Ping Lsp Pw (For Vpls)

    [Sysname] vsi aaa [Sysname-vsi-aaa] pwsignal ldp [Sysname-vsi-aaa-ldp] peer 4.4.4.4 pw-id 200 upe # Create a primary peer PE 1.1.1.1 and a backup peer PE 2.2.2.2, and set the PW ID to the primary peer to 300 and that to the backup peer to 400. <Sysname>...
  • Page 251: Pw-Class

    pw-id pw-id: Specifies the ID of the PW to the peer PE, in the range of 1 to 4294967295. Examples # Test the connectivity of PW 301 to peer PE 3.3.3.9. <Sysname> ping lsp pw 3.3.3.9 pw-id 301 LSP Ping FEC: FEC 128 PSEUDOWIRE (NEW) 3.3.3.9 301 : 100 data bytes, press CTRL_C to break Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms...
  • Page 252: Pw-Tunnel-Policy

    If you specify the PW signaling protocol as BGP, you will enter VSI-BGP view. • • If you specify the PW signaling protocol as static, you will enter VSI-static view. Syntax pwsignal { bgp | ldp | static } Views VSI view Default command level 2: System level...
  • Page 253: Qos Car

    Usage guidelines If you specify a non-existent tunneling policy in the pw-tunnel-policy command, the tunneling policy specified by the tnl-policy command in VSI view will be used. For how to configure a tunneling policy, see MPLS Configuration Guide. Examples # Specify tunneling policy tp100 for PW class pw100. <Sysname>...
  • Page 254: Reset Bgp Vpls

    reset bgp vpls Use reset bgp vpls to reset a specific VPLS BGP connection or all VPLS BGP connections. Syntax reset bgp vpls { as-number | ip-address | all | external | internal } Views User view Default command level 2: System level Parameters as-number: Resets VPLS BGP connections to peers in a specific AS.
  • Page 255: Reset Mpls Statistics Pw

    reset mpls statistics pw Use reset mpls statistics pw to clear the statistics of one or more PWs. Syntax reset mpls statistics pw [ vsi vsi-name [ link link-id ] ] Views User view Default command level 1: Monitor level Parameters vsi vsi-name: Clears the statistics of the PWs in a VPLS instance.
  • Page 256: Route-Distinguisher (Vsi Bgp View)

    outbound: Clears the outgoing traffic statistics. Examples # Clear the statistics of the incoming traffic of service instance 1 on GigabitEthernet 1/0/1. <Sysname> reset service-instance statistics interface GigabitEthernet 1/0/1 service-instance 1 inbound Related commands statistics route-distinguisher (VSI BGP view) Use route-distinguisher to configure an RD for a VPLS instance. Syntax route-distinguisher route-distinguisher Views...
  • Page 257: Shutdown (Vsi View)

    Use undo service-instance to delete a service instance on an interface. Syntax service-instance instance-id undo service-instance instance-id Default No service instances have been created on any interface. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default command level 2: System level Parameters instance-id: Specifies a service instance ID in the range of 1 to 4094.
  • Page 258: Site

    site Use site to create sites for a VPLS instance. Use undo site to remove sites of a VPLS instance. Syntax site site-id [ range site-range ] [ default-offset { 0 | 1 } ] undo site site-id Views VSI BGP view Default command level 2: System level Parameters...
  • Page 259: Static Label (L2Vpn Peer View)

    Default command level 2: System level Parameters local local-vc: Specifies the local VC label in the range of 16 to 1023. remote remote-vc: Specifies the remote VC label in the range of 16 to 1023. Usage guidelines When you configure a static VPLS connection, you must manually specify VC labels for the VC. Make sure that VC labels specified on the local device match those on the remote device.
  • Page 260: Statistics

    Examples # Configure the local VC label as 100 and remote VC label as 200 for the primary VC of the static VPLS instance vpn1. <Sysname> system-view [Sysname] vsi vpn1 static [Sysname-vsi-vpn1] pwsignal static [Sysname-vsi-vpn1-static] peer 1.1.1.9 backup-peer 2.2.2.9 backup-pw-id 300 [Sysname-vsi-vpn1-static-1.1.1.9] static label local 100 remote 200 statistics Use statistics to enable statistics collection for the incoming or outgoing traffic of an AC.
  • Page 261: Tnl-Policy

    Default PW statistics collection is disabled. Views L2VPN peer view Default command level 2: System level Examples # Enable statistics collection for the PW connected to 1.1.1.9. <Sysname> system-view [Sysname] vsi aaa static [Sysname-vsi-aaa] pwsignal ldp [Sysname-vsi-aaa-ldp] peer 1.1.1.9 [Sysname-vsi-aaa-ldp-1.1.1.9] statistics enable tnl-policy Use tnl-policy to specify a tunneling policy for a VPLS instance.
  • Page 262: Trans-Mode

    Related commands tunnel-policy trans-mode Use trans-mode to specify the PW transport mode. Use undo trans-mode to restore the default. Syntax trans-mode { ethernet | vlan } undo trans-mode Default The PW transport mode is VLAN. Views PW class view Default command level 2: System Level Parameters ethernet: Specifies the PW transport mode as Ethernet mode.
  • Page 263: Vpn-Target (Vsi Bgp View)

    Syntax vpls-family Views BGP view Default command level 2: System level Examples # Enter BGP-VPLS address family view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] vpn-target (VSI BGP view) Use vpn-target to configure one or more VPN targets for a VPLS instance. Use undo vpn-target to remove the specified or all VPN targets of a VPLS instance.
  • Page 264: Vsi

    all: Removes all VPN targets. Examples # Configure VPN targets for the VPLS instance aaa. <Sysname> system-view [Sysname] vsi aaa [Sysname-vsi-aaa] pwsignal bgp [Sysname-vsi-aaa-bgp] vpn-target 100:1 [Sysname-vsi-aaa-bgp] vpn-target 1:1 2:2 export-extcommunity [Sysname-vsi-aaa-bgp] vpn-target 1.2.3.4:11 12:12 import-extcommunity Use vsi to create a VSI (VPLS instance) and enter VSI view. If the specified VSI already exits, you enter the VSI view directly.
  • Page 265: Vsi-Id

    Related commands display vsi • mpls l2vpn • • l2vpn vsi-id Use vsi-id to specify the ID of a VPLS instance. Syntax vsi-id vsi-id Views VSI-LDP view Default command level 2: System level Parameters vsi-id: Specifies an ID for the VPLS instance, in the range of 1 to 4294967295. Usage guidelines On PEs in the same VPN, be sure to specify the same VSI ID for the VPLS instances that correspond to the VPN.
  • Page 266 Parameters vsi-name: Specifies the name of a VPLS instance, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not allowed. access-mode: Specifies the access mode of the service instance as Ethernet or VLAN. The default access mode is VLAN. ethernet: Specifies the Ethernet access mode.
  • Page 267: Mpls L2Vpn Configuration Commands

    MPLS L2VPN configuration commands ccc interface in-label out-label Use ccc interface in-label out-label to create a remote Circuit Cross Connect (CCC) connection between CEs connected to different PEs. Use undo ccc to delete a CCC connection. Syntax ccc ccc-connection-name interface interface-type interface-number in-label in-label-value out-label out-label-value nexthop ip-address undo ccc ccc-connection-name Views...
  • Page 268: Connection

    Use ce to create a CE, specify the CE name, CE ID, CE range, and the initial CE ID, and enter MPLS L2VPN CE view. Use undo ce to delete a CE. Syntax ce ce-name [ id ce-id [ range ce-range ] [ default-offset default-offset ] ] undo ce ce-name Views MPLS L2VPN view, MPLS L2VPN CE view...
  • Page 269: Display Bgp L2Vpn

    Parameters ce-offset ce-id: Specifies the ID of the peer CE. The value range for the ce-id argument is from 0 to 199. interface interface-type interface-number: Specifies the interface connecting the local CE. The encapsulation type must be same as that of the VPN. tunnel-policy tunnel-policy-name: Specifies a tunneling policy for the virtual circuit (VC), a string of 1 to 19 characters.
  • Page 270 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, such as 65536:1. In this format, the minimum value of the AS number is 65536. ce-id ce-id: Specifies the ID of the peer CE, in the range of 0 to 199. label-offset label-offset: Specifies the label offset, in the range of 0 to 65,535.
  • Page 271 3.3.3.9 00:01:07 Active Table 89 Command output Field Description BGP local router ID ID of the local BGP router. Peers in established state Number of peers with BGP sessions in the state of established. Peer IP address of the peer. BGP version that the peer is using.
  • Page 272 Table 90 Command output Field Description Peer IP address of the peer. Local IP address of the local router. Type BGP type. Current status of the BGP session: Idle, Connect, Active, BGP current state OpenSent, OpenConfirm, and Established.. BGP current event Current event of the BGP session.
  • Page 273 Table 91 Command output Field Description Route origin codes: • i – IGP—The network layer reachability information is from within the AS. Origin codes • e – EGP—The network layer reachability information is learned through EGP. • ? – incomplete—The network layer reachability information is learned through other ways.
  • Page 274: Display Ccc

    132097 132098 down 132099 down 132100 down 132101 down 132102 down 132103 down 132104 down 132105 down Table 93 Command output Field Description Route origin codes: • i – IGP—The network layer reachability information is from within the AS. Origin codes •...
  • Page 275 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 276: Display L2Vpn Ccc-Interface Vc-Type

    Field Description In-label Incoming label. Out-label Outgoing label. Nexthop IP address of the next hop. display l2vpn ccc-interface vc-type Use display l2vpn ccc-interface vc-type to display information about specified L2VPN VC interfaces. Syntax display l2vpn ccc-interface vc-type { all | bgp-vc | ccc | ldp-vc | static-vc } [ up | down ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 277: Display Mpls L2Vc

    Vlan20 ethernet bgp-vc Total ccc-interface of LDP VC: 1 up (0), down (1) Interface Encap Type State VC Type Vlan30 vlan down ldp-vc Total ccc-interface of SVC VC: 1 up (0), down (1) Interface Encap Type State VC Type Vlan40 vlan down static-vc...
  • Page 278 Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies the interface connecting the CE by the interface type and number. service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 4094. remote-info: Displays the Martini VC information received from the remote peer. |: Filters command output by specifying a regular expression.
  • Page 279: Display Mpls L2Vpn

    Remote VC Label : 1029 Tunnel Policy : default Tunnel Type : lsp Tunnel ID : 0x220020 Table 97 Command output Field Description VC ID Remote VC ID. VC State Status of the VC. Destination Destination IP address. Client Intf Interface connected to the CE.
  • Page 280 Syntax display mpls l2vpn [ export-route-target-list | import-route-target-list | vpn-name vpn-name [ local-ce | remote-ce ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters export-route-target-list: Displays the export route target list. import-route-target-list: Displays the import route target list.
  • Page 281 Field Description vpn-name Name of the L2VPN. encap-type VC encapsulation type. 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)
  • Page 282: Display Mpls L2Vpn Connection

    # Display information about remote CEs of L2VPN vpn1. <Sysname> display mpls l2vpn vpn-name vpn1 remote-ce ce-id peer-id route-distinguisher 3.3.3.9 100:1 132096/0/10 Table 103 Command output Field Description Sequence number. ce-id CE ID. peer-id IP address of the peer. Label block. display mpls l2vpn connection Use display mpls l2vpn connection to display information about Kompella VCs.
  • Page 283 Usage guidelines If you do not specify any parameter, the command displays information about all Kompella VCs. Examples # Display information about all Kompella VCs. <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 284 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 C bit is set Tunnel Type : lsp Tunnel ID : 0x226013...
  • Page 285: Display Mpls L2Vpn Fib Ac Vpws

    Field Description vpn-name Name of the MPLS L2VPN. local-num Number of local connections. remote-num Number of remote connections. unknown-num Number of unknown connections. up-num Number of connections that are up. total-num Total number of connections. display mpls l2vpn fib ac vpws Use display mpls l2vpn fib ac vpws to display Attachment Circuit (AC) information for the MPLS L2VPN.
  • Page 286 Examples # Display AC information for the MPLS L2VPN. <Sysname> display mpls l2vpn fib ac vpws Total AC Entry:2 **In Interface : GE1/0/1 Service Instance ID : 1 Access Mode : Vlan CE Type : PortVlan AC Encapsulation : 100 **In Interface : GE1/0/1 Service Instance ID : 2...
  • Page 287: Display Mpls L2Vpn Fib Pw Vpws

    display mpls l2vpn fib pw vpws Use display mpls l2vpn fib pw vpws to display pseudowire (PW) entry information for the MPLS L2VPN. Syntax display mpls l2vpn fib pw vpws [ interface interface-type interface-number [ service-instance service-instanceid ] ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
  • Page 288 Table 108 Command output Field Description Total number of VPWS PW entries, which is displayed only Total PW Entry when you display all VPWS PW entries. In Interface Incoming interface, which is bound to L2VPN. ServiceID Service instance ID. InVCLabel Incoming VC label.
  • Page 289: Display Mpls Static-L2Vc

    Field Description Control Word Whether control word is used. Packets received Number of data packets received by the PW. Number of data packets dropped in the inbound direction Receives discarded of the PW. Packets sent Number of data packets sent by the PW. Number of data packets dropped in the outbound direction Sends discarded of the PW.
  • Page 290 exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display brief information about all static VCs created on the device. <Sysname>...
  • Page 291: Display Pw-Class

    display pw-class Use display pw-class to display PW class information. Syntax display pw-class [ class-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters class-name: Specifies the name of the PW class, a case-insensitive string of 1 to 19 characters. |: Filters command output by specifying a regular expression.
  • Page 292: L2Vpn

    l2vpn Use l2vpn to enable L2VPN and enter L2VPN view. Use undo l2vpn to disable L2VPN. Syntax l2vpn undo l2vpn Default L2VPN is disabled. Views System view Default command level 2: System level Examples # Enable L2VPN and enter L2VPN view. <Sysname>...
  • Page 293: Mpls L2Vc

    mpls l2vc Use mpls l2vc to create a Martini VC on a PE-CE interface of a PE. Use undo mpls l2vc to delete the Martini VC on the interface. Syntax mpls l2vc destination vcid [ { ethernet | vlan } | [ tunnel-policy tunnel-policy-name ] ] * undo mpls l2vc Views Interface view...
  • Page 294: Mpls L2Vpn

    mpls l2vpn Use mpls l2vpn to enable MPLS L2VPN. Use undo mpls l2vpn to disable MPLS L2VPN and delete all L2VPN configurations. Syntax mpls l2vpn undo mpls l2vpn Default MPLS L2VPN is disabled. Views L2VPN view Default command level 2: System level Usage guidelines You must use the mpls l2vpn command to enable MPLS L2VPN before configuring the other MPLS L2VPN commands.
  • Page 295: Mpls Static-L2Vc

    vlan: Uses VLAN encapsulation. Usage guidelines The VC encapsulation type specified here must match the AC link type. Examples # Create a Kompella MPLS L2VPN with the VPN name of vpn1 and VC encapsulation type of Ethernet, and enter MPLS L2VPN view. <Sysname>...
  • Page 296: Mpls Static-L2Vc Destination

    [Sysname-Vlan-interface10-static-l2vc] mpls static-l2vc destination Use mpls static-l2vc destination to create a static VC between CEs connected to different PEs. Use undo mpls static-l2vc destination to delete the static VC. Syntax mpls static-l2vc destination destination-router-id transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ { ethernet | vlan } | tunnel-policy tunnel-policy-name ] * undo mpls static-l2vc Views Interface view...
  • Page 297: Mtu (Mpls L2Vpn View)

    Parameters mtu-value: Specifies the MTU for the L2VPN, in the range of 128 to 1500 bytes. Usage guidelines H3C recommends not using the mtu command, because it affects only possible protocol parameter negotiations and does not instruct traffic forwarding. Examples # Set the MTU for MPLS L2VPN to 1000 bytes.
  • Page 298: Pw-Class

    -exp exp-value: Specifies the EXP value for the Echo Requests. The value range for the exp-value argument is 0 to 7, and the default is 0. -h ttl-value: Specifies the TTL value for the Echo Requests. The value range for the ttl-value argument is 1 to 255, and the default is 255.
  • Page 299: Pw-Tunnel-Policy

    Views System view Default command level 2: System level Parameters class-name: Specifies the name of the PW class, a case-insensitive string of 1 to 19 characters. Usage guidelines To create multiple VCs with the same attributes (such as VC encapsulation type and VC tunneling policy), you do not need to configure the attributes one by one for each VC.
  • Page 300: Reset Bgp L2Vpn

    reset bgp l2vpn Use reset bgp l2vpn to reset L2VPN BGP sessions. Syntax reset bgp l2vpn { as-number | ip-address | all | external | internal } Views User view Default command level 2: System level Parameters as-number: Resets L2VPN BGP sessions with the peers in the specified AS. The AS number must be in the range of 1 to 4294967295.
  • Page 301: Static Label (Static-L2Vc View, Static-Xpeer View)

    Usage guidelines Different VPNs on a PE must have different RDs. A VPN can have the same or different RDs on different PEs. 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.
  • Page 302: Trans-Mode

    [Sysname-GigabitEthernet1/0/1-srv1-static-xpeer] static label local 100 remote 200 # Create a static VC on the interface VLAN-interface 10. Configure the local VC label as 100 and remote VC label as 200 for the primary VC. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] mpls static-l2vc 1.1.1.9 100 [Sysname-Vlan-interface10-static-l2vc] static label local 100 remote 200 trans-mode...
  • Page 303: Xconnect Peer

    Default command level 2: System level Parameters vpn-target&<1- 1 6>: Adds route target extended community attributes to the import route target extended community attribute list (Import Target) or export route target extended community attribute list (Export Target). &<1- 1 6> means that you can add up to 16 route targets. A route target attribute can be a string of 3 to 21 characters in one of these formats: 16-bit AS number:32-bit user-defined number.
  • Page 304: Xconnect Static-Peer

    Parameters peer-ip-address: Specifies the IP address of the remote peer. pw-id pw-id: Specifies the PW ID of the Martini VC, in the range of 1 to 4294967295. access-mode: Specifies the access mode of the service instance as Ethernet or VLAN. The default access mode is VLAN.
  • Page 305 Views Service instance view Default command level 2: System level Parameters peer-ip-address: Specifies the IP address of the remote peer. pw-id pw-id: Specifies the PW ID of the static VC, in the range of 1 to 4294967295. access-mode: Specifies the access mode as Ethernet or VLAN. The default access mode is VLAN. ethernet: Specifies the access mode as Ethernet.
  • Page 306: Mpls L3Vpn Configuration Commands

    MPLS L3VPN configuration commands For information about the BGP-L2VPN address family and the VPLS address family, see MPLS Configuration Guide. default local-preference (BGP-VPNv4 subaddress family view) Use default local-preference to set the default value of the local preference. Use undo default local-preference to restore the default. Syntax default local-preference value undo default local-preference...
  • Page 307: Description (Vpn Instance View)

    Default The default system MED value is 0. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route.
  • Page 308: Display Bgp Vpnv4 All Routing-Table

    display bgp vpnv4 all routing-table Use display bgp vpnv4 all routing-table 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> [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | different-origin-as | peer ip-address { advertised-routes | received-routes } [ statistic ] | statistic ] [ | { begin | exclude | include }...
  • Page 309 comm-list-name: Specifies the name of a community attribute list, a string of 1 to 31 characters that contains at least one non-digit character. adv-community-list-number: Specifies the advanced community list number, in the range of 100 to 199. different-origin-as: Displays information about routes with different AS origins. peer ip-address: Specifies a peer by its IP address.
  • Page 310 <Sysname> display bgp vpnv4 all routing-table 1.1.1.2 32 BGP local router ID : 3.3.3.9 Local AS number : 100 Route Distinguisher: 100:1 Paths: 1 available, 0 best, 1 VPN best BGP routing table entry information of 1.1.1.2/32: Label information (Received/Applied): 1034/NULL From : 1.1.1.9 (1.1.1.9) Original nexthop: 1.1.1.9...
  • Page 311 Field Description Route status codes: • * - valid—Valid route. • ^ - VPN best—VPN best route. • > - best—Common best route. • Status codes d – damped—Route damped for route flap. • h - history—History route. • i - internal—Internal route. •...
  • Page 312: Display Bgp Vpnv4 Group

    display bgp vpnv4 group Use display bgp vpnv4 group to display information about a specific BGP VPNv4 peer group or all BGP VPNv4 peer groups. Syntax display bgp vpnv4 { all | vpn-instance vpn-instance-name } group [ group-name ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 313: Display Bgp Vpnv4 Network

    Table 114 Command output Field Description BGP peer-group Name of the BGP peer group. remote AS number Number of the remote AS. Type Type of the BGP peer group. Maximum number of routes that can be learned from Maximum allowed prefix number the peers in the peer group.
  • Page 314: Display Bgp Vpnv4 Paths

    Syntax display bgp vpnv4 { all | vpn-instance vpn-instance-name } network [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters.
  • Page 315 Views Any view Default command level 1: Monitor level Parameters all: Specifies all VPNv4 peers. vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. as-regular-expression: Specifies a regular expression for filtering the AS path information to be displayed.
  • Page 316: Display Bgp Vpnv4 Peer

    display bgp vpnv4 peer Use display bgp vpnv4 peer 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 ] Views Any view...
  • Page 317 Field Description 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 Duration of the BGP session in the current state.
  • Page 318 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 state of the BGP session.
  • Page 319 Field Description Whether the local device supports sending and receiving Route-refresh packets with ORF information. The value can be: • both—Supports sending and receiving Route-refresh messages with ORF information. Local • send—Supports sending Route-refresh messages with ORF information. • receive—Supports receiving Route-refresh messages with ORF information.
  • Page 320 # Display detailed information about BGP VPNv4 peer 1.1.1.1. <Sysname> display bgp vpnv4 all peer 1.1.1.1 verbose Peer: 1.1.1.1 Local: 2.2.2.2 Type: IBGP link BGP version 4, remote router ID 1.1.1.1 BGP current state: Established, Up for 00h46m01s BGP current event: RecvKeepalive BGP last state: OpenConfirm Port: Local - 1039...
  • Page 321 Field Description Settings of the local timers, including the active hold interval Configured and keepalive interval. Received Received active hold interval. Negotiated Negotiated active hold interval. Peer optional capabilities Optional capabilities of the peer. Peer support bgp multi-protocol extended Indicates that the peer supports multiprotocol extension. Peer support bgp route refresh capability Indicates that the peer supports route refresh capability.
  • Page 322: Display Bgp Vpnv4 Peer Received Ip-Prefix

    # Display the log information for the BGP VPNv4 peer whose address is 1.1.1.1. <sysname> display bgp vpnv4 vpn-instance vpn1 peer 1.1.1.1 log-info Peer : 1.1.1.1 Date Time State Notification Error/SubError 10-Jul-2008 15:46:17 Down Send Notification with Error 1/1 Message Header Error/Connection Not Synchronized 10-Jul-2008 09:23:00 Up 10-Jul-2008 07:46:17 Down Receive Notification with Error 3/2...
  • Page 323: Display Bgp Vpnv4 Route-Distinguisher Routing-Table

    vpn-instance vpn-instance-name: Displays information about the specified VPN. The vpn-instance-name argument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31 characters. ip-address: Specifies the IP address of a BGP peer. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 324 Parameters route-distinguisher: Specifies the route distinguisher (RD). network-address: Specifies the destination subnet IP address. mask: Specifies the network mask, in the format of X.X.X.X. mask-length: Specifies the length of the network mask, in the range of 0 to 32. as-path-acl as-path-acl-number: Filters routing information by using the specified AS_PATH list. The value range for the as-path-acl-number argument is 1 to 256.
  • Page 325 Origin : i - IGP, e - EGP, ? - incomplete Route Distinguisher: 100:1 Total number of routes: 2 Network NextHop In/Out Label LocPrf i 10.0.0.0 1.1.1.1 1025 /NULL *^ i 123.1.1.1/32 1.1.1.1 1024 /NULL Total routes of vpn-instance vpn1: 5 Network NextHop In/Out Label...
  • Page 326 AS-path : 65410 Origin : incomplete Attribute value : MED 0, localpref 100, pref-val 0, pre 255 State : valid, internal, best, Not advertised to any peers yet Table 123 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes.
  • Page 327: Display Bgp Vpnv4 Routing-Table Label

    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.
  • Page 328: Display Bgp Vpnv4 Vpn-Instance Routing-Table

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display information about labeled routes in the BGP routing table.
  • Page 329 Syntax display bgp vpnv4 vpn-instance vpn-instance-name routing-table [ [ network-address [ { mask | mask-length } [ longer-prefixes ] ] | as-path-acl as-path-acl-number | cidr | community [ aa:nn ]&<1- 1 3> [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] | community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } | dampened | dampening parameter | different-origin-as | flap-info [ network-address [ { mask | mask-length } [ longer-match ] ] | as-path-acl as-path-acl-number ] | peer ip-address { advertised-routes...
  • Page 330 adv-community-list-number: Specifies the advanced community list number, in the range of 100 to 199. dampened: Displays information about dampened BGP VPNv4 routes. dampening parameter: Displays information about configured BGP VPNv4 route dampening parameters. different-origin-as: Displays information about routes with different AS origins. flap-info: Displays BGP VPNv4 route flap statistics.
  • Page 331: Display Fib Vpn-Instance

    Field Description Origin Route origin codes. For valid values, see Table 113. Network Network address in the BGP routing table. NextHop Address of the next hop. Metric associated with the destination network. LocPrf Local preference value. PrefVal Preference value of the route. AS_PATH attribute/route origin of the route, see Table Path/Ogn...
  • Page 332 Destination count: 4 FIB entry count: 4 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Relay Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.0.0/16 10.2.1.1 Eth1/1 Null Invalid 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 that begins with the line containing the string 127 for VPN instance vpn1.
  • Page 333: Display Fib Vpn-Instance Ip-Address

    Field Description FIB entry count Number of entries in the FIB. Destination/Mask Destination address/mask length. Nexthop Address of the next hop. Flag of the route: • U—Usable route. • G—Gateway route. • H—Host route. Flag • B—Blackhole route. • D—Dynamic route. •...
  • Page 334: Display Ip Vpn-Instance

    Usage guidelines If neither the mask nor the mask-length argument is specified, the command displays the FIB information that matches the specified destination IP address and has the longest mask in the specified VPN. Otherwise, the command displays the FIB information that exactly matches the specified destination IP address and mask in the specified VPN.
  • Page 335 Examples # Display information about all VPN instances. <Sysname> display ip vpn-instance Total VPN-Instances configured : 2 VPN-Instance Name Create Time vpn1 22:1 2003/10/13 09:32:45 vpn2 33:3 2003/10/13 09:42:59 Table 128 Command output Field Description VPN-Instance Name Name of the VPN instance. RD of the VPN instance.
  • Page 336: Display Mpls Ldp Vpn-Instance

    Field Description Import Route Policy Import routing policy of the IPv4 VPN. Export Route Policy Export routing policy of the IPv4 VPN. Tunnel Policy Tunneling policy of the IPv4 VPN. Maximum Routes Limit Maximum number of IPv4 VPN routes. IPv6 Export VPN Targets Export target attribute of the IPv6 VPN.
  • Page 337: Display Ospf Sham-Link

    LDP Instance Information -------------------------------------------------------------------- Instance ID VPN-Instance : vpn1 Instance Status : Active LSR ID : 1.1.1.9 Hop Count Limit : 32 Path Vector Limit : 32 Loop Detection : Off DU Re-advertise Timer : 30 Sec DU Re-advertise Flag : On DU Explicit Request : Off Request Retry Flag...
  • Page 338 Default command level 1: Monitor level Parameters process-id: Specifies an OSPF process ID in the range of 1 to 65535. area area-id: Specifies an OSPF area by the area ID, which can be an integer in the range of 0 to 4294967295 or in the format of an IPv4 address.
  • Page 339: Display Tunnel-Policy

    Timers: Hello 10, Dead 40, Retransmit 5, Transmit Delay 1 Table 132 Command output Field Description Sham link expressed in the format of source IP address Sham-Link to destination IP address. Neighbor ID Router ID of the sham link neighbor. State Status of the sham link neighbor.
  • Page 340: Domain-Id

    Preferred paths : not configured Select-Seq : CR-LSP Load balance number : 1 Tunnel policy name : 2 Preferred paths : not configured Select-Seq : LSP Load balance number : 8 Tunnel policy name : 3 Preferred paths : Number Interface Tunnel type Fallback...
  • Page 341: Export Route-Policy (Vpn Instance View/Ipv4 Vpn View)

    Views OSPF view Default command level 2: System level Parameters domain-id: Specifies an OSPF domain ID, which can be in one of these formats: Integer, in the range of 0 to 4294967295. For example, 1. • Dotted decimal notation. For example, 0.0.0.1. •...
  • Page 342: Ext-Community-Type

    Default command level 2: System level Parameters route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters. Usage guidelines Specify an export routing policy when the VPN route advertisement control provided by the extended community attributes is not enough.
  • Page 343: Filter-Policy Export (Bgp-Vpnv4 Subaddress Family View)

    router-id type-code2: Specifies the type code for the OSPF extended community attribute of router ID. Valid values are 0x0107 and 0x8001. router-type type-code3: Specifies the type code for the OSPF extended community attribute of route type. Valid values are 0x0306 and 0x8000. Examples # Configure the type codes of OSPF extended community attributes domain ID, router ID, and route type as 0x8005, 0x8001, and 0x8000, respectively, for OSPF process 100.
  • Page 344: Filter-Policy Import (Bgp-Vpnv4 Subaddress Family View)

    Only routes that survive the filtering are advertised by MP-BGP. Examples # In BGP-VPNv4 subaddress family view, use ACL 2555 to filter routes to be advertised by MP-BGP. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] filter-policy 2555 export filter-policy import (BGP-VPNv4 subaddress family view) Use filter-policy import to filter received routes.
  • Page 345: Ip Binding Vpn-Instance

    undo import route-policy Default All routes matching the import target attribute are accepted. Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters. Usage guidelines Specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough.
  • Page 346: Ip Vpn-Instance

    Default command level 2: System level Parameters vpn-instance-name: Specifies the name of the VPN instance to be associated, a case-sensitive string of 1 to 31 characters. Usage guidelines When configured on an interface, the ip binding vpn-instance command clears the IP address of the interface.
  • Page 347: Ipv4-Family (Vpn Instance View)

    Use undo ipv4-family vpnv4 to remove all settings configured in BGP-VPNv4 subaddress family view. Syntax ipv4-family vpnv4 undo ipv4-family vpnv4 Views BGP view Default command level 2: System level Examples # Enter BGP-VPNv4 subaddress family view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] ipv4-family (VPN instance view)
  • Page 348: Nesting-Vpn

    undo mpls ldp vpn-instance vpn-instance-name Default A VPN instance is not enabled with LDP. Views System view Default command level 2: System level Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines Before configuring the mpls ldp vpn-instance command, you must configure the MPLS LSR ID and enable MPLS for the device.
  • Page 349: Peer Advertise-Community (Bgp-Vpnv4 Subaddress Family View)

    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) Use peer advertise-community to specify to advertise community attributes to a peer or peer group. Use undo peer advertise-community to remove the configuration. Syntax peer { group-name | ip-address } advertise-community undo peer { group-name | ip-address } advertise-community...
  • Page 350: Peer As-Path-Acl (Bgp-Vpnv4 Subaddress Family View)

    Views BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view Default command level 2: System level Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. number: Specifies the maximum number that the local AS number can appear repeatedly in the AS-PATH attribute.
  • Page 351: Peer Capability-Advertise Orf Ip-Prefix (Bgp-Vpnv4 Subaddress Family View)

    Default command level 2: System level Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. as-path-acl-number: Specifies an AS_PATH filtering list number, in the range of 1 to 256. import: Filters the received routes.
  • Page 352: Peer Default-Route-Advertise Vpn-Instance

    Usage guidelines With the ORF capability enabled, the local BGP router negotiates the ORF capability with the BGP peer through Open messages. After the negotiation succeeds, the BGP router can process Route-refresh messages with the standard ORF information from the peer or send Route-refresh messages with the standard ORF information to the peer.
  • Page 353: Peer Enable

    Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines After you execute this command, the device always advertises a default route with the local address as the next hop for the specified VPN instance to the specified peer or peer group, regardless of whether the...
  • Page 354: Peer Filter-Policy (Bgp-Vpnv4 Subaddress Family View)

    [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable # Configure peer 1.1.1.1 and enable the peer for the BGP-L2VPN address family. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer 1.1.1.1 enable # Configure peer 1.1.1.1 and enable the peer for the VPLS address family. <Sysname>...
  • Page 355: Peer Ip-Prefix (Bgp-Vpnv4 Subaddress Family View)

    Related commands peer as-path-acl peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view) Use peer group to add a peer into an existing peer group. Use undo peer group to remove a peer from a peer group. Syntax peer ip-address group group-name undo peer ip-address group group-name...
  • Page 356: Peer Label-Route-Capability (Bgp View/Bgp Vpn Instance View)

    Use undo peer ip-prefix to remove the configuration. Syntax peer { group-name | ip-address } ip-prefix prefix-name { export | import } undo peer { group-name | ip-address } ip-prefix { export | import } Default No route filtering policy based on IP prefix list is applied to a peer or peer group. Views BGP-VPNv4 subaddress family view Default command level...
  • Page 357: Peer Next-Hop-Invariable (Bgp-Vpnv4 Subaddress Family View)

    Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. Usage guidelines According to the networking scheme, the peer label-route-capability command enables the exchange of labeled IPv4 routes with: ASBR PEs in the same AS.
  • Page 358: Peer Next-Hop-Local

    [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 next-hop-invariable Related commands peer ebgp-max-hop (Layer 3—IP Routing Command Reference) peer next-hop-local Use peer next-hop-local to configure the device to use the local address as the next hop of a route when advertising it to a peer or peer group. Use undo peer next-hop-local to remove the configuration.
  • Page 359: Peer Preferred-Value (Bgp-Vpnv4 Subaddress Family View)

    peer preferred-value (BGP-VPNv4 subaddress family view) Use peer preferred-value to specify the preference value for the routes received from the specified peer/peer group. Use undo peer preferred-value to restore the default. Syntax peer { group-name | ip-address } preferred-value value undo peer { group-name | ip-address } preferred-value Default The preference value for the routes received from a peer/peer group is 0.
  • Page 360: Peer Reflect-Client

    Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. Usage guidelines If a BGP update to be sent carries any public AS number, this command does not take effect. The value range for the private AS number is 64512 to 65535.
  • Page 361: Peer Route-Policy (Bgp-Vpnv4 Subaddress Family View)

    Examples # In BGP-VPNv4 subaddress family view, configure the local device as RR and peer group test as the client of the RR. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test reflect-client # In BGP-L2VPN address family view, configure the local device as an RR and peer group test as the client of the RR.
  • Page 362: Peer Upe

    Examples # In BGP-VPNv4 subaddress family view, apply routing policy test-policy to filter the routes received from peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer test route-policy test-policy import peer upe Use peer upe to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress family.
  • Page 363: Peer Vpn-Instance Enable

    Default No routes are advertised to peers. Views BGP-VPNv4 subaddress family view Default command level 2: System level Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. route-policy-name: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
  • Page 364: Peer Vpn-Instance Group

    Default command level 2: System level Parameters group-name: Specifies the name of a peer group, a case-sensitive string of 1 to 47 characters. peer-address: Specifies the IP address of a peer. vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. Usage guidelines This configuration takes effect only after the nested VPN function is enabled.
  • Page 365: Peer Vpn-Instance Route-Policy Import

    Usage guidelines This configuration takes effect only after the nested VPN function is enabled. Deleting the VPN instance to which a peer belongs also deletes the configuration of this command. Examples # Add peer 1.1.1.1 to the nested VPN peer group named ebgp. <Sysname>...
  • Page 366: Policy Vpn-Target

    This configuration takes effect only after the nested VPN function is enabled. Deleting the VPN instance to which a peer belongs also deletes the configuration of this command. Examples # Specify to apply routing policy comtest to VPNv4 routes received from peer group ebgp. <Sysname>...
  • Page 367: Reflect Between-Clients

    [Sysname-bgp-af-l2vpn] undo policy vpn-target # In BGP-VPLS address family view, disable route target filtering for received VPNv4 routes. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] undo policy vpn-target reflect between-clients (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use reflect between-clients to enable route reflection between clients.
  • Page 368: Reflector Cluster-Id

    reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/BGP-VPLS address family view) Use reflector cluster-id to specify a cluster ID for an RR. Use undo reflector cluster-id to remove the cluster ID. Syntax reflector cluster-id { cluster-id | ip-address } undo reflector cluster-id Default Each RR in a cluster uses its own router ID as the cluster ID.
  • Page 369: Refresh Bgp Vpn-Instance

    refresh bgp vpn-instance Use refresh bgp vpn-instance to soft reset the BGP connections in a VPN instance. Syntax refresh bgp vpn-instance vpn-instance-name { ip-address | all | external | group group-name } { export | import } Views User view Default command level 1: Monitor level Parameters...
  • Page 370: Reset Bgp Vpn-Instance

    external: Soft resets EBGP sessions. group group-name: Soft resets the VPNv4 connections with the BGP peer group identified by this name. internal: Soft resets IBGP sessions. export: Performs a soft reset in the outbound direction. import: Performs a soft reset in the inbound direction. Usage guidelines Soft reset of BGP connections refers to updating BGP routing information without breaking BGP neighbor relationships.
  • Page 371: Reset Bgp Vpn-Instance Flap-Info

    Syntax reset bgp vpn-instance vpn-instance-name dampening [ network-address [ mask | mask-length ] ] Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. network-address: Specifies a network address.
  • Page 372: Reset Bgp Vpnv4

    reset bgp vpnv4 Use reset bgp vpnv4 to reset BGP VPNv4 connections. Syntax reset bgp vpnv4 { as-number | ip-address | all | external | internal | group group-name } Views User view Default command level 2: System level Parameters as-number: Resets VPNv4 connections with the peers in an AS identified by this number.
  • Page 373: Route-Tag

    Usage guidelines An RD is used to create the routing and FIB of a VPN. By prefixing an RD to an IPv4 prefix, you get a VPN IPv4 prefix unique globally. No RD is configured by default. You must configure an RD for each VPN instance. A VPN instance takes effect only after you configure an RD for it.
  • Page 374: Routing-Table Limit (Vpn Instance View/Ipv4 Vpn View)

    PE is the same as the locally configured external route tag, the PE neglects the LSA in route calculation to avoid routing loops. H3C recommends configuring the same external route tag for PEs in the same area. An external route tag is not transferred in any BGP extended community attribute. It is only locally significant and takes effect only on the PEs that receive BGP routes and generate OSPF Type 5 or 7 LSAs.
  • Page 375: Rr-Filter (Bgp-Vpnv4 Subaddress Family View/Bgp-L2Vpn Address Family View/Bgp-Vpls Address Family View

    simply-alert: Specifies that when the number of routes exceeds the maximum number of routes supported, the system still accepts routes but generates a system log (syslog) message. Usage guidelines A limit configured in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN. A limit configured in IPv4 VPN view is applicable to only the IPv4 VPN.
  • Page 376: Sham-Link

    Usage guidelines By configuring different RR reflection policies on different RRs, you can implement load balancing among the RRs. Examples # In BGP-VPNv4 subaddress family view, specify an Extended Communities attribute for the RR to filter the incoming VPNv4 route update packets. <Sysname>...
  • Page 377: Tnl-Policy (Vpn Instance View/Ipv4 Vpn View)

    cost: Specifies a cost value for the sham link, in the range of 1 to 65535. The default is 1. dead-interval: Specifies the dead interval in seconds, in the range of 1 to 32768. The default is 40. It must be equal to the dead interval of the router on the other end of the virtual link and must be at least four times the hello interval.
  • Page 378 Use undo tnl-policy to remove the association. Syntax tnl-policy tunnel-policy-name undo tnl-policy Views VPN instance view, IPv4 VPN view Default command level 2: System level Parameters tunnel-policy-name: Specifies the name of a tunneling policy for the VPN instance, a string of 1 to 19 characters.
  • Page 379: Tunnel-Policy

    tunnel-policy Use tunnel-policy to establish a tunneling policy and enter tunneling policy view. Use undo tunnel-policy to delete a tunneling policy. Syntax tunnel-policy tunnel-policy-name undo tunnel-policy tunnel-policy-name Views System view Default command level 2: System level Parameters tunnel-policy-name: Specifies a name for the tunneling policy, a string of 1 to 19 characters. Examples # Establish a tunneling policy named po1 and enter tunneling policy view.
  • Page 380: Vpn-Instance-Capability Simple

    load-balance-number number: Specifies the number of tunnels for load balancing. Usage guidelines Only tunnels of the types specified in the tunnel select-seq command can be used. A tunnel type closer to the select-seq keyword has a higher priority. The number of tunnels for load balancing refers to the number of tunnels that an application can use. CR-LSP tunnels are preferred in this order: CR-LSPs configured with ACLs.
  • Page 381: Vpn-Target (Vpn Instance View/Ipv4 Vpn View)

    vpn-target (VPN instance view/IPv4 VPN view) Use vpn-target to configure route targets for a VPN instance or an IPv4 VPN. Use undo vpn-target to remove the specified or all route targets of a VPN instance or an IPv4 VPN. Syntax vpn-target vpn-target&<1-8>...
  • Page 382 [Sysname-vpn-instance-vpn1] vpn-target 5:5 both # Configure route targets for the IPv4 VPN of VPN instance vpn2. <Sysname> system-view [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] ipv4-family [Sysname-vpn-ipv4-vpn2] vpn-target 3:3 export-extcommunity [Sysname-vpn-ipv4-vpn2] vpn-target 4:4 import-extcommunity [Sysname-vpn-ipv4-vpn2] vpn-target 5:5 both...
  • Page 383: Ipv6 Mpls L3Vpn Commands

    IPv6 MPLS L3VPN commands This chapter describes only IPv6 MPLS L3VPN-specific commands. For information about the commands available for both IPv4 MPLS L3VPN and IPv6 MPLS L3VPN, see "MPLS L3VPN configuration commands." default local-preference (BGP-VPNv6 subaddress family view) Use default local-preference to set the default value of the local preference. Use undo default local-preference to restore the default.
  • Page 384: Display Bgp Vpnv6 All Peer

    Default The default system MED value is 0. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to 4294967295. Usage guidelines With other criteria the same, the system selects the route with a smaller MED value as the AS external route.
  • Page 385 Usage guidelines If you do not specify any parameter, the command displays brief information about all peers. Examples # Display brief information about all BGP VPNv6 peers. <Sysname> display bgp vpnv6 all peer BGP local router ID : 192.168.1.40 Local AS number : 200 Total number of peers : 1 Peers in established state : 1 Peer...
  • Page 386 Sent: Total 65 messages, Update messages 5 Maximum allowed prefix number: 150000 Threshold: 75% Minimum time between advertisement runs is 15 seconds Optional capabilities: ORF advertise capability based on Prefix(type 64): Local: both Negotiated: send Connect-interface has been configured Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured...
  • Page 387: Display Bgp Vpnv6 All Routing-Table

    Field Description Threshold for warning. When the percentage of the number of the Threshold received route prefixes to the maximum number of routes supported reaches this value, the device generates a prompt. Minimum time between Minimum interval between route advertisements. advertisement runs Optional capabilities Local optional capabilities.
  • Page 388 Parameters network-address: Specifies the IPv6 address of the destination subnet. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 address ANDed with the specified prefix.
  • Page 389: Display Bgp Vpnv6 Route-Distinguisher Routing-Table

    Path/Ogn: ? 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 390 network-address: Specifies the IPv6 address of the destination subnet. prefix-length: Specifies the prefix length, in the range of 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 391: Display Bgp Vpnv6 Vpn-Instance Peer

    display bgp vpnv6 vpn-instance peer Use display bgp vpnv6 vpn-instance peer to display information about the IPv6 BGP peers in the specified VPN instance. Syntax display bgp vpnv6 vpn-instance vpn-instance-name peer [ ipv6-address verbose | verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 392 Field Description MsgRcvd Number of messages received. MsgSent Number of messages sent. OutQ Number of messages to be sent to the peer. PrefRcv Number of prefixes received. Up/Down Duration of the BGP session in the current state. State Current state of the peer. # Display detailed information about the IPv6 BGP peers in VPN instance vpn1.
  • Page 393: Display Bgp Vpnv6 Vpn-Instance Routing-Table

    Field Description remote router ID Router ID of the peer. BGP current state Current state of the BGP session. Up for Duration after the peer is established. BGP current event Current event of the BGP session. BGP last state State that the BGP session was in before transitioning to the current state. Port Local and remote ports of the BGP session.
  • Page 394 Default command level 1: Monitor level Parameters vpn-instance-name: Specifies a VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: Specifies the IPv6 address of the destination subnet. prefix-length: Specifies the length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 address ANDed with the specified prefix.
  • Page 395: Display Ipv6 Fib Vpn-Instance

    Field Description Origin Route origin codes. For more information, see Table 113. Network Destination network address. PrefixLen Prefix length of the destination network address. NextHop IPv6 address of the next hop. LocPrf Local preference value. PrefVal Preference value of the route. Label Received label.
  • Page 396: Display Ipv6 Fib Vpn-Instance Ipv6-Address

    Examples # Display all IPv6 FIB information for VPN instance vpn1. <Sysname> display ipv6 fib vpn-instance vpn1 FIB Table: Total number of Routes : 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination: PrefixLength : 128 NextHop Flag : UH Label Null Token...
  • Page 397 prefix-length: Specifies the prefix length of the destination IPv6 address, in the range of 0 to 128. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. 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 398: Export Route-Policy (Vpn Instance View/Ipv6 Vpn View)

    export route-policy (VPN instance view/IPv6 VPN view) Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a routing policy is referred to as an export routing policy. Use undo export route-policy to remove the application. Syntax export route-policy route-policy undo export route-policy...
  • Page 399: Filter-Policy Import (Bgp-Vpnv6 Subaddress Family View)

    Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] undo filter-policy export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ] Default MP-BGP does not filter routes to be advertised.
  • Page 400: Import Route-Policy (Vpn Instance View/Ipv6 Vpn View)

    Default Received routes are not filtered. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters acl6-number: Specifies an IPv6 ACL number, in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, a string of 1 to 19 characters.
  • Page 401: Ipv6-Family Vpnv6 (Bgp View)

    An import routing policy specified in IPv6 VPN view applies to only the IPv6 VPN. An import routing policy specified in IPv6 VPN view takes precedence over that specified in VPN instance view. If you specify an import routing policy in both IPv6 VPN view and VPN instance view, the IPv6 VPN uses the policy specified in IPv6 VPN view.
  • Page 402: Peer Enable (Bgp-Vpnv6 Subaddress Family View)

    Views VPN instance view Default command level 2: System level Examples # Enter IPv6 VPN view. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv6-family [Sysname-vpn-ipv6-vpn1] peer enable (BGP-VPNv6 subaddress family view) Use peer enable to enable a peer for an address family and enable the exchange of BGP routing information for the address family.
  • Page 403: Peer Ipv6-Prefix (Bgp-Vpnv6 Subaddress Family View)

    Syntax peer ip-address filter-policy acl6-number { export | import } undo peer ip-address filter-policy [ acl6-number ] { export | import } Default No filtering policy is applied to a peer. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters ip-address: Specifies the IP address of a peer.
  • Page 404: Peer Preferred-Value (Bgp-Vpnv6 Subaddress Family View)

    Parameters ip-address: Specifies the IP address of a peer. prefix-name: Specifies the name of an IPv6 prefix list, a string of 1 to 19 characters. export: Filters routes to be advertised to the peer. import: Filters routes received from the peer. Examples # In BGP-VPNv6 subaddress family view, apply IPv6 prefix list list1 to filter routes received from peer 1.1.1.1.
  • Page 405: Peer Reflect-Client (Bgp-Vpnv6 Subaddress Family View)

    Use undo peer public-as-only to make outbound BGP updates carry private AS numbers. Syntax peer ip-address public-as-only undo peer ip-address public-as-only Default A BGP update carries private AS numbers. Views BGP-VPNv6 subaddress family view Default command level 2: System level Parameters ip-address: Specifies the IP address of a peer.
  • Page 406: Peer Route-Policy (Bgp-Vpnv6 Subaddress Family View)

    Usage guidelines For more information about RR, see Layer 3—IP Routing Configuration Guide. The BGP view, BGP-VPNv4 subaddress family view, and BGP-VPNv6 subaddress family view support the peer reflect-client command. If you configure this command in BGP view, you configure the local device to reflect public network routes.
  • Page 407: Policy Vpn-Target (Bgp-Vpnv6 Subaddress Family View)

    policy vpn-target (BGP-VPNv6 subaddress family view) NOTE: The command applies to an inter-AS option B VPN. Use policy vpn-target to enable route target filtering for received VPNv6 routes. Use undo policy vpn-target to disable the filtering, permitting all VPNv6 routes. Syntax policy vpn-target undo policy vpn-target...
  • Page 408: Reflect Between-Clients (Bgp-Vpnv6 Subaddress Family View)

    Parameters number: Specifies the number of the preferred tunnel, in the range of 0 to 63. A smaller number means a higher priority. interface tunnel tunnel-number: Specifies a tunnel interface for the preferred tunnel. The tunnel-number argument represents the tunnel interface number. The value range for the tunnel-number argument is from 0 to 255.
  • Page 409: Reflector Cluster-Id (Bgp-Vpnv6 Subaddress Family View)

    Examples # In BGP-VPNv6 subaddress family view, disable route reflection between clients. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpnv6 [Sysname-bgp-af-vpnv6] undo reflect between-clients reflector cluster-id (BGP-VPNv6 subaddress family view) Use reflector cluster-id to specify a cluster ID for an RR. Use undo reflector cluster-id to remove the cluster ID.
  • Page 410: Refresh Bgp Vpnv6

    Views User view Default command level 1: Monitor level Parameters vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. ipv6-address: Soft resets the BGP connection with the BGP peer identified by this IPv6 address. all: Soft resets all IPv6 BGP connections in the specified VPN instance.
  • Page 411: Reset Bgp Ipv6 Vpn-Instance

    Examples # Soft reset all BGP VPNv6 connections in the inbound direction to make new configurations take effect. <Sysname> refresh bgp vpnv6 all import reset bgp ipv6 vpn-instance Use reset bgp ipv6 vpn-instance to reset IPv6 BGP connections in a VPN instance. Syntax reset bgp ipv6 vpn-instance vpn-instance-name { as-number | ipv6-address | all | external } Views...
  • Page 412: Routing-Table Limit (Vpn Instance View/Ipv6 Vpn View)

    external: Resets EBGP VPNv6 connections. internal: Resets IBGP VPNv6 connections. Examples # Reset all BGP VPNv6 connections to make new configurations take effect. <Sysname> reset bgp vpnv6 all routing-table limit (VPN instance view/IPv6 VPN view) Use routing-table limit to limit the maximum number of routes in a VPN instance, preventing too many routes from being accepted by a PE.
  • Page 413: Rr-Filter (Bgp-Vpnv6 Subaddress Family View)

    # Specify that the IPv6 VPN of VPN instance vpn3 supports up to 1000 routes, and generate an alarm message when the number of routes in the IPv6 VPN reaches 700 (70% of the maximum). <Sysname> system-view [Sysname] ip vpn-instance vpn3 [Sysname-vpn-instance-vpn3] route-distinguisher 100:3 [Sysname-vpn-instance-vpn3] ipv6-family [Sysname-vpn-ipv4-vpn3] routing-table limit 1000 70...
  • Page 414: Vpn-Target (Vpn Instance View/Ipv6 Vpn View)

    undo tnl-policy Views VPN instance view, IPv6 VPN view Default command level 2: System level Parameters tunnel-policy-name: Specifies the name of a tunneling policy for the VPN instance, a string of 1 to 19 characters. Usage guidelines If a VPN instance is not associated with any tunneling policy or the associated tunneling policy is not configured, the VPN instance selects tunnels according to the default tunneling policy.
  • Page 415 Default No route targets are configured and you must configure route targets when creating a VPN instance. Views VPN instance view, IPv6 VPN view Default command level 2: System level Parameters vpn-target&<1-8>: Adds route target extended community attributes to the import route target extended community attribute list (Import Target) or export route target extended community attribute list (Export Target).
  • Page 417: Index

    Index A B C D E F G H I L M N O P Q R S T V X display bgp vpnv4 vpn-instance routing-table,31 1 display bgp vpnv4 vpn-instance routing-table,8 accept-label,44 display bgp vpnv6 all peer,367 hop,1 12 display bgp vpnv6 all routing-table,370 advertise-label,45...
  • Page 418 display mpls ldp,51 display tunnel-info,154 display mpls ldp fec,53 display tunnel-policy,322 display mpls ldp interface,55 display vpls connection,219 display mpls ldp lsp,57 display vsi,222 display mpls ldp peer,58 display vsi remote,226 display mpls ldp remote-peer,60 domain-id,15 display mpls ldp session,61 domain-id,323 display mpls ldp session all statistics,64...
  • Page 419 hops-count,86 mpls ldp timer hello-hold,94 mpls ldp timer keepalive-hold,95 mpls ldp transport-address,96 import route-policy,38 mpls ldp vpn-instance,330 import route-policy,18 mpls lspv,97 import route-policy (VPN instance view/IPv4 VPN mpls lsr-id,97 view),327 mpls rsvp-te,159 import route-policy (VPN instance view/IPv6 VPN mpls rsvp-te authentication,160 view),383 mpls rsvp-te bfd...
  • Page 420 mpls te priority,186 peer filter-policy (BGP-VPNv6 subaddress family view),385 mpls te protection switch-mode,186 peer group (BGP-VPNv4 subaddress family mpls te protection tunnel,187 view/BGP-L2VPN address family view/VPLS address mpls te protect-switch,188 family view),338 mpls te record-route,189 peer ip-prefix (BGP-VPNv4 subaddress family mpls te reoptimization (tunnel interface view),190 view),338...
  • Page 421 prefix-label advertise,101 reset mpls statistics pw,238 pw-class,281 reset service-instance statistics,238 pw-class,234 route-distinguisher,25 pwsignal,234 route-distinguisher (MPLS L2VPN view),283 pw-tunnel-policy,282 route-distinguisher (VPN instance view),355 pw-tunnel-policy,235 route-distinguisher (VSI BGP view),239 route-tag,356 routing-table limit,41 car,236 routing-table limit,25 routing-table limit (VPN instance view/IPv4 VPN view),357 reflect between-clients (BGP-VPNv4 subaddress family routing-table limit (VPN instance view/IPv6 VPN view/BGP-L2VPN address family view/BGP-VPLS...
  • Page 422 ttl expiration pop,109 vpn-target (MPLS L2VPN view),285 propagate,1 10 vpn-target (VPN instance view/IPv4 VPN view),364 tunnel select-seq,362 vpn-target (VPN instance view/IPv6 VPN view),397 tunnel-policy,362 vpn-target (VSI BGP view),246 vsi,247 vsi-id,248 vpls-family,245 vpn-instance-capability simple,26 vpn-instance-capability simple,363 xconnect peer,286 vpn-target,27 xconnect static-peer,287 vpn-target,42 xconnect vsi,248...

This manual is also suitable for:

S5800 series

Table of Contents