H3C S9500 Series Command Manual Download Page 168

Command Manual – MPLS TE 
H3C S9500 Series Routing Switches 

Chapter 1  MPLS TE Configuration Commands

 

1-77 

<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

 

Default Level 

2: System level 

Parameters 

None 

Description 

Use the 

mpls te commit

 command to submit current MPLS TE tunnel configuration. 

The MPLS TE tunnel configuration you made can take effect only after you perform this 

command.  

Examples 

# Configure an MPLS TE tunnel and submit the configuration. 

<Sysname> system-view 

[Sysname] interface tunnel 3/0/0 

[Sysname-Tunnel3/0/0] tunnel-protocol mpls te 

[Sysname-Tunnel3/0/0] destination 2.2.2.9 

[Sysname-Tunnel3/0/0] mpls te commit 

1.1.57  mpls te cspf 

Syntax 

mpls te cspf 

undo mpls te cspf

 

View 

MPLS view 

Summary of Contents for 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: ...m InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice Every effort has been made in the preparation of this document to ensure accuracy of the contents but all statements information and recommendation...

Page 3: ...0 Feature List and Command Index includes Feature List and Command Index 01 Access Volume includes Ethernet Interface Commands POS Interface Commands GVRP Commands Link Aggregation Commands Port Mirroring Commands RPR Commands Ethernet OAM Commands MSTP Commands VLAN Commands QinQ Commands BPDU Tunneling Commands and Port Isolation Commands 02 IP Services Volume includes ARP Commands DHCP Commands...

Page 4: ...ommands 08 System Volume includes GR Commands VRRP Commands HA Commands Device Management Commands NQA Commands NetStream Commands NTP Commands RMON Commands SNMP Commands File System Management Commands System Maintaining and Debugging Commands Basic System Configuration Commands Information Center Commands User Interface Commands MAC Address Table Management Commands PoE Commands and Clock Monit...

Page 5: ...d sign can be entered 1 to n times A line starting with the sign is comments II GUI conventions Convention Description Button names are inside angle brackets For example click OK Window names menu items data table and field names are inside square brackets For example pop up the New User window Multi level menus are separated by forward slashes For example File Create Folder III Symbols Convention...

Page 6: ...ion MPLS Basics Commands Introduces the commands for MPLS configuration MPLS TE Introduces the commands for MPLS TE configuration VPLS Introduces the commands for VPLS configuration MPLS L2VPN Introduces the commands for MPLS L2VPN configuration MPLS L3VPN Introduces the commands for MPLS L3VPN configuration MPLS Hybrid Insertion Introduces the commands for MPLS hybrid insertion configuration GRE ...

Page 7: ...ldp Isp 1 33 1 1 13 display mpls ldp peer 1 34 1 1 14 display mpls ldp remote peer 1 36 1 1 15 display mpls ldp session 1 37 1 1 16 display mpls ldp vpn instance 1 39 1 1 17 display mpls lsp 1 40 1 1 18 display mpls lsp statistics 1 43 1 1 19 display mpls route state 1 44 1 1 20 display mpls static lsp 1 44 1 1 21 display mpls statistics interface 1 45 1 1 22 display mpls statistics lsp 1 47 1 1 2...

Page 8: ...id 1 66 1 1 42 mtu signalling 1 67 1 1 43 path vectors 1 68 1 1 44 ping lsp 1 69 1 1 45 remote ip 1 70 1 1 46 reset mpls ldp 1 71 1 1 47 reset mpls statistics interface 1 72 1 1 48 reset mpls statistics lsp 1 72 1 1 49 snmp agent trap enable mpls 1 73 1 1 50 static lsp egress 1 73 1 1 51 static lsp ingress 1 74 1 1 52 static lsp transit 1 75 1 1 53 statistics interval 1 76 1 1 54 tracert lsp 1 77 ...

Page 9: ...ging mpls ldp Syntax debugging mpls ldp advertisement all error hsb main notification pdu session socket timer interface interface type interface number debugging mpls ldp remote peer remote peer name undo debugging mpls ldp advertisement all error hsb main notification pdu session socket timer interface interface type interface number undo debugging mpls ldp remote peer remote peer name View User...

Page 10: ...sh a session between them Enable LDP advertisement event debugging by executing the debugging mpls ldp advertisement command on one switch while restarting LDP on the other switch PE1 debugging mpls ldp advertisement PE1 0 16830023 PE1 LDP 8 Advertisement DU Re advertise for FEC 140 2 2 2 0xffffffff 0 16830023 PE1 LDP 8 Advertisement 0 FEC 140 2 2 2 0xffffffff Successful Next Hop Query The DU Re a...

Page 11: ...ly 0 16838538 PE1 LDP 8 Advertisement Start to process LSP Message Type 13 from LSPM FEC 140 2 2 2 0xffffffff Nexthop 140 12 1 2 Re establish the session and process the LSPM message 0 16838538 PE1 LDP 8 Advertisement Start to process Route add FEC 140 2 2 2 0xffffffff OutIf Vlan interface 12 Nexthop 140 12 1 2 Process a route adding event 0 16868001 PE1 LDP 8 Advertisement Vlan interface 12 Recei...

Page 12: ...ocesses the Internal DownStream Mapping event 0 16868032 PE1 LDP 8 Advertisement LDP send LSP Message Event 1 to LSPM for LSP 0 140 2 2 2 32 3 140 12 1 2 Vlan12 The token is 557235 The MTU is 1500 Inform LSPM that an LSP is created successfully Enable LDP session event debugging by executing the debugging mpls ldp session command Start two switches connect the two switches and configure MPLS and M...

Page 13: ...sion Send shut down notify Tcp connid is 3 Send a shutdown notification 0 19212498 PE1 LDP 8 Session Informed Session Down event to L2VPN Inform L2VPN of Session DOWN 0 19212498 PE1 LDP 8 Session Session counter is 1 0 19215395 PE1 LDP 8 Session Vlan interface 12 Link Hello message sent on interface Vlan interface 12 Send a Hello message 0 19215395 PE1 LDP 8 Session Vlan interface 12 Link Hello me...

Page 14: ...ed to operational The session s state is changed to Operational 0 19215437 PE1 LDP 8 Session Address message sent to LSR 140 2 2 2 Send an address message to the opposite end 0 19215437 PE1 LDP 8 Session Informed Session Up event to L2VPN Inform L2VPN of Session UP 0 19215437 PE1 LDP 8 Session Vlan interface 12 Session 140 2 2 2 received address message on Operational state Receive an address mess...

Page 15: ... from LSR 140 2 2 2 0 19810159 PE1 LDP 8 PDU Vlan interface 12 Receive TCP Message from Peer 140 2 2 2 Message content 02 01 00 04 00 00 2a 08 The message type Keepalive Message Receive a Keepalive message 0 19811519 PE1 LDP 8 PDU Received an LDP PDU from LSR 140 3 3 3 0 19811519 PE1 LDP 8 PDU Receive TCP Message from Peer 140 3 3 3 Message content 02 01 00 04 00 00 17 c2 The message type Keepaliv...

Page 16: ...ing mpls lfib command to enable debugging for MPLS entry synchronization or encoding and decoding Use the undo debugging mpls lfib command to disable debugging for MPLS entry synchronization or encoding and decoding By default the debugging for MPLS entry synchronization and encoding decoding is disabled Caution z Do not enable debugging for MPLS entry encoding and decoding when there are a large ...

Page 17: ...nds total size Total number of bytes CmdQ length Number of entries in the queue CmdQ size Total number of entry bytes in the queue Table 1 3 debugging mpls lfib command output description Field Description MFW BFD Interaction between the MFW module and the BFD module Begin Process Begun creating canceling BFD sessions End Process Stopped creating canceling BFD sessions BFD MSG BFD message type SES...

Page 18: ...to drive entry distribution By default debugging for MFW to drive entry distribution is disabled This command is supported on devices with single core CPUs only Table 1 4 debugging mpls lfib slot drv command output description Field Description MFW Forwarding module DRV Drive module VC Virtual circuit ILM Incoming label mapping PW Pseudo wire Del Delete FRR Fast reroute MFW DRV Interaction between...

Page 19: ...ing packet Specifies packet debugging Description Use the debugging mpls lspc command to enable debugging for the LSP control module Use the undo debugging mpls lspc command to disable debugging for the LSP control module By default debugging for the LSP control module is disabled Table 1 5 debugging mpls lspc command output description Field Description DS TLV is invalid The downstream mapping TL...

Page 20: ...MPLS tunnel debugging Description Use the debugging mpls management command to enable MPLS LSP debugging Use the undo debugging mpls management command to disable the debugging By default MPLS debugging is disabled If the LSP management LSPM module works improperly you can execute the debugging mpls management command to locate the fault However the execution of this command will affect system per...

Page 21: ... 557239 enLabelOperation LSPM_LABEL_PUSH ulInLabel 4294967295 ulInIfIndex 0 InIfName ulOutLabel 3 ulLabelStackDepth 0 ulLabelStack ulOutIfIndex 3145744 OutIfName Vlan interface 12 ulOutAtIndex 0 ulVrfIndex 0 ulDestAddr 140 2 2 2 ulDestMask 255 255 255 255 ulSlotNumber 0 0 21301372 PE1 LSPAGENT 8 Event ulNextHop 140 12 1 2 ulTunnelIFIndex 0 ulFRRFlag 0 ulFRRBackupIFIndex 0 ulFRRBackupIFInLabel 4294...

Page 22: ... Queue has been processed Message Source is LSPAGT_ENTITY_MPLS_LSPM OperType is LSPM_LSPAGT_DELETE_NHLFE The Agent deletes the NHLFE entry 0 21301372 PE1 LSPAGENT 8 Event Begin to Print Debug Info Current Slot ID 0 ulLspIndex 9254 ulLspToken 557240 enLabelOperation LSPM_LABEL_PUSH ulInLabel 4294967295 ulInIfIndex 0 InIfName ulOutLabel 1024 ulLabelStackDepth 0 ulLabelStack ulOutIfIndex 3145744 OutI...

Page 23: ...of the deleted entry 0 21301372 PE1 LSPAGENT 8 Event Agent MFW Return value of Call MPLSFW_AgentSendMsgForLspm API function return VOS_OK Delete the entry successfully 0 21305797 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_ADD_ILM Add an ILM entry after the Session is Up again 0 21331182 PE1 LSPAGE...

Page 24: ...oadFlag 1 Information from product ulDrvContext 0 0 ulDrvContext 1 0 ulMplsTeEnabled 0 ul6PEFlag 0 aulIPV6DestAddr 0 0 0 0 ulPrefixLength 0 aulIPV6NextHop 0 0 0 0 ucCT 0 ulBandWidth 4294967295 ulOperType LSPM_LSPAGT_ADD_NHLFE ulRefToken 0 ulSlotNumInToken 0 End of Debug Info Entry content 0 21331197 PE1 LSPAGENT 8 Event Agent MFW Return value of Call MPLSFW_AgentSendMsgForLspm API function return ...

Page 25: ...me Vlan interface 12 ulOutAtIndex 1 ulVrfIndex 0 ulDestAddr 140 3 3 3 ulDestMask 255 255 255 255 ulSlotNumber 0 0 21331197 PE1 LSPAGENT 8 Event ulNextHop 140 12 1 2 ulTunnelIFIndex 0 ulFRRFlag 0 ulFRRBackupIFIndex 0 ulFRRBackupIFInLabel 4294967295 ulMtu 1500 ulFRRKeyword 0 ulRouteType LSPM_IGP ulOutgoingToken 0 ulDownloadFlag 1 Information from product ulDrvContext 0 0 ulDrvContext 1 0 ulMplsTeEna...

Page 26: ...he interface receives a Signal DELETE message 0 22430627 PE1 LSPM 8 LSPM INTERFACE Received Signal DELETE message VRF Index 0 destination 0x8c030303 destination mask 0xffffffff Nexthop 0x8c0c0102 OutIfIndex 0x300010 InIfIndex 0x0 The interface receives a Signal DELETE message Dec 22 16 22 17 972 2005 PE1 LDP 5 SessionUp Session 140 2 2 2 0 public Instance s state change to Up The Session is Up aga...

Page 27: ...ocol is informed 0 92036640 PE1 LSPM 8 LSPM POLICY Calling Signalling protocol for VRF 0 Dst Addr 0x8c030303 Dst Mask 0xffffffff NextHop 0x8c0c0102 If Index 0x300010 Event 13 Call the signaling protocol 0 92036640 PE1 LSPM 8 LSPM POLICY Route Doesnot Satisfy Policy Sig Prot is informed The route does not satisfy the policy The signaling protocol is informed 0 92036640 PE1 LSPM 8 LSPM POLICY Callin...

Page 28: ...d Start two switches connect the two switches and configure MPLS and MPLS LDP for them to establish a session between them Enable MPLS process debugging by executing the debugging mpls management process command on one switch while executing the reset mpls ldp all command on the other PE1 debugging mpls management process PE1 Dec 22 17 05 57 766 2005 PE1 LDP 5 SessionDown Session 140 2 2 2 0 publi...

Page 29: ...ge VRF Index 0 destination 0x8c020202 destination mask 0xffffffff Nexthop 0x8c0c0102 OutIfIndex 0x300010 InIfIndex 0x0 0 25271844 PE1 LSPM 8 LSPM PROCESS Setting MTU LSP MTU 0 25271844 PE1 LSPM 8 LSPM PROCESS Down to Agent success evt lsptype 5 3 For details refer to the above flow 0 25271844 PE1 LSPM 8 LSPM PROCESS Notify to TNLM SUCCESS Event 2 LspIndex 9265 0x8c020202 0x20 token557247 Notify th...

Page 30: ...ocol 0 25274690 PE1 LSPM 8 LSPM PROCESS Received Signaling message 0 25274690 PE1 LSPM 8 LSPM PROCESS Received Signal CREATE message VRF Index 0 destination 0x8c020202 destination mask 0xffffffff Nexthop 0x8c0c0102 OutIfIndex 0x300010 InIfIndex 0x0 0 25274690 PE1 LSPM 8 LSPM PROCESS Setting MTU LSP MTU 0 25274690 PE1 LSPM 8 LSPM PROCESS Add route success VRF 0 Destination 0x8c020202 Destination ma...

Page 31: ...Down to Agent success evt lsptype 1 3 For details refer to the above flow Enable MPLS tunnel debugging by executing the debugging mpls management tunnel command Start two switches connect the two switches and configure MPLS MPLS LDP and MPLS TE for them to establish a session and tunnel between them Enable MPLS tunnel debugging by executing the debugging mpls management tunnel command on one switc...

Page 32: ...2 0 94629360 PE1 LSPM 8 LSPM TUNNEL TE tunnel get mode data ok when check physic ulTunnelIfIndex 3407872 0 94629360 PE1 LSPM 8 LSPM TUNNEL End physic check the tunnel can up OK is returned after a physical check is performed The tunnel can be Up 1 1 6 debugging mpls packet Syntax debugging mpls packet acl acl number error inlabel outer in label inner in label l2vpn in interface interface type inte...

Page 33: ...PE PE1 debugging mpls packet PE1 0 3815709 F RT1 MFW 8 MPLSFW PACKET PUSH Label 3 PKTTYPE_IP Sending to Vlan3 Dest 15 33 33 33 Nexthop 15 20 1 1 Push Label 3 into a packet and send the packet to DUT3 0 3823332 F RT1 MFW 8 MPLSFW PACKET PUSH Label 3 PKTTYPE_IP Sending to Vlan3 Dest 15 33 33 33 Nexthop 15 20 1 1 Push Label 3 into a packet and send the packet to DUT3 0 3824701 F RT1 MFW 8 MPLSFW PACK...

Page 34: ... POP label 1024 from VLAN interface 3 and forward the packet like an IP packet 0 3824779 F RT1 MFW 8 MPLSFW PACKET Slot 2 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 0 3824851 F RT1 MFW 8 MPLSFW PACKET PUSH Label 1024 EXP 0 TTL 255 PUSH Label 1024 EXP 0 TTL 255 PKTTYPE_MPLS Sendin...

Page 35: ...bled interfaces z If you specify interface type interface number the command displays the brief information about the specified MPLS enabled interface Related commands display mpls statistics interface and mpls Examples Display information about all interfaces with MPLS enabled Sysname display mpls interface Interface Status TE Attr LSP Count CRLSP Count Vlan12 Up En 0 0 Vlan14 Up En 0 0 Display d...

Page 36: ...gument the start label of a range of labels to label value2 End label of a range of labels all Specifies all labels Description Use the display mpls label command to display the status of one or more specified or all labels Examples Display the status of a specified label Sysname display mpls label 1280 Label alloc state means not used means used Dynamic Label 1280 Display the status of all labels...

Page 37: ...cludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp command to display information about LDP If you do not specify any parameter the command will display all LDP information in detail Related commands mpls ldp Examples Display all LDP information in detail Sysname display mpls ldp all verbose LDP Global Information Pro...

