xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
134
clear cfm pkt_cnt
Purpose
Used to clear the CFM packet’s RX/TX counters.
Syntax
clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]}
Description
This command is used to clear the CFM packet’s RX/TX counters.
Parameters
ports <portlist>
- The ports which require need the counters clearing. If not specified, all ports
will be cleared.
{[rx | tx]}
– Specify to clear the RX or TX counters. If not specified, both counters will be
shown.
[rx | tx]
- Specify to clear the RX or TX counters of all ports.
ccm
- Specify to clear the CCM RX counters of all ports.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the CFM packet’s RX/TX counters:
DGS-3450:admin#clear cfm pkt_cnt ccm
Command: clear cfm pkt_cnt ccm
Success.
DGS-3450:admin#
config cfm ais md
Purpose
Used to configure the parameters of the AIS function on a MEP.
Syntax
config cfm ais md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> |
ma_index<uint 1-4294967295>] mepid <int 1-8191> { period [ 1sec | 1min] | level <int 0-
7> | state [ enable | disable]}
Description
This command is used to configure the parameters of the AIS function on a MEP.
Parameters
md <string 22>
- Specify the Maintenance Domain name.
md_index <uint 1-4294967295>
- Specify the Maintenance Domain index.
ma <string 22>
- Specify the Maintenance Association name.
ma_index <uint 1-4294967295>
- Specify the Maintenance Association index.
mepid <int 1-8191>
- Specify the MEP ID.
period
– Specify the transmitting interval of the AIS PDU. The default is 1 second.
level
– Specify the client level ID to which the MEP sends AIS PDU. The default client MD
level is the MD level that the most immediate client layer MIPs and MEPs exist on.
state
– Specify the AIS function state used. This state can be enabled or disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the AIS function so that it is enabled and has a client level of 5: