hit counter script
Huawei Quidway S9300 Configuration Manual - Wan Access
Huawei Quidway S9300 Configuration Manual - Wan Access

Huawei Quidway S9300 Configuration Manual - Wan Access

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
V100R006C00
Configuration Guide - WAN Access
Issue
02
Date
2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S9300

  • 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.
  • Page 3: About This Document

    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.
  • Page 4: Command Conventions

    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.
  • Page 5 Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access About This Document Changes in Issue 01 (2011-05-20) Initial commercial release. Issue 02 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 6: Table Of Contents

    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...
  • Page 8: Pos Interface Configuration

    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.
  • Page 9: Overview Of Pos And Cpos Interfaces

    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 10 Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration SONET Transmission Rate (Mbit/s) Electrical Optical Signal Optical Signal Signal STS-36 OC-36 STM-12 1866.240 STS-48 OC-48 STM-16 2488.320 (2.5 Gbit/s) STS-96 OC-96 STM-32 4876.640 STS-192 OC-192 STM-64 9953.280 (10 Gbit/s)
  • 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.
  • Page 12: Pos Interface Features Supported By The S9300

    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.
  • Page 13: Configuring The Link-Layer Protocol On The Pos Interface

    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...
  • Page 14: Configuring Overhead Bytes

    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.
  • Page 15: Configuring Frame Format

    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.
  • Page 16: Configuring The Length Of The Crc Check Character

    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.
  • Page 17: Setting Alarm Thresholds On A 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.
  • Page 18: Checking The Configuration

    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.
  • Page 19: Maintaining Pos Interface Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration (l): loopback (s): spoofing (b): BFD down (e): ETHOAM down (d): DampeningSuppressed InUti/OutUti: input utility/output utility Interface Physical Protocol InUti OutUti inErrors outErrors Pos1/0/0 down down...
  • Page 20: Clearing The Interface Statistics

    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:...
  • Page 22 Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 1 POS Interface Configuration path layer: B3 0 Last 600 seconds input rate 88 bits/sec, 0 packets/sec Last 600 seconds output rate 32 bits/sec, 0 packets/sec Input peak rate 15880 bits/sec,Record time: 2011-01-11 17:11:03...
  • Page 23: Ppp Configuration

    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.
  • Page 24: Ppp Overview

    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.
  • Page 25: Encapsulating The Interface With Ppp

    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.
  • Page 26: Configuring The Timeout Period Of Negotiation

    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.
  • Page 27: Checking The Configuration

    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.
  • Page 28: Configuring Unidirectional Pap

    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...
  • Page 29: Configuring A Local Device To Authenticate Its Peer In Pap Mode

    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:...
  • Page 30: Configuring The Peer To Be Authenticated By The Local Device In Pap Mode

    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.
  • Page 31: Checking The Configuration

    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...
  • Page 32: Configuring Unidirectional Chap

    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.
  • Page 33: Configuring A Local Device With A User Name To Authenticate Its 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.
  • Page 34: Configuring A Local Device Without A User Name To Authenticate Its 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.
  • Page 36: Checking The Configuration

    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 37: Configuration Examples

    Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration 2.6 Configuration Examples This section provides several examples for configuring PPP . These configuration examples explain the networking requirements, configuration roadmap, data preparation, configuration procedure, and configuration files.
  • Page 38 Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration [Quidway] sysname SwitchA [SwitchA] aaa [SwitchA-aaa] local-user rtb password simple quidway [SwitchA-aaa] quit # Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
  • Page 39: Example For Configuring Unidirectional Chap Authentication

    Quidway S9300 Terabit Routing Switch Configuration Guide - WAN Access 2 PPP Configuration Last 600 seconds input rate 65184 bits/sec, 36 packets/sec Last 600 seconds output rate 8 bits/sec, 0 packets/sec Input peak rate 4380776 bits/sec,Record time: 2011-01-11 17:34:39 Output peak rate 1760 bits/sec,Record time: 2011-01-11 17:04:32...
  • 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...
  • Page 42: Example For Configuring Bidirectional Chap Authentication

    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...
  • Page 46: Hdlc And Ip-Trunk Configuration

    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.
  • Page 47: Hdlc And Ip-Trunk Interface Overview

    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.
  • Page 48: Encapsulating An Interface With Hdlc

    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.
  • Page 49: Setting The Polling Interval

    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.
  • Page 50: Configuring An Ip-Trunk Interface

    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.
  • Page 52: Configuring An Ip Address For The Ip-Trunk Interface

    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.
  • Page 53: Optional) Configuring The Lower Threshold Of Up Links

    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.
  • Page 54: Maintaining Hdlc And Ip-Trunk Configuration

    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.
  • Page 55: Clearing The Statistics Of The Hdlc Or Ip-Trunk Interfaces

    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...
  • Page 57: Example For Configuring An Ip-Trunk

    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...

Table of Contents