Page 1
H3C S7500X Switch Series Interface Configuration Guide New H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 7585P05 and later versions Document version: 6W100-20200529...
Page 2
The information in this document is subject to change without notice. All contents in this document, including statements, information, and recommendations, are believed to be accurate, but they are presented without warranty of any kind, express or implied. H3C shall not be liable for technical or editorial errors or omissions contained herein.
Page 3
Preface This configuration guide covers the configuration of various interfaces. This preface includes the following topics about the documentation: • Audience. • Conventions. • Documentation feedback. Audience This documentation is intended for: • Network planners. • Field technical support and servicing engineers. •...
Page 4
Symbols Convention Description An alert that calls attention to important information that if not understood or followed WARNING! can result in personal injury. An alert that calls attention to important information that if not understood or followed CAUTION: can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information.
Page 5
Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Page 7
Bulk configuring interfaces You can enter interface range view to bulk configure multiple interfaces with the same feature instead of configuring them one by one. For example, you can execute the shutdown command in interface range view to shut down a range of interfaces. Configuration restrictions and guidelines When you bulk configure interfaces in interface range view, follow these restrictions and guidelines: •...
Page 8
Step Command Remarks • interface range { interface-type interface-number [ to interface-type By using the interface range name interface-number ] } &<1-24> command, you assign a name to an Enter interface range • interface range name name interface range and can specify this view.
Configuring Ethernet interfaces The Switch Series supports Ethernet interfaces, management Ethernet interfaces, and Console interfaces. Your device supports the following types of Ethernet interfaces: • Layer 2 Ethernet interfaces—Physical Ethernet interfaces operating at the data link layer (Layer 2) to switch packets. •...
Ethernet interface naming conventions When the switches operate in standalone mode, the Ethernet interfaces are named in the format of interface-type A/B/C, where the following definitions apply: • A—Represents the slot number of a card. • B—Represents the number of a subcard on a card. If the card has no subcards, this value is 0. •...
Splitting a 40-GE interface and combining 10-GE breakout interfaces Restrictions and guidelines This feature is not supported on non-default MDCs. On an LSQM1QGS24RSG0 interface module, this feature is supported on interfaces 1 through 16. Splitting a 40-GE interface into four 10-GE breakout interfaces IMPORTANT: For this configuration to survive a reboot, save the configuration before rebooting the switch.
Step Command Remarks Enter system view. system-view Enter the view of any 10-GE interface interface-type breakout interface. interface-number Combine the four 10-GE By default, a 40-GE interface is breakout interfaces into a using fortygige not split and operates as a single 40-GE interface.
Step Command Remarks Enter system view. system-view using hundredgige-from-fortygige Change 40-GE interfaces to interface { interface-type 100-GE interfaces. interface-number [ to interface-type interface-number ] } &<1-24> Configuring basic settings of an Ethernet interface or subinterface About basic settings of an Ethernet interface You can configure an Ethernet interface to operate in one of the following duplex modes: •...
Step Command Remarks By default, the duplex mode is auto for Ethernet interfaces. For interfaces at two ends of a physical link to operate correctly, configure the same duplex mode for them. Interfaces that operate in 1000 Mbps or a higher speed do not support the half keyword and cannot autonegotiate the half duplex mode with the peer.
Step Command Remarks interface baud rate divided by 1000. By default, an Ethernet subinterface is up. Bring up the Ethernet Do not use the shutdown undo shutdown subinterface. command on an interface configured with the loopback command. Configuring the link mode of an Ethernet interface CAUTION: After you change the link mode of an Ethernet interface, all commands (except the shutdown and combo enable commands) on the Ethernet interface are restored to their defaults in the new link...
Step Command Remarks Enter system view. system-view Enter Ethernet interface interface interface-type view. interface-number By default, an Ethernet interface allows jumbo frames within 9126 bytes to pass through. Configure jumbo frame jumboframe enable [ size ] support. If you set the size argument multiple times, the most recent configuration takes effect.
Configuring dampening on an Ethernet interface The interface dampening feature uses an exponential decay mechanism to prevent excessive interface flapping events from adversely affecting routing protocols and routing tables in the network. Suppressing interface state change events protects the system resources. If an interface is not dampened, its state changes are reported.
Figure 1 Change rule of the penalty value Penalty Ceiling Suppress limit Reuse limit Time Not suppressed Suppressed Not suppressed Configuration restrictions and guidelines When you configure dampening on an Ethernet interface, follow these restrictions and guidelines: • The dampening, link-delay, and port link-flap protect enable commands are mutually exclusive on an interface.
With this feature enabled on an interface, when the interface goes down, the system enables link flapping detection. During the link flapping detection interval, if the number of detected flaps reaches or exceeds the link flapping detection threshold, the system shuts down the interface. Configuration restrictions and guidelines This feature takes effect only if it is configured in both the system view and interface view.
Step Command Remarks The default is auto for 100-GE interfaces. Set the FEC mode of the port fec mode { auto | base-r | Ethernet interface. none | rs-fec } 100-GE interfaces do not support the base-r keyword. Enabling loopback testing on an Ethernet interface Perform this task to determine whether an Ethernet link works correctly.
To avoid dropping packets on a link, you can enable generic flow control at both ends of the link. When traffic congestion occurs at the receiving end, the receiving end sends a flow control (Pause) frame to ask the sending end to suspend sending packets. Generic flow control includes the following types: •...
LSQM1GT48FD0. LSQM1TGT24FD0. • SA interface module: LSQM2GT48SA0. • SC interface modules: LSQM2GT24PTSSC0. LSQM2GT24TSSC0. LSQM4GV48SC0. LSQM2GT48SC0. • For this feature to take effect on an interface, configure the interface to automatically negotiate a speed or duplex mode with the remote end. Configuration procedure To enable EEE on an Ethernet interface: Step...
Page 24
Figure 2 Forcibly bring up a fiber port When Ethernet interfaces Correct fiber When Ethernet interfaces cannot be or are not forcibly connection are forcibly brought up brought up Device A Device A Device A Device B Device B Device B Fiber port Tx end Rx end...
Configuration procedure To forcibly bring up a fiber port: Step Command Remarks Enter system view. system-view Enter Ethernet interface interface interface-type Copper ports and combo interfaces do view. interface-number not support this feature. By default, a fiber port is not forcibly Forcibly bring up the fiber brought up, and the physical state of a port up-mode...
Step Command Remarks broadcast suppression threshold. Enable multicast suppression and set the multicast-suppression { ratio | By default, multicast suppression multicast suppression pps max-pps | kbps max-kbps } is disabled. threshold. Enable unknown unicast suppression and set the unicast-suppression { ratio | pps By default, unknown unicast unknown unicast max-pps | kbps max-kbps }...
Step Command Remarks polling interval. Enter Ethernet interface interface interface-type view. interface-number (Optional.) Enable storm control, and set the lower storm-constrain { broadcast | By default, storm control is and upper thresholds for multicast | unicast } { pps | kbps disabled.
• All interfaces on the device are operating in speed autonegotiation mode, with the highest speed of 1000 Mbps. • Port D provides access to the Internet for the servers. If the transmission rate of each server in the server cluster is 1000 Mbps, their total transmission rate exceeds the capability of Port D.
Configuration restrictions and guidelines Fiber ports do not support the MDIX mode setting. Configuration procedure To set the MDIX mode of an Ethernet interface: Step Command Remarks Enter system view. system-view Enter Ethernet interface interface interface-type view. interface-number By default, a copper Ethernet Set the MDIX mode of the mdix-mode { automdix | mdi | interface operates in auto mode to...
Step Command Remarks Enter system view. system-view Enter Ethernet interface interface interface-type view. interface-number Enable bridging on the By default, bridging is disabled on port bridge enable Ethernet interface. an Ethernet interface. Configuring a Layer 3 Ethernet interface or subinterface Setting the MTU for an Ethernet interface or subinterface The maximum transmission unit (MTU) of an Ethernet interface affects the fragmentation and reassembly of IP packets on the interface.
Page 31
Task Command protection on interfaces. [ interface-number ] ] Display information about dropped display packet-drop { interface [ interface-type [ interface-number ] ] | summary } packets on the specified interfaces. Display information about storm control display storm-constrain [ broadcast | multicast | unicast ] on the specified interfaces.
Page 32
Contents Configuring loopback, null, and inloopback interfaces ··································· 1 Configuring a loopback interface ······················································································································· 1 Configuring a null interface ································································································································ 1 Configuring an inloopback interface ··················································································································· 2 Displaying and maintaining loopback, null, and inloopback interfaces ······························································ 2...
Page 33
Configuring loopback, null, and inloopback interfaces This chapter describes how to configure a loopback interface, a null interface, and an inloopback interface. Configuring a loopback interface A loopback interface is a virtual interface. The physical layer state of a loopback interface is always up unless the loopback interface is manually shut down.
Page 34
applying an ACL. For example, if you specify a null interface as the next hop of a static route to a network segment, any packets routed to the network segment are dropped. To configure a null interface: Step Command Remarks Enter system view.