H3C S9500 Series Command Manual
H3C S9500 Series Command Manual

H3C S9500 Series Command Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

H3C S9500 Series Routing Switches
Command Manual
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Manual Version: T2-08194H-20080520-C-2.03
Product Version: S9500-CMW520-R2132

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for H3C S9500 Series

  • Page 1 H3C S9500 Series Routing Switches Command Manual Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Manual Version: T2-08194H-20080520-C-2.03 Product Version: S9500-CMW520-R2132...
  • Page 2 Copyright © 2007-2008, 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 About This Manual Related Documentation In addition to this manual, each H3C S9500 Series Routing Switches documentation set includes the following: Manual Description introduces installation procedure, S9500 Series Routing commissioning, maintenance and monitoring of Switches Installation Manual the S9500 series routing switches.
  • Page 4 Part Contents includes Multicast Routing and Forwarding Commands, IGMP Snooping Commands, IGMP Commands, PIM Multicast Commands, MSDP Commands, IPv6 Multicast Routing, Volume and Forwarding Commands, MLD Snooping Commands, MLD Commands, IPv6 PIM Commands, Multicast VLAN Commands. includes MPLS Basics Commands, MPLS TE Commands, MPLS VPLS Commands, MPLS L2VPN Commands, MPLS Volume...
  • Page 5 Convention Description Optional alternative items are grouped in square brackets [ x | y | ... ] and separated by vertical bars. One or none is selected. Alternative items are grouped in braces and separated by { x | y | ... } * vertical bars.
  • Page 6 Command Manual H3C S9500 Series Routing Switches MPLS VPN Volume Organization Manual Version T2-08194H-20080530-C-2.03 Product Version S9500-CMW520-R2132 Organization The MPLS VPN Volume is organized as follows: Features (command Description manual) MPLS Basics Introduces the commands for MPLS configuration. Commands MPLS TE Introduces the commands for MPLS TE configuration.
  • Page 7: Table Of Contents

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS Basics Configuration Commands..............1-1 1.1 MPLS Basic Configuration Commands ................1-1 1.1.1 debugging mpls ldp ....................1-1 1.1.2 debugging mpls lfib ....................1-8 1.1.3 debugging mpls lfib slot drv..................
  • Page 8 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Table of Contents 1.1.37 mpls ldp remote-peer ..................1-62 1.1.38 mpls ldp timer hello-hold ..................1-63 1.1.39 mpls ldp timer keepalive-hold................1-64 1.1.40 mpls ldp transport-address.................. 1-65 1.1.41 mpls lsr-id ......................1-66 1.1.42 mtu-signalling ......................
  • Page 9: Chapter 1 Mpls Basics Configuration Commands

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Chapter 1 MPLS Basics Configuration Commands Note: Except for the LDP GR feature, all commands in MPLS LDP view are available in MPLS LDP VPN instance view. The difference is that the commands serves the public network LDP in MPLS LDP view but serves the MPLS LDP VPN instance in MPLS LDP VPN instance view.
  • Page 10 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands pdu: Specifies PDU packet event debugging. session: Specifies session event debugging. socket: Specifies socket event debugging. timer: Specifies timer event debugging. interface-type interface-number: Specifies an LDP-enabled interface by its type and number.
  • Page 11 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands // The downstream state machine processes upstream events. *0.16838403 PE1 LDP/8/Advertisement: LDP send LSP Message (Event: 3) to LSPM for LSP: 140.2.2.2/32 -----/3 140.12.1.2...
  • Page 12 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands // Update the information of an outgoing label. *0.16868001 PE1 LDP/8/Advertisement: Add Info Out_If: 3145744, NHAddr: 140.12.1.2. *0.16868001 PE1 LDP/8/Advertisement: Vlan-interface 12 FEC: 140.2.2.2/0xffffffff, DU DS state machine process, DS Peer 140.2.2.2:0, DSCB's state: Idle , Event: LDP Mapping // The downstream state machine processes the LDP Mapping event.
  • Page 13 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands *0.19202695 PE1 LDP/8/Session: Sent keep alive message to LSR: 140.3.3.3. // Send a Keepalive message. #Dec 22 15:32:40:498 2005 PE1 LDP/5/SessionDown: Session(140.2.2.2:0. public Instance)'s state change to Down // Restart the opposite end, and print a Trap message on Session DOWN.
  • Page 14 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands *0.19215421 PE1 LDP/8/Session: Vlan-interface 12 Sent keep alive message to LSR: 140.2.2.2. // Send a Keepalive message. *0.19215421 PE1 LDP/8/Session: Vlan-interface 12 Session(140.2.2.2)'s state changed from Initialised to Open received.
  • Page 15 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 04 01 00 04 8c 03 03 03 04 02 00 04 00 00 00 00 The message type: Hello Message. // Receive a Hello message.
  • Page 16: Debugging Mpls Lfib

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 02 01 00 04 00 00 17 ad The message type: Keepalive Message. // Send a Keepalive message. 1.1.2 debugging mpls lfib Syntax debugging mpls lfib [ code | sync ]...
  • Page 17: Debugging Mpls Lfib Slot Drv

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Table 1-1 debugging mpls lfib code command output description Field Description SourceId Entry ID OperType Operation type Size Number of valid bytes in the entry...
  • Page 18 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands View User view Default Level 2: System level Parameters lfib: Enables debugging for MFW. slot slot-number: Enables debugging for the specified slot. drv: Enables debugging for distribution to drive.
  • Page 19: Debugging Mpls Lspc

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.4 debugging mpls lspc Syntax debugging mpls lspc { all | error | event | packet } undo debugging mpls lspc { all | error | event | packet }...
  • Page 20: Debugging Mpls Management

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.5 debugging mpls management Syntax debugging mpls management { agent | all | event | interface | policy | process| tunnel } undo debugging mpls management { agent | all | event | interface | policy |...
  • Page 21 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands <PE1> debugging mpls management agent *0.21301372 PE1 LSPAGENT/8/Event:A Message from Main Board Lspagt Queue has been processed Message Source is:LSPAGT_ENTITY_MPLS_LSPM; OperType is:LSPM_LSPAGT_DELETE_ILM // The Agent deletes an ILM entry.
  • Page 22 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands ulBandWidth : 4294967295 ulOperType : LSPM_LSPAGT_DELETE_NHLFE ulRefToken : 0 ulSlotNumInToken : 0 ------------------------------- End of Debug Info-------------------------- // Content of the deleted entry. *0.21301372 PE1 LSPAGENT/8/Event:...
  • Page 23 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands ulFRRKeyword : 0 ulRouteType : LSPM_IGP ulOutgoingToken : 0 ulDownloadFlag : 1 Information from product : ulDrvContext[0] : 0 ulDrvContext[1] : 0 ulMplsTeEnabled : 0...
  • Page 24 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands ulOutAtIndex : 1 ulVrfIndex : 0 ulDestAddr : 140.2.2.2 ulDestMask : 255.255.255.255 ulSlotNumber : 0 *0.21331182 PE1 LSPAGENT/8/Event: ulNextHop : 140.12.1.2 ulTunnelIFIndex : 0...
  • Page 25 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands *0.21331197 PE1 LSPAGENT/8/Event: ----------------Begin to Print Debug Info,Current Slot ID:0 ---------------- ulLspIndex : 9258 ulLspToken : 557242 enLabelOperation : LSPM_LABEL_PUSH ulInLabel : 4294967295 ulInIfIndex :...
  • Page 26 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands ------------------------------- End of Debug Info-------------------------- // Entry content. *0.21331197 PE1 LSPAGENT/8/Event: Agent-MFW: Return value Call MPLSFW_AgentSendMsgForLspm function,return VOS_OK! // Add the entry successfully. # Enable MPLS interface debugging by executing the debugging mpls management interface command.
  • Page 27 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands // Restart the opposite end, and the Session is down. *0.92036640 PE1 LSPM/8/LSPM POLICY: LSP deleted, VRF:0 Destination: 0x8c010101 Destination mask: 0xffffffff Nexthop: 0x7f000001 IfIndex:0x150000 LSPIndex:0x2443.
  • Page 28 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands // Process by calling the signaling protocol. *0.92041801 PE1 LSPM/8/LSPM POLICY: Route added successfully // Add a route successfully. *0.92042024 PE1 LSPM/8/LSPM POLICY: LSP added, VRF:0 Destination: 0x8c010101 Destination mask: 0xffffffff Nexthop:0x7f000001 IfIndex:0x150000 LSPIndex:0x2446.
  • Page 29 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands // Receive a signaling message. *0.25271844 PE1 LSPM/8/LSPM PROCESS: Received Signal DELETE message, VRF Index: 0 destination: 0x8c010101 destination mask: 0xffffffff Nexthop: 0x7f000001 OutIfIndex:...
  • Page 30 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands *0.25271860 PE1 LSPM/8/LSPM PROCESS: Notify to TNLM SUCCESS. Event: 2, LspIndex: 9267, 0x8c030303/0x20/token557248. *0.25271860 PE1 LSPM/8/LSPM PROCESS: Free Token success: 557248 // For details, refer to the above flow.
  • Page 31 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Add route success, VRF:0 Destination: 0x8c010101 Destination mask: 0xffffffff Nexthop: 0x7f000001 IfIndex:0x150000 . *0.25275573 PE1 LSPM/8/LSPM PROCESS: Rcv create lsp msg from signaling protocol 0x8c010101/0xffffffff In If - 0x300010 ! *0.25275812 PE1 LSPM/8/LSPM PROCESS:...
  • Page 32: Debugging Mpls Packet

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Begin physic check,ulIfIndex:3407872 *0.94564310 PE1 LSPM/8/LSPM TUNNEL: TE tunnel get mode data ok when check physic,ulTunnelIfIndex:3407872 *0.94564310 PE1 LSPM/8/LSPM TUNNEL: End physic check,the tunnel can't up // A failure message is returned when the interface is checked.
  • Page 33 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands l2vpn-in-interface: Outputs debugging information about the MPLS packets sent/received by the L2VPN-enabled interface. interface-type interface-number: Specifies an interface by its type and number. Description Use the debugging mpls packet command to enable debugging for forwarded MPLS packets.
  • Page 34: Display Mpls Interface

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands PKTTYPE_IP :Sending to Slot 6, Dest=15.40.1.1, InnerLabel=1024, Vpn=1, Token=9371650 // Send the packet (it is destined to 15.40.1.1 and has an inner label 1024) to the LPU.
  • Page 35 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Default Level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. verbose: Displays detailed information. Description Use the display mpls interface command to display information about a specified or all interfaces with MPLS enabled.
  • Page 36: Display Mpls Label

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.8 display mpls label Syntax display mpls label { label-value1 [ to label-value2 ] | all } View Any view Default Level 1: Monitor level...
  • Page 37: Display Mpls Ldp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.9 display mpls ldp Syntax display mpls ldp [ all [ verbose ] ] [ | { begin | exclude | include } regular-expression ]...
  • Page 38: Display Mpls Ldp Cr-Lsp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Loop Detection : Off DU Re-advertise Timer : 30 Sec DU Re-advertise Flag : On DU Explicit Request : Off Request Retry Flag : On...
  • Page 39: Display Mpls Ldp Interface

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 2.2.2.9:0 1.1.1.9/32 1027/NULL Vlan12/------- ---------------------------------------------------------------- The Total LDP CR-LSP(s): 2 1.1.11 display mpls ldp interface Syntax display mpls ldp interface [ all ] [ [ vpn-instance vpn-instance-name ] [ interface-type...
  • Page 40 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands ------------------------------------------------------------------- Vlan12 Active 172.17.1.1 583/1017 Vlan14 Active 172.17.1.1 578/1015 Vlan16 Active 172.17.1.1 531/444 ------------------------------------------------------------------- LAM: Label Advertisement Mode IF-Name: Interface name # Display detailed information about all interfaces.
  • Page 41: Display Mpls Ldp Isp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.12 display mpls ldp Isp Syntax display mpls ldp lsp [ vpn-instance vpn-instance-name [ dest-addr mask-length ] ] [ | { begin | exclude | include } regular-expression ]...
  • Page 42: Display Mpls Ldp Peer

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 172.17.0.0/16 3/NULL 172.17.1.1 Vlan16/Vlan14 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 a Label means the USCB or DSCB is stale 1.1.13 display mpls ldp peer...
  • Page 43 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands LDP Peer Information in Public network Total number of peers: 3 -------------------------------------------------------------- Peer-ID Transport-Address Discovery-Source -------------------------------------------------------------- 172.17.1.2:0 172.17.1.2 Vlan-interface12 168.1.1.1:0 168.1.1.1 Vlan-interface12 100.10.1.1:0 100.10.1.1...
  • Page 44: Display Mpls Ldp Remote-Peer

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.14 display mpls ldp remote-peer Syntax display mpls ldp remote-peer [ remote-name remote-peer-name ] [ | { begin | exclude | include } regular-expression ]...
  • Page 45: Display Mpls Ldp Session

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.15 display mpls ldp session Syntax display mpls ldp session [ vpn-instance vpn-instance-name [ verbose ] ] [ peer-id ] [ | { begin | exclude | include } regular-expression ]...
  • Page 46 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.1.1:0 Operational Active 4582/4582 -------------------------------------------------------------------------- LAM : Label Advertisement Mode : Fault Tolerance # Display detailed information about a session between peers. <Sysname> display mpls ldp session verbose...
  • Page 47: Display Mpls Ldp Vpn-Instance

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands -------------------------------------------------------------------------- 1.1.16 display mpls ldp vpn-instance Syntax display mpls ldp vpn-instance vpn-instance-name [ | { begin | exclude | include } regular-expression ] View...
  • Page 48: Display Mpls Lsp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Loop Detection : Off DU Re-advertise Timer : 30 Sec DU Re-advertise Flag : On DU Explicit Request : Off Request Retry Flag : On...
  • Page 49 Related commands: display mpls lsp, display mpls statistics lsp, display mpls static-lsp. Note: This command supports these interface types: POS interface, tunnel interface, and VLAN interface. The S9500 series does not support CR-LDP. Examples # Display information about all LSPs. <Sysname> display mpls lsp -----------------------------------------------------------------------...
  • Page 50 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Table 1-6 display mpls lsp command output description Field Description Forwarding equivalence class, in either of the following two forms: IP address/mask: Assigning labels based on destination addresses.
  • Page 51: Display Mpls Lsp Statistics

    Default Level 1: Monitor level Parameters None Description Use the display mpls lsp statistics command to display LSP statistics. Note: The S9500 series does not support CR-LDP. Examples # Display LSP statistics. <Sysname> display mpls lsp statistics Lsp Type Total Ingress...
  • Page 52: Display Mpls Route-State

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.19 display mpls route-state Syntax display mpls route-state [ vpn-instance vpn-instance-name ] [ dest-addr mask-length ] View Any view Default Level 1: Monitor level Parameters vpn-instance vpn-instance-name: Name of the VPN instance.
  • Page 53: Display Mpls Statistics Interface

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Default Level 1: Monitor level Parameters lsp-name lsp-name: Name for the LSP. exclude: Excludes the specified FEC. include: Includes the specified FEC. dest-addr: Destination IP address of the FEC.
  • Page 54 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands View Any view Default Level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. all: Displays MPLS statistics for all interfaces.
  • Page 55: Display Mpls Statistics Lsp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 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-interface14...
  • Page 56 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Parameters index: Index number of the LSP. all: Specifies all LSPs. lsp-name: Name of the LSP. Description Use the display mpls statistics lsp command to display MPLS statistics for a specified or all LSPs.
  • Page 57: Du-Readvertise

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands OutSegment Octets Packets Errors Down Start Time : 2006/05/20 15:52:30 End Time : 2006/05/20 15:52:30 Note: For an ingress, no statistics is collected in the incoming direction and the start time and end time in the InSegment part of the command output are both 0.
  • Page 58: Du-Readvertise Timer

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands [Sysname-mpls-ldp] du-readvertise # Enable DU mode label readvertisement for LDP instance named vpn1. <Sysname> system-view [Sysname] mpls ldp vpn-instance vpn1 [Sysname-mpls-ldp-vpn-instance-vpn1] du-readvertise 1.1.24 du-readvertise timer...
  • Page 59: Hops-Count

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.25 hops-count Syntax hops-count hop-number undo hops-count View MPLS LDP view/MPLS LDP VPN instance view Default Level 1: Monitor level Parameters hop-number: Hop count.
  • Page 60 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands undo label advertise View MPLS view Default Level 2: System level Parameters explicit-null: Specifies the egress to support PHP and distribute to the penultimate hop an explicit null label, whose value is 0.
  • Page 61: Label-Distribution

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.27 label-distribution Syntax label-distribution { independent | ordered } undo label-distribution View MPLS LDP view/MPLS LDP VPN instance view Default Level 1: Monitor level Parameters independent: Works in independent mode, advertising label bindings anytime.
  • Page 62: Label-Retention

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.28 label-retention Syntax label-retention { conservative | liberal } undo label-retention View MPLS LDP VPN instance view/MPLS LDP view Default Level 1: Monitor level...
  • Page 63: Loop-Detect

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.29 loop-detect Syntax loop-detect undo loop-detect View MPLS LDP view/MPLS LDP VPN instance view Default Level 1: Monitor level Parameters None Description Use the loop-detect command to enable loop detection.
  • Page 64: Lsr-Id

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Default Level 1: Monitor level Parameters all: Specifies all FECs, that is, all static routes and IGP routes. ip-prefix prefix-name: Name of the IP address prefix list.
  • Page 65: Md5-Password

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Default Level 1: Monitor level Parameters lsr-id: LDP LSR ID. Description Use the lsr-id command to configure an LDP LSR ID. Use the undo lsr-id command to remove a configured LDP LSR ID and all LDP sessions.
  • Page 66: Mpls

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands a string of 1 to 16 characters in plain text. If you specify the cipher keyword, it can be either a string of 1 to 16 characters in plain text or a string of 24 characters in cipher text.
  • Page 67: Mpls Ldp (System View)

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the mpls command in system view to enable MPLS for the current node and enter MPLS view. Use the undo mpls command in system view to disable MPLS for the current node.
  • Page 68: Mpls Ldp (Interface View)

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the mpls ldp command to enable LDP for the current node and enter MPLS LDP view. Use the undo mpls ldp command to disable LDP for the current node and remove all...
  • Page 69: Mpls Ldp Advertisement

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the mpls ldp command to enable LDP on an interface. Use the undo mpls ldp command to disable LDP on an interface.
  • Page 70: Mpls Ldp Remote-Peer

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Parameters dod: Works in downstream on demand (DoD) mode, advertising a label to FEC binding in response to the explicit request of an upstream LSR.
  • Page 71: Mpls Ldp Timer Hello-Hold

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the mpls ldp remote-peer command to create a remote peer entity and enter MPLS LDP remote peer view. Use the undo mpls ldp remote-peer command to remove a remote peer entity.
  • Page 72: Mpls Ldp Timer Keepalive-Hold

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Related commands: mpls ldp (system view), mpls ldp (interface view). Examples # Set the link Hello timer for local sessions to 100 seconds on interface VLAN-interface <Sysname>...
  • Page 73: Mpls Ldp Transport-Address

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Caution: If more than one link with LDP enabled exists between two LSRs when, for example, the two LSRs are connected through multiple interfaces, the Keepalive timers of all the links must be identical for sessions to be stable.
  • Page 74: Mpls Lsr-Id

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands transport address. This keyword is available only in interface view. Description Use the mpls ldp transport-address command to configure the LDP transport addresses. Use the undo mpls ldp transport-address command to restore the defaults.
  • Page 75: Mtu-Signalling

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the mpls lsr-id command to configure the ID of an LSR. Use the undo mpls lsr-id command to remove the ID of an LSR.
  • Page 76: Path-Vectors

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands [Sysname] mpls ldp [Sysname-mpls-ldp] mtu-signalling 1.1.43 path-vectors Syntax path-vectors pv-number undo path-vectors View MPLS LDP VPN instance view/MPLS LDP view Default Level 1: Monitor level Parameters pv-number: Path vector maximum hop count32.
  • Page 77: Ping Lsp

    -r reply-mode: Specifies the reply mode in response to an echo request message. The S9500 series supports only two of the four reply modes in RFC 4397. A value of 1 means “Do not response”, while a value of 2 means “Respond using a UDP packet”.
  • Page 78: Remote-Ip

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms Reply from 100.2.3.1: bytes=100 Sequence=3 time = 62 ms...
  • Page 79: Reset Mpls Ldp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.46 reset mpls ldp Syntax reset mpls ldp [ all | [ vpn-instance vpn-instance-name ] [ peer peer-id ] ] View User view Default Level...
  • Page 80: Reset Mpls Statistics Interface

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1.1.47 reset mpls statistics interface Syntax reset mpls statistics interface { interface-type interface-number | all } View User view Default Level 2: System level Parameters interface-type interface-number: Specifies an interface by its type and number.
  • Page 81: Snmp-Agent Trap Enable Mpls

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the reset mpls statistics lsp command to clear MPLS statistics for a specified or all LSPs. Related commands: display mpls statistics lsp.
  • Page 82: Static-Lsp Ingress

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands View System view Default Level 2: System level Parameters lsp-name: Name for the LSP. interface-type interface-number: Specifies an interface by its type and number.
  • Page 83: Static-Lsp Transit

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands dest-addr: Destination IP address of the LSP. mask: Mask of the destination IP address. mask-length: Length of the mask for the destination address. next-hop-addr: Address of the next hop.
  • Page 84: Statistics Interval

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Default Level 2: System level Parameters lsp-name: Name for the LSP. interface-type interface-number: Specifies an incoming interface by its type and number. in-label: Incoming label value.
  • Page 85: Tracert Lsp

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands View MPLS view Default Level 2: System level Parameters interval-time: Statistics Interval. Description Use the statistics interval command to set the statistics interval, that is, the interval for collecting statistics.
  • Page 86: Ttl Expiration

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands -r reply-mode: Specifies the reply mode in response to an echo request message. The reply-mode argument can be 1 or 2. A value of 1 means “Do not response”, while a value of 2 means “Respond using a UDP packet”.
  • Page 87: Ttl Propagate

    Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Description Use the ttl expiration pop command to specify that the ICMP response message be transported back along the IP route when the TTL of an MPLS packet expires.
  • Page 88 Command Manual – MPLS Basics H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands Related commands: ttl expiration. Examples # Enable MPLS IP TTL propagation for VPN packets. <Sysname> system-view [Sysname] mpls [Sysname-mpls] ttl propagate vpn 1-80...
  • Page 89 Command Manual – MPLS TE H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS TE Configuration Commands................1-1 1.1 MPLS TE Configuration Commands.................. 1-1 1.1.1 add hop ........................1-1 1.1.2 debugging isis traffic-eng ..................1-2 1.1.3 debugging mpls rsvp-te...................
  • Page 90 Command Manual – MPLS TE H3C S9500 Series Routing Switches Table of Contents 1.1.37 modify hop......................1-60 1.1.38 mpls rsvp-te......................1-61 1.1.39 mpls rsvp-te authentication ................. 1-62 1.1.40 mpls rsvp-te blockade-multiplier................1-63 1.1.41 mpls rsvp-te hello ....................1-64 1.1.42 mpls rsvp-te hello-lost ..................1-65 1.1.43 mpls rsvp-te keep-multiplier ................
  • Page 91 Command Manual – MPLS TE H3C S9500 Series Routing Switches Table of Contents 1.1.79 mpls te tie-breaking..................... 1-95 1.1.80 mpls te timer fast-reroute ..................1-96 1.1.81 mpls te timer retry ....................1-97 1.1.82 mpls te vpn-binding ..................... 1-97 1.1.83 mpls-te......................... 1-98 1.1.84 next hop.......................
  • Page 92: Chapter 1 Mpls Te Configuration Commands

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Chapter 1 MPLS TE Configuration Commands 1.1 MPLS TE Configuration Commands 1.1.1 add hop Syntax add hop ip-address1 [ include [ loose | strict ] | exclude ] { after | before }...
  • Page 93: Debugging Isis Traffic-Eng

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Insert 3.3.29.3 behind 3.3.10.5 on the explicit path PL and exclude this IP address in path calculation. <Sysname> system-view [Sysname] explicit-path path1 [Sysname-explicit-path-path1] add hop 3.3.29.3 exclude after 3.3.10.5...
  • Page 94: Debugging Mpls Rsvp-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.3 debugging mpls rsvp-te Syntax debugging mpls rsvp-te { all | authentication | bundle | encdec | error | hello | hsb | main | msg-hex | path | perr | ptear | rconf | rerr | resv | rtear | socket | srefresh |...
  • Page 95: Debugging Mpls Te Cspf

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands traffic-control: Enables traffic control debugging. tunnel-id: Enables debugging for a tunnel. tunnel-id: Tunnel ID. Description Use the debugging mpls rsvp-te command to enable MPLS RSVP-TE debugging.
  • Page 96: Debugging Mpls Te Management

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the debugging mpls te cspf command to enable CSPF debugging. Use the undo debugging mpls te cspf command to disable CSPF debugging.
  • Page 97: Debugging Ospf Mpls-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Enable MPLS TE event debugging. <Sysname> debugging mpls te management events # Disable debugging for all MPLS TE messages. <Sysname> undo debugging mpls te management all 1.1.6 debugging ospf mpls-te...
  • Page 98: Display Explicit-Path

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 2: System level Parameters ip-address: IP address of a node along the explicit path, in dotted decimal notation. Description Use the delete hop command to remove a specified node from the explicit path.
  • Page 99: Display Isis Traffic-Eng Advertisements

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 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 1.1.1.40...
  • Page 100 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands local: Displays local TE information. process-id: Specifies an IS-IS process ID. vpn-instance vpn-instance-name: Specifies a VPN instance. For the default VPN instance, you do not need to configure this keyword and argument combination.
  • Page 101 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Interface IP Address: 10.1.1.1 Physical BW 12500 Bytes/sec Reservable BW: 6250 Bytes/sec Unreserved BW for Class Type 0: BW Unresrv[0]: 6250 Bytes/sec BW Unresrv[1]:...
  • Page 102: Display Isis Traffic-Eng Link

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Table 1-2 Description on the fields of display isis traffic-eng advertisements Field Description LSPID LSP ID LSP Seq Num LSP sequence number LSP Checksum...
  • Page 103 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands View Any view Default Level 1: Monitor level Parameters level-1: Displays the TE information of IS-IS Level-1 devices. level-1-2: Displays the TE information of IS-IS Level-1-2 devices.
  • Page 104: Display Isis Traffic-Eng Network

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Table 1-3 Description on the fields of the display mpls lsp statistics command Field Description Total Number of TE Links in Level-2 Total number of TE links in the Level-2 area...
  • Page 105 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands --------------------------- DIS Router ID : 89.1.1.1 DIS's Ip Address : 86.1.1.1 Status In CSPF : ACTIVE Attached Router Count List of Attached Routers RouterId : 89.1.1.1 Nbr : 1111.1111.1111.00...
  • Page 106: Display Isis Traffic-Eng Statistics

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.12 display isis traffic-eng statistics Syntax display isis traffic-eng statistics [ process-id | vpn-instance vpn-instance-name ] View Any view Default Level 1: Monitor level Parameters process-id: IS-IS process ID.
  • Page 107: Display Mpls Rsvp-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description IS-IS Level-2 Traffic Engineering Status TE state of Level-2 device IS-IS Router ID IS-IS router ID 1.1.13 display mpls rsvp-te Syntax display mpls rsvp-te [ interface [ interface-type interface-number ] [ | { begin |...
  • Page 108 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Path and Resv message refresh interval: 30 sec Path and Resv message refresh retries count: 3 Blockade Multiplier: 4 Table 1-6 Description on the fields of the display mpls rsvp-te command...
  • Page 109: Display Mpls Rsvp-Te Established

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description Srefresh interval Summary refresh interval (in seconds) Authentication State of authentication: enabled or disabled Reliability Whether the reliability feature is configured: yes or no...
  • Page 110: Display Mpls Rsvp-Te Peer

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 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...
  • Page 111 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands exclude: Displays information that excludes a defined regular expression. regular-expression: Regular expression, a string without spaces. Description Use the display mpls rsvp-te peer command to display information about RSVP-TE neighbors on the specified or all interfaces.
  • Page 112: Display Mpls Rsvp-Te Psb-Content

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.16 display mpls rsvp-te psb-content Syntax display mpls rsvp-te psb-content ingress-lsr-id lspid tunnel-id egress-lsr-id [ | { begin | include | exclude } regular-expression ]...
  • Page 113 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands SessionFlag: SE Style desired ERO Information- L-Type ERO-IPAddr ERO-PrefixLen ERHOP_STRICT 101.101.101.2 RRO Information- RRO-CType: IPV4 RRO-IPAddress: 101.101.101.1 RRO-IPPrefixLen: 32 SenderTspec Information- Token bucket rate: 0.00 Token bucket size: 0.00...
  • Page 114: Display Mpls Rsvp-Te Request

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description RRO-IP Address IP address of recorded route in the format of X.X.X.X RRO-IPPrefixLen IP prefix length of recorded route Sender Tspec Information...
  • Page 115: Display Mpls Rsvp-Te Reservation

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Display information about RSVP-TE requests on all interfaces. <Sysname> display mpls rsvp-te request Interface Vlan-interface 12: Tunnel Dest: 2.2.2.2 Ingress LSR ID: 3.3.3.3...
  • Page 116 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters output by regular expression. begin: Displays information beginning with a defined regular expression.
  • Page 117: Display Mpls Rsvp-Te Rsb-Content

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description LSP ID LSP ID Session Tunnel ID Session Tunnel ID Upstream Label Upstream label Token Bucket rate Token bucket rate, a traffic parameter...
  • Page 118 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <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 Tunnel ExtID: 19.19.19.19 Next Hop: 101.101.101.2...
  • Page 119: Display Mpls Rsvp-Te Sender

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description Ingress LSR ID Ingress LSR ID, in the format of X.X.X.X LSP ID LSP ID Out Label Outgoing label RRO Information Information about route recording...
  • Page 120 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands |: Filters output by regular expression. begin: Displays information beginning with a defined regular expression. include: Displays information that includes a defined regular expression.
  • Page 121: Display Mpls Rsvp-Te Statistics

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description LSP ID LSP ID Tunnel ID Tunnel ID Session Name: Session name Previous Hop Address Previous hop address, in the format of X.X.X.X...
  • Page 122 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands LSP Count: 1 Total Statistics Information: PSB CleanupTimeOutCounter: 0 RSB CleanupTimeOutCounter: 0 SendPacketCounter: 55 RecPacketCounter: 54 SendPathCounter: 5 RecPathCounter: 0 SendResvCounter: 0 RecResvCounter: 4...
  • Page 123 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description RSB Count Number of RSBs RFSB Count Number of RFSBs TCSB Count Number of TCSBs LSP Count Number of LSPs Number of PSB timeouts...
  • Page 124: Display Mpls Static-Cr-Lsp

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description RecErrMsgCounter Number of received errors RecReqFaultCounter Number of request failures 1.1.22 display mpls static-cr-lsp Syntax display mpls static-cr-lsp [ lsp-name lsp-name ] [ { exclude | include } ip-address...
  • Page 125 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Table 1-16 Description on the fields of the display mpls static-cr-lsp command Field Description Name Static CR-LSP name Forwarding equivalence class (FEC) associated with...
  • Page 126: Display Mpls Te Cspf Tedb

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.23 display mpls te cspf tedb Syntax display mpls te cspf tedb { all | area area-id | interface ip-address | network-lsa | node [ mpls-lsr-id ] } [ | { begin | include | exclude } regular-expression ]...
  • Page 127 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 3.1.1.1 2.1.1.2 3.1.1.2 3.0.0.4 OSPF 3.1.1.1 4.1.1.1 3.1.1.2 4.1.1.2 3.0.0.5 OSPF 4.1.1.1 5.1.1.1 4.1.1.2 5.1.1.2 3.0.0.6 OSPF 5.1.1.1 6.1.1.1 5.1.1.2 6.1.1.2 3.0.0.9 OSPF 6.1.1.1 7.1.1.1...
  • Page 128 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 2.1.1.1 ISIS Level-1,2 3.1.1.1 OSPF Table 1-19 Description on the fields of the display mpls te cspf tedb all command Field Description Number MPLS LSR-Id...
  • Page 129 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description DR MPLS LSR-Id MPLS LSR ID of the DR DR-Address Interface address of the DR Neighbor MPLS LSR ID of the neighbor # Display the TEDB information of all nodes.
  • Page 130 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 2.0.0.47, 2.0.0.32, 2.0.0.33 Neighbor MPLS LSR-Id: 1.1.1.2 IGP Area: Level-1 Link Type: point-to-point Link Status: Active IGP Metric: 10 TE Metric: 10 Color: 0x11...
  • Page 131 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description Maximum Reservable Maximum reservable bandwidth of link Bandwidth Bandwidth Constraints Bandwidth constraints BW Unreserved for Class Unreserved bandwidth at the CT0 level...
  • Page 132: Display Mpls Te Link-Administration Admission-Control

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description MPLS-TE Link Count Number of MPLS TE links Specific link, with the bracketed x indicating Link[x] the link number Interface IP Address...
  • Page 133: Display Mpls Te Link-Administration Bandwidth-Allocation

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands interfaces if no interface is specified. Examples # Display information about the CR-LSPs carried on the links of all interfaces. <Sysname> display mpls te link-administration admission-control...
  • Page 134 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> display mpls te link-administration bandwidth-allocation Link ID: Vlan-interface12 Physical Bandwidth Type0 0 kbits/sec Physical Bandwidth Type1 0 kbits/sec Reservable Bandwidth Type0 : 0 kbits/sec...
  • Page 135: Display Mpls Te Tunnel

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description PhysicalUpdown Link Status Physical layer link status TE CLASS TE class CLASS TYPE Service class type PRIORITY Priority BW RESERVED Reserved bandwidth...
  • Page 136 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands outgoing-interface: Displays all tunnels that use the interface identified by the interface-type interface-number arguments as the outgoing interface. interface: Displays all tunnels that use the interface identified by the interface-type interface-number arguments as the incoming or outgoing interface.
  • Page 137: Display Mpls Te Tunnel Path

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Sign-Protocol : RSVP TE Resv Style : SE IncludeAnyAff : 0x0 ExcludeAllAff : 0x0 IncludeAllAff : 0x0 Created Time : 2004/10/18 16:05:17 Table 1-26 Description on the fields of the display mpls te tunnel verbose command...
  • Page 138: Display Mpls Te Tunnel Statistics

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 1: Monitor level Parameters tunnel-name tunnel-name: Tunnel name. lsr-id: Ingress LSR ID, in dotted decimal notation. lsp-id: LSP ID. Description Use the display mpls te tunnel path command to display the path or paths that the specified or all MPLS TE tunnels traverse on this node.
  • Page 139: Display Mpls Te Tunnel-Interface

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 1: Monitor level Parameters None Description Use the display mpls te tunnel statistics command to display statistics about MPLS TE tunnels. Examples # Display statistics about MPLS TE tunnels.
  • Page 140 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 1: Monitor level Parameters number: Tunnel interface number, in the format slot number/sub-slot number/Tunnel interface number. Description Use the display mpls te tunnel-interface command to display information about MPLS TE tunnel interfaces on this node.
  • Page 141 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Interfaces Protected: VPN Bind Type NONE VPN Bind Value Car Policy Disabled Table 1-29 Description on the fields of display mpls te tunnel-interface command...
  • Page 142: Display Ospf Mpls-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description Retry Limit Maximum number of setup retries Retry Interval Retry interval Reopt State of the reoptimization function Reopt Freq Reoptimization interval Back Up Type...
  • Page 143 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the display ospf mpls-te command to display TE LSAs in the link state database (LSDB). Example # Display all TE LSAs in the LSDB.
  • Page 144 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Unreserved BW [ 4] =625000 bytes/sec Unreserved BW [ 5] =625000 bytes/sec Unreserved BW [ 6] =625000 bytes/sec Unreserved BW [ 7] =625000 bytes/sec...
  • Page 145 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Table 1-30 Description on the fields of the display ospf mpls-te command Field Description Area ID TE enabled OSPF area ID. LSA type which must be Opd-Area, carried in the...
  • Page 146: Display Ospf Traffic-Adjustment

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Field Description MPLS TE Router ID Router ID of the MPLS TE device 1.1.31 display ospf traffic-adjustment Syntax display ospf [ process-id ] traffic-adjustment...
  • Page 147: Display Tunnel-Info

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Table 1-31 Description on the fields of the display ospf traffic-adjustment command Field Description Interface Tunnel interface address and name Approach to automatic route advertisement: IGP...
  • Page 148: Enable Traffic-Adjustment

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands # Display statistics about tunnels. <Sysname> display tunnel-info statistics Tunnel Allocation Method : GLOBAL Avail Tunnel ID Value : 65535 Total Tunnel ID Allocated :...
  • Page 149: Enable Traffic-Adjustment Advertise

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the enable traffic-adjustment command to enable IGP shortcut. Use the undo enable traffic-adjustment command to disable IGP shortcut. By default, IGP shortcut is disabled.
  • Page 150: Explicit-Path

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] enable traffic-adjustment advertise 1.1.35 explicit-path Syntax explicit-path pathname [ enable | disable ] undo explicit-path pathname View System view...
  • Page 151: Modify Hop

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Parameters ip-address: Specifies the IP address of a node on the explicit path. If no IP address is specified, information about all the nodes on the explicit path is displayed.
  • Page 152: Mpls Rsvp-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the modify hop command to change the IP address of a node on the explicit path. By default, the changed IP address is included on the explicit path and its next hop is a strict node.
  • Page 153: Mpls Rsvp-Te Authentication

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands [Sysname] mpls Mpls starting, please wait... OK! [Sysname-mpls] mpls te Mpls te starting, please wait... OK! [Sysname-mpls] mpls rsvp-te # Enable RSVP-TE on interface VLAN-interface 12.
  • Page 154: Mpls Rsvp-Te Blockade-Multiplier

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands share the same authentication key. This hop-by-hop authentication of RSVP is to prevent fake resource reservation requests from occupying network resources. Note: RSVP-TE supports only authentication on a direct link of the device.
  • Page 155: Mpls Rsvp-Te Hello

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Blockade_Expired_Time = Kb × refresh-time Where, Kb is the blockade multiplier, and refresh-time is the refresh interval for reservation state. Upon expiration of the blockade timeout time, the blockade state on the node is removed.
  • Page 156: Mpls Rsvp-Te Hello-Lost

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello # Enable RSVP hello extension on VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls rsvp-te hello 1.1.42 mpls rsvp-te hello-lost...
  • Page 157: Mpls Rsvp-Te Keep-Multiplier

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] mpls [Sysname-mpls] mpls rsvp-te hello-lost 5 1.1.43 mpls rsvp-te keep-multiplier Syntax mpls rsvp-te keep-multiplier number undo mpls rsvp-te keep-multiplier View MPLS view...
  • Page 158: Mpls Rsvp-Te Reliability

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.44 mpls rsvp-te reliability Syntax mpls rsvp-te reliability undo mpls rsvp-te reliability View Interface view Default Level 2: System level Parameters None Description Use the mpls rsvp-te reliability command to enable the reliability mechanism of RSVP-TE, that is, the Message_ID extension mechanism.
  • Page 159: Mpls Rsvp-Te Srefresh

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the mpls rsvp-te resvconfirm command to enable reservation confirmation on current node. Use the undo mpls rsvp-te resvconfirm command to disable reservation confirmation.
  • Page 160: Mpls Rsvp-Te Timer Hello

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls rsvp-te srefresh 1.1.47 mpls rsvp-te timer hello Syntax mpls rsvp-te timer hello timevalue undo mpls rsvp-te timer hello...
  • Page 161: Mpls Rsvp-Te Timer Retransmission

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 2: System level Parameters timevalue: Refresh interval, in seconds. Description Use the mpls rsvp-te timer refresh command to configure the path/reservation state refresh interval.
  • Page 162: Mpls Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the mpls rsvp-te timer retransmission command to enable RSVP message retransmission. Use the undo mpls rsvp-te timer retransmission command to restore the default.
  • Page 163: Mpls Te Affinity Property

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands By default, MPLS TE is disabled. When performed in MPLS view, the mpls te command enables MPLS TE globally and its undo form disables MPLS TE and removes all CR-LSPs.
  • Page 164: Mpls Te Backup

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Parameters properties: Link properties affinity attribute of the tunnel, a 32-bit integer. Each affinity bit represents a property with a value of 1 or 0.
  • Page 165: Mpls Te Backup Bandwidth

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Use the undo mpls te backup command to restore the default. By default, tunnel backup is disabled. Note: With backup enabled, the record route flag is automatically set to record reroute regardless of whether the mpls te record-route command is configured.
  • Page 166: Mpls Te Bandwidth

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the mpls te backup bandwidth command to configure the total bandwidth and type of LSP that the bypass tunnel can protect. Use the undo mpls te backup bandwidth command to remove the configuration.
  • Page 167: Mpls Te Bandwidth Change Thresholds

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands If neither the bc1 keyword nor the bc0 keyword is specified, bandwidth is assigned using the global bandwidth pool (BC0). Examples # Assign 1000 kbps bandwidth to MPLS TE tunnel 3/0/1.
  • Page 168: Mpls Te Commit

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls te bandwidth change thresholds down 100 1.1.56 mpls te commit Syntax mpls te commit View Tunnel interface view...
  • Page 169: Mpls Te Cspf Timer Failed-Link

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 1: Monitor level Parameters None Description Use the mpls te cspf command to enable CSPF on current node. Use the undo mpls te cspf command to disable CSPF on current node.
  • Page 170: Mpls Te Fast-Reroute

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Use the undo mpls te cspf timer failed-link command to restore the default. Related commands: mpls te cspf. Examples # Set the failed link timer to 50 seconds.
  • Page 171: Mpls Te Fast-Reroute Bypass-Tunnel

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Reroute MPLS TE tunnel 0 to an available bypass tunnel in case the protected link or node that it traverses fails. <Sysname> system-view...
  • Page 172: Mpls Te Igp Advertise

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Use Tunnel 3/0/2 as the bypass tunnel to protect the link connected to VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mpls te fast-reroute bypass-tunnel tunnel 3/0/2 1.1.61 mpls te igp advertise...
  • Page 173: Mpls Te Igp Metric

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands [Sysname-Tunnel3/0/0] mpls te igp advertise hold-time 10000 1.1.62 mpls te igp metric Syntax mpls te igp metric { absolute value | relative value }...
  • Page 174: Mpls Te Link Administrative Group

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 2: System level Parameters is-is: Sets the IGP protocol to IS-IS. ospf: Sets the IGP protocol to OSPF. Description Use the mpls te igp shortcut command to enable IS-IS or OSPF to consider the MPLS TE tunnel in its enhanced SPF calculation when the tunnel is up.
  • Page 175: Mpls Te Loop-Detection

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Parameters value: Link administrative group attribute. It is a set of 32 link properties. Each bit represents a property with a value of 0 or 1. By ANDing the administrative group attribute bits with the corresponding link affinity attribute bits of an MPLS TE tunnel, MPLS TE identifies the properties of the links that the MPLS TE tunnel can use.
  • Page 176: Mpls Te Max-Link-Bandwidth

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Loop detection is disabled by default. Examples # Configure the node to perform loop detection when setting up tunnel 0. <Sysname> system-view [Sysname] interface Tunnel 1/0/0 [Sysname-Tunnel1/0/0] mpls te loop-detection 1.1.66 mpls te max-link-bandwidth...
  • Page 177: Mpls Te Max-Reservable-Bandwidth

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.67 mpls te max-reservable-bandwidth Syntax mpls te max-reservable-bandwidth bandwidth-value [ bc1 bc1-bandwidth ] undo mpls te max-reservable-bandwidth View Interface view Default Level 2: System level...
  • Page 178: Mpls Te Path Explicit-Path

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 2: System level Parameters value: TE metric of the link. Description Use the mpls te metric command to assign a TE metric to the link.
  • Page 179: Mpls Te Path Metric-Type

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands <Sysname> system-view [Sysname] interface Tunnel 3/0/1 [Sysname-Tunnel3/0/1] mpls te path explicit-path path1 1.1.70 mpls te path metric-type Syntax mpls te path metric-type { igp | te }...
  • Page 180: Mpls Te Priority

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands [Sysname] interface tunnel 3/0/1 [Sysname-Tunnel3/0/1] mpls te path metric-type igp 1.1.71 mpls te priority Syntax mpls te priority setup-priority [ hold-priority ] undo mpls te priority...
  • Page 181: Mpls Te Reoptimization (User View)

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands View Tunnel interface view Default Level 2: System level Parameters label: Includes the record of labels in the route record. Description Use the mpls te record-route command to enable route recording or label recording.
  • Page 182: Mpls Te Reoptimization (Tunnel Interface View)

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.74 mpls te reoptimization (tunnel interface view) Syntax mpls te reoptimization [ frequency seconds ] undo mpls te reoptimization View Tunnel interface view Default Level...
  • Page 183: Mpls Te Retry

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands View Tunnel interface view Default Level 2: System level Parameters ff: Sets the resource reservation style to fixed filter (FF). se: Sets the resource reservation style to shared explicit (SE).
  • Page 184: Mpls Te Route-Pinning

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Description Use the mpls te retry command to configure the maximum number of tunnel setup retries. Use the undo mpls te retry command to restore the default.
  • Page 185: Mpls Te Signal-Protocol

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Note: The mpls te route-pinning command cannot be used together with the mpls te reoptimization command and the mpls te auto-bandwidth adjustment command. Examples # Enable route pinning.
  • Page 186: Mpls Te Tie-Breaking

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Adopt RSVP-TE as the signaling protocol for establishing MPLS TE tunnel 3/0/1. <Sysname> system-view [Sysname] interface Tunnel 3/0/1 [Sysname-Tunnel3/0/1] mpls te signal-protocol rsvp-te 1.1.79 mpls te tie-breaking...
  • Page 187: Mpls Te Timer Fast-Reroute

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands in MPLS TE interface view. <Sysname> system-view [Sysname] interface Tunnel 3/0/1 [Sysname-Tunnel3/0/1] mpls te tie-breaking least-fill # Configure CSPF to route tunnels over paths with the least bandwidth usage ratio.
  • Page 188: Mpls Te Timer Retry

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands 1.1.81 mpls te timer retry Syntax mpls te timer retry second undo mpls te timer retry View Tunnel interface view Default Level 2: System level Parameters second: Interval for re-establishing the tunnel, in seconds.
  • Page 189: Mpls-Te

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Parameters acl-number: Referenced ACL number. The MPLS TE tunnel forwards only traffic that matches the referenced ACL. vpn-instance-name: VPN instance name. The MPLS TE tunnel forwards only traffic of the specified VPN instance.
  • Page 190: Next Hop

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands available with the opaque LSA capability. Related commands: opaque-capability. Example # Enable the MPLS TE capability in OSPF area 1. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] mpls-te enable...
  • Page 191: Opaque-Capability

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Exclude IP address 10.0.0.125 from the MPLS TE explicit path p1. <Sysname> system-view [Sysname] explicit-path p1 [Sysname-explicit-path-p1] next hop 10.0.0.125 exclude 1.1.85 opaque-capability...
  • Page 192: Static-Cr-Lsp Egress

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Default Level 1: Monitor level Parameters global: Clears statistics about global RSVP-TE. interface: Clears statistics about RSVP-TE for all interfaces. interface interface-type interface-number: Specifies an interface by its type and number.
  • Page 193: Static-Cr-Lsp Ingress

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Examples # Configure a static CR-LSP on the egress node, setting its name to Tunnel4/0/3, incoming interface to VLAN-interface 12, and incoming label to 233.
  • Page 194: Static-Cr-Lsp Transit

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Note: The tunnel-name argument of the static-cr-lsp ingress command is case sensitive. For example, if you configure the interface tunnel 2/0/0 command, you must specify a value of Tunnel2/0/0 for the tunnel-name argument.
  • Page 195: Traffic-Eng

    Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands bc0: Obtains bandwidth from a subpool. bc1: Obtains bandwidth from the global pool. bandwidth-value: Bandwidth assigned to the CR-LSP, in kbps. Description Use the static-cr-lsp transit command to configure a static CR-LSP on a transit node.
  • Page 196 Command Manual – MPLS TE H3C S9500 Series Routing Switches Chapter 1 MPLS TE Configuration Commands Note: If no level is specified, IS-IS TE applies to Level-1-2. Description Use the traffic-eng command to enable IS-IS TE. Use the undo traffic-eng command to restore the default.
  • Page 197 Command Manual – VPLS H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 VPLS Configuration Commands ................1-1 1.1 VPLS Configuration Commands..................1-1 1.1.1 bandwidth ........................ 1-1 1.1.2 broadcast-restrain ....................1-1 1.1.3 description ....................... 1-2 1.1.4 display bgp vpls....................... 1-3 1.1.5 display mac-address vsi..................
  • Page 198: Chapter 1 Vpls Configuration Commands

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Chapter 1 VPLS Configuration Commands 1.1 VPLS Configuration Commands 1.1.1 bandwidth Syntax bandwidth vpn-speed undo bandwidth View VSI view Default Level 2: System level Parameters vpn-speed: Speed limit of the VPLS instance, in kbps.
  • Page 199: Description

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Default Level 2: System level Parameters ratio: Broadcast suppression percentage of the VPLS instance, in the range 1 to 100. Description Use the broadcast-restrain command to set the broadcast suppression percentage of a VPLS instance.
  • Page 200: Display Bgp Vpls

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Description Use the description command to set a description for a VPLS instance. Use the undo description command to remove the configuration. By default, no description is set for a VPLS instance.
  • Page 201 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands <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...
  • Page 202 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Peer support bgp multi-protocol extended Peer support bgp route refresh capability Graceful Restart Capability: received Restart Timer Value of Peer: 150 seconds Forwarding State preserved Peer...
  • Page 203 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description Peer optional capabilities: Peer support bgp multi-protocol Optional peer capabilities, including the support extended for BGP multicast protocol extension and the support for BGP route refreshing...
  • Page 204 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Table 1-3 Description on the fields of display bgp vpls route-distinguisher Field Description BGP Local Router ID Router ID of the local BGP router Local AS Number Number of the local AS Route origin codes.
  • Page 205: Display Mac-Address Vsi

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description *Nexthop IP adddress of the next hop Locpref Local preference Metric Cost value Current status of the label. Possible values are: 0x0001 (BGP_VPLS_LB_NOT_SENTTO_VPLS) 0x0002 (BGP_VPLS_LB_SENTTO_VPLS)
  • Page 206: Display Vpls Connection

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Parameters vsi-name: Name of a VPLS instance. dynamic: Dynamic MAC forwarding entries. count: Number of MAC forwarding entries. Description Use the display mac-address vsi command to display the MAC address table information of a specified VPLS instance or all VPLS instances.
  • Page 207 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands View Any view Default Level 1: Monitor level Parameters bgp: Specifies all Kompella VPLS connections. ldp: Specifies all Martini VPLS connections. vsi vsi-name: Specifies a VPLS instance by its name.
  • Page 208: Display Vpls Fib

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description OutLabel Outgoing label of the VPLS instance LinkID ID of the PW in the VPLS instance VCState Status of the VC 1.1.7 display vpls fib...
  • Page 209: Display Vsi

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description OutLabel Outgoing label of the VPLS instance TnlIdx Index of the tunnel of the VPLS instance NextHop Next hop for forwarding 1.1.8 display vsi...
  • Page 210 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description Mac Learn MAC address learning type Encap Type Encapsulation type of the VPLS instance Mtu Value Maximum transmission unit Vsi State Status of the VPLS instance # Display detailed configuration information about VPLS instance aaa, which uses LDP as the PW signaling protocol.
  • Page 211 Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Encapulation Type : vlan IntfIndex : 4294967295 : 1500 Bandwidth : 102400 kbps BroadcastRestrain : 5% MacTabLimit : 128 MacLearnEnable : enable QoSLevel QoSTable VSI State...
  • Page 212: Display Vsi Remote

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Field Description VSI State Status of the VPLS instance VSI ID ID of the VPLS instance Peer Router ID ID of the peer VC Label Label of the VC...
  • Page 213: Encapsulation

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Description Use the display vsi remote command to display information about remote VPLS connections using a specified signaling protocol. Related commands: vsi. Examples # Display information about remote VPLS connections using LDP.
  • Page 214: L2 Binding Vsi

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Description Use the encapsulation command to specify the encapsulation type of a VPLS instance. By default, the encapsulation type of a VPLS instance is VLAN, which corresponds to the VPLS instance PW encapsulation type of tagged.
  • Page 215: Mac-Table Limit

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Caution: With the l2 binding vsi command configured on a VLAN interface, services bound to the VLAN are considered the internal VPN services of the VPLS instance.
  • Page 216: Mtu (Vsi View)

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Examples # Set the maximum number of MAC addresses in VPLS instance aaa to 1024. <Sysname> system-view [Sysname] vsi aaa static [Sysname-vsi-aaa] mac-table limit 1024 1.1.13 mtu (VSI view)
  • Page 217: Peer (Vsi-Ldp View)

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands 1.1.14 peer (VSI-LDP view) Syntax peer ip-address [ negotiation-vc-id pw-id ] [ tnl-policy tunnel-policy-name ] [ upe | dual-npe ] [ trans-mode { raw | tagged } ]...
  • Page 218: Pwsignal

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Related commands: vsi, vsi-id, encapsulation. Examples # Create a peer PE, which is of the UPE type, with the IP address of 4.4.4.4 and the VC ID of 200.
  • Page 219: Reset Bgp Vpls

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands 1.1.16 reset bgp vpls Syntax reset bgp vpls { as-number | ip-address | all | external | internal } View User view Default Level 2: System level Parameters as-number: Resets VPLS BGP connections to peers in a specified AS.
  • Page 220: Route-Distinguisher (Vsi-Bgp View)

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Description Use the reset mac-address vsi command to clear the MAC address table of a specified VPLS instance or all VPLS instances. Examples # Clear the MAC address table of VPLS instance aaa.
  • Page 221: Shutdown (Vsi View)

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Examples # Set the RD to 111:1. <Sysname> system-view [Sysname] vsi aaa auto [Sysname-vsi-aaa] pwsignal bgp [Sysname-vsi-aaa-bgp] route-distinguisher 111:1 1.1.19 shutdown (VSI view) Syntax shutdown undo shutdown...
  • Page 222: Site

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands 1.1.20 site Syntax site site-id [ range site-range ] [ default-offset { 0 | 1 } ] undo site site-id View VSI BGP view Default Level...
  • Page 223: Vpls-Family

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Default Level 2: System level Parameters tunnel-policy-name: Name of a tunneling policy for the VPLS instance, containing no blank space. Description Use the tnl-policy command to specify a tunneling policy for a VPLS instance.
  • Page 224: Vpn-Target (Vsi-Bgp View)

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Examples # Enter VPLS address family view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] vpls-family [Sysname-bgp-af-vpls] 1.1.23 vpn-target (VSI-BGP view) Syntax vpn-target vpn-target &<1-16> both export-extcommunity import-extcommunity ] undo vpn-target { all | vpn-target &<1-16>...
  • Page 225: Vsi

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Use the undo vpn-target command to delete the VPN target(s) associated with a VPLS instance. VPN Target has no default value, and you need to configure it when creating VPN.
  • Page 226: Vsi-Id

    Command Manual – VPLS H3C S9500 Series Routing Switches Chapter 1 VPLS Configuration Commands Examples # Create a VPLS instance named aaa that uses the peer discovery mechanism of manual configuration. <Sysname> system-view [Sysname] vsi aaa static [Sysname-vsi-aaa] # Create a VPLS instance named bbb that uses the peer discovery mechanism of auto.
  • Page 227 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS L2VPN Configuration Commands..............1-1 1.1 MPLS L2VPN Configuration Commands................1-1 1.1.1 ccc interface in-label out-label................. 1-1 1.1.2 ccc interface out-interface ..................1-2 1.1.3 ce..........................
  • Page 228: Chapter 1 Mpls L2Vpn Configuration Commands

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Chapter 1 MPLS L2VPN Configuration Commands 1.1 MPLS L2VPN Configuration Commands 1.1.1 ccc interface in-label out-label Syntax ccc-connection-name interface interface-type interface-number in-label in-label-value out-label out-label-value { nexthop ip-address | out-interface...
  • Page 229: Ccc Interface Out-Interface

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Note: If the outgoing interface is a VLAN interface, you need to use the nexthop ip-address combination to specify the IP address of the next hop. Otherwise, you need to use the out-interface interface-type interface-number combination to specify the outgoing interface.
  • Page 230 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Note: Support for this feature varies by device. Description Use the ccc interface out-interface command to create a local CCC connection between two CEs connected to the same PE.
  • Page 231: Connection

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Examples # Create a CE named ce1 for a VPN. <Sysname> system-view [Sysname] mpls l2vpn vpn1 encapsulation ethernet [Sysname-mpls-l2vpn-vpn1] route-distinguisher 100:1 [Sysname-mpls-l2vpn-vpn1] ce ce1 id 1 1.1.4 connection...
  • Page 232: Debugging Mpls L2Vpn

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands [Sysname-mpls-l2vpn-vpn1] ce ce1 [Sysname-mpls-l2vpn-ce-vpn1-ce1] connection ce-offset interface vlan-interface 10 1.1.5 debugging mpls l2vpn Syntax debugging mpls l2vpn { all | advertisement | error | event | connections [ interface...
  • Page 233: Display Bgp L2Vpn

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands 1.1.6 display bgp l2vpn Syntax display bgp l2vpn { all | group [ group-name ] | peer [ [ ip-address ] verbose ] |...
  • Page 234 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Table 1-1 Description on the fields of the display bgp l2vpn all command Field Description BGP Local router ID BGP local router ID local AS number...
  • Page 235 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description AS number MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of messages waiting to be sent to the peer...
  • Page 236 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description Type BGP type BGP current state Current status of the BGP session BGP current event Current event of the BGP session BGP last state...
  • Page 237 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description Route origin codes, which can be: i – IGP: Indicates that the network layer reachability information is from within the AS Origin codes e –...
  • Page 238 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description Label Base Label base nexthop IP address of the next hop pref Preference as-path AS-PATH of the route # Display L2VPN information with the RD being 100:1, the CE ID being 4, and the label offset being 0 in the BGP routing table.
  • Page 239: Display Ccc

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description label base Label base label range Label range layer-2 mtu Layer 2 MTU encap type Encapsulation type 1.1.7 display ccc Syntax display ccc [ ccc-name ccc-name | type { local | remote } ]...
  • Page 240: Display L2Vpn Ccc-Interface Vc-Type

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands # Display information about all local CCC connections. <Sysname> display ccc type local ***Name : c2 Type : local State : up Intf1 : vlan-interface12 (up)
  • Page 241 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands View Any view Default Level 1: Monitor level Parameters all: Specifies interfaces of any encapsulation types. bgp-vc: Specifies interfaces of Kompella L2VPN VCs. ccc: Specifies interfaces of CCC L2VPN VCs.
  • Page 242: Display Mpls L2Vc

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Table 1-8 Description on the fields of display l2vpn ccc-interface vc-type Field Description Total ccc-interface of XXX VC Total interface number of L2VPN VCs of type xxx...
  • Page 243 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Vlan-interface 4 down 61463 plcy3 Table 1-9 Description on the fields of the display mpls l2vc command Field Description total ldp vc Total number of Martini VCs...
  • Page 244: Display Mpls L2Vpn

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description Tunnel Policy Tunnel policy configured Tunnel Type Type of the tunnel Tunnel ID Tunnel ID # Display information about Martini VCs received from the remote peer.
  • Page 245 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Parameters export-route-target-list: Displays the export route target list. import-route-target-list: Displays the import route target list. vpn-name: VPN name. It cannot include the character of “-“.
  • Page 246 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description ce(L) Local CE number ce(R) Remote CE number # Display information about L2VPN vpn1. <Sysname> display mpls l2vpn vpn-name vpn1 ***VPN Name...
  • Page 247: Display Mpls L2Vpn Connection

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description conn-num Number of connections Label block # Display information about remote CEs of L2VPN vpn1. <Sysname> display mpls l2vpn vpn-name vpn1 remote-ce...
  • Page 248 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands information about connections that are either up or down. verbose: Displays detailed connection information. This keyword is valid only when displaying information about all connections in a VPN.
  • Page 249 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description intf Interface for the connection # Display information about Kompella L2VPN connections for VPN vpn1. <Sysname> display mpls l2vpn connection vpn-name vpn1...
  • Page 250 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description Interface name (interface status, interface encapsulation Intf(state,encap) type) Peer id IP address of the peer Route-distinguisher Local vc label Local VC label...
  • Page 251: Display Mpls L2Vpn Forwarding-Info

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands 1.1.12 display mpls l2vpn forwarding-info Syntax display mpls l2vpn forwarding-info [ vc-label ] interface interface-type interface-number [ | { begin | exclude | include } regular-expression ]...
  • Page 252: Display Mpls Static-L2Vc

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description ENTRYTYPE Forwarding entry type OUTINTERFACE Outgoing interface Record(s) Found Number of discovered records 1.1.13 display mpls static-l2vc Syntax display mpls static-l2vc [ interface interface-type interface-number ]...
  • Page 253: L2Vpn-Family

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Field Description State Status of the VC destination Destination IP address tr-label Outgoing label rcv-label Incoming label tnl-policy Name of the tunneling policy # Display information about static VCs configured on interface VLAN-interface 3.
  • Page 254: Mpls L2Vc

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands View BGP view Default Level 2: System level Parameters None Description Use the l2vpn-family command to enter BGP L2VPN address family view. Use the undo l2vpn-family command to delete all configurations for the BGP L2VPN address family.
  • Page 255: Mpls L2Vpn

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Use the undo mpls l2vc command to delete the Martini connection on the CE interface. If you do not specify the tunneling policy, or specify the tunneling policy name but do not configure the policy, the default policy is used.
  • Page 256: Mpls L2Vpn Vpn-Name

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands 1.1.17 mpls l2vpn vpn-name Syntax mpls l2vpn vpn-name [ encapsulation {ethernet | vlan } ] undo mpls l2vpn vpn-name View System view/MPLS L2VPN view...
  • Page 257: Mpls Static-L2Vc Destination

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands 1.1.18 mpls static-l2vc destination Syntax mpls static-l2vc destination destination-router-id transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value tunnel-policy tunnel-policy-name ] undo mpls static-l2vc View Interface view Default Level...
  • Page 258: Mtu (Mpls L2Vpn View)

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands 1.1.19 mtu (MPLS L2VPN view) Syntax mtu mtu undo mtu View MPLS L2VPN view Default Level 2: System level Parameters mtu-value: MTU for the L2VPN. It defaults to 1,500.
  • Page 259: Route-Distinguisher (Mpls L2Vpn View)

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Default Level 1: Monitor level Parameters as-number: Resets L2VPN BGP connections with the peers in the AS with this number. ip-address: Resets the L2VPN BGP connection to the peer with this IP address.
  • Page 260: Vpn-Target (Mpls L2Vpn View)

    Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands Note: You cannot change an RD directly; you can only delete the VPN and then re-create the VPN using the new RD. 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 261 Command Manual – MPLS L2VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L2VPN Configuration Commands all: Specifies both the import and export VPN extended communities. Description Use the vpn-target command to associate a particular VPN with one or more VPN targets.
  • Page 262 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS L3VPN Configuration Commands..............1-1 1.1 MPLS L3VPN Configuration Commands................1-1 1.1.1 debugging vrffib....................... 1-1 1.1.2 debugging mpls l3vpn ..................... 1-1 1.1.3 default local-preference (BGP-VPNv4 subaddress family view)......1-2 1.1.4 default med (BGP-VPNv4 subaddress family view)..........
  • Page 263 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Table of Contents 1.1.37 peer next-hop-local ..................... 1-45 1.1.38 peer public-as-only (BGP-VPNv4 subaddress family view)........ 1-46 1.1.39 peer reflect-client....................1-47 1.1.40 peer route-policy (BGP-VPNv4 subaddress family view) ........1-48 1.1.41 peer upe ......................1-49 1.1.42 policy vpn-target....................
  • Page 264: Chapter 1 Mpls L3Vpn Configuration Commands

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Chapter 1 MPLS L3VPN Configuration Commands 1.1 MPLS L3VPN Configuration Commands 1.1.1 debugging vrffib Syntax debugging vrffib { error | rtmsg | synmsg }...
  • Page 265: Default Local-Preference (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands View User view Default Level 2: System level Parameters all: Specifies debugging of all MPLS L3VPN messages. hsb: Specifies MPLS L3VPN hot backup debugging.
  • Page 266: Default Med (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands By default, the default value of the local preference is 100. Examples # With devices A and B connected to the outside AS, configure B with a default local preference of 180 in BGP-VPNv4 subaddress family view, allowing the route going through B to be preferred when more than one route is present.
  • Page 267: Description (Vpn Instance View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.5 description (VPN instance view) Syntax description text undo description View VPN instance view Default Level 2: System level Parameters text: Description for the VPN instance.
  • Page 268 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters network-address: IP address of the destination segment. mask: Network mask. mask-length: Length of the network mask. longer-prefixes: Specifies to match the longest prefix.
  • Page 269 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands <Sysname> display bgp vpnv4 all routing-table BGP Local router ID is 2.2.2.2 Status codes: * - valid, > - best, d - damped, h - history,...
  • Page 270: Display Bgp Vpnv4 Group

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description Route Distinguisher Network Network address NextHop Address of the next hop Label(recv/app) Incoming and outgoing labels Metric associated with the destination network...
  • Page 271 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Threshold: 75% Configured hold timer value: 180 Keepalive timer value: 60 Minimum time between advertisement runs is 30 seconds Peer Preferred Value: 99 No routing policy is configured...
  • Page 272: Display Bgp Vpnv4 Network

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.8 display bgp vpnv4 network Syntax display bgp vpnv4 { all | vpn-instance vpn-instance-name } network View Any view Default Level 1: Monitor level Parameters all: Specifies all VPNv4 peers.
  • Page 273: Display Bgp Vpnv4 Paths

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.9 display bgp vpnv4 paths Syntax display vpnv4 vpn-instance vpn-instance-name paths [ as-regular-expression ] View Any view Default Level 1: Monitor level Parameters all: Specifies all VPNv4 peers.
  • Page 274: Display Bgp Vpnv4 Peer

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Table 1-4 Description on the fields of the display bgp vpnv4 paths command Field Description Address Routing address in the local database Hash Hash bucket for storing routes...
  • Page 275 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Total number of peers : 1 Peers in established state : 1 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 10.1.1.1 00:18:47 Established Table 1-5 Description on the fields of display bgp vpnv4 vpn-instance peer...
  • Page 276 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Received: Total 25 messages, Update messages 1 Sent: Total 30 messages, Update messages 4 Maximum allowed prefix number: 150000 Threshold: 75% Minimum time between advertisement runs is 30 seconds...
  • Page 277 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description Total number of received messages and Received the number of received update messages Total number of sent messages and the Sent number of sent update messages...
  • Page 278 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands # 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...
  • Page 279: Display Bgp Vpnv4 Route-Distinguisher Routing-Table

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description Up for Duration since the peer is established BGP current event Current event of the peer State that the BGP session was in before...
  • Page 280 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands as-path-acl-number | cidr | community [ aa:nn ]&<1-13> [ no-export-subconfed | no-advertise no-export whole-match community-list { basic-community-list-number [ whole-match ] | adv-community-list-number }&<1-16> | different-origin-as | regular-expression as-regular-expression ]...
  • Page 281 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Description Use the display bgp vpnv4 route-distinguisher routing-table command to display the BGP VPNv4 routing information of a specified RD. Related commands: route-distinguisher. Examples # Display the BGP VPNv4 routing information of RD 100:1.
  • Page 282: Display Bgp Vpnv4 Routing-Table Label

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Network NextHop Label(recv/app) LocPrf *>i 10.0.0.0 1.1.1.1 (1025 /NULL ) Table 1-10 Fields of the above output Field Description Route Distinguisher Total number of routes...
  • Page 283 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters all: Specifies all VPNv4 peers. vpn-instance-name: Name of the VPN instance. Description Use the display bgp vpnv4 routing-table label command to display information about labeled routes in the BGP routing table.
  • Page 284: Display Bgp Vpnv4 Vpn-Instance Routing-Table

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description Route status codes. Valid values include: * - valid: Valid route > - best: Best route d - damped: Route damped for route flap...
  • Page 285 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance. network-address: IP address of the destination segment. mask: Network mask, in the format of X.X.X.X.
  • Page 286 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands regular-expression as-regular-expression: Displays routing information matching the specified AS regular expression. statistic: Displays BGP VPNv4 route statistics. Description Use the display bgp vpnv4 vpn-instance routing-table command to display the BGP VPNv4 routing information of a specified VPN instance.
  • Page 287: Display Fib Statistics Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description Route origin codes. Valid values include: i - IGP (learned from the AS) Origin e - EGP (learned through EGP) ? - incomplete (learned in any other way)
  • Page 288: Display Fib Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Table 1-13 Description on the fields of display fib statistics vpn-instance Field Description Route Entry Count Total route number of all created VPN instances 1.1.15 display fib vpn-instance...
  • Page 289: Display Ip Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Field Description OutInterface Outbound interface of the VPN instance InnerLabel Inner label Token Token 1.1.16 display ip vpn-instance Syntax display ip vpn-instance [ instance-name vpn-instance-name ]...
  • Page 290: Display Ospf Sham-Link

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Table 1-15 Description on the fields of display ip vpn-instance instance-name Field Description VPN-Instance Name and ID Name and ID of the VPN instance...
  • Page 291 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands OSPF Process 100 with Router ID 100.1.1.2 Sham Link: Area NeighborId Source-IP Destination-IP State Cost 0.0.0.1 100.1.1.2 3.3.3.3 5.5.5.5 P-2-P 10 Table 1-16 Description on the fields of the display ospf sham-link command...
  • Page 292: Display Tunnel-Policy

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.18 display tunnel-policy Syntax display tunnel-policy { all | policy-name tunnel-policy-name } View Any view Default Level 1: Monitor level Parameters all: Specifies all tunneling policies.
  • Page 293: Domain-Id

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.19 domain-id Syntax domain-id domain-id [ secondary ] undo domain-id [ domain-id ] View OSPF view Default Level 2: System level Parameters domain-id: OSPF domain ID, in integer or dotted decimal notation.
  • Page 294: Filter-Policy Export (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Default Level 2: System level Parameters route-policy: Name of the export routing policy for the VPN instance. Description Use the export route-policy command to apply an export routing policy to a VPN instance.
  • Page 295: Filter-Policy Import (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands direct: Filters direct routes to be advertised. isis process-id: Filters ISIS routes to be advertised that are from a specified ISIS process. ospf process-id: Filters OSPF routes to be advertised that are from a specified OSPF process..
  • Page 296: Import Route-Policy

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands ip-prefix-name: IP address prefix list name. Description Use the filter-policy import command to specify to filter received routes. Use the undo filter-policy import command to remove the configuration.
  • Page 297: Ip Binding Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands By default, all routes permitted by the import target attribute can be redistributed into the VPN instance. Examples # Apply import routing policy poly-1 to VPN instance vpn1.
  • Page 298: Ip Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.25 ip vpn-instance Syntax ip vpn-instance vpn-instance-name undo ip vpn-instance vpn-instance-name View System view Default Level 2: System level Parameters vpn-instance-name: Name for the VPN instance.
  • Page 299: Peer Advertise-Community (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters vpnv4: Enters BGP-VPNv4 subaddress family view. vpn-instance vpn-instance-name: Associates a VPN instance with an IPv4 address family and enter BGP VPN instance view.
  • Page 300: Peer Allow-As-Loop

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters group-name: Name of the peer group. ip-address: IP address of the peer. Description Use the peer advertise-community command to specify to advertise community attributes to a peer or peer group.
  • Page 301: Peer As-Path-Acl (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands repetitions. Use the undo peer allow-as-loop command to remove the configuration. Examples # In BGP-VPNv4 subaddress family view, allow the local AS number to appear repeatedly in the AS-PATH attribute of a route received from peer 1.1.1.1 for up to...
  • Page 302: Peer Default-Route-Advertise Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands aspath-filter-number: AS_PATH filtering list number. import: Filters the received routes. export: Filters the routes to be advertised. Description Use the peer as-path-acl command to specify to filter routes received from or to be advertised to a specified peer or peer group based on an AS_PATH list.
  • Page 303: Peer Enable

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Use the undo peer default-route-advertise vpn-instance command to remove the configuration. By default, no default route is advertised to a peer or peer group.
  • Page 304: Peer Filter-Policy (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Examples # Configure peer 1.1.1.1 and enable the peer for the BGP-VPNv4 subaddress family. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable...
  • Page 305: Peer Group

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Description Use the peer filter-policy command to apply a filtering policy to a peer or peer group . Use the undo peer filter-policy command to remove the configuration.
  • Page 306: Peer Ip-Prefix (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands [Sysname-bgp-af-vpnv4] peer 1.1.1.1 group test # In BGP-L2VPN address family view, add peer 1.1.1.1 into peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer 1.1.1.1 group test...
  • Page 307: Peer Label-Route-Capability (Bgp View/Bgp Vpn Instance View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Examples # In BGP-VPNv4 subaddress family view, specify to filter the received routes of a peer group using IP prefix list list1. <Sysname> system-view...
  • Page 308: Peer Next-Hop-Invariable (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands 1.1.36 peer next-hop-invariable (BGP-VPNv4 subaddress family view) Syntax peer { ip-address | group-name } next-hop-invariable undo peer { ip-address | group-name } next-hop-invariable View...
  • Page 309: Peer Public-As-Only (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands View BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address family view Default Level 2: System level Parameters group-name: Name of the peer group. ip-address: IP address of the peer.
  • Page 310: Peer Reflect-Client

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands undo peer { group-name | ip-address } public-as-only View BGP-VPNv4 subaddress family view Default Level 2: System level Parameters group-name: Name of the peer group.
  • Page 311: Peer Route-Policy (Bgp-Vpnv4 Subaddress Family View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters group-name: Name of the peer group. ip-address: IP address of the peer. Description Use the peer reflect-client command to configure the local device to be a route reflector (RR) and set a peer or peer group as the client of the RR.
  • Page 312: Peer Upe

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Default Level 2: System level Parameters ip-address: IP address of the peer. group-name: Name of the peer group. route-policy-name: Name of the routing policy.
  • Page 313: Policy Vpn-Target

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Description Use the peer upe command to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress family. Use the undo peer upe command to remove the configuration.
  • Page 314: Reflect Between-Clients

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Note: The command applies to inter-provider VPN option B schemes. Examples # In BGP-VPNv4 subaddress family view, enable VPN target filtering for received VPNv4 routes.
  • Page 315: Reflector Culster-Id

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Description Use the reflect between-clients command to enable route reflection between clients. Use the undo reflect between-clients command to disable the function. By default, route reflection between clients is enabled.
  • Page 316: Refresh Bgp Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters cluster-id: Cluster ID of the route reflector (RR). ip-address: IP address of the peer, which is to be used as the cluster ID of the RR.
  • Page 317: Refresh Bgp Vpnv4

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance. all: Performs a soft reset of all BGP VPN instance connections. ip-address: Performs a soft reset of the BGP connection with a BGP peer identified by this IP address.
  • Page 318: Reset Bgp Vpn-Instance

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands group group-name: Performs a soft reset of the VPNv4 connections with a BGP peer group identified by this name. internal: Performs a soft reset of IBGP sessions.
  • Page 319: Reset Bgp Vpn-Instance Dampening

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Examples # Reset all BGP connections of VPN instance vpn1. <Sysname> reset bgp vpn-instance vpn1 all 1.1.48 reset bgp vpn-instance dampening Syntax reset bgp vpn-instance vpn-instance-name dampening [ network-address [ mask |...
  • Page 320: Reset Bgp Vpnv4

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance. ip-address: IP address of the BGP peer. mask: Network mask, in the format of X.X.X.X.
  • Page 321: Route-Distinguisher (Vpn Instance View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands internal: Resets IBGP sessions of VPNv4 connections. external: Resets EBGP sessions of VPNv4 connections. Description Use the reset bgp vpnv4 command to reset BGP VPNv4 connections.
  • Page 322: Route-Tag

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Note: 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 323: Routing-Table Limit

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands LSAs; it is not transferred in any BGP extended community attribute. Different OSPF processes can have the same route tag. Tags configured with different commands have different priorities: A tag configured with the import-route command has the highest priority.
  • Page 324: Rr-Filter

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands simply-alert: Specifies that when the maximum number of routes exceeds the threshold, the system still accepts routes and generates only a SYSLOG error message.
  • Page 325: Sham-Link

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Examples # In BGP-VPNv4 subaddress family view, create an RR group and configure it to automatically filter the incoming VPNv4 route update packets based on the route target extended community attribute.
  • Page 326 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands destination-ip-address: Destination IP address for the sham link. cost: Cost for the sham link, one by default. dead-interval: Dead Interval in seconds, 40 seconds by default. It must be equal to the dead interval of the router on the other end of the virtual link and be at least four times the hello interval.
  • Page 327: Tnl-Policy (Vpn Instance View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Examples # Create a sham link with the source address of 1.1.1.1 and the destination address of 2.2.2.2. <Sysname> system-view [Sysname] ospf [Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.1] sham-link 1.1.1.1 2.2.2.2...
  • Page 328: Tunnel-Policy

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands [Sysname-vpn-instance-vpn2] tnl-policy po1 1.1.57 tunnel-policy Syntax tunnel-policy tunnel-policy-name undo tunnel-policy tunnel-policy-name View System view Default Level 2: System level Parameters tunnel-policy-name: Name for the tunneling policy.
  • Page 329: Vpn-Instance-Capability Simple

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Parameters cr-lsp: Specifies CR-LSP tunnels. lsp: Specifies LSP tunnels. number: Number of tunnels for load balancing, one by default. Description Use the tunnel select-seq load-balance-number command to configure the preference order for tunnel selection and the number of tunnels for load balancing.
  • Page 330: Vpn-Target (Vpn Instance View)

    Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands Description Use the vpn-instance-capability simple command to enable multi-VPN-instance CE. Use the undo vpn-instance-capability command to disable the function. By default, the function is disabled.
  • Page 331 Command Manual – MPLS L3VPN H3C S9500 Series Routing Switches Chapter 1 MPLS L3VPN Configuration Commands VPN extended community. all: Specifies all export routing information to the destination VPN extended community and import routing information from the destination VPN extended community.
  • Page 332 Command Manual – MPLS Hybrid Insertion H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 MPLS Hybrid Insertion Configuration Commands........... 1-1 1.1 L3+ Hybrid Insertion Configuration Commands ..............1-1 1.1.1 backup interface ...................... 1-1 1.1.2 l2vpn-vpls service binding service-id............... 1-2 1.1.3 l2vpn-vpls service binding vsi..................
  • Page 333 Command Manual – MPLS Hybrid Insertion Chapter 1 MPLS Hybrid Insertion Configuration H3C S9500 Series Routing Switches Commands Chapter 1 MPLS Hybrid Insertion Configuration Commands 1.1 L3+ Hybrid Insertion Configuration Commands 1.1.1 backup interface Syntax backup interface interface-type interface-number undo backup interface...
  • Page 334 Command Manual – MPLS Hybrid Insertion Chapter 1 MPLS Hybrid Insertion Configuration H3C S9500 Series Routing Switches Commands [Sysname] interface MPLS-VPLS 0/0/2 [Sysname-MPLS-VPLS0/0/2] backup interface MPLS-VPLS1/0/2 1.1.2 l2vpn-vpls service binding service-id Syntax l2vpn-vpls service binding service-id service-id undo l2vpn-vpls service binding service-id...
  • Page 335 Command Manual – MPLS Hybrid Insertion Chapter 1 MPLS Hybrid Insertion Configuration H3C S9500 Series Routing Switches Commands 1.1.3 l2vpn-vpls service binding vsi Syntax l2vpn-vpls service binding vsi vsi-name undo l2vpn-vpls service binding { all | vsi vsi-name } View...
  • Page 336 Command Manual – MPLS Hybrid Insertion Chapter 1 MPLS Hybrid Insertion Configuration H3C S9500 Series Routing Switches Commands Default Level 2: System level Parameters None Description Use the mpls service binding command to redirect the MPLS service at the public network side to the MPLS virtual service interface on the L3+ board capable of MPLS processing.
  • Page 337 Command Manual – GRE H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 GRE Configuration Commands.................. 1-1 1.1 GRE Configuration Commands ..................1-1 1.1.1 aggregation-group....................1-1 1.1.2 debugging gre ......................1-2 1.1.3 destination ....................... 1-4 1.1.4 display interface tunnel ................... 1-5 1.1.5 display ipv6 interface tunnel..................
  • Page 338: Chapter 1 Gre Configuration Commands

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Chapter 1 GRE Configuration Commands 1.1 GRE Configuration Commands 1.1.1 aggregation-group Syntax aggregation-group aggregation-group-ID undo aggregation-group View Tunnel interface view Default Level 2: System level Parameters aggregation-group-ID: Service loop group ID.
  • Page 339: Debugging Gre

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands [Sysname-GigabitEthernet 4/2/1] quit # Apply service loop group 1 to the tunnel in tunnel interface view. [Sysname] interface tunnel 2/0/1 [Sysname-Tunnel2/0/1] aggregation-group 1 # Remove the application of service loop group 1.
  • Page 340 Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Field Description Failed to add GRE key option Add tunnel key failed. information into the tunneled packet. Failed to add GRE checksum option Add tunnel checksum failed.
  • Page 341: Destination

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands <Sysname> debugging gre all <Sysname> terminal debugging <Sysname> ping ipv6 -c 1 2001:100::3 PING 2001:100::3 : 56 data bytes, press CTRL_C to break *Mar 23 14:39:28:359 2007 Sysname GRE/7/debug:Slot=2;...
  • Page 342: Display Interface Tunnel

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Default Level 2: System level Parameters Ip-address: Destination IPv4 address for the tunnel interface. Ipv6-address: Destination IPv6 address for the tunnel interface. Description Use the destination command to specify the destination address for a tunnel interface.
  • Page 343 Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands View Any view Default Level 1: Monitor level Parameters number: Tunnel interface number. Description Use the display interface tunnel command to display information about a specified or all tunnel interfaces.
  • Page 344: Display Ipv6 Interface Tunnel

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Table 1-3 Description on the fields of the display interface tunnel command Field Description Status of the physical layer of the tunnel Tunnel3/0/0 current state: UP...
  • Page 345 Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands View Any view Default Level 1: Monitor level Parameters number: Tunnel interface number, in the format of board slot number/0/Tunnel interface number. Description Use the display ipv6 interface tunnel command to display IPv6 information about a tunnel interface, including the Tunnel interface link status, IPv6 status, IPv6 addresses of the Tunnel interfaces, etc.
  • Page 346: Expediting Enable

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Field Description Global unicast address(es) Global unicast addresses of the tunnel interface Joined group address(es) Multicast addresses of the tunnel interface Maximum transmission unit of the tunnel, 1500...
  • Page 347: Interface Tunnel

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands 1.1.7 interface tunnel Syntax interface tunnel number undo interface tunnel number View System view Default Level 2: System level Parameters number: Tunnel interface number, in the format of board slot number/0/Tunnel interface number.
  • Page 348: Mtu (Tunnel Interface View)

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands Default Level 2: System level Parameters mtu-size: Size of the interface MTU, in bytes. Description Use the ipv6 mtu command to set the MTU for IPv6 packets on an interface.
  • Page 349: Source

    Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands 1.1.10 source Syntax source { ip-address | ipv6-address | interface-type interface-number } undo source View Tunnel interface view Default Level 2: System level Parameters ip-address: Specifies the source IPv4 address for the tunnel interface.
  • Page 350 Command Manual – GRE H3C S9500 Series Routing Switches Chapter 1 GRE Configuration Commands undo tunnel-protocol View Tunnel interface view Default Level 2: System level Parameters gre: Sets the tunnel mode to GRE. Description Use the tunnel-protocol gre command to set the GRE tunnel mode.

Table of Contents