Page 38: ...PLS LSR ID of the device in the format of IP address lsp id Local LSP ID of the ingress Filters the output information begin Begins with the specified string include Includes the specified string exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp cr lsp command to display information about CR LSPs establishe...

Page 39: ...name Name of the VPN instance interface type interface number Specifies an interface by its type and number verbose Displays detailed information Filters the output information begin Begins with the specified string include Includes the specified string exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp inte...

Page 40: ...gotiated Hello Timer 15 Sec Configured Keepalive Timer 45 Sec Label Advertisement Mode Downstream Unsolicited Hello Message Sent Rcvd 591 1033 Message Count Interface Name Vlan14 LDP ID 172 17 1 1 0 Transport Address 172 17 1 1 Entity Status Active Interface MTU 1500 Configured Hello Timer 15 Sec Negotiated Hello Timer 15 Sec Configured Keepalive Timer 45 Sec Label Advertisement Mode Downstream Un...

Page 41: ... instance vpn instance name Specifies a VPN instance by its name dest addr Destination address of the LSP mask length Length of the mask for the destination address Filters the output information begin Begins with the specified string include Includes the specified string exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the di...

Page 42: ...r all verbose begin exclude include regular expression View Any view Default Level 1 Monitor level Parameters vpn instance vpn instance name Specifies a VPN instance by its name peer id LSR ID of the peer verbose Displays detailed information Filters the output information begin Begins with the specified string include Includes the specified string exclude Excludes the specified string regular exp...

Page 43: ...Vector Limit 0 Peer FT Flag Off Peer Keepalive Timer 45 Sec Recovery Timer Reconnect Timer Peer Label Advertisement Mode Downstream Unsolicited Peer Discovery Source Vlan interface12 Peer LDP ID 168 1 1 1 0 Peer Max PDU Length 4096 Peer Transport Address 168 1 1 1 Peer Loop Detection Off Peer Path Vector Limit 0 Peer FT Flag Off Peer Keepalive Timer 45 Sec Recovery Timer Reconnect Timer Peer Label...

Page 44: ...ng include Includes the specified string exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp remote peer command to display information about LDP remote peers Related commands mpls ldp and remote ip Examples Display information about remote peer BJI Sysname display mpls ldp remote peer remote name BJI LDP Rem...

Page 45: ...parameter is used to display the information about all peers of the specified VPN peer id LSR ID of the peer verbose Displays detailed information Filters the output information begin Begins with the specified string include Includes the specified string exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp ses...

Page 46: ...dvertisement Mode Downstream Unsolicited Label Resource Status Peer Local Available Available Peer Discovery Mechanism Extended Session existed time 000 00 01 DDD HH MM LDP Extended Discovery Source Remote peer 1 Addresses received from peer Count 2 10 1 1 1 1 1 1 1 Peer LDP ID 2 2 2 2 0 Local LDP ID 3 3 3 3 0 TCP Connection 3 3 3 3 2 2 2 2 Session State Operational Session Role Active Session FT ...

Page 47: ...g exclude Excludes the specified string regular expression Regular expression No blank space is acceptable Description Use the display mpls ldp vpn instance command to display information about a specified VPN instance Related commands mpls ldp system view mpls ldp interface view Examples Display information about VPN instance vpn1 Sysname display mpls ldp vpn instance vpn1 LDP Global Information ...

Page 48: ...erface Incoming interface of the LSPs outgoing interface Outgoing interface of the LSPs interface type interface number Specifies an interface by its type and number in label in label value Value of the incoming label out label out label value Value of the outgoing label exclude Excludes the specified FEC include Includes the specified FEC dest addr Destination address mask length Length of the ma...

Page 49: ...sp command to display information about LSPs With no parameters specified the command displays information about all LSPs Related commands display mpls lsp display mpls statistics lsp display mpls static lsp Note z This command supports these interface types POS interface tunnel interface and VLAN interface z The S9500 series does not support CR LDP Examples Display information about all LSPs Sysn...

Page 50: ...name display mpls lsp verbose LSP Information LDP LSP No 1 VrfIndex Fec 1 1 1 9 32 Nexthop 127 0 0 1 In Label 3 Out Label NULL In Interface Vlan interface12 Out Interface LspIndex 10241 Token 0 LsrType Egress Outgoing token 0 Label Operation POP Table 1 7 display mpls lsp verbose command output description Field Description Fec Forwarding equivalence class in either of the following two forms z IP...

Page 51: ... 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 Transit Egress STATIC LSP 1 1 0 0 STATIC CRLSP 1 1 0 0 LDP LSP 0 0 0 0 CRLDP CRLSP 0 0 0 0 RSVP CRLSP 1 1 0 0 BGP LSP 0 0 0 0 ASBR LSP 0 0 0 0 BGP IPV6 LSP 0 0 0 0 ...

Page 52: ...on IP address Description Use the display mpls route state command to display route related information With no VPN instance specified the command displays route related information of the public network With the dest addr dest mask arguments not specified the command displays all route related information Examples Display all route related information Sysname display mpls route state DEST MASK NE...

Page 53: ...sp command to display information about static LSPs Related commands display mpls lsp display mpls statistics lsp Examples Display brief information about static LSPs Sysname display mpls static lsp Name FEC I O Label I O If Stat lsp1 3 3 3 9 32 NULL 100 Vlan14 Up Display detailed information about static LSPs Sysname display mpls static lsp verbose No 1 LSP Name lsp1 LSR Type Ingress FEC 3 3 3 9 ...

Page 54: ...lt the interval is 0 and the system does not collect MPLS statistics in which case the value of every statistical item is 0 Related commands statistics interval Examples Display MPLS statistics for all interfaces Sysname display mpls statistics interface all Statistics for Interface IN Incoming Interface Vlan interface12 Octets 0 Packets 0 Errors 0 Disables 0 Failed Label Lookup 0 Start Time 2004 ...

Page 55: ...e 2004 04 28 10 24 04 End Time 2004 04 28 10 24 04 Statistics for Interface IN Incoming Interface Vlan interface16 Octets 0 Packets 0 Errors 0 Disables 0 Failed Label Lookup 0 Start Time 2004 04 28 10 24 10 End Time 2004 04 28 10 24 10 Statistics for Interface OUT Outgoing Interface Vlan interface16 Octets 0 Packets 0 Errors 0 Disables 0 Start Time 2004 04 28 10 24 10 End Time 2004 04 28 10 24 10 ...

Page 56: ...istical item is 0 Related commands statistics interval Examples Display MPLS statistics for all LSPs Sysname display mpls statistics lsp all Statistics for Lsp IN LSP Name LSP Index DynamicLsp 9217 InSegment Octets 0 Packets 0 Errors 0 Down 0 Start Time 2006 05 20 15 52 30 End Time 2006 05 20 15 52 30 Statistics for Lsp OUT LSP Name LSP Index DynamicLsp 9217 OutSegment Octets 0 Packets 0 Errors 0 ...

Page 57: ...no statistics is collected in the outgoing direction and the start time and end time in the OutSegment part of the command output are both 0 1 1 23 du readvertise Syntax du readvertise undo du readvertise View MPLS LDP view MPLS LDP VPN instance view Default Level 1 Monitor level Parameters None Description Use the du readvertise command to enable label readvertisement for DU mode Use the undo du ...

Page 58: ...meters value Label readvertisement interval in seconds Description Use the du readvertise timer command to set the interval for label readvertisement in DU mode Use the undo du readvertise timer command to restore the default By default the interval for label readvertisement in DU mode is 30 seconds Examples Set the DU mode label readvertisement interval to 100 seconds for the public network LDP S...

Page 59: ...or loop detection is 32 Note that z You must configure the command before enabling LDP on any interface z The maximum hop count dictates how fast LDP detects a loop Adjust this argument as required Related commands loop detect path vectors Examples Set the maximum hop count for loop detection to 25 for the public network LDP Sysname system view Sysname mpls ldp Sysname mpls ldp hops count 25 Set t...

Page 60: ...value of the distributed label will be equal to or greater than 1024 Description Use the label advertise command to specify whether the egress supports PHP and what type of label the egress should distribute to the penultimate hop Use the undo label advertise command to restore the default By default an egress supports PHP and distributes to the penultimate hop an implicit null label Note z The ty...

Page 61: ...FEC or the LSR itself is the egress node of the FEC Description Use the label distribution command to configure the label distribution control mode Use the undo label distribution command to restore the default The default mode is ordered Note You must use the reset mpls ldp command to reset LDP sessions for the configuration to take effect Examples Set the label distribution control mode to indep...

Page 62: ...ding is from its next hop for the FEC or not Description Use the label retention command to configure the label retention mode Use the undo label retention command to restore the default The default label retention mode is liberal Note You must use the reset mpls ldp command to reset LDP sessions for the configuration to take effect Examples Set the label retention mode to conservative for the pub...

Page 63: ...oop detection By default loop detection is disabled Note that you must enable loop detection before enabling LDP on any interfaces Related commands hops count path vectors Examples Enable loop detection for the public network LDP Sysname system view Sysname mpls ldp Sysname mpls ldp loop detect Enable loop detection for LDP instance named vpn1 Sysname system view Sysname mpls ldp vpn instance vpn1...

Page 64: ... LSPs z Using ip prefix prefix name keyword and argument combination in the lsp trigger command only IGP routes surviving the IGP route filtering based on an IP address prefix list can trigger LDP to establish LSPs z For an LSP to be established an exactly matched routing entry must exist on the LSR With loopback addresses using 32 bit masks only exactly matched host routing entries can trigger LD...

Page 65: ...m view Sysname mpls ldp Sysname mpls ldp lsr id 2 2 2 3 Configure the LDP LSR ID of LDP instance named vpn1 Sysname system view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 lsr id 4 2 2 3 1 1 32 md5 password Syntax md5 password cipher plain peer lsr id password undo md5 password peer lsr id View MPLS LDP view MPLS LDP VPN instance view Default Level 1 Monitor level Paramet...

Page 66: ...led Changing of the password will cause the session to be reestablished and all existing LSPs related to the session to be deleted This command takes effect only when MPLS LDP is enabled in the corresponding view Examples Enable MD5 authentication for the public network LDP setting the password display mode to plain text Sysname system view Sysname mpls ldp Sysname mpls ldp md5 password plain 3 3 ...

Page 67: ...to configure the LSR ID before enabling MPLS capability z You need to enable MPLS globally before enabling it for an interface z You need to enter MPLS view to configure other MPLS commands Related commands mpls lsr id Examples Enable MPLS for the current node and enter MPLS view Sysname System view Sysname mpls lsr id 1 1 1 1 Sysname mpls Sysname mpls quit Enable MPLS for interface VLAN interface...

Page 68: ...LS LDP VPN instance view Use the undo mpls ldp vpn instance command to disable LDP for a VPN instance Configure the mpls ldp command after configuring MPLS LSR ID and enabling MPLS for the current node Examples Enable LDP for the current node Sysname System view Sysname mpls lsr id 1 1 1 1 Sysname mpls Sysname mpls quit Sysname mpls ldp Sysname mpls ldp quit Enable LDP for VPN instance vpn1 Sysnam...

Page 69: ...e the mpls ldp command in system view to enable MPLS LDP z Use the mpls command in interface view to enable MPLS If the interface is bound to a VPN instance you must use the mpls ldp vpn instance command to enable LDP for the VPN instance before enabling LDP on the interface to add the interface into the VPN instance Note This command supports these interface types POS interface tunnel interface a...

Page 70: ...ote that changing the label advertisement mode will cause the existing sessions to be reestablished and the LSPs established by the sessions to be deleted and reestablished Examples Configure the label advertisement mode Sysname system view Sysname interface vlan interface 12 Sysname Vlan interface12 mpls Sysname Vlan interface12 mpls ldp Sysname Vlan interface12 mpls ldp advertisement du Sysname ...

Page 71: ...er hello hold Syntax mpls ldp timer hello hold value undo mpls ldp timer hello hold View Interface view MPLS LDP remote peer view Default Level 1 Monitor level Parameters value Length of time for the Hello timer Description Use the mpls ldp timer hello hold command to set the Hello timers Use the undo mpls ldp timer hello hold command to restore the defaults In interface view you configure the lin...

Page 72: ...mote peer BJI Sysname mpls ldp remote bji remote ip 3 3 3 3 Sysname mpls ldp remote bji mpls ldp timer hello hold 1000 1 1 39 mpls ldp timer keepalive hold Syntax mpls ldp timer keepalive hold value undo mpls ldp timer keepalive hold View Interface view MPLS LDP remote peer view Default Level 1 Monitor level Parameters value Length of time for the Keepalive timer Description Use the mpls ldp timer...

Page 73: ...an interface1 mpls Sysname Vlan interface1 mpls ldp Sysname Vlan interface1 mpls ldp timer keepalive hold 50 Set the targeted Keepalive timer for remote sessions to 1000 seconds Sysname System view Sysname mpls ldp remote peer BJI Sysname mpls ldp remote bji remote ip 3 3 3 3 Sysname mpls ldp remote bji mpls ldp timer keepalive hold 1000 1 1 40 mpls ldp transport address Syntax mpls ldp transport ...

Page 74: ...ce VLAN interface 1 configure the link Hello transport address for local sessions as the IP address of the current interface Sysname System view Sysname interface vlan interface 1 Sysname Vlan interface1 mpls Sysname Vlan interface1 mpls ldp Sysname Vlan interface1 mpls ldp transport address interface Configure the targeted Hello transport address for remote sessions to be the IP address of interf...

Page 75: ... as the ID Related commands display mpls interface Examples Set the LSR ID to 3 3 3 3 Sysname system view Sysname mpls lsr id 3 3 3 3 1 1 42 mtu signalling Syntax mtu signalling undo mtu signalling View MPLS LDP view Default Level 1 Monitor level Parameters None Description Use the mtu signalling command to enable MTU signaling Use the undo mtu signalling command to disable MTU signaling By defaul...

Page 76: ... the path vector maximum hop count Use the undo path vectors command to restore the default By default the path vector maximum hop count for an instance is 32 Note that this command takes effect only when MPLS LDP is enabled on all interfaces Related commands loop detect hops count Examples Set the path vector maximum hop count to 3 for the public network LDP Sysname system view Sysname mpls ldp S...

Page 77: ...o 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 s packet size Specifies the payload length of the echo request message t time out Specifies the timeout interval for the response to an echo request message v Displays detailed response information ipv4 dest addr mask length...

Page 78: ... max 31 55 62 ms 1 1 45 remote ip Syntax remote ip ip address undo remote ip View MPLS LDP remote peer view Default Level 1 Monitor level Parameters ip address IP address of the remote peer Description Use the remote ip command to configure the LDP remote peer IP address Use the undo remote ip command to remove the configuration Note that the LDP remote peer IP address must be the MPLS LSR ID of t...

Page 79: ...y the all keyword specified the command resets the sessions of all LDP instances including those of the public LDP instances and those of the VPN LDP instances z With the vpn instance vpn instance name keyword and argument combination specified the command resets the sessions of the specified LDP instance z With the peer peer id keyword and argument combination specified the command resets the ses...

Page 80: ...aces Description Use the reset mpls statistics interface command to clear MPLS statistics for a specified or all MPLS interfaces Related commands display mpls statistics interface Examples Clear MPLS statistics for interface VLAN interface 1 Sysname reset mpls statistics interface vlan interface 1 1 1 48 reset mpls statistics lsp Syntax reset mpls statistics lsp index all name lsp name View User v...

Page 81: ...ls Syntax snmp agent trap enable mpls undo snmp agent trap enable mpls View System view Default Level 3 Manage level Parameters None Description Use the snmp agent trap enable mpls command to enable the MPLS trap function Use the undo snmp agent trap enable command to disable the function By default the function is disabled Examples Enable the MPLS trap function Sysname system view Sysname snmp ag...

Page 82: ...ss command to remove a static LSP taking the current LSR as the egress Related commands static lsp ingress static lsp transit display mpls static lsp Examples Configure a static LSP named bj sh taking the current LSR as the egress Sysname system view Sysname static lsp egress bj sh incoming interface vlan interface 12 in label 233 1 1 51 static lsp ingress Syntax static lsp ingress lsp name destin...

Page 83: ... of the next hop is present in the routing table you must also specify the next hop when configuring the static IP route z If you specify the outgoing interface when configuring a static LSP you must also specify the outgoing interface when configuring the static IP route z The address of the next hop cannot be any local public network IP address Related commands static lsp egress static lsp trans...

Page 84: ... transit LSR Note that z If you specify the next hop when configuring a static LSP and the address of the next hop is present in the routing table you must also specify the next hop when configuring the static IP route z If you specify the outgoing interface when configuring a static LSP you must also specify the outgoing interface when configuring the static IP route z The address of the next hop...

Page 85: ...mands display mpls statistics interface display mpls statistics lsp Examples Set the statistics interval to 30 seconds Sysname system view Sysname mpls Sysname mpls statistics interval 30 1 1 54 tracert lsp Syntax tracert lsp a source ip exp exp value h ttl value r reply mode t time out ipv4 dest addr mask length destination ip addr header te interface type interface number View Any view Default L...

Page 86: ...stination address for the MPLS echo request message which can be any address on segment 127 0 0 0 8 that is any local loopback address te interface type interface number Specifies a tunnel interface by its type and number Description Use the tracert lsp command to locate an MPLS LSP error Examples Locate an error along the LSP to 3 3 3 9 on host 1 1 1 1 Sysname tracert lsp ipv4 3 3 3 9 32 LSP Trac...

Page 87: ... remove the configuration of the ttl expiration pop command Related commands ttl propagate Examples Specify that the ICMP response be transported back along the LSP when the TTL of an MPLS packet expires Sysname system view Sysname mpls Sysname mpls undo ttl expiration pop 1 1 56 ttl propagate Syntax ttl propagate public vpn undo ttl propagate public vpn View MPLS view Default Level 2 System level...

Page 88: ... S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands 1 80 Related commands ttl expiration Examples Enable MPLS IP TTL propagation for VPN packets Sysname system view Sysname mpls Sysname mpls ttl propagate vpn ...

Page 89: ... mpls rsvp te peer 1 19 1 1 16 display mpls rsvp te psb content 1 21 1 1 17 display mpls rsvp te request 1 23 1 1 18 display mpls rsvp te reservation 1 24 1 1 19 display mpls rsvp te rsb content 1 26 1 1 20 display mpls rsvp te sender 1 28 1 1 21 display mpls rsvp te statistics 1 30 1 1 22 display mpls static cr lsp 1 33 1 1 23 display mpls te cspf tedb 1 35 1 1 24 display mpls te link administrat...

Page 90: ...dwidth 1 75 1 1 55 mpls te bandwidth change thresholds 1 76 1 1 56 mpls te commit 1 77 1 1 57 mpls te cspf 1 77 1 1 58 mpls te cspf timer failed link 1 78 1 1 59 mpls te fast reroute 1 79 1 1 60 mpls te fast reroute bypass tunnel 1 80 1 1 61 mpls te igp advertise 1 81 1 1 62 mpls te igp metric 1 82 1 1 63 mpls te igp shortcut 1 82 1 1 64 mpls te link administrative group 1 83 1 1 65 mpls te loop d...

Page 91: ...imer 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 1 99 1 1 85 opaque capability 1 100 1 1 86 reset mpls rsvp te statistics 1 100 1 1 87 static cr lsp egress 1 101 1 1 88 static cr lsp ingress 1 102 1 1 89 static cr lsp transit 1 103 1 1 90 traffic eng 1 104 ...

Page 92: ...a loose node which is not necessarily directly connected to the specified node strict Indicates that the next hop is a strict node which must be directly connected to the specified node exclude Excludes the node identified by the ip address1 argument from the explicit path Excluded addresses are not considered in path calculation after Inserts the node identified by the ip address1 argument after ...

Page 93: ...tance name undo debugging isis traffic eng advertisement event process id vpn instance vpn instance name View User view Default Level 1 Monitor level Parameters advertisement Enables IS IS advertisement debugging event Enables IS IS TE event debugging process id IS IS process ID vpn instance Enables debugging for a VPN instance vpn instance name VPN instance name Description Use the debugging isis...

Page 94: ...Monitor level Parameters all Enables debugging for all MPLS RSVP TE messages authentication Enables authentication debugging bundle Enables bundle debugging encdec Enables encoding decoding debugging error Enables error debugging hello Enables Hello debugging hsb Enables hot backup bugging main Enables main debugging msg hex Enables details debugging path Enables path debugging perr Enables path e...

Page 95: ... use the debugging mpls tunnel id command Examples Enable debugging for all RSVP TE messages Sysname debugging mpls rsvp te all Disable RSVP TE Srefresh debugging Sysname undo debugging mpls rsvp te srefresh 1 1 4 debugging mpls te cspf Syntax debugging mpls te cspf all computation errors events tedb undo debugging mpls te cspf all computation errors events tedb View User view Default Level 1 Moni...

Page 96: ...bugging mpls te management all events fast reroute link administration reoptimization states View User view Default Level 1 Monitor level Parameters all Enables debugging for all MPLS TE messages events Enables MPLS TE event debugging fast reroute Enables MPLS TE fast reroute FRR debugging link administration Enables debugging for admission control and bandwidth allocation of MPLS TE link administ...

Page 97: ...rocess id mpls te View User view Default Level 1 Monitor level Parameters process id OSPF process ID in the range 1 to 65535 Description Use the debugging ospf mpls te command to enable OSPF TE debugging With OSPF TE debugging enabled all information about TE LSA receipt generation propagation refreshing is displayed Use the undo debugging ospf mpls te command to disable OSPF TE debugging By defau...

Page 98: ...explicit path p1 Sysname explicit path p1 delete hop 10 0 0 120 1 1 8 display explicit path Syntax display explicit path pathname View Any view Default Level 1 Monitor level Parameters pathname Specifies a path name Description Use the display explicit path command to display information about an explicit path If no path name is specified information about all explicit paths is displayed Examples ...

Page 99: ... explicit path command Field Description Path Name Explicit path name Path Status Explicit path status 1 1 9 display isis traffic eng advertisements Syntax display isis traffic eng advertisements level 1 level 1 2 level 2 lsp id local process id vpn instance vpn instance name View Any view Default Level 1 Monitor level Parameters level 1 Displays the TE information of IS IS Level 1 devices level 1...

Page 100: ...e TE information of IS IS Level 1 2 devices is displayed Examples Display the latest TE information advertised by IS IS TE Sysname display isis traffic eng advertisements TE information for ISIS 1 Level 1 Link State Database LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT P OL 0000 0000 0001 00 00 0x00000001 0x3f57 534 0 0 0 NLPID IPV4 AREA ADDR 00 0005 INTF ADDR 10 1 1 1 INTF ADDR 1 1 1 9 INTF AD...

Page 101: ...n Doll Bandwidth Constraints BC 0 6250 Bytes sec BC 1 0 Bytes sec Local Overbooking Multiplier LOM 0 100 LOM 1 100 NBR 0000 0000 0004 00 COST 10 Affinity 0x00000000 Interface IP Address 30 1 1 1 Peer IP Address 30 1 1 2 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 6250 Bytes sec BW Unresrv 2 6250 Bytes sec BW Unres...

Page 102: ...ID NBR Neighbor COST Cost Affinity Affinity attribute Interface IP Address Interface IP address Physical BW Physical bandwidth Reservable BW Reservable bandwidth BW Unresrv 0 7 Available subpool bandwidths at eight levels TE Cost TE cost Bandwidth Constraint Model Bandwidth constraint model BC 0 Global pool BC 1 Subpool Local Overbooking Multiplier Local overbooking multiplier LOM 0 LOM 1 Local ov...

Page 103: ...configure this keyword and argument combination Description Use the display isis traffic eng link command to display information about TE links for IS IS If no IS IS level is specified the TE link information of IS IS Level 1 2 devices is displayed Examples Display information about TE links for IS IS Sysname display isis traffic eng link TE information for ISIS 1 Level 2 Link Information 0000 000...

Page 104: ...evel 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 level 2 Displays the TE information of IS IS Level 2 devices process id 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 Description Use the display isis t...

Page 105: ...RouterId 89 2 2 2 Nbr 1111 1111 1113 00 Link State 1 Total Number of TE Networks in Level 2 Area 1 Num Active 1 Table 1 4 Description on the fields of the display isis traffic eng network command Field Description Level 1 Network Information Level 1 network information DIS Router ID ID of the DR DIS s Ip Address IP address of the DR Status In CSPF CSPF state Attached Router Count Number of attache...

Page 106: ...IS IS If no IS IS level is specified the statistics about TE in the IS IS Level 1 2 area is displayed Examples Display statistics about TE for IS IS Sysname display isis traffic eng statistics TE information for ISIS 1 TE Statistics Information IS IS System Type Level 1 2 IS IS Cost Style Status Wide IS IS Level 1 Traffic Engineering Status Disabled IS IS Level 2 Traffic Engineering Status Enabled...

Page 107: ... interface number Specifies an interface for which RSVP TE configuration is displayed Filters output by regular expression begin Displays information beginning with a defined regular expression include Displays information that includes a defined regular expression exclude Displays information that excludes a defined regular expression regular expression Regular expression a string of 1 to 80 char...

Page 108: ...refresh retries count Number of Path and Resv message retransmissions Blockade Multiplier Blockade multiplier Display the RSVP TE configuration on interface VLAN interface 12 Sysname display mpls rsvp te interface vlan interface 12 Interface Vlan interface 12 Interface state UP Total BW 80 Used BW 20 Hello configured NO Num of Neighbors 1 SRefresh feature ENABLE SRefresh Interval 30sec Authenticat...

Page 109: ...erface number begin include exclude regular expression View Any view Default Level 1 Monitor level Parameters interface interface type interface number Specifies an interface by its type and number Filters output by regular expression begin Displays information beginning with a defined regular expression include Displays information that includes a defined regular expression exclude Displays infor...

Page 110: ...Dest Tunnel destination in the format of X X X X Ingress LSR ID Ingress LSR ID in the format of X X X X Local LSP ID Local LSP ID Session Tunnel ID Session tunnel ID Next Hop Addr Next hop address in the format of X X X X Upstream label Upstream label Downstream Label Downstream label 1 1 15 display mpls rsvp te peer Syntax display mpls rsvp te peer interface interface type interface number begin ...

Page 111: ...erface Vlan interface14 Neighbor Addr 80 2 1 1 SrcInstance 832 NbrSrcInstance 920 PSB Count 1 RSB Count 0 Hello Type Sent REQ Neighbor Hello Extension ENABLE SRefresh Enable NO Reliability Enable YES Table 1 9 Description on the fields of the display mpls rsvp te peer command Field Description Interface Vlan interface 12 RSVP TE enabled VLAN interface Neighbor Addr Neighbor address in the format o...

Page 112: ...ssion include Displays information that includes a defined regular expression exclude Displays information that excludes a defined regular expression regular expression Regular expression a string without spaces Description Use the display mpls rsvp te psb content command to display information about RSVP TE PSB Examples Display PSB information Sysname display mpls rsvp te psb content 19 19 19 19 ...

Page 113: ...format of X X X X Session Tunnel ID Session tunnel ID Tunnel ExtID Tunnel extension ID in the format of X X X X Ingress LSR ID Ingress LSR ID in the format of X X X X Local LSP ID Local LSP ID Next Hop Next hop address in the format of X X X X Previous Hop Previous hop address in the format of X X X X In Label Incoming label Out Label Outgoing label Send message ID Instance of sent Message ID Resv...

Page 114: ... from the interface to the next hop at X X X X Resource Available when the RSVP flag is configured 1 1 17 display mpls rsvp te request Syntax display mpls rsvp te request interface interface type interface number begin include exclude regular expression View Any view Default Level 1 Monitor level Parameters interface interface type interface number Specifies an interface by its type and number Fil...

Page 115: ...p te request command Field Description Interface Vlan interface 12 RSVP TE enabled VLAN interface Tunnel Dest Tunnel destination in the format of X X X X Ingress LSR ID Ingress LSR ID in the format of X X X X Local LSP ID Local LSP ID Session Tunnel ID Session tunnel ID Next Hop Address Next hop address in the format of X X X X SessionFlag Reservation style Token Bucket rate Token bucket rate a tr...

Page 116: ...ame display mpls rsvp te reservation interface vlan interface 12 Interface Vlan interface 12 Tunnel Dest 29 29 29 29 Ingress LSR ID 19 19 19 19 LSP ID 1 Session Tunnel ID 1 Upstream Label Token bucket rate 0 00 Token bucket size 0 00 Display information about RSVP TE reservations on all interfaces Sysname display mpls rsvp te reservation Interface Vlan interface 12 Tunnel Dest 29 29 29 29 Ingress ...

Page 117: ...expression View Any view Default Level 1 Monitor level Parameters ingress lsr id Ingress LSR ID lspid Local LSP ID tunnel id Tunnel ID egress lsr id Egress LSR ID nexthop address Next hop address Filters output by regular expression begin Displays information beginning with a defined regular expression include Displays information that includes a defined regular expression exclude Displays informa...

Page 118: ...2500 00 Token bucket size 0 00 Peak data rate 0 00 Minimum policed unit 0 Maximum packet size 0 Bandwidth guarantees 0 00 Delay guarantees 0 Qos Service is Controlled Resv Message arrive on Vlan interface 12 from NHOP 101 101 101 2 Table 1 13 Description on the fields of display mpls rsvp te rsb content Field Description Tunnel Dest Tunnel destination in the format of X X X X Session Tunnel ID Ses...

Page 119: ...affic parameter Peak Data Rate Peak data rate in kbps a traffic parameter Maximum packet size Maximum packet size a traffic parameter Minimum policed unit Minimum policed unit a traffic parameter Bandwidth guarantees Guaranteed bandwidth a reservation specifications parameter Delay guarantees Delay guarantee a reservation specifications parameter QOS service QoS guarantee control Resv Message Rese...

Page 120: ...9 19 LSP ID 1 Session Tunnel ID 1 Session Name Tunnel0 0 0 Previous Hop Address 101 101 101 1 Token bucket rate 0 00 Token bucket size 0 00 Display the RSVP TE sender message information on all interfaces Sysname display mpls rsvp te sender Interface Vlan interface 12 Tunnel Dest 19 19 19 19 Ingress LSR ID 29 29 29 29 LSP ID 1 Session Tunnel ID 1 Session Name Tunnel0 0 0 Previous Hop Address 101 1...

Page 121: ...vp te statistics global interface interface type interface number View Any view Default Level 1 Monitor level Parameters global Display global RSVP TE information interface Displays statistics about RSVP TE for a specified or all interfaces if no interface is specified interface type interface number Specifies an interface for which statistics about RSVP TE is displayed Description Use the display...

Page 122: ...cErrMsgCounter 0 RecReqFaultCounter 0 Display the RSVP TE statistics of interface VLAN interface 12 Sysname display mpls rsvp te statistics interface Vlan interface 12 PSB CleanupTimeOutCounter 0 RSB CleanupTimeOutCounter 0 SendPacketCounter 69 RecPacketCounter 68 SendPathCounter 6 RecPathCounter 0 SendResvCounter 0 RecResvCounter 5 SendResvConfCounter 0 RecResvConfCounter 0 SendHelloCounter 2 Rec...

Page 123: ...es SendHelloCounter Number of transmitted Hello messages RecHelloCounter Number of received Hello messages SendAckCounter Number of transmitted Ack messages RecAckCounter Number of received Ack messages SendPathErrCounter Number of transmitted PathErr messages RecPathErrCounter Number of received PathErr messages SendResvErrCounter Number of transmitted ResvErr messages RecResvErrCounter Number of...

Page 124: ...me exclude Displays only CR LSPs with destination IP addresses other than the one specified by the ip address prefix length arguments include Displays only CR LSPs with the destination IP address specified by the ip address prefix length arguments ip address Destination IP address prefix length IP address prefix length verbose Displays detailed information Description Use the display mpls static c...

Page 125: ...splay detailed information about all static CR LSPs Sysname display mpls static cr lsp verbose No 1 LSP Name abc LSR Type Transit FEC In Label 20 Out Label 30 In Interface Vlan interface 12 Out Interface Vlan interface 14 NextHop 3 2 1 2 Lsp Status Down Table 1 17 Description on the fields of display mpls static cr lsp verbose Field Description LSP Name Static CR LSP name LSR Type LSR type ingress...

Page 126: ...lsr id Specifies a node by its MPLS LSR ID Filters output by regular expression begin Displays information beginning with a defined regular expression include Displays information that includes a defined regular expression exclude Displays information that excludes a defined regular expression regular expression Regular expression a string without spaces Description Use the display mpls te cspf te...

Page 127: ...of the display mpls te cspf tedb command Field Description ID Number DR MPLS LSR Id MPLS LSR ID of the designated router DR DR Address Interface address of the DR IGP Interior gateway protocol OSPF or IS IS Process Id IGP process ID Area Area to which the router belongs Neighbor Neighbor router ID Display all TEDB information Sysname display mpls te cspf tedb all Maximum Node Supported 512 Maximum...

Page 128: ...te cspf tedb area 1 Router Node Information for Area 1 Id MPLS LSR Id IGP Process Id Area Link Count 1 2 2 2 2 OSPF 100 1 1 2 3 3 3 3 OSPF 100 1 1 3 2 2 2 2 ISIS 100 Level 1 1 4 3 3 3 3 ISIS 100 Level 1 1 Network LSA Information for Area 1 Id DR MPLS LSR Id DR Address IGP Process Id Area Neighbor 1 3 3 3 3 20 1 1 2 OSPF 100 1 2 2 2 2 3 3 3 3 2 3 3 3 3 20 1 1 2 ISIS 100 Level 1 3 3 3 3 2 2 2 2 Tabl...

