H3C S9500 Series Command Manual

Type
Command Manual
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
Copyright © 2007-2008, Hangzhou H3C Technologies Co., Ltd. and its licensors
All Rights Reserved
No part of this manual may be reproduced or transmitted in any form or by any means
without prior written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C, , Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot,
Neocean, NeoVTL, SecPro, SecPoint, SecEngine, SecPath, Comware, Secware,
Storware, NQA, VVG, V
2
G, V
n
G, PSPT, XGbus, N-Bus, TiGem, 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 recommendations in this document do not constitute
the warranty of any kind, express or implied.
To obtain the latest information, please access:
http://www.h3c.com
Technical Support
customer_service@h3c.com
http://www.h3c.com
About This Manual
Related Documentation
In addition to this manual, each H3C S9500 Series Routing Switches documentation
set includes the following:
Manual Description
H3C S9500 Series Routing
Switches Installation Manual
It introduces the installation procedure,
commissioning, maintenance and monitoring of
the S9500 series routing switches.
H3C S9500 Series Routing
Switches Operation Manual
It includes Product Overview, Access Volume,
IP Service Volume, IP Routing Volume, IP
Multicast Volume, MPLS VPN Volume, QoS
ACL Volume, Security Volume, System
Volume , OAA Volume and Acronyms.
Organization
H3C Command Manual is organized as follows:
Part Contents
00 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, DNS
Commands, IP Addressing Commands, IP Performance
Commands, UDP Helper Commands, IPv6 Basics
Commands, Dual Stack Commands, Tunneling
Commands, and Adjacency Table Command.
03 IP Routing Volume
includes IP Routing Table Display Commands, BGP
Commands, IS-IS Commands, OSPF Commands, RIP
Commands, Routing Policy Commands, Static Routing
Commands, IPv6 BGP Commands, IPv6 IS-IS
Commands, IPv6 OSPFv3 Commands, IPv6 RIPng
Commands, and IPv6 Static Routing Commands.
Part Contents
04 IP Multicast
Volume
includes Multicast Routing and Forwarding Commands,
IGMP Snooping Commands, IGMP Commands, PIM
Commands, MSDP Commands, IPv6 Multicast Routing,
and Forwarding Commands, MLD Snooping Commands,
MLD Commands, IPv6 PIM Commands, Multicast VLAN
Commands.
05 MPLS VPN
Volume
includes MPLS Basics Commands, MPLS TE Commands,
VPLS Commands, MPLS L2VPN Commands, MPLS
L3VPN Commands, MPLS Hybrid Insertion Commands,
and GRE Commands.
06 QoS ACL Volume includes QoS Commands and ACL Commands.
07 Security Volume
includes 802.1x Commands, AAA, RADIUS HWTACACS
Commands, MAC Authentication Commands, L3+NAT
Commands, Password Control Commands, SSH2.0
Commands, and Portal Commands.
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 Monitoring
Commands.
09 OAA Volume includes OAP Module Commands and ACSEI Commands.
10 Unsupported
Commands
List of Unsupported Commands.
Conventions
The manual uses the following conventions:
I. Command conventions
Convention Description
Boldface
The keywords of a command line are in Boldface.
italic
Command arguments are in italic.
[ ]
Items (keywords or arguments) in square brackets [ ] are
optional.
{ x | y | ... }
Alternative items are grouped in braces and separated by
vertical bars. One is selected.
Convention Description
[ x | y | ... ]
Optional alternative items are grouped in square brackets
and separated by vertical bars. One or none is selected.
{ x | y | ... } *
Alternative items are grouped in braces and separated by
vertical bars. A minimum of one or a maximum of all can be
selected.
[ x | y | ... ] *
Optional alternative items are grouped in square brackets
and separated by vertical bars. Many or none can be
selected.
&<1-n>
The argument(s) before the ampersand (&) 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 Description
Warning
Means reader be extremely careful. Improper operation
may cause bodily injury.
Caution
Means reader be careful. Improper operation may cause
data loss or damage to equipment.
 Note Means a complementary description.
Command Manual
H3C S9500 Series Routing Switches MPLS VPN Volume Organization
Manual Version
T2-08194H-20080530-C-2.03
Product Version
S9500-CMW520-R2132
Organization
The MPLS VPN Volume is organized as follows:
Features (command
manual)
Description
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 Introduces the commands for GRE configuration.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Table of Contents
i
Table of Contents
Chapter 1 MPLS Basics Configuration Commands...................................................................1-1
1.1 MPLS Basic Configuration Commands.............................................................................1-1
1.1.1 debugging mpls ldp.................................................................................................1-1
1.1.2 debugging mpls lfib.................................................................................................1-8
1.1.3 debugging mpls lfib slot drv.....................................................................................1-9
1.1.4 debugging mpls lspc .............................................................................................1-11
1.1.5 debugging mpls management...............................................................................1-12
1.1.6 debugging mpls packet.........................................................................................1-24
1.1.7 display mpls interface............................................................................................1-26
1.1.8 display mpls label..................................................................................................1-28
1.1.9 display mpls ldp.....................................................................................................1-29
1.1.10 display mpls ldp cr-lsp.........................................................................................1-30
1.1.11 display mpls ldp interface....................................................................................1-31
1.1.12 display mpls 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.23 du-readvertise .....................................................................................................1-49
1.1.24 du-readvertise timer............................................................................................1-50
1.1.25 hops-count...........................................................................................................1-51
1.1.26 label advertise.....................................................................................................1-51
1.1.27 label-distribution..................................................................................................1-53
1.1.28 label-retention......................................................................................................1-54
1.1.29 loop-detect...........................................................................................................1-55
1.1.30 lsp-trigger ............................................................................................................1-55
1.1.31 lsr-id.....................................................................................................................1-56
1.1.32 md5-password.....................................................................................................1-57
1.1.33 mpls.....................................................................................................................1-58
1.1.34 mpls ldp (system view)........................................................................................1-59
1.1.35 mpls ldp (interface view) .....................................................................................1-60
1.1.36 mpls ldp advertisement.......................................................................................1-61
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Table of Contents
ii
1.1.37 mpls ldp remote-peer..........................................................................................1-62
1.1.38 mpls ldp timer hello-hold.....................................................................................1-63
1.1.39 mpls ldp timer keepalive-hold..............................................................................1-64
1.1.40 mpls ldp transport-address..................................................................................1-65
1.1.41 mpls lsr-id............................................................................................................1-66
1.1.42 mtu-signalling......................................................................................................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
1.1.55 ttl expiration.........................................................................................................1-78
1.1.56 ttl propagate ........................................................................................................1-79
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-1
Chapter 1 MPLS Basics Configuration Commands
 Note:
z Except for the LDP GR feature, all commands in MPLS LDP view are available in
MPLS LDP VPN instance view. The difference is that the commands serves the
public network LDP in MPLS LDP view but serves the MPLS LDP VPN instance in
MPLS LDP VPN instance view.
z For information about GR commands, refer to GR Commands in System Volume.
1.1 MPLS Basic Configuration Commands
1.1.1 debugging 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 view
Default Level
1: Monitor level
Parameters
advertisement: Specifies advertisement event debugging.
all: Specifies all event debugging.
error: Specifies error event debugging.
hsb: Specifies hot standby event debugging.
main: Specifies debugging for external module related main interface event .
notification: Specifies notification event debugging.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-2
pdu: Specifies PDU packet event debugging.
session: Specifies session event debugging.
socket: Specifies socket event debugging.
timer: Specifies timer event debugging.
interface-type interface-number: Specifies an LDP-enabled interface by its type and
number.
remote-peer remote-peer-name: Specifies a remote peer name.
Description
Use the debugging mpls ldp command to enable debugging for LDP.
Use the undo debugging mpls ldp command to disable debugging for LDP.
By default, debugging is disabled for LDP.
Examples
# Enable LDP advertisement event debugging by executing the debugging mpls ldp
advertisement command
Start two switches, connect the two switches, and configure MPLS and MPLS LDP for
them to establish 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-adverse timer refreshes the FEC information periodically.
#Dec 22 14:55:50:388 2005 PE1 LDP/5/SessionDown: Session(140.2.2.2:0. public
Instance)'s state change to Down
// A Trap message on Session Down.
*0.16838403 PE1 LDP/8/Advertisement: Vlan-interface 12
FEC: 140.2.2.2/0xffffffff, DU DS state machine process, DS Peer 140.2.2.2:0,
DSCB's state: Established , Event: DownStream Lost
// The opposite end restarts LDP, and the upstream state machine processes upstream
events.
*0.16838403 PE1 LDP/8/Advertisement:
FEC: 140.2.2.2/0xffffffff, DU Ingress US state machine process, USCB's state:
Established Event: Internal DownStream Withdraw
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-3
// The downstream state machine processes upstream events.
*0.16838403 PE1 LDP/8/Advertisement:
LDP send LSP Message (Event: 3) to LSPM for LSP:
0 140.2.2.2/32 -----/3 140.12.1.2 ------- Vlan12
The token is: 0. The MTU is: 1500.
// Send an LSP message to LSPM.
*0.16838403 PE1 LDP/8/Advertisement:
Delete USCB, FEC: 140.2.2.2/0xffffffff.
*0.16838403 PE1 LDP/8/Advertisement:
Delete DSCB, FEC: 140.2.2.2/0xffffffff.
*0.16838419 PE1 LDP/8/Advertisement:
Delete FEC Radix Tree Node, Destination: 140.2.2.2,Mask: 0xffffffff
*0.16838419 PE1 LDP/8/Advertisement:
Downstream Lost, Cleanup Successful
// Delete the USCB, DSCB, and FEC node; the downstream is lost; and the USCB,
DSCB, and FEC node information is cleaned up successfully.
*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
Receive Label Mapping Message from Peer(140.2.2.2:0) for FEC:
140.2.2.2/0xffffffff
// Receive a label mapping message.
*0.16868001 PE1 LDP/8/Advertisement:
Create FEC Radix Tree Node, Destination: 140.2.2.2, Mask: 0xffffffff
*0.16868001 PE1 LDP/8/Advertisement:
Create cross node for FEC: 140.2.2.2, Mask: 0xffffffff.
*0.16868001 PE1 LDP/8/Advertisement:
Create DSCB, FEC: 140.2.2.2/0xffffffff.
// Create FEC node, cross node, and DSCB.
*0.16868001 PE1 LDP/8/Advertisement:
0 - FEC: 140.2.2.2/0xffffffff, Successful Next Hop Query
*0.16868001 PE1 LDP/8/Advertisement:
Update OutSeg Info, FEC: 140.2.2.2/0xffffffff, NHCount: 1.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-4
// Update the information of an outgoing label.
*0.16868001 PE1 LDP/8/Advertisement:
Add Info Out_If: 3145744, NHAddr: 140.12.1.2.
*0.16868001 PE1 LDP/8/Advertisement: Vlan-interface 12
FEC: 140.2.2.2/0xffffffff, DU DS state machine process, DS Peer 140.2.2.2:0,
DSCB's state: Idle , Event: LDP Mapping
// The downstream state machine processes the LDP Mapping event.
*0.16868001 PE1 LDP/8/Advertisement:
0 - FEC: 140.2.2.2/0xffffffff, Successful Next Hop Query
*0.16868017 PE1 LDP/8/Advertisement:
Create USCB, FEC: 140.2.2.2/0xffffffff.
// Create a USCB.
*0.16868032 PE1 LDP/8/Advertisement:
FEC: 140.2.2.2/0xffffffff, DU Ingress US state machine process, USCB's state:
Idle Event: Internal DownStream Mapping
// The upstream state machine processes 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 MPLS LDP for
them to establish a session between them. Enable LDP session event debugging by
executing the debugging mpls ldp session command on one switch while restarting
LDP on the other switch.
<PE1> debugging mpls ldp session
<PE1>
*0.19200353 PE1 LDP/8/Session: Vlan-interface 12
Link Hello message sent on interface: Vlan-interface 12
// Send a Hello message.
*0.19201475 PE1 LDP/8/Session:
Session(140.3.3.3) received keep alive message on Operational state.
// Receive a Keepalive message.
*0.19202353 PE1 LDP/8/Session: Vlan-interface 12
Link Hello message received on interface: Vlan-interface 12
// Receive a Hello message.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-5
*0.19202695 PE1 LDP/8/Session:
Sent keep alive message to LSR: 140.3.3.3.
// Send a Keepalive message.
#Dec 22 15:32:40:498 2005 PE1 LDP/5/SessionDown: Session(140.2.2.2:0. public
Instance)'s state change to Down
// Restart the opposite end, and print a Trap message on Session DOWN.
*0.19212498 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2) received address withdraw message on Operational state.
// Receive an address withdrawing message.
*0.19212498 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2) received notification in Operational state.
// Receive a notification.
*0.19212498 PE1 LDP/8/Session:
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 message received on interface: Vlan-interface 12
// Receive a Hello message.
*0.19215395 PE1 LDP/8/Session:
Created session with LSR: 140.2.2.2
// Create a session.
*0.19215395 PE1 LDP/8/Session: Vlan-interface 12
Link Hello message sent on interface: Vlan-interface 12
*0.19215421 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2) received init msg in Initialised state.
// Receive an initialization message.
*0.19215421 PE1 LDP/8/Session:
Session Init message sent to LSR: 140.2.2.2
// Send an initialization message.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-6
*0.19215421 PE1 LDP/8/Session: Vlan-interface 12
Sent keep alive message to LSR: 140.2.2.2.
// Send a Keepalive message.
*0.19215421 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2)'s state changed from Initialised to Open received.
// The session’s state is changed.
#Dec 22 15:32:43:437 2005 PE1 LDP/5/SessionUp: Session(140.2.2.2:0. public
Instance)'s state change to Up
// Display a Session-UP Trap message.
*0.19215437 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2) received keep alive message on Open Received state.
// Receive a Keepalive message.
*0.19215437 PE1 LDP/8/Session: Vlan-interface 12
Session(140.2.2.2)'s state changed from Open received 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 message.
*0.19216438 PE1 LDP/8/Session:
Session(140.3.3.3) received keep alive message on Operational state.
// Receive a Keepalive message.
# Enable PDU packet event debugging by executing the debugging mpls ldp pdu
command.
Start two switches, connect the two switches, and configure MPLS and MPLS LDP for
them to establish a session between them. Execute the debugging mpls ldp pdu
command on one switch.
<PE1>debugging mpls ldp pdu
<PE1>
*0.19804957 PE1 LDP/8/PDU:
Receive UDP Message from Peer: 140.3.3.3. Message content:
01 00 00 1c 00 00 17 bf 04 00 00 04 00 2d c0 00
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-7
04 01 00 04 8c 03 03 03 04 02 00 04 00 00 00 00
The message type: Hello Message.
// Receive a Hello message.
*0.19806530 PE1 LDP/8/PDU: Vlan-interface 12
Send UDP Link Hello Message on interface: Vlan-interface 12. Message content:
01 00 00 1c 00 00 17 ab 04 00 00 04 00 0f 00 00
04 01 00 04 8c 01 01 01 04 02 00 04 00 00 00 00
The message type: Hello Message.
// Send a Hello message.
*0.19807692 PE1 LDP/8/PDU:
Receive UDP Message from Peer: 140.2.2.2. Message content:
01 00 00 1c 00 00 2a 05 04 00 00 04 00 0f 00 00
04 01 00 04 8c 02 02 02 04 02 00 04 00 00 00 00
The message type: Hello Message.
// Receive a Hello message.
*0.19810159 PE1 LDP/8/PDU:
Received an LDP PDU 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: Keepalive Message.
*0.19811550 PE1 LDP/8/PDU: Vlan-interface 12
Send UDP Link Hello Message on interface: Vlan-interface 12. Message content:
01 00 00 1c 00 00 17 ac 04 00 00 04 00 0f 00 00
04 01 00 04 8c 01 01 01 04 02 00 04 00 00 00 00
The message type: Hello Message.
*0.19812630 PE1 LDP/8/PDU:
Receive UDP Message from Peer: 140.2.2.2. Message content:
01 00 00 1c 00 00 2a 09 04 00 00 04 00 0f 00 00
04 01 00 04 8c 02 02 02 04 02 00 04 00 00 00 00
The message type: Hello Message.
*0.19815620 PE1 LDP/8/PDU: Vlan-interface 12
Send TCP Message to Peer: 140.2.2.2. Message content:
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-8
02 01 00 04 00 00 17 ad
The message type: Keepalive Message.
// Send a Keepalive message.
1.1.2 debugging mpls lfib
Syntax
debugging mpls lfib [ code | sync ]
undo debugging mpls lfib [ code | sync ]
View
User view
Default Level
2: System level
Parameters
code: Enables debugging for MPLS entry encoding and decoding.
sync: Enables debugging for MPLS entry synchronization.
Description
Use the debugging 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 number of entries to be sent. Otherwise, there will be large amounts of
command output information, affecting the normal operation of the system.
z The output debugging information for encoding is from the main board, and that for
decoding is from the interface board and the backup main board.
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-9
Table 1-1 debugging mpls lfib code command output description
Field Description
SourceId Entry ID
OperType Operation type
Size Number of valid bytes in the entry
CmdBlk Count Number of entries in the compressed packet
CmdBlk Size Total number of entry bytes in the compressed packet
Table 1-2 debugging mpls lfib sync command output description
Field Description
time cost Time cost, in milliseconds
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
SESS
BFD session information: source address, destination address
and egress interface
Examples
# Enable debugging for MPLS entry encoding and decoding.
<sysname> debugging mpls lfib code
1.1.3 debugging mpls lfib slot drv
Syntax
debugging mpls lfib slot slot-number drv
undo debugging mpls lfib slot slot-number drv
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-10
View
User view
Default Level
2: System level
Parameters
lfib: Enables debugging for MFW.
slot slot-number: Enables debugging for the specified slot.
drv: Enables debugging for distribution to drive.
Description
Use the debugging mpls lfib slot drv command to enable debugging for
MFW-to-drive entry distribution.
Use the undo debugging mpls lfib slot slot-num drv command to disable debugging
for MFW-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 the MFW module and the DRV module
NHLFE Next hop label forwarding entry
DrvContext Information returned to the upper layer by the drive
Result is Operation result, 0 for success and 1 for failure.
Examples
# Enable debugging for MFW-to-drive entry distribution on slot 1.
<sysname> debugging mpls lfib slot 1 drv
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-11
1.1.4 debugging mpls lspc
Syntax
debugging mpls lspc { all | error | event | packet }
undo debugging mpls lspc { all | error | event | packet }
View
User view
Default Level
2: System level
Parameters
all: Specifies all types of debugging.
error: Specifies error debugging.
event: Specifies event debugging.
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 TLV is invalid.
Socket send error! Failed to send packets by socket
Examples
# Enable all types of debugging for the LSP control module.
<Sysname> terminal debugging
<Sysname> debuggiing mpls lspc all
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches Chapter 1 MPLS Basics Configuration Commands
1-12
1.1.5 debugging mpls management
Syntax
debugging mpls management { agent | all | event | interface | policy | process|
tunnel }
undo debugging mpls management { agent | all | event | interface | policy |
process| tunnel }
View
User view
Default Level
2: System level
Parameters
agent: Enables MPLS Agent debugging.
all: Enables MPLS debugging.
event: Enables MPLS event debugging..
interface: Enables MPLS interface debugging.
policy: Enables debugging for the policy whereby LDP establishes LSPs.
process: Enables MPLS process debugging.
tunnel: Enables 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 performance. Therefore, use this command with
caution.
Examples
# Enable MPLS agent debugging by executing the debugging mpls management
agent command.
Start two switches, connect the two switches, and configure MPLS and MPLS LDP for
them to establish a session between them. Enable MPLS agent debugging by
executing the debugging mpls management agent command on one switch while
executing the reset mpls ldp all command on the other.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350

H3C S9500 Series Command Manual

Type
Command Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI