01-Access Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)01-Access Volume
14-Connectivity Fault Detection Commands
Title Size Download
14-Connectivity Fault Detection Commands 107.02 KB

Connectivity Fault Detection Configuration Commands

Connectivity Fault Detection Configuration Commands

cfd cc enable

Syntax

cfd cc service-instance instance-id mep mep-id enable

undo cfd cc service-instance instance-id mep mep-id enable

View

Ethernet interface view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of an MEP, ranging from 1 to 8191.

Description

Use the cfd cc enable command to enable CCM sending on a specified MEP.

Use the undo cfd cc enable command to cancel the configuration.

By default, the CCM sending function is disabled.

Related commands: cfd cc interval.

Examples

# On port GigabitEthernet 2/0/1, Enable CCM sending on service point 3.

<Sysname> system-view

[Sysname] interface GigabitEthernet 2/0/1

[Sysname-GigabitEthernet2/0/1] cfd cc service-instance 5 mep 3 enable

cfd cc interval

Syntax

cfd cc interval interval-field-value service-instance instance-id

undo cfd cc interval service-instance instance-id

View

System view

Default level

2: System level

Parameters

interval-field-value: Value of the interval field in CCM messages, ranging from 5 to 7.

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

Description

Use the cfd cc interval command to set the value of the interval field in the CCM messages.

Use the undo cfd cc interval command to restore the value to the default value.

By default, the value of this field is 5 for all CCMs sent.

The relationship between the interval field value in the CCM messages, the time interval to send CCM messages and the timeout time of the remote MEP is illustrated in Table 1-1.

Table 1-1 Relationship of interval field value, time interval for sending CCMs and timeout time of remote MEP

Interval field value

Time interval for CCM

Timeout time of remote MEP

5

1 second

3.5 seconds

6

10 seconds

35 seconds

7

60 seconds

210 seconds

 

Related commands: cfd cc enable.

Examples

# Set the value of the interval field in CCMs to 7.

<Sysname> system-view

[Sysname] cfd cc interval 7 service-instance 2

cfd enable

Syntax

cfd enable

undo cfd enable

View

System view

Default level

2: System level

Parameters

None

Description

Use the cfd enable command to enable CFD.

Use the undo cfd enable command to disable CFD.

By default, CFD is disabled.

Examples

# Enable CFD.

<Sysname> system-view

[Sysname] cfd enable

cfd linktrace

Syntax

cfd linktrace service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ ttl ttl-value ] [ hw-only ]

View

System view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of the MEP that sends LTMs, ranging from 1 to 8191.

target-map target-mep-id: Specifies the ID of the MEP that receives LTM, ranging from 1 to 8191.

target-mac mac-address: Specifies the destination MAC address, in the format of H-H-H.

ttl ttl-value: Specifies the time to live value, ranging from 1 to 255 and defaulting to 64.

hw-only: Indicates the hw-only position of the LTMs sent. When this keyword is present and the MIP that receives LTMs cannot find the destination MAC address in its forwarding table, the MIP will not forward these broadcast messages. Otherwise, the LTMs will be forwarded.

Description

Use the cfd linktrace command to find the path between the specified MEP and the destination MEP, which is achieved through the transmission of LTMs between the two and detection of the responding LTRs.

Related commands: cfd linktrace auto-detection.

Examples

# Send LTM messages.

<Sysname> system-view

[Sysname] cfd linktrace service-instance 1 mep 1101 target-mep 2001

Linktrace to MEP 2001 with the sequence number 1101-43361 :

MAC Address               TTL     Forwarded         Relay Action

0010-FC00-6512            63      No                None

Table 1-2 cfd linktrace command output description

Field

Description

Linktrace to MEP mep-id with the sequence number sequence-number

Linktrace to MEP mep-id with the sequence number sequence-number

MAC Address

Source MAC address in the LTR messages

TTL

Hop count when the LTM passes the device

Forwarded

l      Yes means that the current device forwards LTMs.

l       No means that the current device does not forward LTMs.

Relay Action

l      Found: Indicates that the forwarding device found the destination MAC address in its MAC address table.

l      Unknown: Indicates that the forwarding device failed to find the destination MAC address in its MAC address table.

l      None: Indicates that it is a MEP that responded to the LTM message. A MEP does not need to find the destination MAC address.

 

cfd linktrace auto-detection

Syntax

cfd linktrace auto-detection [ size size-value ]

undo cfd linktrace auto-detection

View

System view

Default level

2: System level

Parameters

size size-value: Specifies the size of the buffer used to store the auto-detection result, ranging from 1 to 100 (in terms of sending times).

This value defaults to 5, which means the buffer stores the results of the recent five auto-detections.

Description

Use the cfd linktrace auto-detection command to enable the auto sending of linktrace messages.

Use the undo cfd linktrace auto-detection command to disable this function.

By default, this function is disabled.

Note that:

l          After LT messages automatic sending is enabled, if a MEP fails to receive the CCMs from the remote MEP, the link between the two is regarded as faulty and LTMs will be sent out. (The destination of the LTMs is the remote MEP, and the maximum value of TTL is 255.) Based on the LTRs that echo back, the fault source can be located.

l          Once you disable LT messages automatic sending, the content stored in the buffer will be removed.

Related commands: cfd linktrace.

Examples

# Enable automatic LT messages sending.

<Sysname> system-view

[Sysname] cfd linktrace auto-detection

cfd loopback

Syntax

cfd loopback service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ number loopback-number ]

View

System view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.

target-mep target-mep-id: Specifies the ID of the destination MEP for LBM packets, ranging from 1 to 8191.

target-mac mac-address: Specifies the destination MAC address, in the format of H-H-H.

number loopback-number: Specifies the number of the LBMs packets sent, ranging from 1 to 10 and defaulting to 5.

Description

Use the cfd loopback command to enable LB function so that LBMs can be sent from the specified MEP to other MEPs in the same service instance, and LBR messages can be received.

By default, LB is not enabled.

Examples

# Enable LB to check link state.

<Sysname> system-view

[Sysname] cfd loopback service-instance 1 mep 1101 target-mep 2001

Loopback to 0010-FC00-6512 with the sequence number start from 1101-43404:

Reply from 0010-FC00-6512: sequence number=1101-43404

Reply from 0010-FC00-6512: sequence number=1101-43405

Reply from 0010-FC00-6512: sequence number=1101-43406

Reply from 0010-FC00-6512: sequence number=1101-43407

Reply from 0010-FC00-6512: sequence number=1101-43408

Send:5        Received:5        Lost:0

Table 1-3 cfd loopback command output description

Field

Description

Loopback to mac-address with the sequence number start from sequence-number

Sends LBMs to mac-address with the sequence number starting with sequence-number

Reply from mac-address

Reply from mac-address

sequence number

Sequence number in the LBR messages

Send

Number of LBMs sent

Received

Number of LBR messages received

Lost

Number of lost LBMs

 

cfd ma

Syntax

cfd ma ma-name md md-name vlan vlan-id

undo cfd ma ma-name md md-name

View

System view

Default level

2: System level

Parameters

ma-name: Name of the MA, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

md md-name: Specifies the name of an MD, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

vlan vlan-id: Specifies the ID of the VLAN where MA is in service, ranging from 1 to 4094.

Description

Use the cfd ma command to create MA(s) in an MD.

Use the undo cfd ma command to delete specified MA in an MD.

By default, no MA is created.

Note that:

l          Before creating an MA, you must create an MD first.

l          When deleting an MA, you will also delete the configurations related to that MA.

Related commands: cfd md.

Examples

# Create an MA.

<Sysname> system-view

[Sysname] cfd md test_md level 3

[Sysname] cfd ma test_ma md test_md vlan 100

cfd md

Syntax

cfd md md-name level level-value

undo cfd md md-name

View

System view

Default level

2: System level

Parameters

md-name: Name of an MD, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

level level-value: Specifies an MD level, ranging from 0 to 7.

Description

Use the cfd md command to create an MD.

Use the undo cfd md command to delete an MD.

By default, no MD is created.

Note that:

l          You can create only one MD with a specific level. MD cannot be created if you enter an invalid MD name or an existing MD name.

l          When deleting an MD, you will also delete the configurations related to that MD.

Examples

# Create an MD.

<Sysname> system-view

[Sysname] cfd md test_md level 3

cfd mep

Syntax

cfd mep mep-id service-instance instance-id { inbound | outbound }

undo cfd mep mep-id service-instance instance-id

View

Ethernet interface view

Default level

2: System level

Parameters

mep-id: ID of MEP, ranging from 1 to 8191.

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

inbound: Creates an inward-facing MEP.

outbound: Creates an outward-facing MEP.

Description

Use the cfd mep command to create a MEP on a port.

Use the undo cfd mep command to delete the specified MEP.

By default, no MEP is configured on a device port.

In creating a MEP, the service instance you specified defines the MD and MA that the MEP belongs to.

Examples

# Create a MEP.

<Sysname> system-view

[Sysname] cfd md test_md level 3

[Sysname] cfd ma test_ma md test_md vlan 100

[Sysname] cfd service-instance 5 md test_md ma test_ma

[Sysname] interface GigabitEthernet 2/0/1

[Sysname-GigabitEthernet2/0/1] cfd mep 3 service-instance 5 inbound

cfd mep enable

Syntax

cfd mep service-instance instance-id mep mep-id enable

undo cfd mep service-instance instance-id mep mep-id enable

View

Ethernet interface view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.

Description

Use the cfd mep enable command to enable the MEP configured on a port.

Use the undo cfd mep enable command to disable the MEP.

By default, MEP is disabled on a port and cannot respond to LTM and LBM messages unless you enable it.

Related commands: cfd mep.

Examples

# Enable MEP.

<Sysname> system-view

[Sysname] interface GigabitEthernet 2/0/1

[Sysname-GigabitEthernet2/0/1] cfd mep service-instance 5 mep 3 enable

cfd mip-rule

Syntax

cfd mip-rule { explicit | default } service-instance instance-id

undo cfd mip-rule service-instance instance-id

View

System view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

explicit: This rule means that if the lower level MA is not configured with MIPs, whether the current MA will create MIPs depends on whether the lower level MA is configured with MEPs.

default: This rule means that if the lower level MA is not configured with MIPs, the current MA will create MIPs.

Description

Use the cfd mip-rule command to configure the rule for generating MIPs.

Use the undo cfd mip-rule command to delete the rule for generating MIPs.

By default, no rules for generating MIPs are configured, nor are the MIPs themselves.

MIPs are generated on each port automatically according to the rules configured. If a port has no MIP, the system will check the MAs in each MD (from low to high level), and follow the rules in Table 1-4 to create or not create MIPs (within a single VLAN):

Table 1-4 Rules for generating MIPs

MIP exists on low level MA

The cfd mip-rule command is configured as

MEP exists on low level MA

Create MIP or not

Yes

No

No

Explicit

No

No

Yes

Yes

Default

Yes

 

Each of the following actions or cases can cause MIPs to be created or deleted after you have configured this command:

l          Enabling CFD (use the cfd enable command)

l          Creating or deleting the MEPs on a port

l          Changes occur to the VLAN attribute of a port

l          The rule specified in the cfd mip-rule command changes

Examples

# Configure the rules for generating MIPs.

<Sysname> system-view

[Sysname] cfd mip-rule default service-instance 5

cfd remote-mep

Syntax

cfd remote-mep remote-mep-id service-instance instance-id mep mep-id

undo cfd remote-mep remote-mep-id service-instance instance-id mep mep-id

View

Ethernet interface view

Default level

2: System level

Parameters

remote-mep-id: ID of the remote MEP, ranging from 1 to 8191.

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.

Description

Use the cfd remote-mep command to configure the remote MEP for the specified local MEP (the two must be in the same service instance) on the local port. After this, the local MEP can receive CCMs from the remote MEP.

Use the undo cfd remote-mep command to delete the remote MEP configured on the local port.

Note that the remote MEP ID and local MEP ID cannot be the same.

Examples

# Configure a remote MEP.

<Sysname> system-view

[Sysname] interface GigabitEthernet 2/0/1

[Sysname-GigabitEthernet2/0/1] cfd remote-mep 9 service-instance 5 mep 3