Page 129: ... 0 47 2 0 0 32 Neighbor MPLS LSR Id 1 1 1 2 IGP Area 1 Link Type point to point Link Status Inactive IGP Metric 100 TE Metric 100 Color 0xff Maximum Bandwidth 100 kbps Maximum Reservable Bandwidth 20 kbps Bandwidth Constraints Local Overbooking Multiplier BC 0 100 kbps LOM 0 1 BC 1 20 kbps LOM 1 1 BW Unreserved for Class type 0 0 10 kbps 1 10 kbps 2 10 kbps 3 10 kbps 4 10 kbps 5 10 kbps 6 10 kbps ...

Page 130: ...5 10 kbps 6 10 kbps 7 10 kbps BW Unreserved for Class type 1 0 10 kbps 1 10 kbps 2 10 kbps 3 10 kbps 4 10 kbps 5 10 kbps 6 10 kbps 7 10 kbps Table 1 21 Description on the fields of the display mpls te cspf tedb node command Field Description MPLS LSR Id MPLS LSR ID of node IGP_Type IGP type Process Id IGP process ID MPLS TE Link Count Number of MPLS TE links Link x Specific link with the bracketed...

Page 131: ...Type ISIS Process Id 100 Link 1 Interface IP Address 20 1 1 1 DR Address 20 1 1 2 IGP Area Level 1 Link Type multi access Link Status Active IGP Metric 10 TE Metric 0 Color 0x0 Maximum Bandwidth 0 kbps Maximum Reservable Bandwidth 0 kbps Bandwidth Constraints Local Overbooking Multiplier BC 0 0 kbps LOM 0 1 BC 1 0 kbps LOM 1 1 BW Unreserved for Class type 0 0 0 kbps 1 0 kbps 2 0 kbps 3 0 kbps 4 0 ...

Page 132: ...able Bandwidth Maximum reservable bandwidth of link Bandwidth Constraints Bandwidth constraints BW Unreserved for Class type0 Unreserved bandwidth at the CT0 level BW Unreserved for Class type1 Unreserved bandwidth at the CT1 level 1 1 24 display mpls te link administration admission control Syntax display mpls te link administration admission control interface interface type interface number View...

Page 133: ...k In Out IF Incoming Outgoing interface S H Prio Setup and holding priorities of CR LSP CT Service class type BW kbps Bandwidth in kbps 1 1 25 display mpls te link administration bandwidth allocation Syntax display mpls te link administration bandwidth allocation interface interface type interface number View Any view Default Level 1 Monitor level Parameters interface interface type interface numb...

Page 134: ... PhysicalUpdown Link Status UP TE CLASS CLASS TYPE PRIORITY BW RESERVED kbps BW AVAILABLE kbps 0 0 0 0 0 1 0 1 0 0 2 0 2 0 0 3 0 3 0 0 4 0 4 0 0 5 0 5 0 0 6 0 6 0 0 7 0 7 0 0 8 1 0 0 0 9 1 1 0 0 10 1 2 0 0 11 1 3 0 0 12 1 4 0 0 13 1 5 0 0 14 1 6 0 0 15 1 7 0 0 Table 1 24 Description on the fields of the command Field Description Link ID Link ID Physical Bandwidth Type0 CT0 physical bandwidth Physi...

Page 135: ...destination IP address to display only the tunnels with the specified destination IP address lsr id LSR ID of the ingress node in dotted decimal notation lsp id LSP ID lsr role Displays tunnels by LSR role ingress transit egress or remote all Displays all tunnels ingress Displays tunnels created taking current device as the ingress transit Displays tunnels created taking current device as a transi...

Page 136: ...isplay information about MPLS TE tunnels Examples Display information about MPLS TE tunnels Sysname display mpls te tunnel LSP Id Destination In Out If Name 1 1 1 9 1024 3 3 3 9 Vlan12 Tunnel1 0 1 1 1 1 9 2048 3 3 3 9 Vlan14 Tunnel1 0 1 Table 1 25 Description on the fields of the display mpls te tunnel command Field Description LSP ID LSP ID of tunnel Destination Destination device ID In Out IF In...

Page 137: ...ice ID In Interface Incoming interface Out Interface Outgoing interface Tunnel BW Tunnel bandwidth Class Type Service class type Ingress LSR Id Ingress LSR ID Setup Priority Setup priority of link Hold Priority Holding priority of link Sign Protocol Signaling protocol Resv Style Reservation style IncludeAnyAff Any affinity properties that must be included ExcludeAllAff Link properties that are exc...

Page 138: ... node Examples Display the paths that all MPLS TE tunnels traverse Sysname display mpls te tunnel path Tunnel Interface Name Tunnel0 0 0 Lsp ID 1 1 1 9 10 Hop information Hop 0 192 1 1 1 Hop 1 12 1 1 2 Hop 2 10 202 2 2 Table 1 27 Description on the fields of the display mpls te tunnel path command Field Description Tunnel Interface Name Tunnel0 0 0 Tunnel interface name Tunnel0 0 0 in this sample ...

Page 139: ...p Egress 0 Up Table 1 28 Description on the fields of display mpls te tunnel statistics Field Description Ingress This device is the tunnel ingress Modified Number of CR LSP tunnels that use this device as the ingress and are in modified state In Progress Number of CR LSP tunnels that use this device as the ingress and are in in progress state Failed Number of CR LSP tunnels that use this device a...

Page 140: ...unnel Desc Tunnel5 0 2 Interface Tunnel State Desc CR LSP is Up Tunnel Attributes LSP ID 3 3 3 3 4 Session ID 1 Admin State UP Oper State UP Ingress LSR ID 3 3 3 3 Egress LSR ID 4 4 4 4 Signaling Prot RSVP Resv Style SE Class Type CLASS 0 Tunnel BW 0 kbps Reserved BW 0 kbps Setup Priority 7 Hold Priority 7 Affinity Prop Mask 0x0 0x0 Explicit Path Name Tie Breaking Policy None Metric Type None Loop...

Page 141: ... LSR ID Egress LSR ID Egress LSR ID Signaling Prot Signaling protocol Resv Style Reservation style Class Type Service class type Tunnel BW Tunnel bandwidth Setup Priority Setup priority of LSP Hold Priority Hold priority of LSP Affinity Prop Mask Affinity attribute and mask Explicit Path Name Explicit path name Tie Breaking Policy Path selection policy Metric Type Metric type Loop Detection Whethe...

Page 142: ...stment Current Collected BW Bandwidth information currently collected Interfaces Protected FRR protected interfaces VPN Bind Type Type of the binding VPN or ACL VPN Bind Value Value of the binding the VPN instance name or ACL number Car Policy Whether CAR policy is enabled 1 1 30 display ospf mpls te Syntax display ospf process id mpls te area area id self originated View Any view Default Level 1 ...

Page 143: ...ineering LSA s of the database LSA 1 LSA Type Opq Area Opaque Type 1 Opaque ID 4 Advertising Router ID 4 4 4 4 LSA Age 208 Length 200 LSA Options E O LS Seq Number 8000001A CheckSum 1EB7 Link Type MultiAccess Link ID 34 1 1 2 Local Interface Address 34 1 1 2 Remote Interface Address 0 0 0 0 TE Metric 1 Maximum Bandwidth 1250000 bytes sec Maximum Reservable BW 625000 bytes sec Admin Group 0X0 Globa...

Page 144: ...ved BW 9 0 bytes sec Unreserved BW 10 0 bytes sec Unreserved BW 11 0 bytes sec Unreserved BW 12 0 bytes sec Unreserved BW 13 0 bytes sec Unreserved BW 14 0 bytes sec Unreserved BW 15 0 bytes sec Bandwidth Constraints BC 0 625000 bytes sec BC 1 0 bytes sec Local OverBooking Multipliers LOM 0 1 LOM 1 1 LSA 2 LSA Type Opq Area Opaque Type 1 Opaque ID 0 Advertising Router ID 4 4 4 4 LSA Age 762 Length...

Page 145: ...LSA checksum carried in the header of Opaque LSA Link Type Link type point to point point to multipoint or multiAccess Link ID Link ID Local Interface Address Local interface address Remote Interface Address Remote interface address TE Metric TE metric Maximum bandwidth Maximum bandwidth Maximum reservable bandwidth Maximum reservable bandwidth Admin Group Administrative group attribute Global Poo...

Page 146: ...ription Use the display ospf traffic adjustment command to display the settings of tunnel traffic adjustment IGP shortcut and forwarding adjacency for a specified or all OSPF processes Examples Display the settings of tunnel traffic adjustment for all OSPF processes Sysname display ospf traffic adjustment OSPF Process 1 with Router ID 3 3 3 3 Traffic Adjustment Interface 8 1 1 1 Tunnel5 0 2 Type F...

Page 147: ...dress Neighbor IP address Cost Type Cost type Hold time Hold time 1 1 32 display tunnel info Syntax display tunnel info tunnel id all statistics View Any view Default Level 1 Monitor level Parameters tunnel id Specifies a tunnel ID If a tunnel is specified only information about this tunnel will be displayed all Display information about all tunnels statistics Displays statistics about tunnels Des...

Page 148: ...stics command Field Description Tunnel Allocation Method The way that tunnels are allocated Avail Tunnel ID Value Available tunnel ID Total Tunnel ID Allocated Total number of tunnel IDs that have been allocated LSP Number of LSP tunnels GRE Number of GRE tunnels CRLSP Number of CR LSP tunnels LOCAL IFNET Number of CE side interfaces in MPLS L2VPN MPLS LOCAL IFNET Number of outgoing interfaces in ...

Page 149: ...m view Sysname ospf 100 Sysname ospf 100 enable traffic adjustment 1 1 34 enable traffic adjustment advertise Syntax enable traffic adjustment advertise undo enable traffic adjustment advertise View OSPF view Default Level 2 System level Parameters None Description Use the enable traffic adjustment advertise command to enable forwarding adjacency Use the undo enable traffic adjustment advertise co...

Page 150: ...System level Parameters pathname Name of an explicit path for a tunnel enable Enables explicit routing disable Disables explicit routing Description Use the explicit path command to create an explicit path and enter its view Use the undo explicit path command to remove an explicit path Examples Create an explicit path named path1 and enter its view Sysname system view Sysname explicit path path1 S...

Page 151: ... Exclude 1 1 37 modify hop Syntax modify hop ip address1 ip address2 include strict loose exclude View Explicit path view Default Level 2 System level Parameters ip address1 ip address2 Substitutes the IP address specified by the ip address2 argument for the IP address specified by the ip address1 argument in the explicit path The specified IP addresses could be link IP addresses or router IDs of ...

Page 152: ...w Sysname explicit path path1 Sysname explicit path p1 modify hop 10 0 0 125 10 0 0 200 exclude 1 1 38 mpls rsvp te Syntax mpls rsvp te undo mpls rsvp te View MPLS view VLAN interface view POS interface view Default Level 2 System level Parameters None Description Use the mpls rsvp te command to enable RSVP TE Use the undo mpls rsvp te command to disable RSVP TE By default RSVP TE is disabled You ...

Page 153: ... authentication key is a plain text key auth key Authentication key case sensitive Input in plain text the string for it is 8 to 16 characters in length input in cipher text the string for it is 24 characters in length If the plain keyword is specified it can only be input in plain text If the cipher keyword is specified it can be input in both plain text or in cipher text Description Use the mpls...

Page 154: ...vp te blockade multiplier Syntax mpls rsvp te blockade multiplier number undo mpls rsvp te blockade multiplier View MPLS view Default Level 2 System level Parameters number Blockade multiplier Description Use the mpls rsvp te blockade multiplier command to configure the blockade multiplier Use the undo mpls rsvp te blockade multiplier command to restore the default The default blockade multiplier ...

Page 155: ...sname mpls Sysname mpls mpls rsvp te blockade multiplier 5 1 1 41 mpls rsvp te hello Syntax mpls rsvp te hello undo mpls rsvp te hello View MPLS view VLAN interface view POS interface view Default Level 2 System level Parameters None Description Use the mpls rsvp te hello command to enable RSVP hello extension Use the undo mpls rsvp te hello command to disable RSVP hello extension RSVP TE uses the...

Page 156: ...nd to configure the maximum number of consecutive hello losses before an RSVP neighbor is considered dead Use the undo mpls rsvp te hello lost command to restore the default By default the RSVP node considers an RSVP neighbor is dead if no response is received after sending three consecutive hellos An RSVP node detects whether its RSVP neighbor is still alive by sending hellos regularly If no resp...

Page 157: ...p multiplier for the path state block PSB and reservation state block RSB Use the undo mpls rsvp te keep multiplier command to restore default The default keep multiplier is 3 The following equation determines the timeout time of the state stored in PSB and RSB Expired_Time keep multiplier 0 5 1 5 refresh time Where refresh time is the refresh interval for reservation state set by the mpls rsvp te...

Page 158: ...ommand to enable the reliability mechanism of RSVP TE that is the Message_ID extension mechanism Use the undo mpls rsvp te reliability command to disable the reliability mechanism Examples Enable the reliability mechanism of RSVP TE on VLAN interface 1 Sysname system view Sysname interface vlan interface 1 Sysname Vlan interface1 mpls rsvp te reliability 1 1 45 mpls rsvp te resvconfirm Syntax mpls...

Page 159: ...amples Enable reservation confirmation on your device Sysname system view Sysname mpls Sysname mpls mpls rsvp te resvconfirm 1 1 46 mpls rsvp te srefresh Syntax mpls rsvp te srefresh undo mpls rsvp te srefresh View Interface view Default Level 2 System level Parameters None Description Use the mpls rsvp te srefresh command to enable summary refresh Use the undo mpls rsvp te srefresh command to res...

Page 160: ...l in seconds Description Use the mpls rsvp te timer hello command to configure the hello interval Use the undo mpls rsvp te timer hello command to restore the default The default hello interval is three seconds Before configuring this command enable the hello mechanism in MPLS view Related commands mpls rsvp te hello mpls rsvp te hello lost Examples Set the hello interval to five seconds Sysname s...

Page 161: ...ion state refresh interval is 30 seconds Related commands mpls rsvp te keep multiplier Examples Set the path reservation state refresh interval to 60 seconds Sysname system view Sysname mpls Sysname mpls mpls rsvp te timer refresh 60 1 1 49 mpls rsvp te timer retransmission Syntax mpls rsvp te timer retransmission increment value increment value retransmit value retrans timer value undo mpls rsvp ...

Page 162: ...ter that the interface resends the message at an exponentially increased retransmission interval equivalent to 1 Delta Rf seconds either until an acknowledgement is received or the retransmission attempt limit RI is reached The Delta governs the speed with which the interface increases the retransmission interval Examples Enable RSVP message retransmission on VLAN interface 1 setting the increment...

Page 163: ...ce enable MPLS TE globally first Caution After changing the MTU of an interface where MPLS TE is enabled you need to perform the shutdown command and then the undo shutdown command to refresh the TE tunnels on it Examples Enable MPLS TE globally in MPLS view Sysname system view Sysname mpls lsr id 1 1 1 9 Sysname mpls Sysname mpls mpls te Enable MPLS TE on VLAN interface 1 Sysname system view Sysn...

Page 164: ...ult The default affinity attribute of the tunnel is 0x00000000 and the mask is 0x00000000 The affinity attribute of an MPLS TE tunnel identifies the properties of the links that the tunnel can use Related commands mpls te link administrative group Examples Configure the link affinity attribute of Tunnel 3 0 1 Sysname system view Sysname interface Tunnel 3 0 1 Sysname Tunnel3 0 1 mpls te affinity p...

Page 165: ...ysname system view Sysname interface Tunnel 3 0 1 Sysname Tunnel3 0 1 mpls te backup hot standby 1 1 53 mpls te backup bandwidth Syntax mpls te backup bandwidth bandwidth bc0 bc1 bandwidth un limited undo mpls te backup bandwidth View Tunnel interface view Default Level 2 System level Parameters bandwidth Total bandwidth that the bypass tunnel also called the protection tunnel can protect in kbps ...

Page 166: ...for LSPs using BC1 bandwidth and it can protect 1000 kbps bandwidth Sysname system view Sysname interface Tunnel 3 0 1 Sysname Tunnel3 0 1 mpls te backup bandwidth bc0 un limited Sysname Tunnel3 0 1 quit Sysname interface Tunnel 3 0 2 Sysname Tunnel3 0 2 mpls te backup bandwidth bc1 1000 1 1 54 mpls te bandwidth Syntax mpls te bandwidth bc1 bc0 bandwidth undo mpls te bandwidth View Tunnel interfac...

Page 167: ...h is decreasing When the percentage of available bandwidth decrease exceeds the threshold the change is flooded and the traffic engineering database TEDB is updated up Sets the IGP flooding threshold in percentages that applies when the bandwidth is increasing When the percentage of available bandwidth increase exceeds the threshold the change is flooded and the TEDB is updated percent IGP floodin...

Page 168: ...tem level Parameters None Description Use the mpls te commit command to submit current MPLS TE tunnel configuration The MPLS TE tunnel configuration you made can take effect only after you perform this command Examples Configure an MPLS TE tunnel and submit the configuration Sysname system view Sysname interface tunnel 3 0 0 Sysname Tunnel3 0 0 tunnel protocol mpls te Sysname Tunnel3 0 0 destinati...

Page 169: ...h selection in MPLS domains You must enable CSPF before configuring other CSPF related functions Examples Enable CSPF Sysname system view Sysname mpls Mpls starting please wait OK Sysname mpls mpls te Mpls te starting please wait OK Sysname mpls mpls te cspf 1 1 58 mpls te cspf timer failed link Syntax mpls te cspf timer failed link timer interval undo mpls te cspf timer failed link View MPLS view...

Page 170: ...eroute undo mpls te fast reroute View Tunnel interface view Default Level 2 System level Parameters None Description Use the mpls te fast reroute command to enable fast reroute FRR Use the undo mpls te fast reroute command to disable FRR By default FRR is disabled After FRR is enabled the record route flag is automatically set to record reroute with label whether the mpls te record route label com...

Page 171: ...l number Bypass tunnel number Description Use the mpls te fast reroute bypass tunnel command to specify a bypass tunnel for the protected interface Use the undo mpls te fast reroute bypass tunnel command to remove the specified bypass tunnel You may perform the mpls te fast reroute bypass tunnel command multiple times to specify multiple bypass tunnels for the protected interface At present a maxi...

Page 172: ...efault Level 2 System level Parameters hold time value Sets the delay that IGP waits to notify IGP neighbors of the down event of the TE tunnel It is in milliseconds The default is 0 milliseconds Description Use the mpls te igp advertise command to enable IGP to advertise the MPLS TE tunnel as a link to IGP neighbors Use the undo mpls te igp advertise command to remove the configuration By default...

Page 173: ...ive metric to the TE tunnel for path calculation The value argument is an integer The default is 0 The cost of the corresponding IGP path must be added to this relative metric before it can be used for path calculation Description Use the mpls te igp metric command to assign a metric to the MPLS TE tunnel Use the undo mpls te igp metric command to restore the default By default TE tunnels take the...

Page 174: ...PF and IS IS Use the undo mpls te igp shortcut command to restore the default By default IGP does not consider MPLS TE tunnels in its enhanced SPF calculation Note The mpls te igp shortcut command cannot be used together with the mpls te igp advertise command Examples Enable OSPF and IS IS to consider TE tunnel 3 0 0 in enhanced SPF calculation when the tunnel is up Sysname system view Sysname int...

Page 175: ... group command to restore the default The default link administrative group attribute is 0x0 The interface properties are propagated globally and are used for path selection at the tunnel ingress Related commands mpls te affinity property Examples Assign VLAN interface 1 the link administrative group attribute of 0x0101 Sysname system view Sysname interface vlan interface 1 Sysname Vlan interface1...

Page 176: ...em level Parameters bandwidth value Maximum link bandwidth available for RSVP traffic in kbps bc1 bc1 bandwidth Reservable bandwidth on the interface in kbps Description Use the mpls te max link bandwidth command to configure maximum link bandwidth Use the undo mpls te max link bandwidth command to remove the configuration The configured maximum bandwidth is available for both MPLS traffic and com...

Page 177: ...dwidth on the interface in kbps Description Use the mpls te max reservable bandwidth command to configure the maximum reservable bandwidth Use the undo mpls te max reservable bandwidth command to remove the configuration The bandwidth in this command is configured only for MPLS traffic Examples On VLAN interface 1 set maximum reservable bandwidth for MPLS TE to 1158 kbps and the reservable BC1 ban...

Page 178: ...xamples Assign a TE metric of 20 to the link on VLAN interface 12 Sysname system view Sysname interface vlan interface 12 Sysname Vlan interface12 mpls te metric 20 1 1 69 mpls te path explicit path Syntax mpls te path explicit path pathname undo mpls te path View Tunnel interface view Default Level 2 System level Parameters pathname Name of an MPLS TE explicit path Description Use the mpls te pat...

Page 179: ...e link metric type used for routing tunnels not configured with link metric type Use the mpls te path metric type command in tunnel interface view to specify the link metric type used for routing current tunnel Use the undo mpls te path metric type command to restore the default This undo form is only available in tunnel interface view By default TE metrics of links are used in path calculation fo...

Page 180: ...tes a higher priority If not configured it is the same as the setup priority Description Use the mpls te priority command to assign a setup priority and holding priority to the MPLS TE tunnel Use the undo mpls te priority command to restore the default By default both setup and holding priorities of TE tunnels are 7 To avoid flapping caused by improper preemptions between TE tunnels the setup prio...

Page 181: ... restore the default By default route recording and label recording are disabled Examples Enable route recording on MPLS TE tunnel 3 0 1 Sysname system view Sysname interface Tunnel 3 0 1 Sysname Tunnel3 0 1 mpls te record route 1 1 73 mpls te reoptimization user view Syntax mpls te reoptimization View User view Default Level 2 System level Parameters None Description Use the mpls te reoptimizatio...

Page 182: ...tion command to enable reoptimization on the tunnel Use the undo mpls te reoptimization command to disable reoptimization on the tunnel Reoptimization is disabled by default Note The reoptimization function cannot be used together with these commands mpls te route pinning mpls te backup and mpls te resv style ff Examples Enable reoptimization setting the reoptimization automatic rerouting frequenc...

Page 183: ... Use the undo mpls te resv style command to restore the default The default resource reservation style is SE You may configure FF and SE only when the signaling protocol is set to RSVP TE Examples Adopt the FF reservation style when setting up the CR LSP tunnel for TE tunnel 1 0 0 Sysname system view Sysname interface Tunnel 1 0 0 Sysname Tunnel1 0 0 mpls te signal protocol rsvp te Sysname Tunnel1...

Page 184: ... established successfully or until the number of attempts reaches the upper limit Related commands mpls te timer retry Examples Set the maximum number of tunnel setup retries to 10 Sysname system view Sysname interface Tunnel 1 0 0 Sysname Tunnel1 0 0 mpls te retry 10 1 1 77 mpls te route pinning Syntax mpls te route pinning undo mpls te route pinning View Tunnel interface view Default Level 2 Sys...

Page 185: ...tocol Syntax mpls te signal protocol rsvp te static View Tunnel interface view Default Level 2 System level Parameters rsvp te Sets the signaling protocol for MPLS TE tunnel establishment to RSVP TE static Sets up the tunnel using a static CR LSP Description Use the mpls te signal protocol command to configure the signaling protocol for MPLS TE tunnel establishment The default signaling protocol f...

Page 186: ... the least bandwidth usage ratio the used bandwidth to the maximum reservable link bandwidth most fill Selects a path with the most bandwidth usage ratio the used bandwidth to the maximum reserved bandwidth random Selects a path randomly Description Use the mpls te tie breaking command to specify a tie breaker for CSPF to route a tunnel when multiple paths are present with the same metric Use the ...

Page 187: ...ls te timer fast reroute View MPLS view Default Level 2 System level Parameters seconds FRR polling timer setting for the point of local repair PLR to poll available bypass tunnels for the best one in seconds 0 means disabling the PLR to poll available bypass tunnels regularly for the best one The default is 300 seconds or 5 minutes Description Use the mpls te timer fast reroute command to set the...

Page 188: ...to configure the interval for re establishing the tunnel Use the undo mpls te timer retry command to restore the default The default interval for re establishing a tunnel is 10 seconds Related commands mpls te retry Examples Set the interval for re establishing tunnel 3 0 1 to 20 seconds Sysname system view Sysname interface Tunnel 3 0 1 Sysname Tunnel3 0 1 mpls te timer retry 20 1 1 82 mpls te vp...

Page 189: ...tion is defined about what traffic can travel down a TE tunnel Examples Configure tunnel 1 0 0 to forward only traffic of VPN 1 Sysname system view Sysname interface Tunnel 1 0 0 Sysname Tunnel1 0 0 mpls te vpn binding vpn instance vpn1 1 1 83 mpls te Syntax mpls te enable undo mpls te View OSPF area view Default Level 2 System level Parameters enable Enables the MPLS TE capability in the OSPF are...

Page 190: ...strict routing approach this IP address must be a link IP address In the loose routing approach this IP address can be either a link IP address or router ID include Includes the specified IP address on the explicit path loose Indicates that the next hop is a loose node which is not necessarily directly connected to current node strict Indicates that the next hop is a strict node which must be dire...

Page 191: ...el Parameters enable Enables the opaque LSA capability Description Use the opaque capability command to enable the opaque LSA capability for the OSPF process to generate and receive from its neighbors Opaque LSAs Use the undo opaque capability command to restore the default By default the opaque LSA capability of OSPF is disabled Examples Enable the opaque LSA capability of OSPF Sysname system vie...

Page 192: ...tistics command to clear statistics about RSVP TE Examples Clear statistics about global RSVP TE Sysname reset mpls rsvp te statistics global 1 1 87 static cr lsp egress Syntax static cr lsp egress tunnel name incoming interface interface type interface number in label in label value undo static cr lsp egress tunnel name View System view Default Level 2 System level Parameters tunnel name Tunnel n...

Page 193: ...ut label value bandwidth bc1 bc0 bandwidth value undo static cr lsp ingress tunnel name View System view Default Level 2 System level Parameters tunnel name LSP name a case sensitive string It must be an exact reference to a tunnel created by the interface tunnel command next hop addr Next hop address outgoing interface interface type interface number Specifies an outgoing interface for the static...

Page 194: ... 25 38 1 destination address mask length to 24 next hop IP address to 202 55 25 33 outgoing label to 237 and required bandwidth to 20 kbps Sysname system view Sysname static cr lsp ingress Tunnel4 0 1 destination 202 25 38 1 nexthop 202 55 25 33 out label 237 bandwidth 20 1 1 89 static cr lsp transit Syntax static cr lsp transit tunnel name incoming interface interface type interface number in lab...

Page 195: ... when configuring the static CR LSP on the ingress or a transit node Examples Configure a static CR LSP on the transit node setting its name to Tunnel4 0 3 incoming interface to VLAN interface 12 incoming label to 123 next hop to 3 2 1 2 and outgoing label to 30 Sysname system view Sysname static cr lsp transit Tunnel4 0 3 incoming interface vlan interface 12 in label 123 nexthop 3 2 1 2 out label...

Page 196: ...ng command to restore the default By default IS IS TE is disabled Note In order to enable IS IS TE you must use the cost style command to configure the cost style of the IS IS packet to wide compatible or wide compatible Refer to the IP routing volume for detail information about the command Examples Enable TE for Level 2 IS IS process 1 Sysname system view Sysname isis 1 Sysname isis 1 cost style...

Page 197: ...connection 1 9 1 1 7 display vpls fib 1 11 1 1 8 display vsi 1 12 1 1 9 display vsi remote 1 15 1 1 10 encapsulation 1 16 1 1 11 l2 binding vsi 1 17 1 1 12 mac table limit 1 18 1 1 13 mtu VSI view 1 19 1 1 14 peer VSI LDP view 1 20 1 1 15 pwsignal 1 21 1 1 16 reset bgp vpls 1 22 1 1 17 reset mac address vsi 1 22 1 1 18 route distinguisher VSI BGP view 1 23 1 1 19 shutdown VSI view 1 24 1 1 20 site...

Page 198: ...s vpn speed Speed limit of the VPLS instance in kbps Description Use the bandwidth command to set the speed limit of a VPLS instance Use the undo bandwidth command to restore the default By default the speed limit of a VPLS instance is 102400 kbps Examples Set the speed limit of VPLS instance aaa to 10 Mbps Sysname system view Sysname vsi aaa static Sysname vsi aaa bandwidth 10240 1 1 2 broadcast ...

Page 199: ... restore the default By default the broadcast suppression percentage of a VPLS instance is 5 Note With this command configured the broadcast traffic including broadcast multicast and unknown unicast of the VPLS instance that is over the threshold will be dropped Examples Set the broadcast suppression percentage of VPLS instance aaa to 10 Sysname system view Sysname vsi aaa static Sysname vsi aaa b...

Page 200: ...r ip address verbose route distinguisher route distinguisher site id site id label offset label offset View Any view Default Level 1 Monitor level Parameters all Specifies all VPLS information in the BGP routing table group group name Specifies a peer group by its name ip address IP address of the peer verbose Displays detailed information route distinguisher route distinguisher Specifies the rout...

Page 201: ...ugh EGP incomplete learned in any other way BGP VPLS Number of BGP VPLS Route Distinguisher Route distinguisher RD SITE ID ID of a site in the VPLS instance LB Offset Label offset value LB Size Label size LB Base Initial label of the label base Nexthop IP address of the next hop LocPref Local preference Display detailed information about VPLS peer 3 3 3 9 in the BGP routing table Sysname display b...

Page 202: ... seconds Optional capabilities Route refresh capability has been enabled Connect interface has been configured Peer Preferred Value 0 Routing policy configured No routing policy is configured Table 1 2 Description on the fields of the display bgp vpls peer verbose command Field Description Peer IP address of the peer Local IP address of the local router Type BGP type BGP version 4 BGP version info...

Page 203: ...mber of received messages and the number of received update messages Sent Counts of sent messages including the total number of sent messages and the number of sent update messages Maximum allowed prefix number Maximum number of routes allowed Threshold Threshold value Minimum time between advertisement runs is XX seconds Minimum advertising interval Optional capabilities Route refresh capability ...

Page 204: ...the next hop LocPref Local preference Display the VPLS information for a specified RD CE number and label offset in the BGP routing table Sysname display bgp vpls route distinguisher 100 1 site id 4 label offset 0 BGP Local router ID 2 2 2 9 local AS number 100 Origin codes i IGP e EGP incomplete Nexthop 3 3 3 9 Locpref 100 Metric 133 Flag 0x85 LB Base 132096 LB NewBase 0 LB Size 10 Label Offset 0...

Page 205: ..._IBGP 0x0020 BGP_VPLS_LB_FROM_RR_EBGP 0x0040 BGP_VPLS_LB_FROM_IBGP 0x0080 BGP_VPLS_LB_FROM_EBGP 0x0085 BGP_VPLS_LB_NOT_SENTTO_VPLS BGP_VPLS_LB_SELECTED BGP_VPLS_LB_FROM_EBGP It is always 0x0046 when the VSI is up LB Offset Label offset value LB Size Label size LB Base Initial label of the label base LB NewBase New label base RefCount Label reference count MED Cost value AS Path AS path of the rout...

Page 206: ... LinkId 1 AGING 2 mac address es found Display the total number of entries in the MAC address table for VPLS instances Sysname display mac address vsi count 2 mac address es found Table 1 5 Description on the fields of the display mac address vsi command Field Description MAC ADDR MAC address STATE Status of the MAC address VSI ID ID of the VPLS instance PEER IP IP address of the peer in the VPLS ...

Page 207: ...mand to display information about VPLS connections Related commands vsi Examples Display information about VPLS connections of VPLS instance aaa Sysname display vpls connection vsi aaa 1 total connection connection 1 up 0 block 0 down VSI Name aaa Signaling ldp VsiID VsiType PeerAddr InLabel OutLabel LinkID VCState 500 vlan 1 1 1 9 524288 524289 1 up Table 1 6 Description on the fields of the disp...

Page 208: ...es ID of the PW in the VPLS instance verbose Displays detailed information Description Use the display vpls fib command to display the forwarding information base FIB information of a specified VPLS instance or all VPLS instances Related commands vsi Examples Display the FIB information of VPLS instance aaa Sysname display vpls fib vsi aaa VsiName LinkId Inlabel OutLabel TnlIdx NextHop aaa 1 52428...

Page 209: ...ormation Description Use the display vsi command to display information about a specified or all VPLS instances Related commands vsi Examples Display configuration information about VPLS instance aaa which uses LDP as the PW signaling protocol Sysname display vsi aaa Vsi Mem PW Mac Encap Mtu Vsi Name Disc Type Learn Type Value State aaa static ldp unqualify vlan 1500 down Table 1 8 Description on ...

Page 210: ...erbose VSI Name aaa VSI Index 0 VSI Description 1 PW Signaling ldp Member Discovery Style static PW MAC Learn Style unqualify Encapsulation Type vlan IntfIndex 4294967295 MTU 1500 Bandwidth 102400 kbps BroadcastRestrain 5 MacTabLimit 128 MacLearnEnable enable QoSLevel 0 QoSTable 0 0 0 1 1 1 1 2 VSI State down VSI ID 100 Peer Router ID 2 2 2 2 VC Label 524288 Session up Display detailed configurati...

Page 211: ...instance VSI Index Index of the VPLS instance VSI Description Description of the VPLS instance PW Signaling Type of the PW signaling protocol used by the VPLS instance Member Discovery Style Peer discovery mechanism of the VPLS instance PW MAC Learn Style MAC address learning type Encapulation Type Encapsulation type of the VPLS instance IntfIndex Index of the interface MTU Maximum transmission un...

Page 212: ... Import vpn target Incoming routing information from the destination VPN extended community Export vpn target Outgoing routing information to the destination VPN extended community Local Label Block Local label block Note Valid value ranges of the parameters displayed varies by device 1 1 9 display vsi remote Syntax display vsi remote bgp ldp View Any view Default Level 1 Monitor level Parameters ...

Page 213: ... 1 10 Description on the fields of the display vsi remote command Field Description Vsi ID ID of the VPLS instance Peer Router ID ID of the peer VC Label Label of the VC Group ID ID of the group Vsi Type Encapsulation type of the VPLS instance MTU Value Maximum transmission unit Vsi Index Index of the VPLS instance 1 1 10 encapsulation Syntax encapsulation ethernet vlan View VSI view Default Level...

Page 214: ...tic Sysname vsi aaa pwsignal ldp Sysname vsi aaa ldp vsi id 500 Sysname vsi aaa ldp quit Sysname vsi aaa encapsulation ethernet 1 1 11 l2 binding vsi Syntax l2 binding vsi vsi name access mode ethernet vlan undo l2 binding vsi vsi name View VLAN interface view Default Level 2 System level Parameters vsi name Name of a VPLS instance access mode Specifies the access mode for the VPLS instance which ...

Page 215: ...lan interface 100 Sysname Vlan interface100 l2 binding vsi aaa 1 1 12 mac table limit Syntax mac table limit mac limit num undo mac table limit View VSI view Default Level 2 System level Parameters mac limit num Maximum number of MAC addresses in the VPLS instance Description Use the mac table limit command to set the maximum number of MAC addresses in the VPLS instance Use the undo mac table limi...

Page 216: ...unit MTU for the VPLS instance The default is 1 500 Description Use the mtu command to set the MTU of the VPLS instance Use the undo mtu command to restore the default Note that the MTU of a VPLS instance is a global attribute and is also the MTU of PWs For Martini VPLS the MTUs set for the instances on peer PEs must be identical while for Kompella VPLS this is not required Examples Set the MTU of...

Page 217: ...the policy specified by the tnl policy command in VSI view upe Specifies that the peer PE is a UPE in the H VPLS model This is the default setting dual npe Specifies the peer PE is the primary or secondary NPE trans mode Specifies the PW encapsulation type By default the PW encapsulation type is that specified by the encapsulation command raw Uses raw mode tagged Uses tagged mode Description Use t...

Page 218: ...negotiation vc id 200 upe 1 1 15 pwsignal Syntax pwsignal ldp bgp View VSI view Default Level 2 System level Parameters ldp Specifies to use LDP signaling that is Martini mode bgp Specifies to use BGP signaling that is Kompella mode Description Use the pwsignal command to specify the PW signaling protocol for VPLS to use and enter VSI LDP view Martini mode or VSI BGP view Kompella mode Examples Sp...

Page 219: ...specified AS ip address Resets the VPLS BGP connection to a specified peer all Resets all VPLS BGP connections external Resets VPLS EBGP session internal Resets VPLS IBGP session Description Use the reset bgp vpls command to reset a specified or all VPLS BGP connections Examples Reset all VPLS BGP connections Sysname reset bgp vpls all 1 1 17 reset mac address vsi Syntax reset mac address vsi vsi ...

Page 220: ...er RD a string of 3 to 21 characters in the format of nn nn or IP_address nn An RD can be either of these two formats z 16 bit AS number 32 bit user defined number For example 101 3 z 32 bit IP address 16 bit user defined number For example 192 168 122 15 1 Description Use the route distinguisher command to configure an RD for a VPLS instance Different VPLS instances on a PE must have different RD...

Page 221: ...ters None Description Use the shutdown command to shut down the VPLS service of the VPLS instance Use the undo shutdown command to restart the VPLS service of the VPLS instance By default the VPLS service of a VPLS instance is started Note that when a VPLS instance is shut down the system does not handle any traffic in the VPLS instance Examples Shut down the VPLS service of VPLS instance aaa Sysn...

Page 222: ...default offset 0 1 Default initial CE offset It can be 0 or 1 and defaults to 0 Description Use the site command to create a site for the VPLS instance Use the undo site command to remove a site of the VPLS instance Only one site can be created for a VPLS instance You can use natural numbers as the site IDs Examples Create a site and set the site range to 20 Sysname system view Sysname vsi aaa aut...

Page 223: ...d which prefers LSP tunnels and the load balancing route number is 1 If a tunneling policy name is specified but no policy is configured the default policy is used Related commands refer to MPLS L3VPN Commands Examples Specify that VPLS instance aaa uses the tunneling policy of policy1 Sysname system view Sysname vsi aaa static Sysname vsi aaa pwsignal ldp Sysname vsi aaa ldp vsi id 500 Sysname vs...

Page 224: ...ans that you can enter the argument before it up to 16 times A VPN target can be either of the following formats z 16 bit AS number 32 bit user defined number such as 101 3 z 32 bit IP address 16 bit user defined number such as 192 168 122 15 1 both Specifies both the incoming and outgoing routing information from and to the destination VPN extended community The both keyword is the default settin...

Page 225: ... target 1 1 2 2 export extcommunity Sysname vsi aaa bgp vpn target 1 2 3 4 11 12 12 import extcommunity 1 1 24 vsi Syntax vsi vsi name auto static undo vsi vsi name View System view Default Level 2 System level Parameters vsi name Name of the VPLS instance static Configures the peer discovery mechanism as static This corresponds to LDP mode auto Configures the peer discovery mechanism as dynamic T...

Page 226: ... peer discovery mechanism of auto Sysname system view Sysname vsi bbb auto Sysname vsi bbb 1 1 25 vsi id Syntax vsi id vsi id View VSI LDP view Default Level 2 System level Parameters vsi id ID for the VPLS instance Description Use the vsi id command to specify the ID of a VPLS instance Make sure that the VSI ID of the VPLS instance is consistent in a VPN Examples Set the ID of VPLS instance aaa t...

Page 227: ...2vpn 1 6 1 1 7 display ccc 1 12 1 1 8 display l2vpn ccc interface vc type 1 13 1 1 9 display mpls l2vc 1 15 1 1 10 display mpls l2vpn 1 17 1 1 11 display mpls l2vpn connection 1 20 1 1 12 display mpls l2vpn forwarding info 1 24 1 1 13 display mpls static l2vc 1 25 1 1 14 l2vpn family 1 26 1 1 15 mpls l2vc 1 27 1 1 16 mpls l2vpn 1 28 1 1 17 mpls l2vpn vpn name 1 29 1 1 18 mpls static l2vc destinati...

Page 228: ...Name for the CCC connection It is used for uniquely identifying a CCC connection on a PE interface type interface number Specifies the interface connecting the local CE by its type and number in label value Incoming label out label value Outgoing label nexthop ip address Specifies the IP address of the next hop out interface interface type interface number Specifies the outgoing interface by its t...

Page 229: ...ing label to 100 and the outgoing label to 200 Sysname system view Sysname ccc CEA CEB interface vlan interface 10 in label 100 out label 200 nexthop 20 1 1 2 1 1 2 ccc interface out interface Syntax ccc ccc connection name interface interface type interface number out interface interface type interface number undo ccc ccc connection name View System view Default Level 2 System level Parameters cc...

Page 230: ... ccc ccc connect 1 interface vlan interface 10 out interface vlan interface 2 1 1 3 ce Syntax ce ce name id ce id range ce range default offset ce offset undo ce ce name View MPLS L2VPN view MPLS L2VPN CE view Default Level 2 System level Parameters ce name Unique name for a CE in the current VPN of the current PE It cannot include the character of ce id ID for the CE in the VPN ce range Maximum n...

Page 231: ...E of the L2VPN connection interface type interface number Specifies the interface connecting the CE by its type and number The encapsulation type must be same as that of the VPN tunnel policy name Tunneling policy for the VC Description Use the connection command to create a Kompella connection Use the undo connection command to delete a Kompella connection on a CE interface When creating a Kompel...

Page 232: ... Level 1 Monitor level Parameters all Enables disables all L2VPN debugging advertisement Enables disables debugging of BGP or LDP advertisement for L2VPN error Enables disables error debugging for L2VPN event Enables disables event debugging for L2VPN connections Enables disables connection debugging for L2VPN hsb Enables disables hot standby debugging for L2VPN Description Use the debugging mpls ...

Page 233: ...information route distinguisher Route distinguisher in the format of nn nn or IP address nn ce id VPN CE ID of the MPLS L2VPN connection A remote connection requires the remote CE number label offset Label offset Description Use the display bgp l2vpn command to display information about BGP L2VPN in the BGP routing table Related commands route distinguisher Examples Display all information about L...

Page 234: ...guisher RD CE ID CE number in the VPN Label Offset Label offset Label Base Label base nexthop IP address of the next hop pref Local preference as path AS PATH of the route Display brief information about L2VPN peers in the BGP routing table Sysname display bgp l2vpn peer BGP local router ID 1 1 1 9 Local AS number 100 Total number of peers 1 Peers in established state 1 Peer V AS MsgRcvd MsgSent O...

Page 235: ...TimerExpired BGP last state OpenConfirm Port Local 179 Remote 1034 Configured Active Hold Time 180 sec Keep Alive Time 60 sec Received Active Hold Time 180 sec Negotiated Active Hold Time 180 sec Keep Alive Time 60 sec Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast advertised and received Address family L2VP...

Page 236: ...oute refreshing Address family IPv4 Unicast IPv4 unicast address family capability Address family L2VPN L2VPN address family Received Total number of received messages and that of received update messages Sent Total number of sent messages and that of received update messages Maximum allowed prefix number Maximum number of routes allowed Threshold Threshold value Routing policy configured Routing ...

Page 237: ...N information with the RD being 100 1 and the CE ID being 4 in the BGP routing table Sysname display bgp l2vpn route distinguisher 100 1 ce id 4 BGP Local router ID 2 2 2 9 local AS number 100 Origin codes i IGP e EGP incomplete CE ID Label Offset Label Base nexthop pref as path 1 0 61442 3 3 3 9 100 Table 1 5 Description on the fields of display bgp l2vpn route distinguisher ce id Field Descripti...

Page 238: ...l base 61442 label range 10 layer 2 mtu 1500 encap type Ethernet label state 61442 down 61443 up 61444 down 61445 down 61446 down 61447 down 61448 down 61449 down 61450 down 61451 down Table 1 6 Fields of display bgp l2vpn route distinguisher ce id label offset Field Description BGP Local router ID BGP local router ID local AS number Local AS number Origin codes Route origin codes which can be i I...

Page 239: ...l Parameters ccc name CCC connection name type Specifies the type of the CCC connections local Specifies local CCC connections remote Specifies remote CCC connections Description Use the display ccc command to display information about CCC connections If you do not specify the connection name or type this command displays information about all CCC connections Examples Display information about CCC...

Page 240: ...tf vlan interface12 up In label 100 Out label 200 Nexthop 20 1 1 1 Table 1 7 Description on the fields of the display ccc command Field Description Total ccc vc Total number of CCC connections Local ccc vc Number of local CCC connections Remote ccc vc Number of remote CCC connections Name Name of the CCC connection Type Type of the CCC connection State Status of the CCC connection Intf Interface o...

Page 241: ...ate of DOWN Description Use the display l2vpn ccc interface vc type command to display information about specified L2VPN VC interfaces Examples Display information about interfaces of any encapsulation types Sysname display l2vpn ccc interface vc type all Total ccc interface of CCC VC 1 up 1 down 0 Interface Encap Type State VC Type Vlan interface 2 vlan up CCC Sysname display l2vpn ccc interface ...

Page 242: ...remote info View Any view Default Level 1 Monitor level Parameters interface interface type interface number Specifies the interface connecting the CE by its type and number remote info Specifies Martini VCs from the remote peer Description Use the display mpls l2vc command to display information about Martini VCs configured on the device If you specify an interface the command displays informatio...

Page 243: ...face VLAN interface 2 Sysname display mpls l2vc interface vlan interface 2 VC ID 5 VC State down Destination 4 5 6 8 Client Intf Vlan interface 2 is down Local Group ID 0 Remote Group ID 0 Local VC Label 61442 Remote VC Label 0 Tunnel Policy lsp3 Tunnel Type lsp Tunnel ID 0x226013 Table 1 10 Description on the fields of the display mpls l2vc interface command Field Description VC ID Remote VC ID V...

Page 244: ...2 0 1500 Table 1 11 Description on the fields of the display mpls l2vc remote info command Field Description total remote ldp vc Total number of remote LDP VCs Transport VC ID Remote VC ID Group ID Remote VC group ID used for the L2VPN VC FEC TLV field of LDP messages Peer Addr IP address of the peer Remote Encap Encapsulation type of the remote interface Remote VC Label Remote VC label C Bit Cont...

Page 245: ...ou do not specify a VPN the command displays information about all L2VPNs Examples Display the L2VPN export route target list Sysname display mpls l2vpn export route target list export vpn target list 755 7 888 8 Table 1 12 Description on the fields of display mpls l2vpn export route target list Field Description export vpn target list BGP VPN export route target list Display information about all...

Page 246: ... on the fields of the display mpls l2vpn vpn name command Field Description VPN Name Name of the VPN Encap type Encapsulation type Local ce number s Local CE number Remote ce number s Remote CE number Route distinguisher RD MTU Maximum transmission unit Import vpn target Incoming VPN target Export vpn target Outgoing VPN target Display information about local CEs of L2VPN vpn1 Sysname display mpls...

Page 247: ...r id IP address of the peer route distinguisher RD LB Label block 1 1 11 display mpls l2vpn connection Syntax display mpls l2vpn connection vpn name vpn name remote ce ce id down up verbose display mpls l2vpn connection summary interface interface type interface number View Any view Default Level 1 Monitor level Parameters vpn name VPN name a case insensitive string that cannot include the charact...

Page 248: ...splay mpls l2vpn connection 1 total connections connections 1 up 0 down 0 local 1 remote 0 unknown VPN name vpn1 1 total connections connections 1 up 0 down 0 local 1 remote 0 unknown CE name ce1 id 1 Rid type status peer id route distinguisher intf 4 rmt up 3 3 3 9 100 1 Vlan interface3 Table 1 17 Description on the fields of the display mpls l2vpn connection command Field Description connections...

Page 249: ... 1 17 Display information about Kompella L2VPN connections on interface VLAN interface 3 Sysname display mpls l2vpn connection interface vlan interface 3 Conn type remote Local vc state up Remote vc state up Local ce id 1 Local ce name ce1 Remote ce id 4 Intf state encap Vlan interface 3 up vlan Peer id 3 3 3 9 Route distinguisher 100 1 Local vc label 61450 Remote vc label 61447 Tunnel policy poli...

Page 250: ...ary 1 total connections connections 1 up 0 down 0 local 1 remote 0 unknown No vpn name local num remote num unknown num up num total num 1 vpn1 0 1 0 1 1 Table 1 19 Description on the fields of mpls l2vpn connection summary Field Description vpn name Name of the VPN connections Statistics about connections including the number of connections in the state of Up the number of connections in the stat...

Page 251: ...he regular expression exclude Displays only the information excluding the contents specified by the regular expression include Displays only the information including the contents specified by the regular expression regular expression Regular expression containing no blank space It is used to filter the output information Description Use the display mpls l2vpn forwarding info command to display MP...

Page 252: ...s static l2vc command to display information about static VCs configured on the device If you specify an interface the command displays only information about static VCs configured on the CE interface Examples Display information about all static VCs configured on the device Sysname display mpls static l2vc total connections 1 1 up 0 down ce intf state destination tr label rcv label tnl policy Vla...

Page 253: ...n interface 3 CE interface Vlan interface3 is up VC State up Destination 3 3 3 9 Transmit vpn label 100 Receive vpn label 200 Tunnel Policy policy1 Tunnel Type lsp Tunnel ID 0x226013 Table 1 22 Description on the fields of display mpls static l2vc interface Field Description CE interface Name of the CE interface VC State Status of the VC Destination Destination IP address Transmit vpn label Outgoi...

Page 254: ...or the BGP L2VPN address family Examples Enter BGP L2VPN address family view Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn 1 1 15 mpls l2vc Syntax mpls l2vc destination vcid tunnel policy tunnel policy name undo mpls l2vc View Interface view Default Level 2 System level Parameters destination IP address of the peer PE vc id VC ID of the L2VPN connection tunnel p...

