06-Port Basic Configuration Command

Download


Chapter 1  Port Basic Configuration Commands

1.1  Port Basic Configuration Commands

1.1.1  broadcast-suppression

Syntax

broadcast-suppression ratio

undo broadcast-suppression

View

System view or Ethernet port view

Parameter

ratio: Specifies the allowed maximum ratio of the broadcast traffic to the total bandwidth on one or each port. The value ranges form 1 to 100 and defaults to 100. The smaller the ratio is, the smaller the broadcast traffic is allowed.

Description

Use the broadcast-suppression command to define the broadcast traffic ratio allowed on one port or each of the ports.

Use the undo broadcast-suppression command to restore the default ratio.

l           When you execute the command here in system view, the command takes effect on all ports.

l           When you execute the command here in Ethernet port view, the command takes effect only on the current port.

Once broadcast traffic exceeds the value set by the user, the system maintains an appropriate broadcast traffic ratio by discarding the overflow traffic, so as to suppress broadcast storm, avoid network congestion and ensure normal network services.

By default, broadcast suppression is disabled.

Example

# Allow the broadcast traffic passing through the Ethernet1/0/1 port to occupy at most 20% of the bandwidth.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] broadcast-suppression 20

1.1.2  copy configuration

Syntax

copy configuration source { interface-type interface-number | aggregation-group source-agg-id } destination { interface-list [ aggregation-group destination-agg-id ] | aggregation-group destination-agg-id }

View

System view

Parameter

interface-type: Port type.

interface-number: Port number.

source-agg-id: Source aggregation group number, in the range of 1 to 26. The port with the smallest port number in the aggregation group is used as the source port.

interface-list: Destination port list, interface-list = { interface-type interface-number } [ to interface-type interface-number ] &<1-10. &<1-10> means that you can enter the former parameter ten times at most.

destination-agg-id: Destination aggregation group number, in the range of 1 to 26.

Description

Use the copy configuration command to copy the configuration on a specified port to other ports to keep consistent configuration on them.

 

&  Note:

l      If you specify the source aggregation group ID, the system uses the port with the smallest port number in the aggregation group as the source.

l      If you specify the destination aggregation ID, the configuration of the source port will be copied to all ports in the aggregation group.

 

Example

# Copy the configuration of aggregation group 1 to all ports in aggregation group 2.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] copy configuration source aggregation-group 1 destination aggregation-group 2

1.1.3  description

Syntax

description text

undo description

View

Ethernet port view

Parameter

text: Port description, a string of up to 80 characters.

Description

Use the description command to set a port description string.

Use the undo description command to remove the port description string.

By default, no description is defined for a port.

Example

# Set Ethernet1/0/1 description lanswitch-interface.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] description lanswitch-interface

1.1.4  display brief interface

Syntax

display brief interface [ interface-type interface-number ] [ | { begin | include | exclude } string ]

View

Any view

Parameter

interface-type: Port type.

interface-number: Port number.

|: Used to describe the details of configuration information entries to be displayed.

begin: Each entry must begin with a specified character string.

include: Each entry must include a specified character string.

exclude: Each entry must not include a specified character string.

string: A character string of 1 to 256 characters.

Description

Use the display brief interface command to display the brief configuration information about one or all interfaces, including: interface type, link state, link rate, duplex attribute, link type, and default VLAN ID.

This command is similar to the display interface command, but the information it displays is briefer.

 

&  Note:

Currently, for the port types other than Ethernet port, this command only displays the link state, and shows "--" in all other configuration information fields.

 

Related command: display interface.

Example

# Display the brief configuration information about the Ethernet1/0/3 port.

<H3C> display brief interface ethernet 1/0/3

Interface         Link      Speed     Duplex    Link-type PVID

Ethernet1/0/3     DOWN      auto      auto      access    1

Table 1-1 Description on the fields of the display brief interface command

Field

Description

Interface

