H3C S9500 Operation Manual-Release2132[V2.03]-01 Access Volume

HomeSupportSwitchesH3C S9500 Series SwitchesConfigure & DeployConfiguration GuidesH3C S9500 Operation Manual-Release2132[V2.03]-01 Access Volume
01-Ethernet Interface Configuration
Title Size Download
01-Ethernet Interface Configuration 92.39 KB

Chapter 1  Ethernet Interface Configuration

When configuring Ethernet interfaces, go to these sections for information you are interested in:

l           Ethernet Interface Configuration

l           Displaying and Maintaining Ethernet Interfaces

1.1  Ethernet Interface Configuration

1.1.1  Configuration Task List

Complete the following tasks to configure an Ethernet interface:

Task

Remarks

Configuring LAN/WAN Mode for a 10GE Interface

Optional

Basic Ethernet Interface Configuration

Optional

Configuring Flow Control on an Ethernet Interface

Optional

Configuring Physical State Change Suppression on an Ethernet Interface

Optional

Configuring Loopback Testing on an Ethernet Interface

Optional

Configuring a Manual Port Group

Optional

Configuring Traffic Suppression for an Ethernet Interface

Optional

Setting the Interval for Collecting Ethernet Interface Statistics

Optional

Setting the Maximum Jumbo Frame Size for Ethernet Interfaces

Optional

Configuring the MDI Mode of an Ethernet Interface

Optional

Configuring the Source MAC Address for an Interface

Optional

 

1.1.2  Configuring LAN/WAN Mode for a 10GE Interface

I. Introduction to LAN/WAN mode

According to the physical characteristics, a ten-GigabitEthernet (10GE) interface can work in LAN or WAN mode.

l           LAN mode. 10GE interfaces operating in this mode are used to provide network access for Ethernets. They receive and forward Ethernet packets.

l           WAN mode. 10GE interfaces operating in this mode are used to provide network access for SDH networks. They receive and forward synchronous digital hierarchy (SDH) packets across point-to-point connections only.

 

&  Note:

Although 10GE interfaces operating in WAN mode encapsulate Ethernet packets as SDH frames, and 10G packets over SDH (POS) interfaces encapsulate PPP packets as SDH frames, the two types of SDH frames differ in frame format. Therefore, a 10GE interface operating in WAN mode cannot communicate a 10G POS interface.

 

II. Introduction to J0/J1 overhead byte

SDH frames have diversified overhead bytes, which accomplish the operation and maintenance functions such as hierarchical management of the transport network. J0 and J1 are used to provide internetworking support between different countries, regions, or devices of different manufacturers.

The regenerator section trace byte J0 is usually set to a section access point identifier. The sending end keeps connected with the receiving end by sending this byte repeatedly.

The path trace byte J1, usually set to a high-order path access point identifier, functions in a similar to keep the connection with the receiving end of the path.

To ensure smooth communication, the J0 and J1 bytes should be matched respectively at the sending and receiving ends. For details about SDH and SDH overhead bytes, refer to related documents.

III. Configure a 10GE interface to operate in LAN/WAN mode

Follow these steps to configure a 10GE interface to operate in LAN/WAN mode:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter ten-GigabitEthernet interface view

interface ten-gigabitEthernet interface-number

Configure the 10GE interface to operate in LAN/WAN mode

port-mode { lan | wan }

Optional

By default, a 10GE interface operates in LAN mode.

Configure a value for J0/J1 bytes when the 10GE interface operates in WAN mode.

flag { j0 | j1 } sdh flag-value

Optional

By default, the value of the J0/J1 bytes is 0.

 

&  Note:

l      The flag command is available only when the 10GE interface is operating in WAN mode.

l      WAN mode is not supported on LSB1XP4CA, LSB1XK1DB, and LSB1XP4B boards.

 

1.1.3  Basic Ethernet Interface Configuration

Three types of duplex modes are available for Ethernet interfaces:

l           Full-duplex mode (full). Interfaces operating in this mode can send and receive packets simultaneously.

l           Half-duplex mode (half). Interfaces operating in this mode can either send or receive packets at a given time.

l           Auto-negotiation mode (auto). Interfaces operating in this mode determine their duplex mode through auto-negotiation.

If you configure the transmission rate for an Ethernet interface with the speed auto command, the transmission rate is determined through auto-negotiation.

Follow these steps to perform basic Ethernet interface configurations:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Set the descriptive information for the Ethernet interface

description text

Optional

By default, the descriptive information is “interface index + Interface”.

Set the duplex mode

duplex { auto | full | half }

Optional

auto by default.

Set the transmission rate

speed { 10 | 100 | 1000 | auto }

Optional

auto by default.

Shut down the Ethernet interface

Shutdown

Optional

By default, an Ethernet interface is in up state.

Use the undo shutdown command to bring up the interface.

 

&  Note:

l      The speed 1000 command is only available for GigabitEthernet interfaces.

l      GigabitEthernet electric interfaces cannot operate in half-duplex mode when the transmission rate is set to 1000 Mbps.

l      Ethernet optical interfaces cannot operate in half-duplex mode.