Page 255: ...nce number of one Examples Create a Martini MPLS L2VPN connection Sysname system view Sysname interface vlan interface 3 Sysname Vlan interface3 mpls l2vc 2 2 2 9 999 1 1 16 mpls l2vpn Syntax mpls l2vpn undo mpls l2vpn View System view Default Level 2 System level Parameters None Description Use the mpls l2vpn command to enable MPLS L2VPN Use the undo mpls l2vpn command to disable MPLS L2VPN and d...

Page 256: ...psulation vlan Uses VLAN encapsulation Description Use the mpls l2vpn command to create a Kompella VPN and enter MPLS L2VPN view Use the undo mpls l2vpn command to delete a VPN The encapsulation type specified here must match that of the CE interface Examples Create a Kompella VPN named vpn1 that uses VLAN encapsulation and enter MPLS L2VPN view Sysname system view Sysname mpls l2vpn vpn1 encapsul...

Page 257: ...icy for the VC Description Use the mpls static l2vc destination command to create a static VC between CEs connected to different PEs Use the undo mpls static l2vc command to delete the static VC z You must configure the command on both PEs The destination address is the IP address of the peer PE The outgoing label and incoming label are respectively the incoming label and outgoing label of the pee...

Page 258: ... set the maximum transmission unit MTU for the kompella connections Use the undo mtu command to restore the default Note The mtu command is not recommended because it affects only negotiation of protocol parameters that may take place and does not affects the forwarding Examples Set the MTU for Kompella connections to 1000 Sysname system view Sysname mpls l2vpn vpn1 Sysname mpls l2vpn vpn1 mtu 100...

Page 259: ...VPN EBGP sessions Description Use the reset bgp l2vpn command to reset L2VPN BGP connections Examples Reset all L2VPN BGP connections Sysname reset bgp l2vpn all 1 1 21 route distinguisher MPLS L2VPN view Syntax route distinguisher route distinguisher View MPLS L2VPN view Default Level 2 System level Parameters route distinguisher Specifies the route distinguisher RD in the format of nn nn or IP a...

Page 260: ...et vpn target 1 16 both export extcommunity import extcommunity undo vpn target all vpn target 1 16 both export extcommunity import extcommunity View MPLS L2VPN view Default Level 2 System level Parameters vpn target VPN target extended community attributes to be added to the import or export VPN target extended community list in the format of nn nn or IP address nn 1 16 means that you can specify...

Page 261: ...gets Use the undo vpn target command to delete the VPN target s associated with a particular VPN There is no default value for a VPN target You must configure it when creating the VPN Examples Associate VPN vpn1 with VPN targets Sysname system view Sysname mpls l2vpn vpn1 encapsulation vlan Sysname mpls l2vpn vpn1 route distinguisher 300 1 Sysname mpls l2vpn vpn1 vpn target 1 1 2 2 export extcommu...

Page 262: ...s vpn instance 1 24 1 1 15 display fib vpn instance 1 25 1 1 16 display ip vpn instance 1 26 1 1 17 display ospf sham link 1 27 1 1 18 display tunnel policy 1 29 1 1 19 domain id 1 30 1 1 20 export route policy 1 30 1 1 21 filter policy export BGP VPNv4 subaddress family view 1 31 1 1 22 filter policy import BGP VPNv4 subaddress family view 1 32 1 1 23 import route policy 1 33 1 1 24 ip binding vp...

Page 263: ...ster id 1 52 1 1 45 refresh bgp vpn instance 1 53 1 1 46 refresh bgp vpnv4 1 54 1 1 47 reset bgp vpn instance 1 55 1 1 48 reset bgp vpn instance dampening 1 56 1 1 49 reset bgp vpn instance flap info 1 56 1 1 50 reset bgp vpnv4 1 57 1 1 51 route distinguisher VPN instance view 1 58 1 1 52 route tag 1 59 1 1 53 routing table limit 1 60 1 1 54 rr filter 1 61 1 1 55 sham link 1 62 1 1 56 tnl policy V...

Page 264: ...ifies entry operation debugging synmsg Specifies synchronization entry operation debugging Description Use the debugging vrffib command to enable VRFFIB debugging Use the undo debugging vrffib command to disable VRFFIB debugging By default VRFFIB debugging is disabled Examples Enable entry operation debugging Then creating VPN instance vpn1 you can see the debugging information Sysname debugging v...

Page 265: ...disable debugging for MPLS L3VPN hot backup messages or all MPLS L3VPN messages Examples Enable debugging for all MPLS L3VPN messages Sysname debugging mpls l3vpn all 1 1 3 default local preference BGP VPNv4 subaddress family view Syntax default local preference value undo default local preference View BGP VPNv4 subaddress family view Default Level 2 System level Parameters value Default value for...

Page 266: ...p af vpnv4 default local preference 180 1 1 4 default med BGP VPNv4 subaddress family view Syntax default med med value undo default med View BGP VPNv4 subaddress family view Default Level 2 System level Parameters med value MED value Description Use the default med command to set the default system metric Use the undo default med command to restore the default With other criteria the same the sys...

Page 267: ...ure the description of VPN instance vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 description This is vpn1 1 1 6 display bgp vpnv4 all routing table Syntax display bgp vpnv4 all routing table network address mask mask length longer prefixes as path acl as path acl number cidr community aa nn 1 13 no export subconfed no advertise no export whole match community lis...

Page 268: ...ut of the local AS or If existing confederation However it is advertised to the other sub ASs in the confederation whole match Performs exact match community list Displays routing information of the specified BGP community list in the routing table basic community list number Basic community list number in the range 1 to 99 adv community list number Advanced community list number in the range 100 ...

Page 269: ... LocPrf i 10 0 0 0 1 1 1 1 0 100 10 1 1 0 24 0 0 0 0 NULL 1025 0 20 0 0 0 10 1 1 1 NULL 1026 0 i 123 1 1 1 32 1 1 1 1 0 100 124 1 1 1 32 0 0 0 0 NULL 1024 0 Table 1 1 Description on the fields of display bgp vpnv4 all routing table Field Description BGP Local router ID Router ID of the local BGP device Status codes Route status codes Valid values include valid Valid route best Best route d damped ...

Page 270: ... 1 1 7 display bgp vpnv4 group Syntax display bgp vpnv4 all vpn instance vpn instance name group group name View Any view Default Level 1 Monitor level Parameters all Specifies all VPNv4 peers vpn instance name Name of the VPN instance group name Name of the BGP peer group Description Use the display bgp vpnv4 group command to display information about a specified or all BGP VPNv4 peer groups Exam...

Page 271: ...he BGP peer group Maximum allowed prefix number Maximum number of routes that the VPN instance supports Threshold Threshold value Configured hold timer value Setting of the hold timer Keepalive timer value Keepalive interval Minimum time between advertisement runs Minimum route advertisement interval Peer Preferred Value Weight for the routes from the peer No routing policy is configured Whether t...

Page 272: ...ion about BGP VPNv4 routes injected into a specified or all VPN instances Examples Display information about BGP VPNv4 routes injected into VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 network BGP Local Router ID is 1 1 1 1 Local AS Number is 100 Network Mask Route policy 10 0 0 0 255 0 0 0 Table 1 3 Description on the fields of the display bgp vpnv4 network command Field Descript...

Page 273: ...r expression Regular expression for filtering the AS path information to be displayed Description Use the display bgp vpnv4 paths command to display the BGP VPNv4 AS path information Examples Display the BGP VPNv4 AS path information of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 paths Address Hash Refcount MED Path Origin 0x6E72D18 0 1 0 200 0x6E72E50 0 1 0 i 0x6E72B78 1 1 0 0x6...

Page 274: ...er Syntax display bgp vpnv4 all vpn instance vpn instance name peer group name log info ip address log info verbose verbose View Any view Default Level 1 Monitor level Parameters all Specifies all VPNv4 peers vpn instance name Name of the VPN instance group name Name of the peer group log info Displays log information ip address IP address of the peer verbose Displays detailed information Descript...

Page 275: ...ges received MsgSent Number of messages sent OutQ Number of messages waiting to be sent to the peer PrefRcv Number of received prefixes Up Down Duration of the BGP session in the current state State Status of the peer Display detailed information about BGP VPNv4 peers of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 peer verbose Peer 10 1 1 1 Local 2 2 2 2 Type EBGP link BGP versio...

Page 276: ...Version of BGP that the peer runs remote router ID Router ID of the remote device BGP current state Current status of the BGP session Up for Duration since the peer is established BGP current event Current event of the BGP session BGP last state State that the BGP session was in before transitioning to the current status Port Local and remote ports of the BGP session Configured Settings of the loc...

Page 277: ...fresh capability is supported Peer Preferred Value Weight for the routes from the peer Routing policy configured Routing policy configured Display all BGP VPNv4 peer information Sysname display bgp vpnv4 all peer BGP local router ID 2 2 2 2 Local AS number 100 Total number of peers 1 Peers in established state 1 Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 1 1 1 1 4 100 51 64 0 2 00 45 16 ...

Page 278: ...ol extended Peer support bgp route refresh capability Address family IPv4 Unicast advertised and received Address family VPNv4 advertised and received Received Total 52 messages Update messages 2 Sent Total 65 messages Update messages 5 Maximum allowed prefix number 150000 Threshold 75 Minimum time between advertisement runs is 15 seconds Optional capabilities Route refresh capability has been ena...

Page 279: ...pports route refresh capability Address family IPv4 Unicast IPv4 unicast family capability Address family VPNv4 IPv4 address group VPNv4 capability Received Counts of received messages Sent Counts of sent messages Maximum allowed prefix number Maximum number of routes that the VPN instance supports Threshold Threshold value Minimum time between advertisement runs Minimum route advertisement interv...

Page 280: ...GP community in the routing table aa nn 1 13 Community number Both the aa and nn parameters range from 0 to 65535 1 13 means that you can enter the parameter combination up to 13 times no export subconfed A route with this attribute is neither advertised out of the local AS nor advertised to the other sub ASs in the confederation no advertise A route with this attribute is not advertised to any ot...

Page 281: ... i 123 1 1 1 32 1 1 1 1 0 100 124 1 1 1 32 0 0 0 0 NULL 1024 0 Table 1 9 Fields of display bgp vpnv4 route distinguisher routing table Field Description Total routes of vpn instance vpn1 Total number of routes of the specified VPN instance Network Network address NextHop Address of the next hop Label recv app Incoming outgoing label MED Metric associated with the destination network LocPrf Local p...

Page 282: ...te flap h history History route i internal Internal route s suppressed Suppressed route S Stale Stale route Origin Route origin codes Valid values include i IGP learned from the AS e EGP learned through EGP incomplete learned in any other way Network Network address in the BGP routing table NextHop Address of the next hop Label recv app Incoming outgoing label MED Metric associated with the destin...

Page 283: ...Total number of routes from all PE 1 BGP Local router ID is 2 2 2 2 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Route Distinguisher 100 1 Network NextHop In Out Label i 123 1 1 1 1 1 1 1 NULL 1024 Total routes of vpn instance vpn1 4 Network NextHop In Out Label 10 1 1 0 0 0 0 0 1025 NULL 20 0 0 0 0 0 0 0 1026 NULL i 123 1 1 1 1 1 1 1 NUL...

Page 284: ... null indicates an explicit null label Total routes of vpn instance vpn1 Total number of routes from the specified VPN instance 1 1 13 display bgp vpnv4 vpn instance routing table Syntax display bgp vpnv4 vpn instance vpn instance name routing table network address mask mask length longer prefixes as path acl as path acl number cidr community aa nn 1 13 no export subconfed no advertise no export w...

Page 285: ...tised to any other BGP peer no export A route with this attribute is not advertised out of the local AS or If existing confederation However it is advertised to the other sub ASs in the confederation whole match Performs exact match community list Displays routing information of the specified BGP community list basic community list number Basic community list number adv community list number Advan...

Page 286: ...otal Number of Routes 5 BGP Local router ID is 2 2 2 2 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn i 10 0 0 0 1 1 1 1 0 100 0 i 10 1 1 0 24 0 0 0 0 0 0 20 0 0 0 10 1 1 1 0 99 200 i 123 1 1 1 32 1 1 1 1 0 100 0 124 1 1 1 32 0 0 0 0 0 0 Table 1 12 Fields of display bgp vpnv4 vpn instance routing ...

Page 287: ...ociated with the destination network LocPrf Local preference PrefVal Preferred value of the protocol Path Ogn AS_PATH attribute route origin of the route 1 1 14 display fib statistics vpn instance Syntax display fib statistics vpn instance View Any view Default Level 1 Monitor level Parameters None Description Use the display fib statistics vpn instance command to display statistics about the VPN ...

Page 288: ...udes the specified string Description Use the display fib vpn instance command to display information about the forwarding information base FIB of a VPN instance Examples Display information about the FIB of VPN instance vpn1 Sysname display fib vpn instance vpn1 FIB Table For vpn1 Total number of Routes 2 Destination Mask OutInterface InnerLabel Token 66 1 1 1 32 InLoopBack0 NULL invalid 66 1 1 0...

Page 289: ...tion Use the display ip vpn instance command to display information about a VPN instance or all VPN instances If you do not specify any parameter the command displays brief information about all VPN instances Examples Display information about VPN instance vpn1 Sysname display ip vpn instance instance name vpn1 VPN Instance Name and ID vpn1 1 Create time 2006 04 08 13 01 30 Up time 0 days 00 hours...

Page 290: ...policy of the VPN instance Description Description of the VPN instance Maximum number of Routes Maximum number of routes of the VPN instance Interfaces Interface to which the VPN instance is bound 1 1 17 display ospf sham link Syntax display ospf process id sham link area area id View Any view Default Level 1 Monitor level Parameters process id OSPF process ID area id OSPF area ID It can be an int...

Page 291: ...te Status of the sham link interface Cost Cost of the sham link Display information about OSPF sham links in area 1 Sysname display ospf sham link area 1 OSPF Process 100 with Router ID 100 1 1 2 Sham Link 3 3 3 3 5 5 5 5 Neighbour State Full Area 0 0 0 1 Cost 10 State P 2 P Type Sham Timers Hello 10 Dead 40 Retransmit 5 Transmit Delay 1 Table 1 17 Description on the fields of the display ospf sha...

Page 292: ...licy or all tunneling policies Related commands tunnel policy tunnel select seq load balance number Examples Display all tunneling policies Sysname display tunnel policy all Tunnel Policy Name Select Seq Load balance No t LSP 1 aaa LSP CR LSP 1 bbb LSP 1 Display tunneling policy aaa Sysname display tunnel policy policy name aaa Tunnel Policy Name Select Seq Load balance No aaa LSP CR LSP 1 Table 1...

Page 293: ...and to configure an OSPF domain ID Use the undo domain id command to restore the default By default the OSPF domain ID is 0 With no parameter specified the undo domain id command deletes all domain IDs Usually routes injected from PEs are advertised as External LSAs However routes to different destinations in the same OSPF domain must be advertised as Type 3 LSAs Therefore using the same domain ID...

Page 294: ...ot enough An export routing policy may deny routes that are permitted by the export target attribute By default all VPN instance routes permitted by the export target attribute can be redistributed Examples Apply export routing policy poly 1 to VPN instance vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 export route policy poly 1 1 1 21 filter policy export BGP VPN...

Page 295: ...Use the undo filter policy export command to remove the configuration If you specify no routing protocol parameters for the filter policy export command all routes to be advertised will be filtered By default MP BGP does not filter routes to be advertised Only routes that survive the filtering are advertised by MP BGP Examples In BGP VPNv4 subaddress family view specify to filter routes to be adve...

Page 296: ...ame ipv4 family vpnv4 Sysname bgp af vpnv4 filter policy 2255 import 1 1 23 import route policy Syntax import route policy route policy undo import route policy View VPN instance view Default Level 2 System level Parameters route policy Name of the import routing policy for the VPN instance Description Use the import route policy command to apply an import routing policy to a VPN instance Use the ...

Page 297: ...lt Level 2 System level Parameters vpn instance name Name of the VPN instance to be associated Description Use the ip binding vpn instance command to associate an interface with a VPN instance Use the undo ip binding vpn instance command to remove the association By default an interface is associated with no VPN instance it belongs to the public network When configured on an interface the ip bindi...

Page 298: ...e ip vpn instance command to create a VPN instance and enter VPN instance view Use the undo ip vpn instance command to delete a VPN instance A VPN instance takes effect only after you configure an RD for it Related commands route distinguisher Examples Create a VPN instance named vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 1 1 26 ipv4 family Syntax ipv4 family v...

Page 299: ...ews Before entering BGP VPN instance view you must create the VPN instance Examples Enter BGP VPNv4 subaddress family view Sysname system view Sysname bgp 100 Sysname ipv4 family vpnv4 Sysname bgp af vpnv4 Associate VPN instance vpn1 with an IPv4 address family and enter BGP VPN instance view Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 quit Sysname bgp 100 Sysname bg...

