Page 1
Quidway S9300 Terabit Routing Switch V100R006C00 Configuration Guide - WAN Access Issue Date 2011-07-15 HUAWEI TECHNOLOGIES CO., LTD.
Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the wide area network (WAN) access features supported by the S9300.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access About This Document Symbol Description Provides additional information to emphasize or supplement NOTE important points of the main text. Command Conventions The command conventions that may be found in this document are defined as follows.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access Contents Contents About This Document........................ii 1 POS Interface Configuration.......................1 1.1 Overview of POS and CPOS Interfaces......................2 1.2 POS Interface Features Supported by the S9300....................5 1.3 Configuring POS Interfaces..........................5 1.3.1 Establishing the Configuration Task......................5 1.3.2 Configuring the Link-Layer Protocol on the POS Interface..............6...
Page 7
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access Contents 2.4.2 Configuring a Local Device to Authenticate Its Peer in PAP Mode............22 2.4.3 Configuring the Peer to Be Authenticated by the Local Device in PAP Mode........23 2.4.4 Checking the Configuration........................24 2.5 Configuring Unidirectional CHAP........................25...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration POS Interface Configuration About This Chapter The Packet over SONET/SDH (POS) technology is applied to MAN and WAN. 1.1 Overview of POS and CPOS Interfaces This section describes concepts of SONET and SDH, channelization and non-channelization, and frame structure of SDH.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration 1.1 Overview of POS and CPOS Interfaces This section describes concepts of SONET and SDH, channelization and non-channelization, and frame structure of SDH. Introduction to SONET and SDH...
Page 11
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Figure 1-1 STM-N frame structure 9*270*N(bytes) Regenerator Section Overhead AUPTR Payload Multiplex Section Overhead 261*N STM-N is the frame with the dimension of 9 rows x 270 x N columns. Here, N is consistent with that in STM-N, indicating how many STM-1 signals are multiplexed to this STM-N signal.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration J0, the regeneration section trace byte is contained in RSOH. This byte is used to transmit the Section Access Point Identifiers (SAPIs) repeatedly to check the connection between the receiver and the transmitter.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Data Preparation To configure a POS interface, you need the following data. Data Number of the POS interface on the switch Link layer protocol of the POS interface...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Slave clock mode: uses line clock signal. Similar to a synchronous serial interface working in DTE and DCE modes, a POS also works in different clock modes.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Step 2 Run: interface pos interface-number The POS interface view is displayed. Step 3 Run: flag c2 c2–value flag j0 { 1byte-mode value | 16byte-mode value | 64byte-or-null-mode value | peer } flag j1 { 1byte-mode value | 16byte-mode value | 64byte-or-null-mode value | peer } Overhead bytes of the POS interface are configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface pos interface-number The POS interface view is displayed. Step 3 Run: scramble The scrambling function of the payload is configured for the POS interface.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration CAUTION After changing the MTU of the interface by running the mtu command, restart the interface to validate the configuration by running the shutdown and undo shutdown commands consecutively.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Context When link performance deteriorates, set the alarm thresholds on POS interfaces to learn link status. The SD alarm indicates that signal deteriorates and SF indicates a signal failure. The SF alarm is severer than the SD alarm.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration 1.4.2 Clearing the Interface Statistics You can run the reset command to clear interface statistics before recollecting traffic statistics on the interface. Context CAUTION The interface statistics cannot be restored after you run the reset command to clear it. So, confirm the action before you use the command.
Page 21
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration Configuration Roadmap The configuration roadmap is as follows: Configure HDLC as the link layer protocol. Configure IP addresses. Data Preparation To complete the configuration, you need the following data:...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration PPP Configuration About This Chapter Functioning at the data link layer of the Open Systems Interconnection (OSI) and the link layer of the TCP/IP protocol suite, the Point-to-Point Protocol (PPP) is a link layer protocol that is transmits network layer packets over point-to-point (P2P) links.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration 2.1 PPP Overview The PPP protocol consists of the Link Control Protocol (LCP), Network Control Protocol (NCP), and PPP extension protocols. PPP establishes links through a series of negotiations.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Applicable Environment PPP is a link layer protocol that is used to transmit data over P2P links. If MTUs are configured on the two ends of a link, enable PPP MTU negotiation on the two ends to negotiate the MTU for data exchange.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration 2.3.3 Configuring the Timeout Period of Negotiation During PPP negotiation, if the peer does not reply with a response packet before the negotiation times out, PPP resends the negotiation request packet.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Context The PPP link does not strictly require that the peer route and local route exist at the same network segment. Two ends of the PPP link at different network segments can communicate. In addition, the peer host route at a different network segment is automatically added to local routing table of direct routes.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Example Run the display interface. The PPP configurations on the interface are displayed, for example: <Quidway> display interface pos 1/0/0 Pos1/0/0 current state : DOWN Line protocol current state : DOWN...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Bidirectional authentication: Two communication parties function as both the authenticator and the authenticated. This section describes how to configure unidirectional PAP authentication. Pre-configuration Tasks Before configuring PAP authentication, complete the following tasks:...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Return to the system view. Step 5 Run: interface interface-type interface-number The interface view is displayed. Step 6 Run: ppp authentication-mode pap The local end authenticates the peer end using PAP.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration NOTE After changing the username and password, use the restart command, or the shutdown and undo shutdown commands in the interface view to validate the configuration. ----End 2.4.4 Checking the Configuration...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration 2.5 Configuring Unidirectional CHAP This section describes how to configure unidirectional CHAP authentication. Detailed operations include configuring the authenticator with a user name to authenticate the peer in CHAP mode and configuring the authenticator without a user name to authenticate the peer in CHAP mode.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration 2.5.2 Configuring a Local Device with a User Name to Authenticate Its Peer in CHAP Mode This section describes how to configure the authenticator with a user name to authenticate the peer in CHAP mode.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration NOTE After changing the username and password, run the restart command, or the shutdown and undo shutdown commands in the interface view to validate the configuration. Configuring the authenticated...
Page 35
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration The AAA view is displayed. Run: local-user user-name password { simple | cipher } password The username and password of the authenticated are added to the local user list.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration NOTE After changing the username and password, run the restart command, or the shutdown and undo shutdown commands in the interface view to validate the configuration. ----End 2.5.4 Checking the Configuration...
Page 40
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Configuration Roadmap The configuration roadmap is as follows: Add the user name and password of Switch B to the local user list of Switch A. Configure the local user name for Switch A.
Page 41
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Step 2 Configure Switch B. # Add the user name of Switch A and the local password to the local user list of Switch B. <Quidway> system-view...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration interface Pos1/0/0 link-protocol ppp ppp authentication-mode chap ppp chap user rta ip address 10.110.0.1 255.255.255.0 local-user rtb password simple hello return Configuration file of Switch B sysname SwitchB...
Page 43
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration User names of Switch A and Switch B Passwords of Switch A and Switch B IP address of the interface on Switch A IP address of the interface on Switch B NOTE Switch A and Switch B must be configured with the same password, or the authentication fails.
Page 44
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration [SwitchB-Pos1/0/0] ppp chap user rtb # Configure the authentication in CHAP mode. [SwitchB-Pos1/0/0] ppp authentication-mode chap Step 3 Verify the configuration. After the configuration is completed, running the display interface command on every switch, you can see the LCP status is Opened.
Page 45
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration interface Pos1/0/0 link-protocol ppp ppp authentication-mode chap ppp chap user rtb ip address 10.110.0.2 255.255.255.0 local-user rta password simple hello return Issue 02 (2011-07-15) Huawei Proprietary and Confidential...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration HDLC and IP-Trunk Configuration About This Chapter The High-level Data Link Control (HDLC) is a bit-oriented link layer protocol. HDLC features transparent transmission of any type of bit flow. A trunk can aggregate multiple interfaces into an aggregation group to implement load balancing on member interfaces for received and sent packets.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration 3.1 HDLC and IP-Trunk Interface Overview The High-level Data Link Control (HDLC) is a typical bit-oriented synchronization data control protocol. It adopts the full-duplex mode and CRC check. Its transmission control function is independent of the processing function, and thus it features control capabilities and can be flexibly used.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Applicable Environment When you need to enable the bits synchronous transmission using the link layer protocol, you can adopt the HDLC protocol. Pre-configuration Tasks Before configuring the basic HDLC functions, configure the physical attributes of the interface to make the physical status of the interface become Up.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: ip address ip-address { mask | mask-length } [ sub ] The IP address of the interface is configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Procedure Run the display interface [ interface-type [ interface-number ] ] command to check the status, link layer protocol and configuration of the interface. ----End 3.4 Configuring an IP-Trunk Interface...
Page 51
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Procedure In the IP-Trunk Interface View Do as follows on the switchs that need to be configured with an IP-Trunk interface: Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration – The link layer protocol of the interfaces that are added into an IP-Trunk interface must be HDLC. – By default, the link layer protocol of a POS interface is PPP. You need to run the link-protocol hdlc command in the POS interface view to change the link layer protocol to HDLC.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration 3.4.4 (Optional) Configuring the Lower Threshold of Up Links When the number of Up member interfaces of an IP-Trunk is less than the lower threshold, the IP-Trunk goes Down.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Example Run the display interface ip-trunk command. If the physical status, link protocol status, IP address, and load-balancing mode of the IP-Trunk interface are displayed, it means the configuration succeeds.
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration 3.5.1 Clearing the statistics of the HDLC or IP-Trunk interfaces You can run the reset commands to clear interface statistics before recollecting traffic statistics on the interface.
Page 56
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Configuration Roadmap The configuration roadmap is as follows: Configure the link protocol of each interface to HDLC. Configure the IP address of each interface. Data Preparation...
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration 100.1.1.0/24 Direct 0 100.1.1.1 Pos1/0/0 100.1.1.1/32 Direct 0 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 ----End Configuration Files Configuration file of Switch A...
Page 58
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Data Preparation To complete the configuration, you need the following data: Switch A and Switch B are connected through the POS interfaces. IP address of the IP-Trunk interface at Switch A...
Page 59
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration Internet Address is 100.1.1.1/24 Link layer protocol is nonstandard HDLC Physical is IP_TRUNK Last 30 seconds input rate 112 bits/sec, 0 packets/sec Last 30 seconds output rate 64 bits/sec, 0 packets/sec...
Page 60
Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 3 HDLC and IP-Trunk Configuration return Configuration file of Switch B sysname SwitchB interface Ip-Trunk1 ip address 100.1.1.2 255.255.255.0 interface Pos1/0/0 link-protocol hdlc ip-trunk 1 interface Pos2/0/0 link-protocol hdlc ip-trunk 1...