cfd service-instance

Syntax

cfd service-instance instance-id md md-name ma ma-name

undo cfd service-instance instance-id

View

System view

Default level

2: System level

Parameters

instance-id: Service instance ID, ranging from 1 to 32767.

md md-name: Specifies the name of an MD, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

ma ma-name: Specifies the name of an MA, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

Description

Use the cfd service-instance command to create a service instance.

Use the undo cfd service-instance command to delete a service instance.

By default, no service instance is created.

Note that:

l          You must create MD and MA prior to creating service instance.

l          The service instance ID uniquely identifies an MA in an MD.

l          When deleting a service instance, you are deleting the configurations related to that service instance as well.

l          Deleting a service instance simply breaks up the connection between the service instance and the corresponding MA, the MA itself is not deleted.

Related commands: cfd md, cfd ma.

Examples

# Create a service instance.

<Sysname> system-view

[Sysname] cfd md test_md level 3

[Sysname] cfd ma test_ma md test_md vlan 100

[Sysname] cfd service-instance 5 md test_md ma test_ma

display cfd linktrace-reply

Syntax

display cfd linktrace-reply [ service-instance instance-id [ mep mep-id ] ]

View

Any view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.

Description

Use the display cfd linktrace-reply command to display the LTR information received by a MEP.

Note that:

l          If this command is used without specifying MEP, the information of LTRs of all MEPs in the current service instance is displayed.

l          If this command is used without specifying service instance, the information of LTRs of all MEPs is displayed.

Examples

# Display the information of LTR message.

<Sysname> display cfd linktrace-reply

Service instance: 1       MEP ID: 1003

MAC Address               TTL     Forwarded         Relay Action  

00E0-FC27-6502            63      Yes               Found         

00E0-FC00-6510            62      Yes               Found         

00E0-FC52-BAA0            61      No                None  

                                                                   

Service instance: 2       MEP ID: 1023

MAC Address               TTL     Forwarded         Relay Action

00E0-FC27-6502            63      No                None 

Table 1-5 display cfd linktrace-reply command output description

Field

Description

Service instance

Service instance to which the MEPs that send LTMs belong

MEP ID

ID of the MEP that sends LTMs

MAC Address

Source MAC address in the LTR messages

TTL

Hop count when LTM passes the device

Forwarded

l      Yes means that the device has forwarded the LTMs.

l      No means that the device did not forward the LTMs.

Relay Action

l      Found: Indicates that the forwarding device found the destination MAC address in its MAC address table.

l      Unknown: Indicates that the forwarding device failed to find the destination MAC address in its MAC address table.

l      None: Indicates that it is a MEP that responded to the LTM message. A MEP does not need to find the destination MAC address.

 

display cfd linktrace-reply auto-detection

Syntax

display cfd linktrace-reply auto-detection [ size size-value ]

View

Any view

Default level

2: System level

Parameters

size size-value: Specifies the times of recent auto-detections, ranging from 1 to 100.

Description

Use the display cfd linktrace-reply auto-detection command to display the content of the LTR messages received as responses to the automatically sent LTMs.

These LTR messages are stored in the buffer after you executed the cfd linktrace auto-detection command. With the size parameter not specified, this command will display the information of all LTRs stored in the buffer.

Examples

# Display the content of the LTRs received as responses to the LTMs sent.

<Sysname> display cfd linktrace-reply auto-detection

Service instance: 1       MEP ID: 1003    Time: 2006/05/22 10:43:57

Target MEP ID: 2005       TTL: 255

MAC Address               TTL     Forwarded         Relay Action    

00E0-FC27-6502            63      Yes               Found           

00E0-FC00-6510            62      Yes               Found           

00E0-FC52-BAA0            61      No                None  

 

Service instance: 2       MEP ID: 1023    Time: 2006/05/22 10:44:06

Target MEP ID: 2025       TTL: 255

MAC Address               TTL        Forwarded        Relay Action

00E0-FC27-6502            63         No                    None

Table 1-6 display cfd linktrace-reply auto-detection command output description

Field

Description

Service instance

Service instance to which the MEPs that sent LTM messages belong

MEP ID

ID of the MEP that sends LTMs

Time

Time of the LTMs automatically sent

Target MEP ID

ID of the target MEP

TTL

Initial hop count of the automatically sent LTMs

MAC Address

Source MAC address in the LTR messages

TTL

Hop count when LTM passes the device

Forwarded

l      Yes means that the device has forwarded the LTMs.

l      No means that the device did not forward the LTMs.

Relay Action

l      Found: Indicates that the forwarding device found the destination MAC address in its MAC address table.

l      Unknown: Indicates that the forwarding device failed to find the destination MAC address in its MAC address table.

l      None: Indicates that it is a MEP that responded to the LTM message. A MEP does not need to find the destination MAC address.

 

display cfd ma

Syntax

display cfd ma [ [ ma-name ] md md-name ]

View

Any view

Default level

2: System level

Parameters

ma-name: Name of MA, ranging from 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

md md-name: Specifies the name of an MD, ranging from 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.

Description

Use the display cfd ma command to display the configuration of a specified MA.

Note that:

l          If MD is not specified, this command will display the MA configurations of all MDs on the device.

l          If both MD and MA are specified, this command will display the specified MA configuration.

l          If only MD is specified, this command will display the configurations of all MAs in that MD.

Examples

# Display the MA configuration information.

<Sysname> display cfd ma

3 maintenance domain(s) configured.

Maintenance domain: mdtest_5

1 maintenance association(s) belong(s) to maintenance domain mdtest_5:

Maintenance association: matest_5

Service instance: 5          VLAN: 5          Level: 5

 

Maintenance domain: mdtest_6

2 maintenance association(s) belong(s) to maintenance domain mdtest_6:

Maintenance association: matest_6

Service instance: 6          VLAN: 6          Level: 6

Maintenance domain: mdtest_7

1 maintenance association(s) belong(s) to maintenance domain mdtest_7:

Maintenance association: matest_7

Service instance: 7          VLAN: 7          Level: 7  

Table 1-7 display cfd ma command output description

Field

Description

3 maintenance domain(s) configured.

Number of MDs configured

Maintenance domain

Name of the MD

1 maintenance association(s) belong(s) to maintenance domain mdtest_5

Number of MAs configured in the MD

Maintenance association

Name of the MA

Service instance

Service instance of the MA

VLAN

VLAN to which the service instance belongs

Level

Level of the MD to which the MA belongs

 

display cfd md

Syntax

display cfd md

View

Any view

Default level

2: System level

Parameters

None

Description

Use the display cfd md command to display the MD configuration information.

Examples

# Display the MD configuration information.

<Sysname> display cfd md

CFD is enabled.

8 maintenance domain(s) configured:

Level: 0     Maintenance domain: mdtest_0

Level: 1     Maintenance domain: mdtest_1

Level: 2     Maintenance domain: mdtest_2

Level: 3     Maintenance domain: mdtest_3

Level: 4     Maintenance domain: mdtest_4

Level: 5     Maintenance domain: mdtest_5

Level: 6     Maintenance domain: mdtest_6

Level: 7     Maintenance domain: mdtest_7

Table 1-8 display cfd md command output description

Field

Description

8 maintenance domain(s) configured

Number of MDs configured

Level

Level of MD, each level allows only one MD.

Maintenance domain

Name of MD

 

display cfd mep

Syntax

display cfd mep mep-id service-instance instance-id

View

Any view

Default level

2: System level

Parameters

mep-id: MEP ID, ranging from 1 to 8191.

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

Description

Use the display cfd mep command to display the attribute and operating information of MEP(s).

Examples

# Display the attribute and operating information of a MEP.

<Sysname> display cfd mep 50 service-instance 1

Interface: GigabitEthernet2/0/2

Maintenance domain: mdtest_1

Maintenance association: matest_1

Level: 1        VLAN: 1         Direction: Outbound

Administrative state: Active          CCM send: Enable

FNG state: FNG_DEFECT_REPORTED

 

CCM:

Current state: CCI_WAITING

Interval: 1s       SendCCM: 12018

 

Loopback:

NextSeqNumber: 8877

SendLBR: 0          ReceiveInOrderLBR: 0          ReceiveOutOrderLBR: 0

 

Linktrace:

NextSeqNumber: 8877

SendLTR: 0          ReceiveLTM: 0

 

No CCM from some remote MEPs is received.

 

One or more streams of error CCMs are received. The last-received CCM:

Maintenance domain: mdtest1

Maintenance association: matest1

MEP ID: 5       Sequence Number: 0x34fc

MAC Address: 0000-FC00-6504

Received Time: 2008/05/06 16:33:09

                               

One or more streams of cross-connect CCMs is received. The last-received CCM:

Maintenance domain:mdtest1         

Maintenance association:matest1       

MEP:6          Sequence Number:0x63A

MAC Address 0000-FC00-6503

Received Time: 2008/05/06 16:33:15

 

Some other MEPs are transmitting the RDI bit.

Table 1-9 display cfd mep command output description

Field

Description

Interface

Interface that an MD belongs to

Maintenance domain

MD that a MEP belongs to

Maintenance association

MA that a MEP belongs to

Level

Level of the MD

VLAN

VLAN that the MA belongs to

Direction

Direction of the MEPs

Administrative state

State of MEP, either Active or Inactive

CCM send

Whether the MEP sends CCM

FNG state

State of FNG (Fault Notification Generator), including: FNG_RESET,  FNG_DEFECT, FNG_REPORT_DEFECT, FNG_DEFECT_REPORTED, FNG_DEFECT_CLEARING

CCM

Information related to CCM

Current state

State of CCMs sent, including: CCI_IDLE, CCI_WAITING

Interval

Interval to send CCM

SendCCM

Number of CCMs that have been sent by the MEPs

Loopback

Information related to Loopback

NextSeqNumber

Sequence number of the next LBM to be sent

SendLBR

Number of LBRs that have been sent

ReceiveInOrderLBR

Number of LBR messages received in correct sequence

ReceiveOutOrderLBR

Number of LBR messages received out of order

Linktrace

Information related to linktrace

NextSeqNumber

Sequence number of the next LTM to be sent

SendLTR

Number of LTRs sent

ReceiveLTM

Number of LTMs received

No CCM from some remote MEPs is received.

Failure to receive CCMs from some remote MEPs (This information is displayed only when some CCMs are lost.)

One or more streams of error CCMs is received. The last-received CCM:

Display the content of the last CCM when one or more error CCMs are received. (This information is displayed only when error CCM(s) is/are received.)

Maintenance domain

MD of the last error CCM message

Maintenance association

MA of the last error CCM message

MEP

ID of the MEP that sent the last error CCM message

Sequence Number

Sequence number of the last error CCM

MAC Address

MAC address of the peer device

Received Time

Time when the last error CCM is received

One or more streams of cross-connect CCMs is received. The last-received CCM:

Cross-connect CCMs are received, and the content of the last cross-connect CCM is displayed. (This information is displayed only when cross-connect CCM(s) is/are received.)

Some other MEPs are transmitting the RDI bit.

CCMs with RDI bits misplaced are received from other MEPs. (This information is displayed only when this type of CCM(s) is/are received.)

 

display cfd mp

Syntax

display cfd mp [ interface interface-type interface-number ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Specifies a port by its type and number.

Description

Use the display cfd mp command to display the MP information.

If no port is specified, this command will display the MP information of all ports.

The information displayed is ordered by port name primarily, and within a single port, ordered by VLAN ID (from small to big), and within a single VLAN, in the order of outward-facing MEPs (from low to high level), MIPs, and inward-facing MEPs (from high to low level).

Examples

# Display the MP information.

<Sysname> display cfd mp

Interface GigabitEthernet2/0/2   VLAN 100

MEP ID: 100      Level: 0    Service instance: 100    Direction: Outbound

Maintenance domain: mdtest0

Maintenance association: mainmd0

 

MEP ID: 105      Level: 5    Service instance: 105    Direction: Outbound

Maintenance domain: mdtest5

Maintenance association: mainmd5       

 

MIP              Level: 6    Service instance: 106

Maintenance domain: mdtest6

Maintenance association: mainmd6

 

MEP ID: 104      Level: 4    Service instance: 104    Direction: Inbound

Maintenance domain: mdtest4

Maintenance association: mainmd4

 

MEP ID: 102      Level: 2    Service instance: 102    Direction: Inbound

Maintenance domain: mdtest2

Maintenance association: mainmd2

 

Interface GigabitEthernet2/0/4   VLAN 1

MEP ID: 9        Level: 6    Service instance: 6      Direction: Outbound

Maintenance domain: mdtest6

Maintenance association: matest6

Table 1-10 display cfd mp command output description

Field

Description

Interface GigabitEthernet2/0/2   VLAN 100

MP configuration of the specified VLAN on the specified port

MEP ID

ID of the MEP

MIP

A MIP in the MP

Level

MD level that an MP belongs to

Service instance

Service instance to which the MP belongs

Direction

Direction of the MP

Maintenance domain

MD to which an MP belongs

Maintenance association

MA to which an MP belongs

 

display cfd remote-mep

Syntax

display cfd remote-mep service-instance instance-id mep mep-id

View

Any view

Default level

2: System level

Parameters

service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767.

mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.

Description

Use the display cfd remote-mep command to display the information of the remote MEP.

Examples

# Display the information of the remote MEP.

<Sysname> display cfd remote-mep service-instance 4 mep 10

MEP ID   MAC Address      State        Time                  MAC Status 

20       00E0-FC00-6565   OK           2006/03/06 02:36:38   UP         

30       00E0-FC27-6502   OK           2006/03/06 02:36:38   DOWN       

40       00E0-FC00-6510   FAILED       2006/03/06 02:36:39   DOWN        

50       00E0-FC52-BAA0   OK           2006/03/06 02:36:44   DOWN       

60       0010-FC00-6502   OK           2006/03/06 02:36:42   DOWN       

Table 1-11 display cfd remote-mep command output description

Field

Description

MEP ID

ID of the remote MED

MAC Address

MAC address of the remote MEP device

State

Running state of MEP, either OK or FAILED

Time

Recent time of the remote MEP when it is FAILED or OK.

MAC Status

State of the port indicated by the last CCM received from the remote MEP, either UP or DOWN

 

display cfd service-instance

Syntax

display cfd service-instance [ instance-id ]

View

Any view

Default level

2: System level

Parameters

instance-id: Service instance, ranging from 1 to 32767.

Description

Use the display cfd service-instance command to display the configuration information of service instance.

Without specifying the service instance ID, the command will display the configuration information of all service instances. With service instance ID specified, this command will display the configuration information of the specified service instance.

Examples

# Display the service instance configuration information.

<Sysname> display cfd service-instance

2 service instance(s) configured:

Service instance 5:

Maintenance domain: mdtest_5

Maintenance association: matest_5

Level: 5        VLAN: 5        MIP rule: None         CCM interval: 1s

 

Service instance 6:

Maintenance domain: mdtest_6

Maintenance association: matest_6

Level: 6        VLAN: 6        MIP rule: None         CCM interval: 1s

 

<Sysname> display cfd service-instance 7

Service instance 7:

Maintenance domain: mdtest_7

Maintenance association: matest_7

Level: 7        VLAN: 7        MIP rule: None         CCM interval: 1s

MEP ID: 731     Interface: GigabitEthernet2/0/1               Direction: Inbound

Table 1-12 display cfd service-instance command output description

Field

Description

2 service instance(s) are configured.

Number of service instance configured.

Service instance 5

Service instance ID

Maintenance domain

MD of the service instance

Maintenance association:

MA of the service instances

Level

MD level

VLAN

VLAN that the MA belongs to

MIP rule

MIP generation rules configured on service instance

CCM interval

Interval to send CCMs

MEP ID

ID of MEPs configured on the service instance

Interface

Interface of the MEP configured on the service instance

Direction

Direction of the MEPs configured on the service instance

 

display cfd status

Syntax

display cfd status

View

Any view

Default level

2: System level

Parameters

None

Description

Use the display cfd status command to display the status of CFD (enabled or disabled).

Examples

# Display the status of CFD.

<Sysname> display cfd status

CFD is enabled.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网