Page 300: ... 3 3 3 Sysname system view Sysname bgp 100 Sysname ipv4 family vpnv4 Sysname bgp af vpnv4 peer 3 3 3 3 advertise community 1 1 28 peer allow as loop Syntax peer group name ip address allow as loop number undo peer group name ip address allow as loop View BGP VPNv4 subaddress family view BGP L2VPN address family view VPLS address family view Default Level 2 System level Parameters group name Name o...

Page 301: ... route received from peer 1 1 1 1 for up to twice Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn peer 1 1 1 1 allow as loop 2 In VPLS address family view allow the local AS number to appear repeatedly in the AS PATH attribute of a route received from peer 1 1 1 1 for up to twice Sysname system view Sysname bgp 100 Sysname vpls family Sysname bgp af vpls peer 1 1 ...

Page 302: ...ess family view apply AS filtering list 3 to routes advertised by peer group test Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test as path acl 3 export 1 1 30 peer default route advertise vpn instance Syntax peer group name ip address default route advertise vpn instance vpn instance name undo peer group name ip address default route advertise vpn in...

Page 303: ...nv4 peer 1 1 1 1 upe Sysname bgp af vpnv4 peer 1 1 1 1 default route advertise vpn instance vpn1 1 1 31 peer enable Syntax peer ip address group name enable undo peer ip address group name enable View BGP VPNv4 subaddress family view BGP L2VPN address family view VPLS address family view Default Level 2 System level Parameters ip address IP address of the peer group name Name of the peer group Des...

Page 304: ...l2vpn family Sysname bgp af l2vpn peer 1 1 1 1 enable Configure peer 1 1 1 1 and enable the peer for the VPLS address family Sysname system view Sysname bgp 100 Sysname bgp peer 1 1 1 1 as number 100 Sysname vpls family Sysname bgp af vpls peer 1 1 1 1 enable 1 1 32 peer filter policy BGP VPNv4 subaddress family view Syntax peer ip address group name filter policy acl number import export undo pee...

Page 305: ...gp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test filter policy 2003 import 1 1 33 peer group Syntax peer ip address group group name undo peer ip address group group name 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 Description Use the peer ...

Page 306: ...group test 1 1 34 peer ip prefix BGP VPNv4 subaddress family view Syntax peer ip address group name ip prefix prefix name import export undo peer ip address group name ip prefix prefix name import export View BGP VPNv4 subaddress family view Default Level 2 System level Parameters ip address IP address of the peer group name Name of the peer group prefix name Name of the IP prefix list import Filt...

Page 307: ...w BGP VPN instance view Default Level 2 System level Parameters ip address IP address of the peer group name Name of the peer group Description Use the peer label route capability command to enable the exchange of labeled routes with an IPv4 peer or peer group Use the undo peer label route capability command to disable the capability By default the device does not advertise labeled routes to an IP...

Page 308: ...onfigure the device not to change the next hop of a route when advertising it to an EBGP peer Use the undo peer next hop invariable command to restore the default By default a device uses its address as the next hop when advertising a route to its EBGP peer Related commands refer to BGP Commands Examples In BGP VPNv4 subaddress family view configure the device not to change the next hop of a route...

Page 309: ...vice to use the local address as the next hop of a route when advertising it to peer group test Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test next hop local In BGP L2VPN address family view configure the device to use the local address as the next hop of a route when advertising it to peer group test Sysname system view Sysname bgp 100 Sysname bgp...

Page 310: ...umbers By default a BGP update carries private AS numbers If a BGP update to be sent carries any public AS number this command does not take effect The private AS number ranges from 64512 to 65535 Examples In BGP VPNv4 subaddress family view configure the device to make BGP updates to be sent to peer group test carry no private AS numbers Sysname system view Sysname bgp 100 Sysname bgp ipv4 family...

Page 311: ... system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test reflect client In BGP L2VPN address family view configure the local device to be an RR and set peer group test as the client of the RR Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn peer test reflect client In VPLS address family view configure the local device to be an RR a...

Page 312: ...er group Use the undo peer route policy command to remove the application By default no routing policy is applied to a peer or peer group Examples In BGP VPNv4 subaddress family view apply routing policy test policy to peer group test to filter the received routes Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test route policy test policy import 1 1 41...

Page 313: ...em view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer 1 1 1 1 upe 1 1 42 policy vpn target Syntax policy vpn target undo policy vpn target View BGP VPNv4 subaddress family view BGP L2VPN address family view VPLS address family view Default Level 2 System level Parameters None Description Use the policy vpn target command to enable VPN target filtering for received VPNv4 r...

Page 314: ... L2VPN address family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn policy vpn target In VPLS address family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname vpls family Sysname bgp af vpls policy vpn target 1 1 43 reflect between clients Syntax refle...

Page 315: ...ily view disable route reflection between clients Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 undo reflect between clients In BGP L2VPN address family view disable route reflection between clients Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn undo reflect between clients In VPLS address family view disable route reflect...

Page 316: ...is more than one RR in a cluster use the reflector cluster id command to configure the same cluster ID for all RRs in the cluster Examples In BGP VPNv4 subaddress family view configure the local router as an RR of a cluster Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 reflector cluster id 50 In BGP L2VPN address family view configure the local router as an...

Page 317: ...a soft reset in the inbound direction export Performs a soft reset in the outbound direction Description Use the refresh bgp vpn instance command to perform a soft reset of BGP connections in a VPN instance Examples Perform a soft reset of all BGP connections in VPN instance vpn1 in the inbound direction to make new configurations take effect Sysname refresh bgp vpn instance vpn1 all import 1 1 46...

Page 318: ...BGP VPNv4 connections in the inbound direction to make new configurations take effect Sysname refresh bgp vpnv4 all import 1 1 47 reset bgp vpn instance Syntax reset bgp vpn instance vpn instance name as number ip address all external group group name View User view Default Level 1 Monitor level Parameters vpn instance name Name of the VPN instance as number Resets BGP connections with the peers i...

Page 319: ... dampening Specifies route flap dampening information mask Network mask in the format of X X X X mask length Length of the network mask Description Use the reset bgp vpn instance dampening command to clear the route flap dampening information of a VPN instance Examples Clear the route flap dampening information of VPN instance vpn1 Sysname reset bgp vpn instance vpn1 dampening 1 1 49 reset bgp vpn...

Page 320: ...ar the route flap history information about BGP peers of a VPN instance Examples Clear route flap history information about BGP peer 2 2 2 2 of VPN instance vpn1 Sysname reset bgp vpn instance vpn1 2 2 2 2 flap info 1 1 50 reset bgp vpnv4 Syntax reset bgp vpnv4 as number ip address group group name all internal external View User view Default Level 1 Monitor level Parameters as number Resets VPNv4...

Page 321: ...iew Syntax route distinguisher route distinguisher View VPN instance view Default Level 2 System level Parameters route distinguisher Route distinguisher RD for the VPN instance a string of 3 to 21 characters in either of the following two formats z 16 bit AS number 32 bit user defined number For example 101 3 z 32 bit IP address 16 bit user defined number For example 192 168 122 15 1 Description ...

Page 322: ...ute tag Syntax route tag tag value undo route tag View OSPF view Default Level 2 System level Parameters tag value Tag for identifying injected VPN routes Description Use the route tag command to configure the tag for identifying injected VPN routes Use the undo route tag command to restore the default The first two octets of the default tag is always 0xD000 while the last two octets is the AS num...

Page 323: ...e 5 or Type 7 LSA is neglected in route calculation if its tag is the same as the local one Note A configured route tag takes effect after you issue the reset ospf command Related commands import route in OSPF Commands Examples Configure the route tag for OSPF process 100 as 100 Sysname system view Sysname ospf 100 Sysname ospf 100 route tag 100 1 1 53 routing table limit Syntax routing table limi...

Page 324: ...e threshold is exceeded Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 route distinguisher 100 1 Sysname vpn instance vpn1 routing table limit 1000 simply alert 1 1 54 rr filter Syntax rr filter extended community list number undo rr filter View BGP VPNv4 subaddress family view BGP L2VPN address family view VPLS address family view Default Level 2 System level Parameter...

Page 325: ...ame bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn rr filter 10 In VPLS address 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 Sysname system view Sysname bgp 100 Sysname vpls family Sysname bgp af vpls rr filter 10 1 1 55 sham link Syntax sham link source ip address desti...

Page 326: ...her a string of 1 to 8 characters in plain text or a string of 24 characters in cipher text md5 Uses MD5 algorithm for authentication hmac md5 Uses HMAC MD5 algorithm for authentication key id Authentication key ID of the interface in the range 1 to 255 It must be the same as that of the peer cipher Uses cipher text plain Uses plain text password2 Password string case sensitive If you specify neit...

Page 327: ...PN instance Description Use the tnl policy command to associate the current VPN instance with a tunneling policy Use the undo tnl policy command to remove the association When selecting tunnels from the VPN tunnel management module an application can use the tunneling policy as the criterion With no tunneling policy associated with a VPN instance the default tunneling policy is used Related comman...

Page 328: ...cription Use the tunnel policy command to establish a tunneling policy and enter tunneling policy view Use the undo tunnel policy command to delete a tunneling policy Related commands tunnel select seq load balance number Examples Establish a tunneling policy named po1 and enter tunneling policy view Sysname system view Sysname tunnel policy po1 Sysname tunnel policy po1 1 1 58 tunnel select seq l...

Page 329: ...mber command can be used z A tunnel type closer to the select seq keyword has a higher priority z The number of tunnels for load balancing refers to the number of tunnels that an application can use By default one LSP tunnel can be used That is only LSP tunnels can be used and the number of tunnels for load balancing is 1 Examples Define a tunneling policy specifying that only CR LSP tunnels can b...

Page 330: ...efault Level 2 System level Parameters vpn target 1 8 Adds the VPN target extended community attribute to the import or export VPN target extended community list and specify the VPN target in the format nn nn or IP address nn 1 8 means that you can specify this argument for up to 8 times A VPN target attribute can be in either of these two formats z 16 bit AS number 32 bit user defined number For ...

Page 331: ...mand to associate the current VPN instance with one or more VPN targets Use the undo vpn target command to remove the association of the current VPN instance with VPN targets VPN target has no default You must configure it when creating a VPN instance Examples Associate the current VPN instance with VPN targets Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 vpn target 3...

Page 332: ...ntents i 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 1 3 1 1 4 mpls service binding 1 3 ...

Page 333: ... by type and number Values of interface type include MPLS and MPLS VPLS Description Use the backup interface command to specify the backup interface for a virtual service interface Use the undo backup interface command to cancel the configuration of the backup virtual service interface After the active virtual service interface is down the service can be switched to the backup virtual service inte...

Page 334: ... VPLS virtual service interfaces service id Specifies the service ID of the current virtual service interface Note When several MPLS VPLS virtual service interfaces are used for load sharing you need to specify a unique service id for each interface Description Use the l2vpn vpls service binding service id command to redirect the VPLS service to the MPLS VPLS virtual service interface on the L3 bo...

Page 335: ...d Description Use the l2vpn vpls service binding vsi command to specify the VPLS instance to be bound on the MPLS VPLS virtual service interface Use the undo l2vpn vpls service binding vsi command to cancel the binding of the VPLS instance bound with the MPLS VPLS virtual service interface You can bind a VPLS instance to one MPLS VPLS virtual service interface only Examples Bind VPLS instance aaa ...

Page 336: ...t the MPLS service at the public network side to the MPLS virtual service interface on the L3 board capable of MPLS processing Use the undo mpls service binding command to cancel the redirection Examples Redirect the MPLS service at the public network side to the MPLS virtual service interface MPLS 0 0 1 on the L3 board capable of MPLS processing Sysname system view Sysname interface MPLS 0 0 1 Sy...

Page 337: ...ation 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 1 7 1 1 6 expediting enable 1 9 1 1 7 interface tunnel 1 10 1 1 8 ipv6 mtu tunnel Interface view 1 10 1 1 9 mtu tunnel Interface view 1 11 1 1 10 source 1 12 1 1 11 tunnel protocol 1 12 ...

Page 338: ...ve the configuration By default no service loop group is applied to a tunnel Before applying a service loop group to a tunnel in tunnel interface view you need to configure the service loop group in system view and set its service type to tunnel Related commands link aggregation group Examples Create service loop group 1 Then set the configuration mode to manual and the service type to tunnel Sysn...

Page 339: ... switch of the GRE module packet Turns on the packet information debugging switch of the GRE module Description Use the debugging gre command to enable the GRE debugging switch Use the undo debugging gre command to disable the GRE debugging switch By default the GRE debugging switch is disabled Table 1 1 Description on the fields of the debugging gre error command Field Description Getting interfa...

Page 340: ...pe according to the tunnel mode Encapsulation limit check failed Failed in encapsulation limit check of the tunnel IPv6 packet Transmit packet failed The GRE packet was not sent because the tunnel interface failed in sending it Table 1 2 Description on the fields of the debugging gre packet command Field Description Tunnelnum packet Encapsulation protocol is pro type The encapsulation protocol of ...

Page 341: ...encapsulation Outgoing packet header 10 100 10 1 10 100 20 3 length 128 2001 100 3 ping statistics 1 packet s transmitted 1 packet s received Mar 23 14 39 28 756 2007 Sysname GRE 7 debug Slot 2 Tunnel2 0 1 packet GRE physical transmit a packet len 128 usProtocol 0x8 6dd 0 00 packet loss round trip min avg max 7 7 7 ms Sysname Mar 23 14 39 28 926 2007 Sysname GRE 7 debug Slot 2 gre packet Decapsula...

Page 342: ... source address of the peer tunnel interface z Two or more tunnel interfaces using the same encapsulation protocol must have different source addresses and destination addresses Related commands interface tunnel and source Examples Set VLAN interface 10 193 101 1 1 of Switch 1 and VLAN interface 20 192 100 1 1 of Switch 2 as the source destination interface and destination source interface of the ...

Page 343: ... protocol Examples Display information about interface Tunnel 3 0 0 Sysname display interface tunnel 3 0 0 Tunnel3 0 0 current state UP Line protocol current state UP Description Tunnel3 0 0 Interface The Maximum Transmit Unit is 1500 Internet protocol processing disabled Encapsulation is TUNNEL aggregation ID is 10 Tunnel source 10 0 0 1 Vlan interface10 destination 10 0 0 2 Tunnel protocol trans...

Page 344: ... ID ID of the service loop group applied to the tunnel Tunnel source Source address of the tunnel interface destination Destination address of the tunnel interface Tunnel protocol transport The Tunnel protocol transport protocol that is in operation GRE key Keyword verification Checksumming of GRE packets End to end verification Last 300 seconds input Amount of inbound traffic per second in the la...

Page 345: ...0 0 current state UP Line protocol current state UP IPv6 is enabled link local address is FE80 101 101 Global unicast address es 2002 101 101 1 subnet is 2002 16 Joined group address es FF02 1 FF01 101 FF02 1 FF00 1 FF02 2 FF02 1 MTU is 1500 bytes ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds Hosts use stateless autoconfig for addresses Table 1 4 Description o...

Page 346: ...ighbor discovery packet retransmission interval Hosts use stateless autoconfig for addresses Hosts use the stateless auto configuration mode to acquire an IPv6 addresses 1 1 6 expediting enable Syntax expediting enable undo expediting enable View Tunnel interface view Default Level 2 System level Parameters None Description Use the expediting enable command to enable the expediting function Use th...

Page 347: ...l interface view Use the undo interface tunnel command to remove a tunnel interface By default there is no tunnel interface on the device z Executing the interface tunnel command you enter tunnel interface view if the tunnel interface exists z A tunnel interface number has only local significance Therefore the same or different interface numbers can be set at both ends of a tunnel Related commands...

Page 348: ...to 1400 bytes Sysname system view Sysname interface tunnel 4 0 1 Sysname tunnel4 0 1 ipv6 mtu 1400 1 1 9 mtu tunnel Interface view Syntax mtu mtu size undo mtu View Tunnel interface view Default Level 2 System level Parameters mtu size Specifies the MTU on a tunnel interface The default value is 1500 bytes Description Use the mtu command to set the MTU on a tunnel interface Use the undo mtu comman...

Page 349: ...se the undo source command to remove the configuration By default no source address is configured for a tunnel interface Note that z The source address of a tunnel interface is the address of the interface sending GRE packets and is usually the destination address of the peer tunnel interface z Two or more tunnel interfaces using the same encapsulation protocol must have different source addresses...

Page 350: ...ed Select a tunnel mode according to the network topology and application Note that both ends of a tunnel must be configured with the same tunnel mode Otherwise packet delivery will fail Related commands interface tunnel Examples Create a tunnel between Switch 1 and Switch 2 Then configure the encapsulation protocol as GRE and the transport protocol as IP z Configure Switch 1 Sysname system view S...

Reviews: