Syntax
check-tx-fault
undo check-tx-fault
View
GE interface view, POS interface view, CPOS
interface view
Parameter
None
Description
Use the check-tx-fault command to
enable the interface to check tx-fault signals.
Use the undo check-tx-fault command
to disable the interface from checking tx-fault signals.
By default, an interface does not check
tx-fault signals.
As some optical modules may send tx-fault
signals by mistake, you are recommended to disable the check function.
Example
# Configure GigabitEthernet 1/0/0 to check
tx-fault signals.
<H3C> system-view
[H3C] interface gigabitethernet
1/0/0
[H3C-GigabitEthernet1/0/0]
check-tx-fault
Syntax
debugging physical { all | error | event | packet } [ interface
interface-type interface-number ]
undo debugging physical { all | error | event | packet } [ interface
interface-type interface-number ]
View
User view
Parameter
all: Enables
all debugging.
error:
Enables error debugging.
event:
Enables event debugging.
packet:
Enables packet debugging.
interface
interface-type interface-number: Specifies an
interface by its type and number.
Description
Use the debugging physical command
to enable debugging of the physical module on the specified interface.
Use the undo debugging physical
command to disable debugging on the specified interface.
Example
# Enable event output for the physical
module of T1 interface.
<H3C> debugging physical
event
*0.98233210 H3C PHYD/8/debugging:
(T1 1/0/0)PHY/EVT: Loss of signal. /*
// Display LOS information when no cable is
connected and display Recovery of signal when a cable is present.
*0.98233300 H3C PHYD/8/debugging:
(T1 1/0/0)PHY/EVT: Loss of frame alignment./*
// Display LOF information when frame
alignment is lost, and display Recovery of frame alignment when frame alignment
is achieved.
*0.98233400 H3C PHYD/8/debugging:(T1
1/0/0)PHY/EVT: No AIS. /*
// Display whether AIS signals have been
received.
*0.98233480 H3C PHYD/8/debugging:
(T1 1/0/0)PHY/EVT: No remote alarm. /*
// Display whether RAI signals have been
received.
Note that the information that the error
and event debugging switches output varies by interface type.
Syntax
debugging physical permit-rule begin-offset match-hex [ debug-length
]
undo debugging physical permit-rule begin-offset match-hex [ debug-length
]
View
User view
Parameters
begin-offset:
Position (in bits) from which the match operation begins. It ranges from 0 to 3100
in steps of four bits (a hexadecimal number).
match-hex: Hexadecimal
match string. The asterisk (*) is accepted as the wildcard to match any number.
debug-length:
Limit on output bytes, in the range of 1 to 1700. The default is 64 bytes.
Description
Use the debugging physical permit-rule
command to configure a permit rule. Using the command in conjunction with the debugging
physical packet command, you can display only the debug output that matches
the rule.
Use the undo debugging physical
permit-rule command to remove the permit rule.
You can configure up to eight debug output
filtering permit rules.
l
Alternatively, you can create permit rules with
the debugging physical index command.
l
The rules created with the debugging physical
permit-rule command are automatically numbered. You can remove them with
the undo debugging physical index command.
Examples
# Output the debug information matching
ff03, starting from the zero bit. The limit on the debug information output
length is 80 bytes.
<H3C>
debugging physical permit-rule 0 ff03 80
Syntax
debugging physical deny-rule begin-offset match-hex
undo debugging physical deny-rule begin-offset match-hex
View
User view
Parameters
begin-offset:
Position from which the match operation begins. It ranges from 0 to 3100 in
steps of four bits (a hexadecimal number).
match-hex: Hexadecimal
match string. The asterisk (*) is accepted as the wildcard to match any number.
Description
Use the debugging physical deny-rule
command to configure a deny rule for information filtering. Using the command
in conjunction with the debugging physical packet command, you can
filter out the debug output that matches the rule.
Use the undo debugging physical deny-rule
command to remove the deny rule.
You can configure up to eight debug output
filtering deny rules.
l
Alternatively, you can create deny rules with
the debugging physical index command.
l
The rules created with the debugging physical
deny-rule command are automatically numbered. You can remove them with the undo
debugging physical index command.
Examples
# Configure a deny rule to filter out the
debugging information matching ff03, starting from the zero bit.
<H3C>
debugging physical deny-rule 0 ff03
Syntax
debugging physical index begin-offset
match-hex [ debug-length ]
undo debugging physical index
View
User view
Parameters
index: Rule
index, in the range of 0 to 15. Indexes 0 through 7 are permit rules, and
indexes 8 through 15 are deny rules.
begin-offset:
Position from which the match operation begins. It ranges from 0 to 3100 in
steps of four bits (a hexadecimal number).
match-hex: Hexadecimal
match string. The asterisk (*) is accepted as the wildcard to match any number.
debug-length:
Limit on output bytes, in the range of 1 to 1700. The default is 64 bytes.
Description
Use the debugging physical index
command to configure an information filtering rule. Using the command in
conjunction with the debugging physical packet command, you can filter
the debug output that matches the rule.
Use the undo debugging physical index
command to remove a debug output filtering rule.
You can configure up to 16 rules.