Port type

Link

Link state: UP or DOWN

Speed

Link rate

Duplex

Duplex attribute

Link-type

Link type: access, hybrid or trunk

PVID

Default VLAN ID

 

1.1.5  display interface

Syntax

display interface [ interface-type | interface-type interface-number ]

View

Any view

Parameter

interface-type: Port type.

interface-number: Port number.

Description

Use the display interface command to display port configuration.

l           If you specify neither port type nor port number, the command displays information about all ports.

l           If specify only port type, the command displays information about all ports of this type.

l           If specify both port type and port number, the command displays information about the specified port.

Example

# Display the configuration information of the Ethernet1/0/1 port.

<H3C> display interface ethernet1/0/1

Ethernet1/0/1 current state : DOWN

 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e20f-3f1

The Maximum Transmit Unit is 1500

 Media type is twisted pair, loopback not set

 Port hardware type is 100_BASE_TX

 Unknown-speed mode, unknown-duplex mode

 Link speed type is autonegotiation, link duplex type is autonegotiation

 Flow-control is not enabled

 The Maximum Frame Length is 1536

 Broadcast-suppression ratio(%): 100

 Allow jumbo frame to pass

 PVID: 1

 Mdi type: auto

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 1

 Last 300 seconds input:  0 packets/sec 0 bytes/sec

 Last 300 seconds output:  0 packets/sec 0 bytes/sec

Input(total):  0 packets, 0 bytes

         - broadcasts, - multicasts

 Input(normal):  0 packets, 0 bytes

         0 broadcasts, 0 multicasts

 Input:  0 input errors, 0 runts, 0 giants,  0 throttles, 0 CRC

         0 frame,  - overruns, - aborts, - ignored, - parity errors

 Output(total): 0 packets, 0 bytes

         - broadcasts, - multicasts, - pauses

 Output(normal): 0 packets, 0 bytes

         0 broadcasts, 0 multicasts, 0 pauses

 Output: 0 output errors,  - underruns, - buffer failures

         - aborts, 0 deferred, 0 collisions, 0 late collisions

         - lost carrier, - no carrier

Table 1-2 Description on the fields of the command

Field

Description

Ethernet1/0/1 current state

Current Ethernet port state

IP Sending Frames' Format

Ethernet frame format

Hardware address

Port hardware address

The Maximum Transmit Unit

Maximum transmit unit

Media type

Media type

Port hardware type

Port hardware type

Flow-control is not enabled

Port flow control state

The Maximum Frame Length

The maximum frame length allowed on the port

Broadcast-suppression ratio(%)

Port broadcast suppression ratio

Allow jumbo frame to pass

Jumbo frame allowed on the port

PVID

Default VLAN ID for the port

Mdi type

Network cable type

Port link-type

Port link type

Tagged   VLAN ID

Assign tags to packets of which VLANs on the port.

Untagged VLAN ID

Do not assign tags to packets of which VLANs on the port.

Last 300 seconds input:  0 packets/sec 0 bytes/sec

Last 300 seconds output:  0 packets/sec 0 bytes/sec

Rate and number of incoming and outgoing packets in the last 300 seconds

Input(total):  0 packets, 0 bytes

         - broadcasts, - multicasts

 Input(normal):  0 packets, 0 bytes

         0 broadcasts, 0 multicasts

 Input:  0 input errors, 0 runts, 0 giants,  0 throttles, 0 CRC

         0 frame,  - overruns, - aborts, - ignored, - parity errors

 Output(total): 0 packets, 0 bytes

         - broadcasts, - multicasts, - pauses

 Output(normal): 0 packets, 0 bytes

         0 broadcasts, 0 multicasts, 0 pauses

 Output: 0 output errors,  - underruns, - buffer failures

         - aborts, 0 deferred, 0 collisions, 0 late collisions

         - lost carrier, - no carrier

Statistics on the incoming and outgoing packets and errors on the port

 

1.1.6  display loopback-detection

Syntax

display loopback-detection

View

Any view

Parameter

None

Description

Use the display loopback-detection command to display the loopback detection status on the port. If loopback detection is enabled, this information will also be displayed: time interval for loopback detection and the loopback ports.

Example

# Display the loopback detection status on the port.

<H3C> display loopback-detection

Port Ethernet1/0/1 loopback-detection is running

System Loopback-detection is running

Detection interval time is 30 seconds

There is no port existing loopback link

Table 1-3 Description on the fields of the command

Field

Description

Port Ethernet1/0/1 loopback-detection is running

Loopback detection is enabled on the port.

System Loopback-detection is running

Loopback detection is enabled globally.

Detection interval time is 30 seconds

Time interval for loopback detection is 30 seconds.

There is no port existing loopback link

No loopback port exists.

 

1.1.7  display port

Syntax

display port { hybrid | trunk | combo }

View

Any view

Parameter

hybrid: Displays hybrid ports.

trunk: Displays trunk ports.

combo: Displays combo ports.

Description

Use the display port command to display the configuration of the specified port.

Example

# Display existing hybrid ports.

<H3C> display port hybrid

Now, the following hybrid ports exist:

  Ethernet1/0/1          Ethernet1/0/2

The above information shows that Ethernet1/0/1 and Ethernet1/0/2 are two hybrid ports.

1.1.8  duplex

Syntax

duplex { auto | full | half }

undo duplex

View

Ethernet port view

Parameter

auto: Auto-negotiation mode

full: Full duplex mode

half: Half duplex mode

Description

Use the duplex command to set port duplex attribute.

Use the undo duplex command to restore the default duplex mode (auto).

By default, a port is in auto duplex mode.

Related command: speed.

Example

# Set the Ethernet1/0/1 port in auto duplex mode.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] duplex auto

1.1.9  flow-control

Syntax

flow-control

undo flow-control

View

Ethernet port view

Parameter

None

Description

Use the flow-control command to enable port flow control, to avoid packet loss in the event of network congestion.

Use the undo flow-control command to disable flow control on the port.

By default, port flow control is disabled.

Example

# Enable flow control on the Ethernet1/0/1 port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] flow-control

1.1.10  interface

Syntax

interface interface-type interface-number

View

System view

Parameter

interface-type: Port type.

interface-number: Port number, in the format of slot number/subslot number/port number.

Description

Use the interface command to enter Ethernet port view. To configure parameters for a port, you must enter the port view first.

Example

# Enter Ethernet1/0/1 port view.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

1.1.11  giant-frame statistics enable

Syntax

giant-frame statistics enable

undo giant-frame statistics enable

View

System view

Parameter

None

Description

Use the giant-frame statistics enable command to enable the giant-frame statistics function.

Use the undo giant-frame statistics enable command to disable the giant-frame statistics function.

By default, the giant-frame statistics function is not enabled.

Example

# Enable the giant-frame statistics function.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] giant-frame statistics enable

1.1.12  loopback

Syntax

loopback { external | internal }

View

Ethernet port view

Parameter

external: Performs external loop test. In the external loop test, self-loop headers (which are made from four cores of the 8-core cables) must be used on the port of the switch. The external loop test can locate the hardware failures on the port.

internal: Performs internal loop test. In the internal loop test, self loop is established in the switching chip to locate the chip failure which is related to the port.

Description

Use the loopback command to perform a loopback test on the current Ethernet port to check whether the Ethernet port works normally. The loopback test terminates automatically after running for a specific period.

By default, no loopback test is performed on the Ethernet port.

Example

# Perform an internal loop test on Ethernet1/0/1.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet 1/0/1

[H3C-Ethernet1/0/1] loopback internal

 Loopback internal succeeded.

1.1.13  loopback-detection control enable

Syntax

loopback-detection control enable

undo loopback-detection control enable

View

Ethernet port view

Parameter

None

Description

Use the loopback-detection control enable command to enable loopback port control on the current trunk or hybrid port.

Use the undo loopback-detection control enable command to disable loopback port control.

l           When the loopback port control function is enabled on the trunk or hybrid port and loopback is found on the port, the system disables the port, sends a Trap message to the client and removes the corresponding MAC forwarding entry.

l           When the loopback port control function is disabled, the system sends a Trap message to the client if a loopback port is found. The port still operates normally.

By default, the loopback port control function is disabled on the trunk or hybrid port.

 

  Caution:

This command is invalid for the access port, since the loopback port control function is always enabled on the access port.

 

Example

# enable loopback port control on the Ethernet1/0/1 trunk port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] loopback-detection enable

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] loopback-detection enable

[H3C-Ethernet1/0/1] loopback-detection control enable

1.1.14  loopback-detection enable

Syntax

loopback-detection enable

undo loopback-detection enable

View

System view, Ethernet port view

Parameter

None

Description

Use the loopback-detection enable command to enable loopback detection globally or on current port.

Use the undo loopback-detection enable command to disable loopback detection globally or on current port.

 

  Caution:

l      To enable loopback detection on a specific port, you must use the loopback-detection enable command in both system view and the current port view.

l      After you use the undo loopback-detection enable command in system view, loopback detection will be disabled on all ports.

 

l           If loopback is found on an access port, the system disables the port, sends a Trap message to the client and removes the corresponding MAC forwarding entry.

l           If loopback is found on a trunk or hybrid port, the system sends a Trap message to the client. When the loopback port control function is enabled on these ports, the system disables the port, sends a Trap message to the client and removes the corresponding MAC forwarding entry.

By default, loopback port control is disabled.

Related command: loopback-detection control enable.

Example

# Enable loopback detection on the Ethernet1/0/1 port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] loopback-detection enable

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] loopback-detection enable

1.1.15  loopback-detection interval-time

Syntax

loopback-detection interval-time time

undo loopback-detection interval-time

View

System view

Parameter

time: Time interval for loopback detection, in the range of 5 to 300 (seconds). It defaults to 30 seconds.

Description

Use the loopback-detection interval-time command to set time interval for loopback detection.

Use the undo loopback-detection interval-time command to restore the default time interval.

Related command: display loopback-detection.

Example

# Set time interval for loopback detection to 10 seconds.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] loopback-detection interval-time 10

1.1.16  loopback-detection per-vlan enable

Syntax

loopback-detection per-vlan enable

undo loopback-detection per-vlan enable

View

Ethernet port view

Parameter

None

Description

Use the loopback-detection per-vlan enable command to configure the system to run loopback detection on all VLANs for the current trunk or hybrid ports.

Use the undo loopback-detection per-vlan enable command to restore the default setting.

By default, the system runs loopback detection only on the default VLAN for the trunk or hybrid ports.

 

  Caution:

This command is invalid for the access port.

 

Example

# Configure the system to run loopback detection on all VLANs for the Ethernet1/0/1 trunk port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] loopback-detection per-vlan enable

1.1.17  mdi

Syntax

mdi { across | auto | normal }

undo mdi

View

Ethernet port view

Parameter

across: Sets the port to support MDIX.

auto: Sets the port to support auto-MDI/MDIX.

normal: Sets the port to support MDI.

Description

Use the mdi command to set port MDI attribute.

Use the undo mdi command to restore the default setting.

The MDI attribute that the port supported is relevant to the port type. Please refer to Table 1-4 (Y for supported and N for not supported).

Table 1-4 Port type and MDI attribute

Port type

MDI auto

MDI across

MDI normal

Default

100Mbps fixed electrical port

Y

Y

Y

Normal

Currently, the mdi auto command is not supported. However, an port operates in MDI auto-sensing mode automatically when the duplex setting or speed setting is set to auto.

