H3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)

HomeSupportSwitchesH3C S7500 Switch SeriesReference GuidesCommand ReferencesH3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)
09-Port Basic Configuration Commands
Title Size Download
09-Port Basic Configuration Commands 137 KB

Chapter 1  Port Basic Configuration Commands

1.1  Port Basic Configuration Commands

1.1.1  broadcast-suppression

Syntax

broadcast-suppression { ratio | bandwidth bandwidth | pps pps }

undo broadcast-suppression

View

Ethernet port view

Parameters

ratio: Maximum ratio of the received broadcast traffic to the total bandwidth on an Ethernet port. The value ranges from 1 to 100 and defaults to 100. The smaller the ratio is, the less broadcast traffic is allowed.

bandwidth bandwidth: Specifies the maximum bandwidth of broadcast traffic received on the Ethernet port. For a 100 Mbps port, the bandwidth argument is in the range of 1 to 100 (in Mbps); for a gigabit port, the bandwidth argument is in the range of 1 to 1000 (in Mbps).

pps pps: Specifies the maximum number of broadcast packets allowed to be received per second on an Ethernet port (in pps).

l           For a 100 Mbps Ethernet port, the pps argument is in the range of 0 to 148,810.

l           For a gigabit Ethernet port, the pps argument is in the range of 0 to 1,488,100.

Description

Use the broadcast-suppression command to limit broadcast traffic allowed to be received on the current port.

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

When incoming broadcast traffic exceeds the broadcast traffic threshold you set, the system drops the packets exceeding the threshold to reduce the broadcast traffic ratio to the reasonable range, so as to keep normal network service.

By default, broadcast suppression is disabled.

 

&  Note:

l       Broadcast suppression is set in different ways for different LPUs of the S7500 series switches: For type-A LPUs, broadcast suppression must be set in VLAN view; for non-type-A LPUs, broadcast suppression must be set in Ethernet port view.

l      Type-A LPUs include LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA, and LS81GT8UA.

 

A port supports one way of broadcast suppression at the same time. If broadcast suppression has been configured for a port for multiple times, only the latest configuration takes effect.

Examples

# Allow incoming broadcast traffic to occupy at most 20% of the bandwidth on the port.

<H3C> system-view

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

[H3C] interface GigabitEthernet 2/0/1