l      You cannot set the transmission rate of a ten-GigabitEthernet or 100-Mbps Ethernet optical interface. For a 1000-Mbps Ethernet optical interface, you can only set the transmission rate to 1000 Mbps or auto negotiation.

l      When an O/E converter is used for an interface, set the duplex mode of the interface to auto for the interface to operate normally.

 

1.1.4  Configuring Flow Control on an Ethernet Interface

When flow control is enabled on both sides, if traffic congestion occurs at the ingress interface, it will send a Pause frame notifying the egress interface to temporarily suspend the sending of packets. The egress interface is expected to stop sending any new packets when it receives the Pause frame. In this way, flow controls helps to avoid the dropping of packets. Note that only after both the ingress and the egress interfaces have turned on their flow control will this be possible.

Follow these steps to enable flow control on an Ethernet interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Enable flow control

flow-control

Required

Turned off by default

 

1.1.5  Configuring Physical State Change Suppression on an Ethernet Interface

An Ethernet interface operates in one of the two physical link states: up or down. During the suppression time, physical-link-state changes will not be propagated to the system. Only after the suppression time has elapsed will the system be notified of the physical-link-state changes by the physical layer. This functionality reduces the extra overhead occurred due to frequent physical-link-state changes within a short period of time.

Follow these steps to configure the up/down suppression time on an Ethernet Interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Configure the up/down suppression time of physical-link-state changes

link-delay delay-time

Required

Defaults to 1 second.

 

1.1.6  Configuring Loopback Testing on an Ethernet Interface

You can enable loopback testing to check whether the Ethernet interface functions properly. Note that no data packets can be forwarded during the testing. Loopback testing falls into the following two categories:

l           Internal loopback testing: a loopback testing carried out within the device, if data packets sent from an Ethernet interface can be received by the same interface, the internal loopback testing is successful indicating that the interface is functioning properly.

l           External loopback testing: a loopback plug needs to be plugged into an Ethernet interface, if data packets sent from the interface is received by the same interface through the loopback plug, the external loopback testing is successful indicating that the interface is functioning properly.

Follow these steps to enable Ethernet interface loopback testing:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Enable loopback testing

loopback { external | internal }

Optional

Disabled by default.

 

&  Note:

l      Currently, the S9500 series routing switches do not support the external loopback testing.

l      Internal loopback testing can only be enabled on interfaces in down state. That is, it is unavailable to interfaces that are shut down manually.

l      The speed, duplex, mdi, and shutdown commands are not applicable during a loopback testing.

l      With the loopback testing enabled, the Ethernet interface works in the full duplex mode at highest speed. With the loopback testing enabled, the original configurations will be restored.

 

1.1.7  Configuring a Manual Port Group

To make the configuration task easier for users, certain devices allow users to configure on a single port as well as on multiple ports in a port group. In manual port group view, the user only needs to input the configuration command once and that configuration will apply to all ports in the port group. This effectively reduces redundant configurations.

Follow these steps to enter manual port group view:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter manual port group view

port-group manual port-group-name

 

Follow these steps to configure a manual port group:

To do...

Use the command...

Remarks

Enter system view

system-view

Create a manual port group and enter manual port group view

port-group manual port-group-name

Required

Add Ethernet interfaces to the manual port group

group-member interface-list

Required

 

&  Note:

For information about aggregation port groups, refer to the Link Aggregation Configuration in the Access Volume.

 

1.1.8  Configuring Traffic Suppression for an Ethernet Interface

You can suppress the broadcast and multicast traffic passing through an Ethernet interface.

When the traffic over the interface exceeds the pre-set threshold, the system will discard the extra packets to ensure that the network functions properly.

Follow these steps to configure the traffic suppression function for an Ethernet interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view or port group view

Enter Ethernet interface view

interface interface-type interface-number

Use either command.

If configured in Ethernet interface view, this feature takes effect on the current interface only; if configured in port group view, this feature takes effect on all the interfaces in the port group.

Enter port group view

port-group { manual port-group-name | aggregation agg-id }

Configure broadcast suppression

broadcast-suppression { ratio | pps max-pps }

Optional

By default, all broadcast traffic is allowed to pass through an interface, that is, broadcast traffic is not suppressed.

Configure multicast suppression

multicast-suppression { ratio | pps max-pps }

Optional

Multicast suppression does not differentiate unknown multicasts from known multicasts.

By default, all multicast traffic is allowed to pass through an Ethernet interface, that is, multicast traffic is not suppressed.

 

&  Note:

l      You cannot enable broadcast suppression and multicast suppression on a board at the same time. If you have enabled broadcast suppression on some ports of a board, you cannot enable multicast suppression on the other ports, and vice versa.

l      Before enabling multicast suppression on a port, you must disable broadcast suppression on all the other ports on the same board. Similarly, before enabling broadcast suppression on a port, you must disable multicast suppression on all the other ports on the same board.

l      The multicast suppression function suppresses broadcast traffic in addition to multicast traffic but the broadcast suppression does not suppress multicast traffic.

 

1.1.9  Setting the Interval for Collecting Ethernet Interface Statistics

Complete the following configuration tasks to configure the time interval for collecting interface statistics. Use the display interface command to display the interface statistics within the current interval.

Follow these steps to configure the interval for collecting Ethernet interface statistics:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Configure the time interval for collecting interface statistics

flow-interval interval

Required

Defaults to 300 seconds.

 

1.1.10  Setting the Maximum Jumbo Frame Size for Ethernet Interfaces

Usually, an Ethernet interface discards received jumbo frames (frames larger than the standard Ethernet frame size) directly without processing them. To handle jumbo frames under a certain size, which may be received during large-throughput data switching like file transfer, you can set a jumbo Ethernet frame size limit on the switch.

Follow these steps to set the maximum jumbo frame size for the Ethernet interfaces on a board:

To do...

Use the command...

Remarks

Enter system view

system-view

Set the maximum size of the jumbo frames allowed to pass through an Ethernet interface on a board

jumboframe enable [ jumboframe-value ] slot slot-number

Optional

1552 bytes by default.

 

&  Note:

l      The allowed maximum frame size is 10236 bytes on non-line-speed XP4 boards and LSB1GV48 boards and 10240 bytes on other GE and 10GE boards.

l      You can configure the jumbo frame size in the range 1552 to 10240 in bytes. However, if the size is set in the range 1553 to 9022, the value 9022 takes effect; if the size is set in the range 9023 to 9192, the value 9192 takes effect; if the size is set in the range 9193 to 10240, 10240 takes effect.

 

1.1.11  Configuring the MDI Mode of an Ethernet Interface

You can connect an Ethernet interface with a crossover or straight-through cable, depending on its medium dependent interface (MDI) mode. The MDI mode can be one of the following:

l           Across mode, where the Ethernet interface can be connected only to a crossover cable.

l           Normal mode, where the Ethernet interface can be connected only to a straight-through cable.

l           Auto mode, where the Ethernet interface can be connected to either a straight-through cable or a crossover cable.

Use the auto mode in normal cases. In case the interface in auto mode cannot recognize the type of the connected cable, set its MDI mode to across or normal.

Follow these steps to configure the MDI mode of an Ethernet Interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Configure the MDI mode of the Ethernet interface

mdi { across | auto | normal }

Optional

The default is auto, that is, the system decides the role of the pins (to send packets or receive packets) through auto negotiation.

 

  Caution:

You can configure the cable type of 10/100 Mbps and 10/100/1000 Mbps electrical interfaces only. The cable type of optical Ethernet interfaces is not configurable.

 

1.1.12  Configuring the Source MAC Address for an Interface

Normally, when a packet is forwarded by an S9500 switch on Layer 3, its source MAC address is that of the VLAN interface which the outbound interface corresponds to. However, It is required in some cases that the source MAC addresses of packets forwarded through different interfaces be different for forwarding policies to take effect on the peer devices.

By configuring the source MAC address for an interface, you can set the least octet of the source MAC addresses of the packets forwarded through the interface for forwarding policies to take effect on the peer devices.

Follow these steps to configure the source MAC address for an interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Configure the source MAC address

source-mac-tail last-byte

Required

By default, the source MAC address of an interface is that of the corresponding VLAN interface.

 

  Caution:

After you configure the source MAC address for an interface, packets forwarded on Layer 3 through the interface use the MAC address of the corresponding VLAN interface as their source MAC addresses, with the least octet being replaced with value specified by the source-mac-tail command.

 

&  Note:

Currently, this command is not supported on the following boards: LSB1GV48DA, LSB1GV48DB, LSB2GV48DA, LSB1GP48DB, LSB1XP4B, LSB1XP4CA, and LSB1XP4DB.

 

1.2  Displaying and Maintaining Ethernet Interfaces

To do...

Use the command...

Remarks

Display the information of Ethernet interfaces

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

Available in any view

Display the brief information of Ethernet interfaces

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

Available in any view

Display the ports that are of a specified type

display port { hybrid | trunk }

Available in any view

Display the information about a manual port group or all the port groups

display port-group manual [ all | name port-group-name ]

Available in any view

Display the statistics on the packets passing through interfaces of specific type

display counters { inbound | outbound } interface [ interface-type ]

Available in any view

Display the rate statistics on the packets passing through the interfaces within the last sample time interval

display counters rate { inbound | outbound } interface [ interface-type ]

Available in any view

Display the alarm information of pluggable optical modules

display transceiver alarm interface [ interface-type interface-number ]

Available in any view

Display the values of the diagnostic parameters for pluggable optical modules

display transceiver diagnosis interface [ interface-type interface-number ]

Available in any view

Display the major parameters of pluggable optical modules

display transceiver interface [ interface-type interface-number ]

Available in any view

Display the radio frequency identification (RFID) information of pluggable optical modules

display transceiver manuinfo interface [ interface-type interface-number ]

Available in any view

Clear the statistics for Ethernet interfaces

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

Available in user view

 

&  Note:

The display counters and display counters rate commands only display the statistics about the packets passing through RPR logical ports.

 

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网