1000Mbps fixed electrical port

Y

N

N

auto

1000Mbps electrical port of expansion interface card

N

Y

Y

normal

All optical ports

N

N

N

POE interface card

N

N

Y

normal

Stack card

N

N

N

 

Example

# Set the Ethernet1/0/1 (100Mbps fixed electrical port) to support MDIX.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] mdi across

1.1.18  port access vlan

Syntax

port access vlan vlan-id

undo port access vlan

View

Ethernet port view

Parameter

vlan-id: VLAN ID, in the range of 1 to 4094.

Description

Use the port access vlan command to add the access port into the specified VLAN.

Use the undo port access vlan command to remove the access port from the specified VLAN.

You must specify the ID of an existing VLAN in the command.

Example

# Add the Ethernet1/0/1 port into VLAN 3.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] vlan 3

[H3C-vlan3] quit

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port access vlan 3

1.1.19  port hybrid pvid vlan

Syntax

port hybrid pvid vlan vlan-id

undo port hybrid pvid

View

Ethernet port view

Parameter

vlan-id: VLAN ID, in the range of 1 to 4094. It defaults to 1.

Description

Use the port hybrid pvid vlan command to set the default VLAN ID for the hybrid port.

Use the undo port hybrid pvid command to restore the default setting.

To guarantee the proper packet transmission, the default VLAN ID of the local hybrid port should be identical with that of the hybrid port on the peer switch.

Related command: port link-type.

Example

# Set the default VLAN ID for the Ethernet1/0/1 hybrid port as 100.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port hybrid pvid vlan 100

1.1.20  port hybrid vlan

Syntax

port hybrid vlan vlan-id-list { tagged | untagged }

undo port hybrid vlan vlan-id-list

View

Ethernet port view

Parameter

vlan-id-list: vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, VLAN range to which the hybrid ports are added. vlan-id is in the range of 1 to 4094 and can be discrete. &<1-10> means you can enter the parameter for ten times at most.

tagged: The packets of the specified VLAN will be assigned with tags.

untagged: The packets of the specified VLAN will not be assigned with tags.

Description

Use the port hybrid vlan command to add the hybrid port into the specified VLAN.

Use the undo port hybrid vlan command to remove the hybrid port from the specified VLAN.

A hybrid port can belong to multiple VLANs. When you use the command several times, all VLAN specified in the commands will be allowed to pass the port.

Related command: port link-type.

Example

# Add the Ethernet1/0/1 hybrid port to VLAN 2, VLAN 5 and VLAN 50 through VLAN 100, with tags assigned to their packets.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port hybrid vlan 2 4 50 to 100 tagged

1.1.21  port link-type

Syntax

port link-type { access | hybrid | trunk }

undo port link-type

View

Ethernet port view

Parameter

access: Specifies the link type as access.

hybrid: Specifies the link type as hybrid.

trunk: Specifies the link type as trunk.

Description

Use the port link-type command to set link type for the Ethernet port.

Use the undo port link-type command to restore the default link type, that is, access.

You can configure all the three types of ports on the same device. However, note that you cannot directly switch a port between trunk and hybrid and you must set the port as access before the switching. For example, to change a trunk port to hybrid, you must first set it as access and then hybrid.

By default, the link type for all ports is access.

Example

# Set the link type of the Ethernet1/0/1 port as trunk.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port link-type trunk

1.1.22  port trunk permit vlan

Syntax

port trunk permit vlan { vlan-id-list | all }

undo port trunk permit vlan { vlan-id-list | all }

View

Ethernet port view

Parameter

vlan-id-list: vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, VLAN range to which the trunk ports are added. vlan-id is in the range of 1 to 4094 and can be discrete. &<1-10> means you can enter the parameter for ten times at most.

all: Adds the trunk port into all VLANs.

Description

Use the port trunk permit vlan command to add the trunk port into the specified VLAN.