[H3C-Ethernet2/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

Parameters

interface-type: Port type.

interface-number: Port number.

source-agg-id: Source aggregation group number, in the range of 1 to 384. 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 input up to 10 ports/port ranges.

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

Description

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

 

&  Note:

Any aggregation group port you input in the destination port list will be removed from the list and the copy command will not take effect on the port. If you want an aggregation group port to have the same configuration with the source port, you can specify the aggregation group of the port as the destination (with the destination-agg-id argument).

 

Examples

# Copy the configuration of Ethernet 3/01 to Ethernet 3/0/2.

<H3C> system-view

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

[H3C] copy configuration source Ethernet3/0/1 destination Ethernet3/0/2

 The operation will be invalid for some special port(s) in the destination port

list, such as aggregation port.

 

Copying VLAN configuration...

Copying Protocol based VLAN configuration...

Copying LACP configuration...

Copying QOS configuration...

Copying STP configuration...

Copying speed/duplex configuration...

 

Port configuration copy complete

1.1.3  description

Syntax

description text

undo description

View

Ethernet port view

Parameters

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.

Examples

# Set description string lanswitch-interface for Ethernet 2/0/1.

<H3C> system-view

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

[H3C] interface GigabitEthernet2/0/1

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

1.1.4  display brief interface

Syntax

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

View

Any view

Parameters

interface-type: Port type.

interface-number: Port number.

|: Specifies to use a regular expression to describe the configuration information entries to be displayed.

begin: Specifies to display entries that begin with a specified character or string.

include: Specifies to display entries that include a specified character or string.

exclude: Specifies to display entries that exclude a specified character or string.

regular-expression: Regular expression, a 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 mode, link type, default VLAN ID and port description string (only the first 33 characters are displayed).

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 commands: display interface.

Examples

# Display the brief configuration information about GigabitEthernet 2/0/1.

<H3C> display brief interface GigabitEthernet2/0/1

Interface:

Eth  - Ethernet  GE   - GigabitEthernet TENGE - tenGigabitEthernet

Loop - LoopBack  Vlan - Vlan-interface  Cas   - Cascade

Speed/Duplex:

A - auto-negotiation

 

Interface   Link     Speed  Duplex Type   PVID Description   

-------------------------------------------------------------------------

GE3/0/1     UP       A1000M Afull  hybrid 1    abc123

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 mode

Type

Link type: access, hybrid or trunk

PVID

Default VLAN ID

Description

Port description string (only the first 33 characters are displayed)

 

1.1.5  display interface

Syntax

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

View

Any view

Parameters

interface-type: Port type.

interface-number: Port number.

Description

Use the display interface command to display port configuration.

When using this command:

l           If you do not specify port type and port number, the command displays information about all ports.

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

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

Examples

# Display the configuration information about Ethernet 2/0/1.

<H3C> display interface Ethernet2/0/1

 Ethernet2/0/1 current state : DOWN

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

 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 display interface command

Field

Description

Ethernet2/0/1 current state

Status of the current Ethernet port: Down/Up

IP Sending Frames' Format

Ethernet frame format

Hardware address

Port hardware address

The Maximum Transmit Unit

The maximum transmit unit (MTU)

Media type

Media type

Port hardware type

Port hardware type

Flow-control is not enabled

Flow-control status of the port

The Maximum Frame Length

Maximum frame length allowed on the port

Broadcast-suppression ratio (%)

Broadcast suppression ratio on the port

Allow jumbo frame to pass

Jumbo frame is allowed on the port.

PVID

Default VLAN ID of the port

Mdi type

Network cable type

Port link-type

Port link type

Tagged VLAN ID

Identify the VLANs whose packets will be forwarded with tags on the port.

Untagged VLAN ID

Identify the VLANs whose packets will be forwarded without tags 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

The “-” indicates that the statistical item is not supported.

 

1.1.6  display loopback-detection

Syntax

display loopback-detection

View

Any view

Parameters

None

Description

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

Examples

# Display information about the port loopback detection.

<H3C> display loopback-detection

 Loopback-detection is running

 Detection interval time is 30 seconds

 There is no loopback link

Table 1-3 Description on the fields of the display loopback-detection command

Field

Description

Loopback-detection is running

Loopback detection is enabled.

Detection interval time is 30 seconds

Time interval for loopback detection is 30 seconds.

There is no loopback link

No loopback port exists.

 

1.1.7  display port

Syntax

display port { hybrid | trunk }

View

Any view

Parameters

hybrid: Displays hybrid ports.

trunk: Displays trunk ports.

Description

Use the display port command to display whether there are hybrid ports or trunk ports in the current system. If there is such a port, the port name and the ID of the VLANs permitted on the port are displayed.

Examples

# Display the trunk ports in the current system.

<H3C> display port trunk

Interface                VLAN passing

Ethernet3/0/3            1

Ethernet3/0/11           1-2, 4-5, 10

1.1.8  display transceiver-information interface

Syntax

display transceiver-information interface interface-type interface-number

View

Any view

Parameters

interface-type: Port type

interface-number: Port number

Description

Use the display port display transceiver-information interface command to display information about a specified optical port.

Examples

# Display the information about the optical interface GigabitEthernet 1/0/1.

<H3C> display transceiver-information interface GigabitEthernet 1/0/1

 Hardware Type          :  SM

 Interface Type         : SFP

 Wave Length(nm)        :  1310

 Vendor Name            : OCP

 Serial Number          : 2786837

 Transfer Distance(m)

          9um    Fiber  : 69000

          50um   Fiber  : 0

          62.5um Fiber  : 0

          Copper Line   : 0

Table 1-4 Description on the fields of the display transceiver-information interface command

Field

Description

Hardware Type

Hardware type: single-mode (SM) or multi-mode (MM)

Interface Type

Port type, including SFP, XFP and GBIC

Wave Length(nm)

Wavelength in nm

Vendor Name

Name of the vendor

Serial Number

Serial number

Transfer Distance(m)

Transfer distance in m

 

1.1.9  duplex

Syntax

duplex { auto | full | half }

undo duplex

View

Ethernet port view

Parameters

auto: Sets the port to auto-negotiation mode (automatically negotiate the duplex mode of the port).

full: Sets the port to full duplex mode.

half: Sets the port to half duplex mode.

Description

Use the duplex command to set the duplex mode of the current port.

Use the undo duplex command to restore the default duplex mode, that is, auto-negotiation mode.

By default, the duplex mode of a port is in auto-negotiation mode.

Examples

# Set the duplex mode of GigabitEthernet 2/0/1 to full-duplex mode.

<H3C> system-view

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

[H3C] interface GigabitEthernet2/0/1

[H3C-GigabitEthernet2/0/1] duplex full

1.1.10  flow-control

Syntax

flow-control

undo flow-control

View

Ethernet port view

Parameters

None

Description

Use the flow-control command to enable flow control on the port so as to avoid packet loss during congestion.

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

By default, flow control is disabled on a port.

 

&  Note:

Enable flow control on the port following the two steps:

l      Enable flow control globally;

l      Enable flow control on the port in Ethernet port view.

 

Examples

# Enable flow control on Ethernet 2/0/1.

<H3C> system-view

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

[H3C] interface Ethernet2/0/1

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

1.1.11  flow-control enable

Syntax

flow-control enable

undo flow-control disable

View

System view

Parameters

None

Description

Use the flow-control enable command to enable flow control globally.

Use the flow-control disable command to disable flow control globally.

By default, flow control is disabled globally.

Examples

# Enable flow control globally.

<H3C> system-view

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

[H3C] flow-control enable

1.1.12   flow interval

Syntax

flow-interval interval

undo flow-interval

View

Ethernet port view

Parameters

Interval: Interval (in seconds) to perform statistics on port information. This argument ranges from 5 to 300 (in step of 5) and is 300 by default.

Description

Use the flow-interval command to set the interval to perform statistics on port information.

Use the undo flow-interval command to restore the default interval.

By default, this interval is 300 seconds.

When you use the display interface interface-type interface-number command to display the information of a port, the system displays the average rates of the traffic flow passing through the port during the specified interval. For example, if you set the interval to 100 seconds, the displayed information is as follows:

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

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

Related commands: display interface.

Examples

# Set the interval to perform statistics on Ethernet 2/0/1 to 100 seconds.

<H3C> system-view

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

[H3C] interface ethernet 2/0/1

[H3C-Ethernet2/0/1] flow-interval 100

1.1.13  hardspeedup

Syntax

hardspeedup enable

hardspeedup disable

View

System view

Parameters

None

Description

Use the hardspeedup enable command to enable the hardware speedup function inside the port.

Use the hardspeedup disable command to disable the hardware speedup function inside the port.

By default, the hardware speedup function inside the port is enabled.

 

&  Note:

l      The two commands are applicable to type-A LPUs only, including LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA, and LS81GT8UA.

l      The two commands are for diagnostic use. Do not use them at discretion.

 

Examples

# Enable the hardware speedup function inside the port.

<H3C> system-view

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

[H3C] hardspeedup enable

1.1.14  interface

Syntax

interface interface-type interface-number

View

System view

Parameters

interface-type: Port type, which can be Aux, Ethernet, GigabitEthernet, LoopBack, M-Ethernet, NULL, Tunnel or Vlan-interface.

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

Table 1-5 Range of LPU slot number/subcard slot number/port number

Description

Device

Range of LPU number

Subcard slot number

Range of port number

S7502

0 to 1

0

Depending on the number of ports on the LPU you select

S7503

0 to 3

0

S7506

0 to 6

0

S7506R

0 to 7

0

 

Description

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

Examples

# Enter GigabitEthernet 2/0/1 port view.

<H3C> system-view

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

[H3C] interface GigabitEthernet2/0/1

[H3C-GigabitEthernet2/0/1]

1.1.15  jumboframe enable

Syntax

jumboframe enable [ jumboframe-value ]

undo jumboframe enable

View

Ethernet port view

Parameters

jumboframe-value: Size of the permitted jumbo frame, in the range of 1,536 to 9,216 in byte.

Description

Use the jumboframe enable command to allow jumbo frames to pass through the current Ethernet port.

Use the undo jumboframe enable command to inhibit jumbo frames from passing through the current Ethernet port.

By default, jumbo frames that are larger than 1,518 bytes and smaller than 1,536 bytes are allowed to pass through the Ethernet port.

Examples

# Allow jumbo frames smaller than 1,536 bytes to pass through GigabitEthernet 2/0/1.

<H3C> system-view

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

[H3C] interface GigabitEthernet2/0/1

[H3C-GigabitEthernet2/0/1] jumboframe enable

1.1.16  loopback-detection enable

Syntax

loopback-detection enable

undo loopback-detection enable

View

System view

Parameters

None

Description

Use the loopback-detection enable command to enable loopback detection on ports.

Use the undo loopback-detection enable command to disable loopback detection on ports.

By default, the port loopback detection feature is disabled.

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

l           If loopback is found on a trunk or hybrid port, the system disables the port, sends a Trap message to the terminal and removes the corresponding MAC address forwarding entry.

Related commands: display loopback-detection.

Examples

# Enable the loopback detection feature.

<H3C> system-view

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

[H3C] loopback-detection enable

1.1.17  loopback-detection interval-time

Syntax

loopback-detection interval-time time

undo loopback-detection interval-time

View

System view

Parameters

time: Interval for detecting external loopback on ports, in the range of 5 to 300 (in seconds). It is 30 seconds by default.

Description

Use the loopback-detection interval-time command to set the interval for detecting external loopback on ports.

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

Related commands: display loopback-detection.

Examples

# Set the interval for detecting external loopback on each port to 10 seconds.

<H3C> system-view

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

[H3C] loopback-detection interval-time 10

1.1.18  mdi

Syntax

mdi { across | auto | normal }

undo mdi

View

Ethernet port view

Parameters

across: Specifies the network cable to be crossover network cable.

auto: Identifies the network cable type (crossover or straight through) automatically.

normal: Specifies the network cable to be straight through network cable.

Description

Use the mdi command to set the network types that can be identified by the Ethernet port.

Use the undo mdi command to restore the default network cable type that can be identified by the Ethernet port.

By default, the port identifies the network type automatically.

 

  Caution:

The S7500 series switches support the auto mode only. If another mode is specified, the system prompts “Operation not supported!”.

 

Examples

# Specify Ethernet 2/0/1 to identify the network cable type automatically.

<H3C> system-view

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

[H3C] interface Ethernet2/0/1

[H3C-Ethernet2/0/1] mdi auto

1.1.19  multicast-suppression

Syntax

multicast-suppression { ratio | bandwidth { mbps-value | kbps kbps-value } | pps max-pps }

undo multicast-suppression

View

Ethernet port view

Parameters

ratio: Maximum ratio of received multicast traffic to the total bandwidth on the Ethernet port. The value ranges from 1 to 100 (in step of 1) and defaults to 100. The smaller the ratio is, the less multicast traffic is allowed to be received.

mbps-value: Maximum bandwidth (in Mbps) for receiving multicast traffic on an Ethernet port. The range of the mbps-value argument depends on the port type:

l           1 to 100 for 100 Mbps Ethernet ports;

l           1 to 1,000 for Gigabit Ethernet ports;

l           1 to 10,000 for 10 Gbps Ethernet ports.

kbps kbps-value: Specifies the maximum bandwidth (in Kbps) for receiving multicast traffic, in the range of 64 to 1,024,000 in the steps of 64.

max-pps: Maximum number of multicast packets allowed to be received per second on the Ethernet port (in pps). The range of the max-pps argument depends on the port type.

l           1 to 148,810 for 100 Mbps Ethernet ports;

l           1 to 1,488,100 for Gigabit Ethernet ports;

l           1 to 262,143 for 10 Gbps Ethernet ports.

Description

Use the multicast-suppression command to limit multicast traffic allowed to be received on the current port.

Use the undo multicast-suppression command to restore the default multicast suppression setting on the current port.

When incoming multicast traffic on the port exceeds the multicast traffic threshold you set, the system drops the packets exceeding the threshold to reduce the multicast traffic ratio to the reasonable range, so as to keep normal network service.

By default, the switch does not suppress multicast traffic.

 

  Caution:

Note that type-A LPUs (including LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA, and LS81GT8UA) do not support multicast suppression.

 

Examples

# Allow the incoming multicast traffic on Ethernet 2/0/1 to occupy at most 20% of the bandwidth on the port.

<H3C> system-view

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

[H3C] interface ethernet 2/0/1

[H3C-Ethernet2/0/1] multicast-suppression 20

# Set the maximum number of multicast packets that can be forwarded per second by Ethernet 2/0/1 to 1000 pps.

[H3C-Ethernet2/0/1] multicast-suppression pps 1000

1.1.20  reset counters interface

Syntax

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

View

User view

Parameters

interface-type: Port type.

interface-number: Port number.

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.

Examples

# Clear the statistics of Ethernet 2/0/1.

<H3C> reset counters interface ethernet2/0/1

1.1.21  shutdown

Syntax

shutdown

undo shutdown

View

Ethernet port view

Parameters

None

Description

Use the shutdown command to disable the Ethernet port.

Use the undo shutdown command to enable the Ethernet port.

By default, an Ethernet port is enabled.

Examples

# Enable Ethernet 2/0/1.

<H3C> system-view

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

[H3C] interface Ethernet2/0/1

[H3C-Ethernet2/0/1] undo shutdown

1.1.22  speed

Syntax

speed { 10 | 100 | 1000 | 10000 | auto }

undo speed

View

Ethernet port view

Parameters

10: Specifies the port speed to 10 Mbps.

100: Specifies the port speed to 100 Mbps.

1000: Specifies the port speed to 1000 Mbps.

auto: Specifies the port speed to the auto-negotiation mode.

 

&  Note:

For ports of different types, the parameter prompts after you enter the speed command are also different.

 

Description

Use the speed command to set the port speed.

Use the undo speed command to restore the port speed to the default setting.

By default, the port speed is auto negotiated.

Examples

# Set the speed of Ethernet 2/0/1 to 10 Mbps.

<H3C> system-view

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

[H3C] interface Ethernet 2/0/1

[H3C-Ethernet2/0/1] speed 10

1.1.23  speedup

Syntax

speedup enable

speedup disable

View

System view

Parameters

None

Description

Use the speedup enable command to enable the hardware speedup function outside the port.

Use the speedup disable command to disable the hardware speedup function outside the port.

By default, the hardware speedup function outside the port is disabled.

 

&  Note:

l      The above two commands are applicable to type-A LPUs only, including LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA, and LS81GT8UA.

l      The two commands above are for diagnostic use. Do not use them at discretion.

 

Examples

# Enable the hardware speedup function outside the port.

<H3C> system-view

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

[H3C] speedup enable

1.1.24  virtual-cable-test

Syntax

virtual-cable-test

View

Ethernet port view

Parameters

None

Description

Use the virtual-cable-test command to enable the system to test the cable connected to the 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 information is “-”.

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

 

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.

 

&  Note:

l      The combo port does not support the virtual-cable-test command.

l      The acceptable deviation of the cable length tested through the virtual-cable-test command is ±5m.

 

Examples

# Enable the system to test the cable connected to Ethernet 2/0/1.

<H3C> system-view

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

[H3C] interface Ethernet2/0/1

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

Cable status: abnormal(open), 0 metres

Pair Impedance mismatch: -

Pair skew: - ns

Pair swap: -

Pair polarity: -

Insertion loss: - db

Return loss: - db

Near-end crosstalk: - db

  • 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
新华三官网