Page 2
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice.
Page 3
The H3C S12500 documentation set includes 13 configuration guides, which describe the software features for the H3C S12500 Series Routing Switches and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you apply software features to different network scenarios.
Page 4
Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your switch. About the H3C S12500 documentation set The H3C S12500 documentation set includes: Category...
Page 5
Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
Page 6
Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Contents Configuring Ethernet interfaces ··································································································································· 1 Ethernet interface types ···················································································································································· 1 Configuring common Ethernet interface settings ··········································································································· 1 Configuring the operating mode and related parameters for a 10-GE interface ············································· 1 Configuring basic settings of an Ethernet interface or subinterface ··································································· 2 ...
Configuring Ethernet interfaces A switch operating in standard mode does not support Layer 3 Ethernet interfaces, Layer 3 Ethernet • subinterfaces, Layer 3 aggregate interfaces, or Layer 3 aggregate subinterfaces. For more information about the system operating mode commands, see Fundamentals Command Reference. When enhanced IRF is enabled on a switch operating in IRF mode, you cannot create Layer 3 •...
In WAN mode, a 10-GE interface encapsulates Ethernet packets in SDH frames, and a 10G POS interface encapsulates PPP packets in SDH frames. However, these two types of interfaces cannot communicate with each other in WAN mode, because they use different framing formats. To configure a 10-GE interface to operate in LAN or WAN mode: Step Command...
Step Command Remarks The default setting is in the format of interface description text interface-name Interface. For example, description. GigabitEthernet3/0/1 Interface. The default setting is full for 10-GE interfaces and auto for other Ethernet Set the duplex mode of interfaces. duplex { auto | full | half } the Ethernet interface.
Ethernet interfaces can operate either as Layer 2 (in bridge mode) or Layer 3 Ethernet interfaces (in route mode). You can set the link mode to bridge or route for an Ethernet interface. To change the link mode of an Ethernet interface: Step Command Remarks...
Step Command Remarks Enter system view. system-view Enter Ethernet interface interface-type interface view. interface-number The default setting is 1 second. With this command configured, when the interface comes down, the link-down event is not link-down reported to the CPU until the interface is still down event suppression link-delay delay-time...
(displayed as in ADM or Administratively DOWN state), you cannot perform an internal or external loopback test. The speed, duplex, mdi, and shutdown commands are not available during a loopback test. • During a loopback test, the Ethernet interface operates in full duplex mode. When a loopback test •...
Step Command Remarks Set the statistics polling flow-interval interval The default setting is 300 seconds. interval. To display the interface statistics collected in the last polling interval, use the display interface command. To clear interface statistics, use the reset counters interface command. Configuring a Layer 2 Ethernet interface Configuring storm suppression You can use the storm suppression function to limit the size of a particular type of traffic (broadcast,...
Step Command Remarks By default, unknown unicast traffic Enable unknown unicast is allowed to pass through an suppression unicast-suppression { ratio | pps interface. unknown unicast suppression max-pps | kbps max-kbps } threshold. The ratio argument is always 100. Forcibly bringing up a fiber GE or 10-GE port As shown in Figure 1, a fiber port uses separate fibers for transmitting and receiving packets.
After you forcibly bring up a fiber Ethernet port, the fiber port stays physically up regardless of • whether or not an optical module or a fiber connection is present for the port. The fiber port cannot properly forward traffic if you install a transceiver module, 100/1000-Mbps •...
Step Command Remarks interface interface-type Enter Ethernet interface view. interface-number By default, a copper Ethernet Set the MDIX mode of the mdix-mode { automidx | mdi | interface operates in auto mode to Ethernet interface. mdix } negotiate pin roles with its peer. Configuring a Layer 3 Ethernet interface or subinterface Setting the MTU for an Ethernet interface or subinterface...
Page 18
Task Command Clear the interface or subinterface reset counters interface [ interface-type [ interface-number | statistics. interface-number.subnumber ] ] Clear the statistics of dropped packets on reset packet-drop interface [ interface-type [ interface-number ] ] the specified interfaces.
Configuring loopback and null interfaces This chapter describes how to configure a loopback interface and a null interface. Configuring a loopback interface A loopback interface is a virtual interface. The physical layer state and link layer protocols of a loopback interface are always up unless the loopback interface is manually shut down.
To configure a null interface: Step Command Remarks Enter system view. system-view Interface Null 0 is the default null interface on the device and cannot be manually created or removed. Enter null interface view. interface null 0 Only one null interface, Null 0, is supported on the device.
The maximum number of interface range names is only limited by the system resources. To • guarantee bulk interface configuration performance, H3C recommends that you configure fewer than 1000 interface range names. Configuration procedure...
Page 22
Step Command Remarks (Optional.) Verify the display this configuration.
Index 2 7 H 2 8 H Configuration guidelines, Displaying and maintaining an Ethernet interface or 5 8 H subinterface, Configuration procedure, 6 5 H 5 9 H Displaying and maintaining loopback and null Configuring a Layer 2 Ethernet interface, 6 0 H interfaces, Configuring a Layer 3 Ethernet interface or...
Need help?
Do you have a question about the S12500 Series and is the answer not in the manual?
Questions and answers