Use the undo port trunk permit vlan command to remove the hybrid port from the specified VLAN.

A trunk port can belong to multiple VLANs. When you use the command several times, all VLAN specified in the commands will be allowed to pass the port.

Related command: port link-type.

Example

# Add the Ethernet1/0/1 trunk port to VLAN 2, VLAN 5 and VLAN 50 through VLAN 100.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port trunk permit vlan 2 4 50 to 100

Please wait...

Done.

1.1.23  port trunk pvid vlan

Syntax

port trunk pvid vlan vlan-id

undo port trunk pvid

View

Ethernet port view

Parameter

vlan-id: VLAN ID, in the range of 1 to 4094. It defaults to 1.

Description

Use the port trunk pvid vlan command to set the default VLAN ID for the trunk port.

Use the undo port trunk pvid command to restore the default setting.

To guarantee the proper packet transmission, the default VLAN ID of the local trunk port should be identical with that of the trunk port on the peer switch.

Related command: port link-type.

Example

# Set the default VLAN ID for the Ethernet1/0/1 trunk port as 100.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] port trunk pvid vlan 100

1.1.24  reset counters interface

Syntax

reset counters interface [ interface-type | interface-type interface-number ]

View

User view

Parameter

interface-type: Port type.

interface-number: Port number.

For details about the parameters, see the description part of the interface command.

Description

Use the reset counters interface command to clear the statistics of the port, preparing for a new statistics collection.

l           If you specify neither port type nor port number, the command clears statistics of all ports.

l           If specify only port type, the command clears statistics of all ports of this type.

l           If specify both port type and port number, the command clears statistics of the specified port.

Example

# Clear the statistics of the Ethernet1/0/1 port.

<H3C> reset counters interface ethernet1/0/1

1.1.25  shutdown

Syntax

shutdown

undo shutdown

View

Ethernet port view

Parameter

None

Description

Use the shutdown command to disable an Ethernet port.

Use the undo shutdown command to enable an Ethernet port.

By default, an Ethernet port is enabled.

Example

# Enable the Ethernet1/0/1 port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] undo shutdown

1.1.26  speed

Syntax

speed { 10 | 100 | 1000 | auto }

undo speed

View

Ethernet port view

Parameter

10: 10 Mbps port rate.

100: 100 Mbps port rate.

1000: 1000 Mbps port rate.

auto: Auto-negotiation rate mode.

Description

Use the speed command to set port rate.

Use the undo speed command to restore default setting.

By default, the port is in auto-negotiation rate mode.

Related command: duplex.

Example

# Set the rate of the Ethernet1/0/1 port to 10 Mbps.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] speed 10

1.1.27  virtual-cable-test

Syntax

virtual-cable-test

View

Ethernet port view

Parameter

None

Description

Use the virtual-cable-test command to enable the system to test the cable connected to a specific port and to display the results. The system can test these attributes of the cable:

l           Cable status, including normal, abnormal, abnormal-open, abnormal-short and failure

l           Cable length

 

&  Note:

l      If the cable is in normal state, the displayed length value is the total length of the cable.

l      If the cable is in any other state, the displayed length value is the length from the port to the faulty point.

l      Currently, the following testing functions are available on an S3100-SI series switch: cable status testing and Cable length testing.

 

l           Pair impedance mismatch

l           Pair skew

l           Pair swap

l           Pair polarity

l           Insertion loss

l           Return loss

l           Near-end crosstalk

By default, the system does not test the cable connected to the Ethernet port.

Example

# Enable the system to test the cable connected.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] interface ethernet1/0/1

[H3C-Ethernet0/1] virtual-cable-test

Cable status: abnormal(open), 7 metres

Pair Impedance mismatch: yes

Pair skew: 4294967294 ns

Pair swap: swap

Pair polarity: normal

Insertion loss: 7 db

Return loss: 7 db

Near-end crosstalk: 7 db