Page 2
, H3CS, H3CIE, H3CNE, Aolynk, Care, , IRF, NetPilot, Netflow, SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM 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
Preface This configuration guide covers the configuration of various interfaces. This preface includes the following topics about the documentation: • Audience. • Conventions • Obtaining documentation • Technical support • Documentation feedback Audience This documentation is intended for: • Network planners. •...
Page 4
Convention Description Folder. 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.
Page 5
Obtaining documentation To access the most up-to-date H3C product documentation, go to the H3C website at http://www.h3c.com.hk To obtain information about installation, configuration, and maintenance, click http://www.h3c.com.hk/Technical_Documents...
Page 7
Enabling subinterface rate statistics collection ································································································ 31 Configuring B1/B2/B3 alarms for standard POS interfaces ············································································· 32 Changing the interface type ····························································································································· 32 Changing a standard POS interface to a Layer 3 GigabitEthernet interface ············································ 33 Changing a Layer 3 GigabitEthernet interface to a standard POS interface ············································ 33 Displaying and maintaining POS interfaces ·····································································································...
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: •...
Step Command Remarks • interface range { interface-type interface-number [ to By using the interface range name interface-type command, you assign a name to an interface-number ] } &<1-24> Enter interface range interface range and can specify this • view. interface range name name name rather than the interface range [ interface { interface-type...
Configuring Ethernet 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. • Layer 3 Ethernet interfaces—Physical Ethernet interfaces operating at the network layer (Layer 3) to route packets.
• Use the display interface command to determine which port (fiber or copper) of each combo interface is active: If the copper port is active, the output includes "Media type is twisted pair." If the fiber port is active, the output does not include this information. Also, you can use the display this command in the view of each combo interface to display the combo interface configuration: If the fiber port is active, the combo enable fiber command exists in the output.
The Regenerator Section Trace byte J0 is usually configured as a section access point identifier. The sending end keeps the connection with the receiving end by sending this byte repeatedly. The Path Trace byte J1 is usually configured as a high-order path access point identifier. J1 also enables two ends to keep their connection.
Step Command Remarks Set the expected By default, the expected bandwidth (in bandwidth for the bandwidth bandwidth-value kbps) is the interface baud rate divided by Ethernet interface. 1000. Restore the default settings for the Ethernet default interface. By default, an Ethernet interface is enabled.
• Ethernet interfaces can operate as Layer 2 Ethernet interfaces (in bridge mode). • Ethernet interfaces can operate as Layer 3 Ethernet interfaces (in route mode). To configure the link mode of an Ethernet interface: Step Command Remarks Enter system view. system-view Enter Ethernet interface interface interface-type...
To prevent frequent physical link flapping from affecting system performance, configure physical state change suppression. You can configure this feature to suppress only link-down events, only link-up events, or both. If an event of the specified type still exists when the suppression interval expires, the system reports the event.
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 command and the link-delay command cannot be configured together on an interface.
• Internal loopback testing—Tests the device where the Ethernet interface resides. The Ethernet interface sends outgoing packets back to the local device. If the device fails to receive the packets, the device fails. • External loopback testing—Tests the inter-device link. The Ethernet interface sends incoming packets back to the remote device.
Step Command Remarks Enable subinterface rate By default, subinterface rate statistics collection on the sub-interface rate-statistic statistics collection is disabled on 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.
Step Command Remarks The device enters Layer 3 Change the interface to a GigabitEthernet interface view Layer 3 GigabitEthernet port-type switch gigabitethernet automatically after you execute interface. this command. Enabling the traffic statistics feature on an Ethernet subinterface This command is resource intensive. When you use this feature, make sure you fully understand its impact on system performance.
Page 20
Task Command Clear the Ethernet module statistics (in reset ethernet statistics [ slot slot-number ] standalone mode). Clear the Ethernet module statistics (in reset ethernet statistics [ chassis chassis-number slot IRF mode). slot-number ]...
Configuring WAN interfaces This chapter describes how to configure interfaces for connecting to WAN networks, including Frame Relay and ATM. Available WAN interfaces include the synchronous serial interface, and CE1 interface. Configuring a serial interface Synchronous serial interface Synchronous serial interfaces provide serial communication channels for synchronous data transmission.
Page 22
Step Command Remarks By default, the description of a (Optional.) Configure the synchronous serial interface is description text interface description. interface name Interface, for example, Serial2/1/0 Interface. link-protocol { fr | hdlc | ppp | Set the link layer protocol. The default is PPP.
Step Command Remarks 20. (Optional.) Restore the default settings for the default synchronous serial interface. 21. Bring up the synchronous By default, a synchronous serial undo shutdown serial interface. interface is up. Configuring a subinterface Step Command Remarks Enter system view. system-view interface serial Create a subinterface and...
Step Command Remarks Enable subinterface rate By default, subinterface rate statistics collection on the sub-interface rate-statistic statistics collection on the serial serial interface. interface is disabled. Displaying and maintaining serial interfaces Execute display commands in any view and reset commands in user view. Task Command display interface [ serial [ interface-number ] ] [ brief...
Configuring a CE1 interface in E1 mode Step Command Remarks Enter system view. system-view Enter CE1 interface view. controller e1 interface-number Configure the interface to By default, a CE1 interface using e1 operate in E1 mode. operates in channelized mode. (Optional.) Enable alarm By default, AIS detection is indication signal (AIS)
Step Command Remarks The default clock mode is slave, Set the clock mode. clock { master | slave } which is line clock. Enable automatic clock By default, automatic clock mode clock-change auto mode change. change is disabled. Set the line idle code type. Idle-code { 7e | ff } The default is 0x7E.
In unframed mode, an E1-F interface provides 2048 kbps of data bandwidth. For the interface, a synchronous serial interface is created automatically. In framed mode, an E1-F interface is physically divided into 32 timeslots numbered 0 through 31. Timeslot 0 is used for transmitting synchronization information. All other timeslots can randomly form one channel set.
Configuring other E1-F interface parameters Step Command Remarks Enter system view. system-view Enter E1-F interface view. interface serial serial-number By default, the description of an Configure the interface description text interface is interface-name description. Interface. Set the line code format. fe1 code { ami | hdb3 } The default is HDB3.
Task Command Display information about E1-F interfaces. display fe1 [ serial interface-number ] Display the status of an E1-F interface. display interface serial interface-number Clear statistics for E1-F interfaces. reset counters interface [ serial [ interface-number ] ] Configuring a CT3 interface Both T3 and T1 belong to the T-carrier system promoted by ANSI.
Step Command Remarks By default, the description of an (Optional.) Configure the description text interface is interface-name interface description. Interface. The default clock mode for the Set the clock mode. clock { master | slave } CT3 interface is slave, which is line clock.
Page 31
• To shut down or bring up only the serial interface for a T3, unframed T1, or framed T1 channel, use the shutdown or undo shutdown command in serial interface view. To configure a CT3 interface in CT3 mode: Step Command Remarks Enter system view.
Step Command Remarks • feac detect • 12. (Optional.) Configure FEAC feac generate loopback By default, FEAC channel signal channel signal { ds3-line | ds3-payload } detection is enabled, but no FEAC detection/sending on the • feac generate { ds3-los | signals are sent.
Task Command Clear statistics for CT3 interfaces. reset counters controller t3 [ interface-number ] Configuring a T3 interface About T3 interfaces T3 belongs to the T-carrier system promoted by ANSI. T3 uses the digital signal level DS-3 and operates at 44.736 Mbps. In T3 (unchannelized) mode, a T3 interface provides 44.736 Mbps of data bandwidth.
Step Command Remarks 12. Return to system view. quit Make sure the synchronous serial 13. Enter synchronous serial interface serial number/0:0 interface is the one created for the interface view. T3 interface. 14. Set the CRC mode. crc { 16 | 32 | none } The default is 16-bit CRC.
Configuring POS interfaces This chapter describes how to configure physical parameters for POS interfaces, including standard POS interfaces, POS subinterfaces, and POS channel interfaces. Before you configure the link and network layer parameters on a POS interface, you must perform the tasks in this chapter to configure its physical parameters.
Page 36
Step Command Remarks The default setting is 5. The interface determines that the remote end is down if it does not Set the maximum number of timer-hold retry retries receive a keepalive response keepalive attempts. after the maximum number of keepalive attempts have been made.
Step Command Remarks By default, a standard POS interface is up. For the settings to take effect, you shutdown 23. Shut down and bring up the must perform this step. interface. undo shutdown If no cable is connected to the interface, shut down the interface to prevent interface exceptions.
Step Command Remarks Set the keepalive interval. timer-hold seconds The default setting is 10 seconds. The default setting is 5. The interface determines that the remote end is down if it does not Set the maximum number of timer-hold retry retries receive a keepalive response keepalive attempts.
Step Command Remarks Enter system view. system-view Enter POS interface view or POS channel interface pos interface-number interface view. Enable subinterface rate statistics By default, subinterface rate statistics collection for the POS sub-interface rate-statistic collection is disabled. interface or the POS channel interface.
• Enters the interface view of the new-type interface. Changing a standard POS interface to a Layer 3 GigabitEthernet interface Step Command Enter system view. system-view Enter standard POS interface view. interface pos interface-number Change the interface to a Layer 3 port-type switch gigabitethernet GigabitEthernet interface.
Configuration procedure Configure POS 2/1/1 on Router A: # Assign an IP address to the interface. <RouterA> system-view [RouterA] interface pos 2/1/1 [RouterA-Pos2/1/1] ip address 10.110.1.10 255.255.255.0 # Configure the data link layer protocol of the interface. [RouterA-Pos2/1/1] link-protocol ppp # Set the MTU to 1500 bytes for the interface.
Page 42
Figure 3 Network diagram Configuration procedure Configure Router A: # Set the clock mode to slave on POS 2/1/1. <RouterA> system-view [RouterA] interface pos 2/1/1 [RouterA-Pos2/1/1] clock slave # Enable Frame Relay on POS 2/1/1. [RouterA-Pos2/1/1] link-protocol fr # Configure POS 2/1/1 as DTE. [RouterA-Pos2/1/1] fr interface-type dte [RouterA-Pos2/1/1] quit # Create subinterface 1 on POS 2/1/1 and assign an IP address to it.
If the two POS interfaces are directly connected, verify that the two ends use different clock mode settings. • If the problem persists, contact H3C Support. Data link layer down Symptom The physical layer is up, but the data link layer is down.
Verify that the two ends have matching clock mode, scrambling setting, and physical parameters. • Verify that the two ends have the same data link layer protocol. • If the problem persists, contact H3C Support. Packet loss Symptom A large number of IP packets are dropped. Solution To resolve the problem: •...
Configuring CPOS interfaces Overview The low-speed tributary signals multiplexed to form an SDH signal are called channels. The channelized POS (CPOS) interface makes full use of SDH to provide the following benefits: • Provides precise bandwidth division. • Reduces the number of low-speed physical interfaces on devices. •...
The SOH monitors the section layer, and the POH monitors the path layer. The POH is divided into the higher-order path overhead and the lower-order path overhead. Higher-order path overhead monitors paths at the VC-4/VC-3 level. Similar to the J0 byte, the higher-order VC-N path trace byte J1 is included in the higher-order path overhead to repeatedly send the higher-order path access point identifier.
Hardware compatibility with CPOS interfaces A FIP-600 card does not support CPOS interfaces. CPOS interface configuration task list Task at a glance Remarks Configure a CPOS E1 interface: • (Required.) Configuring the operating mode of an interface card • (Required.) Configuring basic functions of a CPOS interface •...
Step Command Remarks By default: • c2 is 0x02. • s1s0 is 0x00 for SONET and 0x02 for SDH. flag { c2 path-number c2-value | Configure the SOH and • j0 is 0x01 for SONET and a s1s0 path-number s1s0-value } higher-order path overhead 16-byte empty character flag { j0 | j1 path-number } { sdh |...
Step Command Remarks e1 e1-number flag c2 c2-value By default, C2 is set to Set overhead bytes for the hexadecimal 02, and J2 contains e1 e1-number flag j2 { sdh | E1 channel. cyclic empty character strings. sonet } j2-string By default, an E1 channel operates in framed mode and is not channelized.
Step Command Remarks By default, a T1 channel operates in framed mode and is not channelized. • Specify the unframed mode: t1 t1-number unframed When you place a T1 channel in unframed mode, the system • Specify the framed mode automatically creates a 1.544 and bundle timeslots: Mbps serial interface.
Step Command Remarks By default, no 622 Mbps channels exist on a 2.5 Gbps CPOS interface. Create a 622 Mbps channel oc-12 oc-12-number and enter its view. You can create up to four 622 Mbps channels on a 2.5 Gbps CPOS interface.
Task Command Display CPOS interface status information. display controller cpos [ cpos-number ] Display status information for an E1 channel on a display controller cpos cpos-number e1 CPOS interface. e1-number Display status information for a T1 channel on a display controller cpos cpos-number t1 CPOS interface.
E1 channels on the CPOS interface Symptom The H3C router is connected to another vendor's router through E1 channels on CPOS interfaces across an SDH network. PPP is used on the serial interface created for the E1 channel set.
Page 55
<H3C> display controller cpos e1 Verify that the router and its directly connected SDH device have the same multiplex path for E1 channels. (Details not shown.) Debug the loop condition. <H3C> debugging ppp lcp error If the problem persists, contact H3C Support.
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.
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.
Need help?
Do you have a question about the SR6600 and is the answer not in the manual?
Questions and answers