Professional Documents
Culture Documents
Copyright Huawei Technologies Co., Ltd. 2010. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.
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. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.
Website: Email:
Issue 03 (2010-03-31)
Related Versions
The following table lists the product versions related to this document. Product Name HUAWEI NetEngine80E/40E Router Version V600R001C00
Intended Audience
The intended audience of this document is:
l l l l
Commissioning Engineer Data Configuration Engineer Network Monitoring Engineer System Maintenance Engineer
Organization
This document consists of eight chapters and is organized as follows.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. iii
Chapter 1 Serial Interface Configuration 2 E-Carrier and T-Carrier Interface Configuration 3 POS and CPOS Interface Configuration
Description This chapter describes synchronous serial interfaces. It also describes the configuration steps of serial interface, along with typical examples. This chapter describes E-Carrier and T-Carrier interface related concepts, the configuration steps of various interfaces including CE1, CT1, E3, T3, along with typical examples. This chapter describes Synchronous Digital Hierarchy (SDH), Synchronous Optical Network (SONET), Packet over SONET/SDH (POS), and Channelized POS interface (CPOS interface) related concepts. It also describes the configuration steps of various interfaces including POS, STM-1 CPOS, E1/T1 channels of the CPOS interface, STM-16 CPOS, Channelized POS interface, along with typical examples. This chapter describes Point-to-Point Protocol (PPP) and MultiLink PPP (MP) related concepts including authentication and link operation. This chapter describes frame relay related concepts and configuration steps for frame function, LMI type and MFR, along with typical examples. This chapter describes how to encapsulate an interface with HDLC protocol, IP-Trunk interface and how to set the HDLC parameters and IP-Trunk interface. This chapter describes Asynchronous Transfer Mode (ATM) broadband networking technologies and configuration steps for ATM interface, IPoA application, PVC service mapping, and service type of a PVC, along with typical examples. This chapter describes 1483B technologies and configuration steps for IPoEoA application, along with typical examples. This appendix collates frequently used glossaries in this document. This appendix collates frequently used acronyms and abbreviations in this document.
4 PPP and MP Configuration 5 Frame Relay Configuration 6 HDLC and IP-Trunk Configuration 7 ATM Configuration
Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows.
iv
Issue 03 (2010-03-31)
Symbol
Description Indicates a hazard with a high level of risk, which if not avoided, will result in death or serious injury.
Indicates a hazard with a medium or low level of risk, which if not avoided, could result in minor or moderate injury.
Indicates a potentially hazardous situation, which if not avoided, could result in equipment damage, data loss, performance degradation, or unexpected results. Indicates a tip that may help you solve a problem or save time. Provides additional information to emphasize or supplement important points of the main text.
General Conventions
The general conventions that may be found in this document are defined as follows. Convention Times New Roman Boldface Italic Courier New Description Normal paragraphs are in Times New Roman. Names of files, directories, folders, and users are in boldface. For example, log in as user root. Book titles are in italics. Examples of information displayed on the screen are in Courier New.
Command Conventions
The command conventions that may be found in this document are defined as follows. Convention boldface Italic [] { x | y | ... } Description The keywords of a command line are in boldface. Command arguments are in italic. Items (keywords or arguments) in square brackets [ ] are optional. Alternative items are grouped in braces and separated by vertical bars. One is selected.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. v
Issue 03 (2010-03-31)
Description Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected. Alternative items are grouped in braces and separated by vertical bars. A minimum of one or a maximum of all can be selected. Optional alternative items are grouped in square brackets and separated by vertical bars. Many or none can be selected. This parameter before the & sign can be repeated 1 to n times. A line starting with the # sign is comments.
[ x | y | ... ]*
&<1-n> #
GUI Conventions
The GUI conventions that may be found in this document are defined as follows. Convention Boldface > Description Buttons, menus, parameters, tabs, window, and dialog titles are in boldface. For example, click OK. Multi-level menus are in boldface and separated by the ">" signs. For example, choose File > Create > Folder.
Keyboard Operation
The keyboard operations that may be found in this document are defined as follows. Format Key Key 1+Key 2 Key 1, Key 2 Description Press the key. For example, press Enter and press Tab. Press the keys concurrently. For example, pressing Ctrl+Alt +A means the three keys should be pressed concurrently. Press the keys in turn. For example, pressing Alt, A means the two keys should be pressed in turn.
Mouse Operation
The mouse operations that may be found in this document are defined as follows.
vi
Issue 03 (2010-03-31)
Description Select and release the primary mouse button without moving the pointer. Press the primary mouse button twice continuously and quickly without moving the pointer. Press and hold the primary mouse button and move the pointer to a certain position.
Update History
Updates between document versions are cumulative. Therefore, the latest document version contains all updates made to previous versions.
Issue 03 (2010-03-31)
vii
Contents
Contents
About This Document...................................................................................................................iii 1 Serial Interface Configuration.................................................................................................1-1
1.1 Introduction to the Serial Interface..................................................................................................................1-2 1.1.1 Overview of the Synchronous Serial Interface.......................................................................................1-2 1.1.2 Features of the Synchronous Serial Interface on the NE80E/40E..........................................................1-2 1.2 Configuring the Link Layer Attributes for a Serial Interface..........................................................................1-2 1.2.1 Establishing the Configuration Task......................................................................................................1-3 1.2.2 Configuring Link Layer Protocol Type..................................................................................................1-3 1.2.3 Configuring Hold-Interval of the Link Layer Protocol of the Synchronous Serial Interface................ 1-4 1.2.4 Configuring the MTU.............................................................................................................................1-5 1.2.5 Configuring the Parity Bit......................................................................................................................1-5 1.2.6 Checking the Configuration...................................................................................................................1-6 1.3 Maintaining Serial Interface Configuration.................................................................................................... 1-7 1.3.1 Clearing the Interface Statistics..............................................................................................................1-7
Contents
2.4 Configuring E3 Interfaces.............................................................................................................................2-14 2.4.1 Establishing the Configuration Task....................................................................................................2-15 2.4.2 Creating Synchronous Serial Interface for E3 Interface......................................................................2-15 2.4.3 Checking the Configuration.................................................................................................................2-16 2.5 Configuring CT3 Interfaces..........................................................................................................................2-17 2.5.1 Establishing the Configuration Task....................................................................................................2-17 2.5.2 Creating Synchronous Serial Interface for CT3 Interface....................................................................2-18 2.5.3 Configuring Frame Format of the CT3 Interface.................................................................................2-19 2.5.4 Checking the Configuration.................................................................................................................2-20 2.6 Configuring a T1 Channel of CT3 Interfaces................................................................................................2-21 2.6.1 Establishing the Configuration Task....................................................................................................2-21 2.6.2 Configuring Clock Mode of a T1 Channel...........................................................................................2-22 2.6.3 Configuring Frame Format of a T1 Channel........................................................................................2-22 2.6.4 Checking the Configuration.................................................................................................................2-23 2.7 Maintaining E-Carrier and T-Carrier Interface Configuration......................................................................2-24 2.7.1 Setting Loopback to Detect Whether the Interface Is Normal.............................................................2-24 2.7.2 Clearing the Interface Statistics............................................................................................................2-25 2.8 Configuration Examples................................................................................................................................2-25 2.8.1 Example for Configuring Communication over CE1 Interfaces Bundle.............................................2-25
Contents
3.4.2 Creating Synchronous Serial Interface of E1 Channel.........................................................................3-22 3.4.3 Configuring Frame Format...................................................................................................................3-23 3.4.4 Configuring Clock Mode.....................................................................................................................3-23 3.4.5 Checking the Configuration.................................................................................................................3-24 3.5 Configuring T1 Channels of the CPOS Interface..........................................................................................3-25 3.5.1 Establishing the Configuration Task....................................................................................................3-25 3.5.2 Creating Synchronous Serial Interface of T1 Channel.........................................................................3-26 3.5.3 Configuring Frame Format...................................................................................................................3-26 3.5.4 Configuring Clock Mode.....................................................................................................................3-27 3.5.5 Checking the Configuration.................................................................................................................3-27 3.6 Configuring E3 Channels of an STM-1 CPOS Interface..............................................................................3-28 3.6.1 Establishing the Configuration Task....................................................................................................3-28 3.6.2 Creating Synchronous Serial Interface of E3 Channels.......................................................................3-29 3.6.3 Configuring Clock Mode.....................................................................................................................3-30 3.6.4 Checking the Configuration.................................................................................................................3-30 3.7 Configuring T3 Channels of an STM-1 CPOS Interface..............................................................................3-31 3.7.1 Establishing the Configuration Task....................................................................................................3-31 3.7.2 Creating T3 Channels...........................................................................................................................3-32 3.7.3 Configuring Frame Format...................................................................................................................3-33 3.7.4 Configuring Clock Mode.....................................................................................................................3-33 3.7.5 Checking the Configuration.................................................................................................................3-34 3.8 Maintaining POS and CPOS Interface Configuration...................................................................................3-35 3.8.1 Configuring the Self-loop to Detect Whether the Interface Is Normal................................................3-35 3.8.2 Clearing the Interface Statistics............................................................................................................3-36 3.9 Configuration Examples ...............................................................................................................................3-37 3.9.1 Example for Directly Connecting Devices Through POS Interfaces...................................................3-37 3.9.2 Example for Connecting Devices with POS Interfaces Through FR Network....................................3-39 3.9.3 Example for Configuring an STM-1 CPOS Interface..........................................................................3-42
Contents
4.4 Configuring Unidirectional CHAP..................................................................................................................4-9 4.4.1 Establishing the Configuration Task......................................................................................................4-9 4.4.2 Configuring a Local Device with a User Name to Authenticate Its Peer in CHAP Mode..................4-10 4.4.3 Configuring a Local Device Without a User Name to Authenticate Its Peer in CHAP Mode............4-11 4.4.4 Checking the Configuration.................................................................................................................4-13 4.5 Configuring PPP Optional Parameters..........................................................................................................4-14 4.5.1 Establishing the Configuration Task....................................................................................................4-14 4.5.2 Configuring the Callback Function......................................................................................................4-15 4.5.3 Configuring Packet or Packet Header Compression............................................................................4-16 4.5.4 Configuring the Timeout Period of Negotiation..................................................................................4-17 4.5.5 Configuring the Polling Interval..........................................................................................................4-17 4.5.6 Configuring DNS Server Address Negotiation....................................................................................4-17 4.5.7 Configuring the PPP Link Quality Detection.......................................................................................4-18 4.5.8 Preventing the Peer Host Route from Being Added to the Local Routing Table of Direct Routes.....4-19 4.5.9 Checking the Configuration.................................................................................................................4-19 4.6 Configuring MP Binding Using an MP-Group.............................................................................................4-21 4.6.1 Establishing the Configuration Task....................................................................................................4-21 4.6.2 Adding an Interface to an MP-Group...................................................................................................4-22 4.6.3 Disabling the Endpoint Discriminator Negotiation..............................................................................4-23 4.6.4 Checking the Configuration.................................................................................................................4-24 4.7 Configuring MP Limiting Parameters...........................................................................................................4-25 4.7.1 Establishing the Configuration Task....................................................................................................4-26 4.7.2 Configuring the MRRU of an MP Group.............................................................................................4-26 4.7.3 Configuring the Damping Function for MP Subchannels....................................................................4-27 4.7.4 Configuring the Minimum Number of Subchannels in the Up State in an MP Link...........................4-28 4.7.5 Checking the Configuration.................................................................................................................4-28 4.8 Configuring MP Fragmentation....................................................................................................................4-29 4.8.1 Establishing the Configuration Task....................................................................................................4-29 4.8.2 Configuring the MP Fragment Function..............................................................................................4-29 4.8.3 Checking the Configuration.................................................................................................................4-30 4.9 Maintaining PPP and MP Configuration.......................................................................................................4-30 4.10 Configuration Examples..............................................................................................................................4-31 4.10.1 Example for Configuring PAP Authentication..................................................................................4-32 4.10.2 Example for Configuring Unidirectional CHAP Authentication.......................................................4-34 4.10.3 Example for Configuring Bidirectional CHAP Authentication.........................................................4-37 4.10.4 Example for Binding MPs into an MP-group....................................................................................4-39
Contents
5.2.2 Configuring Basic FR Functions............................................................................................................5-3 5.2.3 Checking the Configuration...................................................................................................................5-5 5.3 Configuring FR LMI Type and Related Parameters.......................................................................................5-5 5.3.1 Establishing the Configuration Task......................................................................................................5-5 5.3.2 Configuring FR LMI and Related Parameters of DTE..........................................................................5-6 5.3.3 Configuring FR LMI and Related Parameters of DCE..........................................................................5-7 5.3.4 Checking the Configuration...................................................................................................................5-7 5.4 Maintaining Frame Relay Configuration........................................................................................................5-8 5.4.1 Clearing the Statistics of FR and Dynamic Address Mapping Entries..................................................5-8 5.4.2 Debugging FR........................................................................................................................................5-8 5.5 Configuration Examples..................................................................................................................................5-9 5.5.1 Example for Connecting Devices with POS Interfaces Through FR Network......................................5-9
7 ATM Configuration...................................................................................................................7-1
7.1 Introduction to ATM.......................................................................................................................................7-2 7.1.1 ATM Overview......................................................................................................................................7-2 Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. xiii
Contents
HUAWEI NetEngine80E/40E Router Configuration Guide - WAN Access 7.1.2 Features of ATM Supported by the NE80E/40E...................................................................................7-2
7.2 Configuring Parameters for an ATM OC-3/STM-1 Interface or an ATM OC-12/STM-4 Interface..............7-3 7.2.1 Establishing the Configuration Task......................................................................................................7-3 7.2.2 Configuring the Clock Mode..................................................................................................................7-4 7.2.3 Configuring the Frame Format...............................................................................................................7-5 7.2.4 Configuring the Overhead Byte.............................................................................................................7-5 7.2.5 Configuring the MTU.............................................................................................................................7-6 7.2.6 Configuring the Scrambling...................................................................................................................7-7 7.2.7 Configuring the Interval of Flow Statistics............................................................................................7-8 7.2.8 Checking the Configuration...................................................................................................................7-9 7.3 Configuring ATM Services on a Serial Interface..........................................................................................7-10 7.3.1 Establishing the Configuration Task....................................................................................................7-10 7.3.2 Configuring the ATM Protocol on a Serial Interface...........................................................................7-11 7.3.3 (Optional) Configuring the ATM Interface Type for a Serial Interface...............................................7-12 7.3.4 Creating a PVC on a Serial Interface................................................................................................... 7-12 7.3.5 Creating a PVP on a Serial Interface....................................................................................................7-13 7.3.6 Checking the Configuration.................................................................................................................7-14 7.4 Configuring IMA Groups..............................................................................................................................7-14 7.4.1 Establishing the Configuration Task....................................................................................................7-15 7.4.2 Creating an IMA Group....................................................................................................................... 7-15 7.4.3 Setting the Number of the Cells Contained in an IMA Frame.............................................................7-16 7.4.4 Configuring Bandwidth for an IMA Group......................................................................................... 7-16 7.4.5 Setting the Maximum Link Differential Delay for the IMA Group.....................................................7-17 7.4.6 Adding an Interface to an IMA Group.................................................................................................7-17 7.4.7 (Optional) Configuring the ATM Interface Type for an IMA Group..................................................7-18 7.4.8 Creating a PVC for an IMA Group......................................................................................................7-19 7.4.9 Creating a PVP for an IMA Group.......................................................................................................7-20 7.4.10 Checking the Configuration...............................................................................................................7-20 7.5 Configuring the IPoA Application................................................................................................................7-21 7.5.1 Establishing the Configuration Task....................................................................................................7-21 7.5.2 Configuring IPoA Mapping on a PVC.................................................................................................7-22 7.5.3 Checking the Configuration.................................................................................................................7-23 7.6 Configuring the Service Type and Optional Parameters of a PVC...............................................................7-25 7.6.1 Establishing the Configuration Task....................................................................................................7-25 7.6.2 Configuring the Service Type of a PVC.............................................................................................. 7-26 7.6.3 Configuring the Service Type of a PVP...............................................................................................7-27 7.6.4 (Optional) Configure the Overload Bandwidth Value of an ATM Interface.......................................7-28 7.6.5 Checking the Configuration.................................................................................................................7-28 7.7 Configuring ATM OAM...............................................................................................................................7-30 7.7.1 Establishing the Configuration Task....................................................................................................7-30 7.7.2 (Optional) Activating the CC Function................................................................................................7-31 7.7.3 (Optional) Configuring OAM End-to-End Loopback..........................................................................7-32 xiv Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Contents
7.7.4 (Optional) Configuring the Cell Loopback..........................................................................................7-33 7.7.5 Checking the Configuration.................................................................................................................7-34 7.8 Maintaining ATM Configuration..................................................................................................................7-35 7.8.1 Setting Loopback to Detect Whether an Interface Is Normal..............................................................7-35 7.8.2 Clearing the ATM Interface Statistics..................................................................................................7-36 7.8.3 Debugging ATM..................................................................................................................................7-36 7.9 Configuration Examples................................................................................................................................7-37 7.9.1 Example for Configuring IPoA............................................................................................................7-37 7.9.2 Example for Configuring ATM OAM.................................................................................................7-40 7.9.3 Example for Configuring IMAoPSN...................................................................................................7-44
8 1483B Configuration..................................................................................................................8-1
8.1 Introduction of 1483B.....................................................................................................................................8-2 8.1.1 1483B Overview....................................................................................................................................8-2 8.2 Configuring IPoEoA Services.........................................................................................................................8-3 8.2.1 Establishing the Configuration Task......................................................................................................8-3 8.2.2 Creating a VE Interface..........................................................................................................................8-3 8.2.3 Configuring IPoEoA Application Mapping on a PVC...........................................................................8-4 8.2.4 Configuring Services on the VE Interface.............................................................................................8-5 8.2.5 Checking the Configuration...................................................................................................................8-5 8.3 Configuration Examples..................................................................................................................................8-6 8.3.1 Example for Configuring a Routing VE Interface to Work as an IPoEoA Gateway.............................8-7 8.3.2 Example for Configuring ATM Bridged Ethernet.................................................................................8-9 8.3.3 Example for Configuring a VLANIF Interface to Work as an IPoEoA Gateway...............................8-11
Issue 03 (2010-03-31)
xv
Figures
Figures
Figure 2-1 Schematic diagram of CE1 interface configuration..........................................................................2-25 Figure 3-1 STM-N frame structure......................................................................................................................3-4 Figure 3-2 Process of multiplexing E1 to STM-1................................................................................................3-5 Figure 3-3 Process of multiplexing T1 to STM-1................................................................................................3-5 Figure 3-4 Sequence of arrangement of TUG-3, TUG-2 and TU-12 in VC-4.....................................................3-6 Figure 3-5 Networking diagram of connecting devices directly through POS interfaces..................................3-37 Figure 3-6 Networking diagram of connecting routers using the POS interface through FR network..............3-40 Figure 3-7 Networking diagram of an STM-1 CPOS interface.........................................................................3-42 Figure 4-1 Networking diagram of PAP authentication.....................................................................................4-32 Figure 4-2 Networking diagram of unidirectional CHAP authentication..........................................................4-34 Figure 4-3 Networking diagram of bidirectional CHAP authentication............................................................4-37 Figure 4-4 Networking diagram of the MP-group binding................................................................................4-39 Figure 5-1 Networking diagram of connecting routers using the POS interface through FR network................5-9 Figure 6-1 Networking diagram of the HDLC functions...................................................................................6-14 Figure 6-2 Networking diagram of the HDLC basic function...........................................................................6-16 Figure 6-3 Configuring an IP-Trunk..................................................................................................................6-18 Figure 7-1 Networking diagram for IPoA configuration...................................................................................7-38 Figure 7-2 Networking diagram for ATM OAM configuration.........................................................................7-41 Figure 7-3 Networking diagram of IMAoPSN configurations..........................................................................7-45 Figure 8-1 Stack protocol of 1483B.....................................................................................................................8-2 Figure 8-2 Networking diagram of IPoEoA configuration..................................................................................8-7 Figure 8-3 Networking diagram of ATM bridged Ethernet.................................................................................8-9 Figure 8-4 Networking diagram of IPoEoA configuration................................................................................8-12
Issue 03 (2010-03-31)
xvii
Tables
Tables
Table 1-1 Index modes of the synchronous serial interface.................................................................................1-2 Table 3-1 Relationship between common transmission rates of SONET and SDH............................................3-2 Table 3-2 Link layer conditions of the E1/T1/E3/T3 supported by the NE80E/40E...........................................3-8 Table 3-3 Working modes of the E1/T1/E3/T3 channels supported by the NE80E/40E.....................................3-9
Issue 03 (2010-03-31)
xix
1
About This Chapter
This chapter describes the physical attributes and configuration procedures of synchronous serial interfaces. 1.1 Introduction to the Serial Interface Describes the basic concepts and features of serial interfaces supported by the NE80E/40E. 1.2 Configuring the Link Layer Attributes for a Serial Interface Describes how to configure link layer attributes for a serial interface. 1.3 Maintaining Serial Interface Configuration Describes how to maintain serial interfaces.
Issue 03 (2010-03-31)
1-1
The MTU of a serial interface affects the assembling and disassembling of IP packets on the interface. 1.2.5 Configuring the Parity Bit 1.2.6 Checking the Configuration
Pre-configuration Tasks
Before configuring link layer attributes for a serial interface, complete the following tasks:
l l
Powering on and starting the router normally Connecting the serial interface, configuring physical parameters for the interface, and ensuring that the physical layer of the interface is Up
Data Preparation
To configure link layer attributes for a serial interface, you need the following data. No. 1 2 3 4 5 Data Number of the synchronous serial interface on the router Link layer protocol type of the interface Hold-interval of the link layer protocol MTU of the interface Check bit of CRC of the interface
Procedure
Step 1 Run:
system-view
The type of link layer protocols is configured on the interface. By default, PPP is adopted as the link layer protocol.
NOTE
The link layer protocol can be configured as ATM or TDM only on CE1 interfaces and synchronization serial interfaces channelized from CPOS interfaces. You can create a PW tunnel on an interface with the link layer protocol being TDM. For specific configurations, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN.
NOTE
The link layer protocol can be configured as ATM or TDM only on CE1 interfaces and synchronization serial interfaces channelized from CPOS interfaces. You can create a PW tunnel on an interface with the link layer protocol being TDM. For specific configurations, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. A synchronous serial interface formed by E3 and CT3 interfaces supports only PPP and HDLC as link layer protocols.
----End
1.2.3 Configuring Hold-Interval of the Link Layer Protocol of the Synchronous Serial Interface
Context
Do as follows on the routers:
Procedure
Step 1 Run:
system-view
1-4
Issue 03 (2010-03-31)
The hold-interval of the link layer protocol is configured. Both ends of a link send detection packets to each other to detect and maintain the connectivity of the link. By default, the hold-interval of the link layer protocol is 10 seconds. If the hold-interval is configured as 0, it means that the detection packets are no longer sent or detected. ----End
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
The CRC check word length of the synchronous serial interface is configured.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 1-5
When configuring the check word length of CRC on a synchronous serial interface, ensure that the configurations on the devices at both ends are consistent. By default, the length of a CRC check word is 32 bits. ----End
----End
Example
Run the following commands to check the previous configuration. Action Check the status and statistics of a serial interface. Check the brief information about a serial interface. Check the network layer configuration of a serial interface. Command display interface serial [ interface-number ] [ | { begin | exclude | include } regular-expression ] display interface brief [ | { begin | include | exclude } regular-expression ] display ip interface brief serial interface-number
Run the display interface serial command. You can view the status and statistics of the serial interface. For example:
<HUAWEI> display interface serial 1/0/0/1:0 Serial1/0/0/1:0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description: Serial1/0/0/1:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from Cpos1/0/0 t1 1, Timeslot(s) Used: 0-23, baudrate is 1536000 bps Internet Address is 10.1.1.1/24 Link layer protocol is PPP LCP opened, IPCP opened Physical layer is Packet Over ESF clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-20 15:55:04 Traffic statistics: Last 300 seconds input rate 16 bits/sec, 0 packets/sec Last 300 seconds output rate 16 bits/sec, 0 packets/sec
1-6
Issue 03 (2010-03-31)
Input: 33 packets, 426 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 30 packets, 372 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display interface brief [ | { begin | include | exclude } regular-expression ] command. You can view the brief information, including the physical status of the serial interface, status of the link protocol, bandwidth utilization, and the number of errored packets. For example:
<HUAWEI> display interface brief | include Serial PHY: Physical *down: administratively down ^down: standby (l): loopback (s): spoofing (b): BFD down (e): EFM down (d): Dampening Suppressed InUti/OutUti: input utility/output utility Interface PHY Protocol InUti OutUti outErrors Serial1/0/0:0 up down 0.01% 0%
inErrors 599493799 0
Run the display ip interface brief command. You can view the IP configuration of the interface. For example:
<HUAWEI> display ip interface brief serial 1/0/0:0 *down: administratively down !down: FIB overload down (l): loopback (s): spoofing The number of interface that is UP in Physical is 2 The number of interface that is DOWN in Physical is 1 The number of interface that is UP in Protocol is 2 The number of interface that is DOWN in Protocol is 1 Interface Aux0/0/1 GigabitEthernet0/0/0 Serial1/0/0:0 IP Address/Mask unassigned 1.1.1.2/24 10.1.1.1/24 Physical *down up up Protocol down up up
CAUTION
The statistics cannot be restored after you clear it. So, confirm the action before you use the command. To clear the interface statistics in the Network Management System (NMS) or those displayed by running the display interface command, run the following commands in the user view.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 1-7
For the display of interface statistics in the NMS, refer to related NMS manuals.
Procedure
l l Run the reset counters interface [ serial [ interface-number ] ] command to clear the interface statistics displayed by running the display interface command. Run the reset counters if-mib interface [ serial [ interface-number ] ] command to clear the interface statistics in the NMS.
----End
1-8
Issue 03 (2010-03-31)
Issue 03 (2010-03-31)
2-1
European 30-channel PCM is called E1. 30 channels indicate that E1 has 32 timeslots, in which 30 timeslots are used to transmit data. Timeslot 0 is used to transmit frame synchronization and warning signals. Timeslot 15 is used to transmit control signaling. The rate of E1 is 2.048 Mbit/s. E1 supported by the NE80E/40E is 31-channel PCM. Timeslot 15 also transmits data. The 24-channel PCM of North America is called T1. 24 channels indicate that T1 has 24 timeslots that can be used to transmit data. The rate of T1 is 1.544 Mbit/s.
E-carrier is a digital communication system recommended by International Telecommunication Union-Telecommunication Standardization Sector (ITU-T). It starts from E1 and has been applied in regions except North America. The American National Standards Institute (ANSI) set up the T-carrier system standard in the T1.107 Specification. The standard starts from T1 and has been widely applied in North American region. Similar to T1, Japan's J1 also belongs to the T-carrier system standard. The primary features of T-carrier and E-carrier are mostly the same although they differ in details of the protocols used by them.
Channelized: In framed mode, all timeslots except the frame header in data stream can be allocated to different channels. Unchannelized: In framed mode, all timeslots except the frame header in data stream are allocated to only one channel and are bound only once.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
2-2
Clear Channel: It is also called the unframed mode. That is, there is no frame flag in the data stream, and all bits are data bits and belong to the same channel.
In clear channelized mode, also called the unframed mode, the CE1 interface functions like an interface with no divided timeslot and the data bandwidth of 2.048 Mbit/s. It has the same logical features as a synchronous serial interface, supporting network protocols such as IP, link layer protocols such as PPP, HDLC and MP binding. In channelized mode, also called the framed mode, the CE1 interface is physically divided into 32 timeslots numbered from 0 to 31, which can be freely bound into a logical channel of N x 64 kbit/s. Each bound channel-set of timeslots is used as an interface with the same logical features as a synchronous serial interface, supporting network protocols such as IP, link layer protocols such as PPP, HDLC, ATM, TDM and MP binding.
In clear channelized mode, also called the unframed mode, the CT1 interface functions like an interface with no divided timeslot and the data bandwidth of 1.544 Mbit/s. The interface has the same logical features as a synchronous serial interface, supporting network protocols such as IP, link layer protocols such as PPP, HDLC and MP binding. In channelized mode, also called the framed mode, the CT1 interface is physically divided into 24 timeslots numbered from 0 to 23, which can be freely bound into a logical channel of N x 64 kbit/s. When being used as CT1 mode, all timeslots can be freely divided into several channelsets. Each bound channel-set of timeslots is used as an interface with the same logical features as a synchronous serial interface, supporting network protocols such as IP, link layer protocols such as PPP, HDLC and MP binding.
Introduction to E3 Interfaces
An E3 interface has two working modes:
l
In clear channelized mode, also called the unframed mode, the E3 interface functions like an interface with no divided timeslot and the data bandwidth of 34.368 Mbit/s. When the E3 interface works in unchannelized mode, a type of the framed mode, data is transmitted in the channel in the form of frames. All timeslots are bound to form a channel that functions as an interface with the data bandwidth of 33.831 M without timeslot division. The logical feature of the channel is the same as that of a synchronous serial interface.
An E3 interface supports network protocols such as IP and link layer protocols such as PPP and HDLC.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-3
In clear channelized mode, also called the unframed mode, the CT3 interface functions like an interface with no divided timeslot and the data bandwidth of 44.736 Mbit/s. When the CT3 interface works in unchannelized mode, one type of the framed mode, data is transmitted in the channel in the form of frames. All timeslots are bound to form a channel that functions as an interface with the data bandwidth of 44.210 M without timeslot division. The logical feature of the channel is the same as that of a synchronous serial interface. When working in channelized mode, the other type of the framed mode, a CT3 interface can multiplex or demultiplex 28 T1 signals. Each T1 can be configured separately. Each serial interface can function as an interface whose logical feature is the same as that of a synchronous serial interface.
A CT3 interface supports network protocols such as IP and link layer protocols such as PPP and HDLC.
2.2.4 Configuring Clock Mode of CE1 Interface 2.2.5 Configuring Frame Format of the CE1 Interface 2.2.6 Checking the Configuration
CAUTION
l
When a physical interface is not installed with any cable, run the shutdown command to disable this interface to avoid interference. After configuring the interface service, run the shutdown and undo shutdown commands in the current interface view to ensure that the configured service is loaded to the interface successfully. Disabling the CE1 interface may affect the normal operation of its channel-set.
Pre-configuration Tasks
Before configuring CE1 interfaces, complete the following task:
l
Data Preparation
To configure CE1 interfaces, you need the following data. No. 1 2 3 Data CE1 interface number of the router Number of the channel into which the timeslots of the CE1 interface are bound Number or range of the timeslot bound into a channel set
When the CE1 interface works in clear channel mode, a synchronous serial interface can be configured for the CE1 interface. The synchronous serial interface transmits data in the speed of 2.048 Mbit/s, without timeslot division.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-5
Issue 03 (2010-03-31)
When the CE1 interface works in channelized mode, timeslots 1 to 31 of the CE1 interface can be randomly bound together to function as one or multiple logical channels, that is, synchronous serial interfaces, with the rate of each interface calculated as N x 64 kbit/s. N stands for the number of timeslots.
NOTE
Procedure
l Create the synchronous serial interface in clear channel mode. 1. Run:
system-view
The CE1 interface is configured to the clear channel mode, and then a synchronous serial interface is configured for the CE1 interface. The synchronous serial interface transmits data in the speed of 2.048 Mbit/s, without timeslot division. You can run the interface serial controller-number: 0 command to access the synchronous serial interface. l Create the synchronous serial interface in channelized mode. 1. Run:
system-view
The timeslots of the CE1 interface are bound together to function as a synchronous serial interface with the rate as N x 64 kbit/s. N stands for the number of bound timeslots. You can run the interface serial controller-number: set-number command to access the synchronous serial interface.
To change an interface from the CE1 mode to the E1 mode, you need delete all configurations in CE1 mode and all synchronous serial interfaces, and then run the using e1 command.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
2-6
To change an interface from the E1 mode to the CE1 mode, you need delete all the configurations in E1 mode and all the configurations of synchronous serial interfaces, but need not delete these interfaces. Then you can run the using ce1 orundo using command.
In channelized mode, timeslot 0 alone can be bound to form a serial interface; timeslots 0 to 31 can also be randomly bound to form one or multiple serial interfaces. In this case, timeslot 0 needs to be specified in the command as the parameter ts0. Timeslot 0 is used to transmit frame synchronization and alarm information. After timeslot 0 is bound to form a serial interface, frame synchronization and alarm information can be transparently transmitted between the client and the server through the serial interface. ----End
AMI format: Alternate Mark Inversion HDB3 format: High Density Bipolar of Order 3
Procedure
Step 1 Run:
system-view
The coding or decoding format of the CE1 interface is configured. By default,a CE1 interface works in HDB3 coding or decoding format. ----End
Master clock mode: uses internal clock signals. Slave clock mode: uses line clock signals.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-7
Issue 03 (2010-03-31)
When CE1 interfaces of two routers are connected directly, configure one interface to work in master clock mode and the other interface in slave clock mode. When the CE1 interface of a router is connected with a transmission device, configure this interface to work in slave clock mode and use the clock signals provided by the transmission device. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
When being used as a synchronous serial interface, the CE1 interface also has two working modes: DTE and DCE. In this case, you need to choose the clock mode.
Procedure
Step 1 Run:
system-view
----End
----End
Example
Run the display interface serial command. You can view the configuration of the channel-set and status of the CE1 interface.
<HUAWEI> display interface serial 1/0/0:2 Serial1/0/0:2 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description : Serial1/0/0:2 Interface Route Port, The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from E1 1/0/0, Timeslot(s) Used: 31, baudrate is 64000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-20 15:55:04 Traffic statistics: Last 300 seconds input rate 16 bits/sec, 0 packets/sec Last 300 seconds output rate 16 bits/sec, 0 packets/sec Input: 33 packets, 426 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 30 packets, 372 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display controller e1 command. You can view the configuration and status information of the CE1 interface.
<HUAWEI> display controller e1 1/0/0 E1 1/0/0 current state : DOWN Description : E1 1/0/0 Interface Physical layer is Packet Over NO-CRC4 clock master, linecode hdb3 , loopback none section layer: alarm: LOS line layer: alarm: none path layer: alarm: none
Issue 03 (2010-03-31)
2-9
CAUTION
l
When a physical interface is not installed with any cable, run the shutdown command to disable this interface to avoid interference. After configuring the interface service, run the shutdown and the undo shutdowncommands in the current interface view to ensure that the configured service is loaded to the interface successfully. Disabling the CT1 interface may affect the normal operation of its channel-set.
Pre-configuration Tasks
Before configuring CT1 interfaces, complete the following task:
l
Data Preparation
To configure a CT1 interface, you need the following data. No. 1 2 3 Data CT1 interface number of the router Number of the channel into which the timeslots of the CT1 interface timeslot are bound Number or range of the timeslot bound into a channel-set
2-10
Issue 03 (2010-03-31)
When the CT1 interface works in clear channel mode, a synchronous serial interface can be configured on the CT1 interface. The synchronous serial interface transmits data in the speed of 1.544 Mbit/s, without timeslot division. When the CT1 interface works in channelized mode, timeslots 0 to 23 of the CT1 interface can be randomly bound together to function as one or several logical channels, that is, synchronous serial interfaces, with the rate of each interface calculated as N x 64 kbit/s. N stands for the number of timeslots.
Procedure
l Create the synchronous serial interface in clear channel mode. 1. Run:
system-view
The CT1 interface is configured to the clear channel mode, and then a synchronous serial interface is configured for the CT1 interface. The synchronous serial interface transmits data in the speed of 1.544Mbit/s, without timeslot division. You can run the interface serial controller-number:0 command to access the synchronous serial interface. l Create the synchronous serial interface in channelized mode. 1. Run:
system-view
The timeslots of the CT1 interface are bound together to function as a synchronous serial interface with the rate as N x 64 kbit/s. N stands for the number of bound timeslots.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-11
You can run the interface serial controller-number:set-number command to access the synchronous serial interface.
To change an interface from the CT1 mode to the T1 mode, you need delete all configurations in CT1 mode and all synchronous serial interfaces, and then run the using t1 command. To change an interface from the T1 mode to the CT1 mode, you need delete all the configurations in T1 mode and all the configurations of synchronous serial interfaces, but need not delete these interfaces. Then you can run the using t1 command.
----End
Procedure
Step 1 Run:
system-view
The coding or decoding format of the CT1 interface is configured. By default, b8zs is used on CT1 interface. ----End
Master clock mode: uses internal clock signals. Slave clock mode: uses line clock signals.
When a CT1 interface is used as the DCE device, configure the CT1 interface to work in master clock mode. Configure the CT1 interface to work in slave clock mode when it is used as the
2-12 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
DTE device. When CT1 interfaces of two routers are connected directly, configure one interface to work in master clock mode and the other interface in slave clock mode. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Frame format of the CT1 interface is configured. By default, the frame format of the CT1 interface is ESF. ----End
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-13
----End
Example
Run the display interface serial command. You can view the information about the channelset configuration and interface status.
<HUAWEI> display interface serial 1/0/0:2 Serial1/0/0:2 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description : Serial1/0/0:2 Interface Route Port,The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec) Derived from T1 1/0/0, Timeslot(s) Used: 3-10, baudrate is 512000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened Physical layer is Channelized T1 clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-20 15:55:04 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 30 packets, 372 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display controller t1 command. You can view the information about the coding format, frame format and clock mode of the CT1 interface.
<HUAWEI> display controller t1 1/0/0 T1 1/0/0 current state : Administratively DOWN Description : T1 1/0/0 Interface clock master, no loopback linecode b8zs, frame-format ESF alarm:None,workmode:CT1
CAUTION
l
When a physical interface is not installed with any cable, run the shutdown command to disable this interface to avoid interference. After configuring the interface service, run the shutdown and the undo shutdown commands in current interface view to ensure that the configured service is loaded to the interface successfully. Disabling or enabling a E3 interface is valid on the CE3 channel and the serial interface formed by the E3 interface.
Pre-configuration Tasks
Before configuring E3 interfaces, complete the following task:
l
Data Preparation
To configure E3 interfaces, you need the following data. No. 1 Data E3 interface number of the router
Clear channel mode (also known as E3 mode) When a E3 interface is configured to work in clear channel mode, a synchronous serial interface that operates at 34.368 Mbit/s is generated and named serial slot/card/port/0:0.
Unchannelized mode (also known as CE3 mode) When a E3 interface is configured to work in unchannelized mode, a framed E3 channel must be manually created to form a synchronous serial interface named serial slot/card/ port/0:0.
Procedure
l Configure a E3 interface to work in clear channel mode. 1. Run:
system-view
The E3 interface is configured to work in clear channel mode. l Configure a E3 interface to work in unchannelized mode. 1. Run:
system-view
A framed E3 channel is created. Then a synchronous serial interface is generated and named serial slot/card/port/0:0. ----End
Example
Run the display controller e3 command. You can view the clock mode and frame format of the E3 interface.
<HUAWEI> display controller e3 6/0/0 E3 6/0/0 current state : UP Description : E3 6/0/0 Interface Physical layer is Packet Over G.751, clock master, loopback local section layer:
2-16
Issue 03 (2010-03-31)
CAUTION
l
When a physical interface is not installed with any cable, run the shutdown command to disable this interface to avoid interference. After configuring the interface service, run the shutdown and undo shutdown commands in the current interface view to ensure that the configured service is loaded to the interface successfully. Disabling or enabling a CT3 interface is valid on the serial interface formed by the CT3 channel, the T1 channel demultiplexed by the CT3 channel, and the serial interface formed by binding the CT3 channel.
Pre-configuration Tasks
Before configuring CT3 interfaces, complete the following task:
l
Data Preparation
To configure a CT3 interface, you need the following data. No. 1 Data CT3 interface number of the router
Issue 03 (2010-03-31)
2-17
Unframed mode (also known as clear channel mode or T3 mode) When a CT3 interface is configured to work in clear channel mode, a synchronous serial interface that operates at 44.736 Mbit/s is generated and named serial slot/card/port/0:0.
Framed mode (also known as CT3 mode) including unchannelized mode and channelized mode
When a CT3 interface works in unchannelized mode, a framed T3 channel must be manually created to form a synchronous serial interface for data transmission. When working in channelized mode, a CT3 interface is demultiplexed into 28 T1 channels that operate at 1.544 Mbit/s. These T1 channels can be configured separately.
When a T1 channel works in clear channel mode, the T1 channel without timeslot division forms a 1.544 Mbit/s serial interface. When a T1 channel works in channelized mode, timeslots 0 to 23 of a T1 channel can be randomly bound to form a serial interface. The default rate of the channelset that is formed by binding T1 timeslots is N x 64 kbit/s (N represents the number of timeslots that are bound).
Procedure
l Configure a CT3 interface to work in clear channel mode. 1. Run:
system-view
The CT3 interface is configured to work in clear channel mode. Then a synchronous serial interface can be configured for the CT3 interface. The synchronous serial interface transmits data in the speed of 44.736 Mbit/s, without timeslot division. You can run the interface serial controller-number:0 command to access the synchronous serial interface. l Configure a CT3 interface to work in unchannelized mode. 1. Run:
system-view
2.
Run:
controller t3 controller-number
A framed T3 channel is created. Then a synchronous serial interface can be configured for the CT3 interface. You can run the interface serial controller-number:0 command to access the synchronous serial interface. l Configure a CT3 interface to work in channelized mode. 1. Run:
system-view
The CT3 interface is configured to work in framed mode. 4. Run either of the following commands to create the synchronous serial interface of the T1 channel.
Run the t1 t1-number unframed command to create the synchronous serial interface with the rate as 1.544 Mbit/s. You can run the interface serial controller-number/t1-number:0 command to access the synchronous serial interface.
Run the t1 t1-number channel-set set-number timeslot-list slot-list command to bind N timeslots of the T1 channel of the CT3 interface together to create a synchronous serial interface with the rate as N x 64kbit/s. You can run the interface serial controller-number/t1-number:set-number command to access the synchronous serial interface.
----End
Context
l
C-bit is also called the C-bit parity check. When C-bit is set, the stuffing indication bit can be used for maintenance.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-19
Issue 03 (2010-03-31)
M23 is the multiplexing process from DS-2 to DS-3. Four T1s (DS-1) are multiplexed as a DS-2 line through M12. Seven DS-2 lines are multiplexed as T3 (DS-3) through M23.
Procedure
Step 1 Run:
system-view
----End
Example
Run the display controller t3 command. You can view the clock mode and frame format of the CT3 interface.
<HUAWEI> display controller t3 1/0/0 T3 1/0/0 current state : Administratively DOWN Description : T3 1/0/0 Interface Physical layer is Packet Over C-Bit, clock master, loopback none section layer: alarm: OOF LOF line layer: alarm: none path layer: alarm: none
Run the display interface serial command. You can view the status of the serial interface.
<HUAWEI> display interface serial 1/0/0/0:0 Serial1/0/0/0:0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description:Serial1/0/0/0:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from T3 1/0/0, Unchannelized mode, baudrate is 44210000 bps Internet protocol processing : disabled Link layer protocol is PPP
2-20
Issue 03 (2010-03-31)
LCP opened clock slave, loopback none CRC: CRC-16 Scramble disabled Statistics last cleared:2008-08-27 16:42:19 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Pre-configuration Tasks
Before configuring a T1 channel on the CT3 interface, complete the following tasks:
l l l
Powering on the router and starting it normally Connecting the CT3 interface and configuring physical attributes for the CT3 interface Connecting the CT3 interface to work in the channelized mode
Data Preparation
To configure a T1 channel of the CT3 interface, you need the following data. No. 1 2 3 Data CT3 interface number of the router T1 channel number Timeslot number, timeslot range, or number of the channel of the T1 interface
Issue 03 (2010-03-31)
2-21
Master clock mode: uses internal clock signals. Slave clock mode: uses line clock signals.
The selection of the clock mode depends on the connected peer device. When a T1 interface is connected to a transmission device, configure the T1 interface to work in slave clock mode. If the CT3 interfaces of two routers are directly connected, configure one interface to work in master clock mode and the other interface in slave clock mode. By default, the CT3 interface works in master clock mode. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Step 2 Run:
controller t3 controller-number
----End
Example
Run the display controller t3 command. You can view the clock mode and frame format of the CT3 interface.
<HUAWEI> display controller t3 1/0/0 T3 1/0/0 current state : DOWN Description : T3 1/0/0 Interface Physical layer is Packet Over C-Bit, clock slave, loopback none section layer: alarm: none line layer: alarm: none path layer: alarm: none
Run the display interface serial command. You can view the status of the serial interface.
<HUAWEI> display interface serial 1/0/0/1:0 Serial1/0/0/1:0 current state : DOWN Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description:Serial1/0/0/1:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from T3 1/1/0 t1 1, Timeslot(s) Used: 0-23, baudrate is 1536000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened Physical layer is Packet Over ESF clock master, loopback none CRC: CRC-16 Scramble disabled Alarm: None Statistics last cleared:2008-08-27 16:50:02 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
Issue 03 (2010-03-31)
2-23
Output: 0 packets, 0 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
CAUTION
After you configure the self-loop (run the loopback command), the interface on a router or the link cannot run normally. Thus, you must check whether to set the self-loop. After the detection, run the undo loopback command to disable the self-loop. Do as follows on the routers to be detected:
Procedure
Step 1 Run:
system-view
The view of the interface to be detected is displayed. Step 3 According to the interface type, choose one of the following commands to enable the self-loop.
l
In the case of an CE1, CT1, E3 or CT3 interface, run the loopback { local | remote } command. When configuring the loopback of an interface, note the following:
To enable the local loopback of the interface, the interface must be in the master clock mode. To enable the remote loopback of the interface, the interface must be in the slave clock mode.
In the case of the T1 channel of the CT3 interface, run the t1 t1-number set loopback { local | remote }
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. To reset the interface statistics of the Network Management System (NMS) or those displayed by running the display interface command, run the following commands in the user view. Clear the interface statistics before collecting the traffic.
NOTE
For the interface statistics in the NMS, refer to related NMS manuals.
Procedure
l l Run the reset counters interface [ interface-type [ interface-number ] ] command to clear the interface statistics displayed by running the display interface command. Run the reset counters if-mib interface [ interface-type [ interface-number ] ] command to clear the interface statistics in the NMS.
----End
RouterA
Issue 03 (2010-03-31)
2-25
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. Configure a CE1 interface channel. Create an interface to be bound. Add the interface channel to the bound interface. Configure the IP address of the bound interface and re-enabling it.
Data Preparation
To configure a CE1 interface, you need the following data:
l l l l
Name of the bound interface IP address of the bound interface Index number of the interface when the timeslots of the CE1 interface are bound Number and range of the timeslots to be bound
NOTE
On the NE80E/40E, the slot ID and the card ID of the interfaces added to the MP-group must be consistent with the slot ID and card ID of the MP-group interface. That is, the trans-card binding is not supported. The interfaces added to the MP-group can only be the serial interfaces instead of other interfaces.
Procedure
Step 1 Configure Router A. # Configure the working mode and channel group of CE1.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] controller e1 4/0/0 [RouterA-E1 4/0/0] shutdown [RouterA-E1 4/0/0] channel-set 0 timeslot-list 1-31 [RouterA-E1 4/0/0] undo shutdown [RouterA-E1 4/0/0] quit [RouterA] controller e1 4/0/1 [RouterA-E1 4/0/1] shutdown [RouterA-E1 4/0/1] channel-set 0 timeslot-list 1-31 [RouterA-E1 4/0/1] undo shutdown [RouterA-E1 4/0/1] quit
2-26
Issue 03 (2010-03-31)
# Configure the IP address for the bound interface and restart the interface.
[RouterA] interface mp-group 4/0/1 [RouterA-Mp-group4/0/1] ip address 5.0.0.1 255.255.255.0 [RouterA-Mp-group4/0/1] undo shutdown
Step 2 Configure Router B. # Configure the working mode and channel group of CE1.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] controller e1 4/0/0 [RouterB-E1 4/0/0] shutdown [RouterB-E1 4/0/0] channel-set 0 timeslot-list 1-31 [RouterB-E1 4/0/0] undo shutdown [RouterB-E1 4/0/0] quit [RouterB] controller e1 4/0/1 [RouterB-E1 4/0/1] shutdown [RouterB-E1 4/0/1] channel-set 0 timeslot-list 1-31 [RouterB-E1 4/0/1] undo shutdown [RouterB-E1 4/0/1] quit
# Configure the IP address for the binding interface and restart the interface.
[RouterB] interface mp-group 4/0/1 [RouterB-Mp-group4/0/1] ip address 5.0.0.2 255.255.255.0 [RouterB-Mp-group4/0/1] undo shutdown
Step 3 Vefify the configuration. Run the display interface command to view the binding status. The link negotiation succeeds. Take Router A as an example:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-27
<RouterA> display interface mp-group 4/0/1 Mp-group4/0/1 current state : UP Line protocol current state : UP Description: Mp-group4/0/1 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 5.0.0.1/24 Link layer protocol is PPP LCP opened, MP opened, IPCP opened Physical is MP, baudrate is 3968000 bps Traffic statistics: Last 300 seconds input rate 1352 bits/sec, 0 packets/sec Last 300 seconds output rate 824 bits/sec, 0 packets/sec Input: 21395674 packets, 2048796674 bytes 0 errors, 0 drops Output: 96504 packets, 3084968 bytes 0 errors, 0 drops
----End
Configuration Files
l
2-28
Issue 03 (2010-03-31)
Issue 03 (2010-03-31)
3-1
For an electrical signal, the transmission rate is called Level 1 Synchronous Transport Signal, namely, STS-1. For an optical signal, the transmission rate is called Level 1 Optical Carrier, namely, OC-1.
Adopting synchronous signals, SONET can easily multiplex multiple signals. Based on SONET, Synchronous Digital Hierarchy (SDH) is an international standard defined by the ITU-T and mainly used in Europe. The corresponding standard of SDH is the proposals from G.707 to G.709 passed in 1988 and the proposals added in 1992. SDH is similar to SONET to a great extent. The basic rate of SDH is 155.52 Mbit/s, which is called Level 1 Synchronous Transfer Module, STM-1. This rate equals the OC-3 rate in SONET. Adopting synchronous multiplexing and flexible mapping, SDH can multiplex or demultiplex low-speed tributary signals from SDH signals without using multiplexing or demultiplexing devices. This reduces signal consumption and equipment investment. Table 3-1 lists the common transmission rates of SONET and SDH. The hierarchical relationship between common transmission rates is four times. For convenience, the approximations in the parentheses are often used to express transmission rates. Table 3-1 Relationship between common transmission rates of SONET and SDH SONET Electrical Signal STS-1 STS-3 STS-9
3-2
SDH Optical Signal OC-1 OC-3 OC-9 Optical Signal STM-1 STM-3
SONET Electrical Signal STS-12 STS-18 STS-24 STS-36 STS-48 STS-96 STS-192 STS-768 Optical Signal OC-12 OC-18 OC-24 OC-36 OC-48 OC-96 OC-192 OC-768
SDH Optical Signal STM-4 STM-6 STM-8 STM-12 STM-16 STM-32 STM-64 STM-256
622.080 (622) 933.120 1244.160 1866.240 2488.320 (2.5 Gbit/s) 4876.640 9953.280 (10 Gbit/s) 39813.120(40Gbit/s)
Perform refined division of bandwidth. Reduce the demand for the quantity of low-speed physical ports on a router in networking. Enhance the convergence capability of low-speed ports of a router. Improve the dedicated line access capability of a router.
To facilitate understanding, the following section describes the frame structure of the SDH signal, that is, the structure of the STM-N frame. To add or drop low-speed tributary signals to or from high-speed signals, try to distribute tributary signals in the frame equably and regularly. The ITU-T regulates that STM-N frames are rectangular and expressed in bytes, as shown in Figure 3-1. Figure 3-1 STM-N frame structure
9*270*N(bytes)
1 2 3 4 5 6 7 8 9
9*N
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. An STM-N frame consists of the following parts:
l
Section Overhead (SOH): includes Regenerator Section Overhead (RSOH) and Multiplex Section Overhead (MSOH). Administration Unit Pointer (AU-PTR): is the pointer that specifies the first byte of the payload. The receiving end can correctly extract the payload according to the location of the pointer. Payload
Terms
l
Multiplexing units: SDH contains basic multiplexing units, including container (C-n), virtual container (VC-n), tributary unit (TU-n), tributary unit group (TUG-n), administrative unit (AU-n), and administrative unit group (AUG-n). Here, n stands for the number of the unit level. Container: It is used to carry service signals that are transmitted at different rates. G.709 defines specifications for five types of standard containers: C-11, C-12, C-2, C-3, and C-4.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
3-4
VC: It is used to support connections between channel layers of the SDH and is an information terminal of SDH channels. VCs are classified into lower-order VCs and higherorder VCs. VC-3 in AU-3 and VC-4 are higher-order VCs. TU and TUG: TU provides adaptation between lower-order and higher-order path layers. One TU or a set of multiple TUs, occupying a fixed position in the payload of the higherorder VC, is called a TUG. AU and AUG: AU provides adaptation between higher-order channel layer and multiplex section layer. One AU and a set of multiple AUs, occupying a fixed position in the payload of STM-N, is called an AUG.
1 STM-1 AUG-1
VC-3 7
1 STM-1 AUG-1
VC-3 7
TUG-2 4
Issue 03 (2010-03-31)
3-5
In application, different countries and regions may adopt different multiplexing paths. To ensure mutual communication, the NE80E/40E provides the multiplex mode command on the CPOS interface so that you can select the AU-3 or AU-4 multiplexing path.
l l l
The numbers listed in the preceding formula stand for the positions in a VC-4 frame. The TUG-3 number ranges from 1 to 3; the TUG-2 number ranges from 1 to 7; the TU-12 number ranges from 1 to 3. The TU-12 number indicates which one of the 63 TU-12s is in the VC-4 frame according to the sequence and also indicates the E1 channel number.
1 VC-4 TUG-3
1 TUG-2
1 2 3 1 2 3 1 2 3
3-6
Issue 03 (2010-03-31)
When the AU-3 multiplexing path is adopted, the calculation of the TU-12 number can be deduced in a similar manner. When 63 E1 channels or 84 T1 channels are configured on a CPOS interface, these channels can be directly numbered from 1 to 63 or 1 to 84. If a router of Huawei is connected to a channelized STM-1 interface of a router from another vendor, note differences in channel numbers.
Overhead Bytes
SDH provides monitoring and management in layers. Monitoring is classified into section monitoring and path monitoring. Section monitoring is classified into regenerator section monitoring and multiplex section monitoring. Path monitoring is classified into higher-order path monitoring and lower-order path monitoring. Different overhead bytes help to implement the monitoring functions.
NOTE
This section describes only some SDH overhead bytes used in configuration. For details, refer to a book about the particular topic.
l
SOH SOH consists of RSOH and MSOH. The payload of an STM-N frame contains the path overhead (POH) that monitors lowspeed tributary signals. 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. The byte can be any character in the networks of a carrier, whereas the J0 byte of the receiver and the transmitter must match each other at the border of networks between two carriers. With the JO byte, a carrier can locate and rectify faults in advance to speed up the network recovery.
Path overhead SOH monitors section layers, whereas POH monitors path layers. POH is classified into lower-order path overhead and higher-order path overhead. The higher-order path overhead monitors the paths at VC-4 and VC-3 levels. J1, the higher-order VC-N path trace byte, is contained in the higher-order path overhead. Similar to j0, J1 is used to transmit SAPIs repeatedly to check the connection between the receiver and the transmitter. J1 bytes of the receiver and transmitter must match each other. C2, the path signal label byte, is contained in higher-order path overhead. C2 is used to specify the multiplexing structure and the attributes of the information payload in a VC frame, including whether the path is loaded with services, service types, and the mapping mode. C2 bytes of the receiver and transmitter must match each other.
Issue 03 (2010-03-31)
3-7
POS
The POS can map packets of variable length directly into the payload of SONET. The POS uses the physical layer transmission standard of SONET. This offers a high speed, reliable, and P2P data connection. The NE80E/40E provides various rates of POS interfaces, which can be divided into three kinds based on the rate: STM-1 (155Mbit/s), STM-4c (622Mbit/s), STM-16c (2.5Gbit/s), and STM-64c (10Gbit/s). The NE80E/40E provides various rates of POS interfaces, which can be divided into three kinds based on the rate: STM-1 (155Mbit/s), STM-4c (622Mbit/s), STM-16c (2.5Gbit/s), STM-64c (10Gbit/s), and STM-256c(40Gbit/s).
CPOS
CPOS is mainly used to improve aggregation capacity of the router on low speed access. The STM-1 CPOS is suitable for aggregating multiple E1/T1s. The physical port of the STM-1 CPOS interface is not used as a service port, it is called a controller. E1/T1/E3/T3 channels are used as synchronous serial interfaces and configured in serial interface view. The indexing method of the interface number is four-dimension index, namely, slot number/card number/port number/channel number:channel number. The STM-1 CPOS service board can provide the following channels:
l l l l
63 E1 channels (2.048M, DS-1) 84 T1 channels (1.544M, DS-1) 3 E3 channels (34.368M, DS-3) 3 T3 channels (44.736M, DS-3)
NOTE
The channelization type of STM-1 CPOS should take the specifications of the service board as the standards.
The NE80E/40E only supports the channels on the same service board to be bound to be the binding group, and the binding group is numbered from 1. The link layer protocols of the channelized E1/T1/E3/T3 are as follows: Table 3-2 Link layer conditions of the E1/T1/E3/T3 supported by the NE80E/40E Channel E1 T1 E3 T3 Link Layer Protocol PPP, HDLC PPP, HDLC PPP, HDLC PPP, HDLC MP Binding Support. Support. Not support Not support
The working modes of the E1/T1/E3/T3 channels supported by the NE80E/40E are as follows:
3-8 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Table 3-3 Working modes of the E1/T1/E3/T3 channels supported by the NE80E/40E Channel Unframed Framed Unchannelized E1 The serial interface with rate 2.048Mbit/s. The serial interface with rate 1.544Mbit/s The serial interface with rate 34.368Mbit/ s The serial interface with rate 44.736Mbit/ s Not support Channelized The 31 timeslots except timeslot 0 can be bound as the serial interfaces of Nx64Kbit/s The 24 timeslots can be bound as the serial interfaces of Nx64Kbit/s Not support
T1 E3
T3
Not support
Pre-configuration Tasks
Before configuring a POS interface, complete the following task:
l
Data Preparation
To configure a POS interface, you need the following data. No. 1 2 3 4 5 6 7 8 Data Number of the POS interface on the router Link layer protocol of the POS interface Clock mode of the POS interface Values of overload bytes C2, J0, and J1 Frame format of the POS interface Length of the CRC check character MTU of the POS interface Alarm threshold of the POS interface
Procedure
Step 1 Run:
system-view
The POS interface supports only the basic functions of FR P2P sub-interfaces, excluding other FR functions.
----End
3-10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Master clock mode: uses internal clock signal. 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.
l
When the POS interfaces of two routers are connected directly or through the Wavelength Division Multiplexing (WDM) device, configure one interface to work in master clock mode and the other interface in slave clock mode to avoid link flapping. When the POS interface of a router, which functions as a DTE, is connected to a switching device that functions as a DCE and uses internal clock signals, configure the POS interface to work in slave clock mode.
Procedure
Step 1 Run:
system-view
Clock mode of the POS interface is configured. By default, a POS interface works in master clock mode. ----End
Procedure
Step 1 Run:
system-view
The POS interface view is displayed. Step 3 To configure the overhead bytes of the POS interface, perform the following as required:
l
The configuration of C2, J0 and J1 should be consistent. Otherwise an alarm is generated. For the POS interface, the default value of C2 is 22 (0x16), the default value of J0 and J1 is "NetEngine". ----End
SDH SONET
By default, the frame format of a POS interface is SDH. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
Step 3 Run:
frame-format { sdh | sonet }
Context
The scrambling function of the directly connected interfaces must be configured the same. By default, the scrambling function is enabled on the payload. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
The scrambling function of the payload is configured for the POS interface. ----End
Context
By default, 32-bit CRC is adopted.
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
3-13
The length of the CRC check character is configured for the POS interface.
NOTE
----End
Context
A router reassembles and fragments the sent and received packets according to the MTU.
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. Do as follows on the routers:
Procedure
l Configuring IPv4 MTU 1. Run:
system-view
The IPv4 MTU of the POS interface is configured. The MTU is expressed in bytes, and its value ranges from 46 to 9600. By default, the MTU is 4470 bytes. l Configuring IPv6 MTU 1. Run:
system-view
2.
Run:
interface pos interface-number
The IPv6 MTU of the POS interface is configured. The MTU is expressed in bytes, and its value range from 1280 to 9660. By default, the MTU is 4470 bytes.
CAUTION
After configuring the IPv6 MTU, run the ppp mru-negotiate ipv6 command to start negotiation of the IPv6 MTU. ----End
----End
Example
Run the display interface pos command, you can view the information about the physical status, link protocol status and clock mode. For example:
<HUAWEI> display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Description : Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470 bytes, Hold timer is 10(sec) Internet Address is 1.1.1.1/24 Link layer protocol is PPP LCP opened, IPCP opened The Vendor Name is FINISAR CORP. , The Vendor PN is FTLF1321P1BTL-HW Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 2km Rx Optical Power: -40.00dBm, Tx Optical Power: -40.00dBm Physical layer is Packet Over SDH, Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none
Issue 03 (2010-03-31)
3-15
path layer: none SDH error: section layer: B1 0 line layer: B2 0 REI 0 path layer: B3 0 REI 0 Statistics last cleared:2006-12-20 09:20:21 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 24 packets, 12593 bytes Input error: 4 shortpacket, 0 longpacket, 80 CRC, 0 lostpacket Output: 604 packets, 9688 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display interface brief [ | { begin |include |exclude } regular-expression ] command. If you can view the brief information about the physical status, link protocol status, bandwidth utilization, and number of the error packets, it means that the configuration succeeds. For example:
<HUAWEI> display interface brief | include Pos *down: administratively down ^down: standby (l): loopback (s): spoofing (b): BFD down (d): DampeningSuppressed InUti/OutUti: input utility/output utility Interface Physical Protocol InUti OutUti inErrors/ outErrors Pos4/0/0 down down 0% 0% 831745956 0 Pos5/0/0 up up 0.01% 0.01% 3795064053 0 Pos5/0/1 down down 0% 0% 343911292 0 Pos5/0/2 down down 0% 0% 343913408 0 Pos5/0/3 down down 0% 0% 343915353 0
Run the display pos interface command, you can view the detailed information about the physical layer. For example:
<HUAWEI> display pos interface pos 6/0/0 Pos6/0/0 current state:DOWN Line protocol current state:DOWN Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none SDH alarm: section layer: OOF LOF LOS line layer: none path layer: PAIS PRDI SDH error: section layer: B1 306207965 line layer: B2 39944626237 REI 9861843785 path layer: B3 1641810669 Last 30 seconds input rate 0 Bits/sec, 0 packets/sec Last 30 seconds output rate 0 Bits/sec, 0 packets/sec Input: 0 packets, 75870759 bytes Input error: 0 shortpacket, 3 longpacket, 48 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets SFP Transp Infomation: The Vendor PN is FTRJ1321P1BTL The Vendor name is FINISAR CORP. address : 3 4 5 6 7 8 9 10 12 14 15 16 17 18 60 61 value(hex): 0 1 22 2 12 10 1 5 19 5 32 0 0 0 5 1e Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode WaveLength: 1310nm, Transmission Distance: 5km PIC Packet Statics Per Sencond: Rxd: 0x0 Packets 0x0 FCS 0x0 Receiv Abort Packets 0x0 Long Packets 0x0 Short Packets
3-16
Issue 03 (2010-03-31)
20 20
20 20
20 20
20 20
20 20
Pre-configuration Tasks
Before configuring a CPOS interface, complete the following task:
l
Data Preparation
To configure a CPOS interface, you need the following data. No. 1 2 Data Number of the CPOS interface on the router Overhead bytes C2, J0, and J1 of the CPOS interface
Issue 03 (2010-03-31)
3-17
Master clock mode: uses internal clock signal. Slave clock mode: uses line clock signal.
When a CPOS interface is connected to a SONET/SDH device, configure the CPOS interface to work in slave clock mode because the precision of the clock in the SONET/SDH network is higher than the precision of the internal clock source of the CPOS interface. When CPOS interfaces are connected directly through the optical fiber or a Wavelength Division Multiplexing (WDM) device, configure one interface to work in master clock mode and the other interface in slave clock mode. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
Clock mode of the CPOS interface is configured. By default, a CPOS interface works in master clock mode. ----End
Procedure
Step 1 Run:
system-view
3-18
Issue 03 (2010-03-31)
Frame format of the CPOS interface is configured. The frame format determines whether a CPOS interface works in SONET mode or SDH mode. By default, the frame type of a CPOS interface varies with the hardware:
l l
For the CPOS interface that can be channelized into E1 or E3, the default frame type is SDH. For the CPOS interface that can be channelized into T1 or T3, the default frame type is SONET.
----End
Procedure
Step 1 Run:
system-view
The CPOS interface view is displayed. Step 3 Perform the following as required.
l
In the 1-byte mode (sonet), the default value of J0 is 1. In the 16-byte mode (sdh), the default value of J0 is "NetEngine".
Issue 03 (2010-03-31)
3-19
The C2 is mainly used for international interconnection and 0x02 is used in China. By default, c2 is 02 (in hexadecimal system). The C2, J0, J1, on the receiving end and the sending end must be consistent; otherwise, an alarm is generated. ----End
Context
l
In the ANSI multiplexing, the lower-order payload is aggregated into the VC-3 higherorder path. An AU-3 consists of a VC-3 and an AU pointer. Three AU-3s are multiplexed into an AUG. In the ETSI multiplexing, the lower-order payload is aggregated into the VC-4 higher-order path. An AU-4 consists of a VC-4 and an AU pointer. An AU-4 is multiplexed into an AUG.
Procedure
Step 1 Run:
system-view
Frame format of the CPOS interface is configured as SDH. You can configure AUG to multiplex to AU-4 or AU-3 using the multiplex mode command only when the CPOS interface is applied in SDH mode. Step 4 Run:
multiplex mode { au-4 | au-3 }
The AUG multiplexing path of the CPOS interface is configured. This command is supported on 1-port STM-1 CPOS flexible cards only and not supported on other types of STM-1 CPOS interface boards. ----End
3-20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Example
You can view information about the clock, frame format, and multiplexing path by checking information about the STM-1 CPOS interface.
<HUAWEI> display controller cpos 1/0/0 Cpos1/0/0 current state : UP Description : Cpos1/0/0 Interface The Vendor Name is AGILENT The Vendor PN is QFCT-5736TP Port BW: 155M, Transceiver max BW: 155M, Transceiver Mode: SingleMode WaveLengh: 1310nm, Transmission Distance: 15km Physical layer is Packet Over SDH clock master, Multiplex AU-4, loopback none TX:Flag J0: "NetEngine ", Flag J1: "NetEngine RX:Flag J0: "NetEngine ", Flag J1: "NetEngine section layer: alarm: none error: B1 0 line layer: alarm: none error: B2 0 REI 0 path layer: alarm: none error: B3 0 REI 0
Pre-configuration Tasks
Before configuring the E1 channel on a CPOS interface, complete the following tasks:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-21
Powering on the router and starting it normally Connecting the CPOS interface and configuring physical attributes for the CPOS interface
Data Preparation
To configure the E1 channel of a CPOS interface, you need the following data. No. 1 2 3 Data Number of the CPOS interface on the router Number of the E1 channel Number of the CE1 channel whose timeslots are bound into the channel-set, and number and range of timeslots
One channel cannot work in both the clear channel mode and the channelized mode simultaneously. To switch the working mode between these two modes, cancel the current serial interface and re-create a new one.
Procedure
Step 1 Run:
system-view
The CPOS interface view is displayed. Step 3 To create the synchronous serial interface of the E1 channel, do as follows:
l
In channelized mode, timeslot 0 alone can be bound to form a serial interface; timeslots 0 to 31 can also be randomly bound to form one or multiple serial interfaces. In this case, timeslot 0 needs to be specified in the command as the parameter ts0. Timeslot 0 is used to transmit frame synchronization and alarm information. After timeslot 0 is bound to form a serial interface, frame synchronization and alarm information can be transparently transmitted between the client and the server through the serial interface.
3-22 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
The channel-set after the timeslot binding of the E1 channel forms a serial interface. You can configure this serial interface. The bound serial interface is numbered: slot/card/interface/ channel number: channel-set number. ----End
Procedure
Step 1 Run:
system-view
If the E1 interface is connected to a SONET or SDH device, configure the E1 interface to work in slave clock mode. If two routers are connected directly through the optical fiber, configure one end to work in master clock mode and the other end in slave clock mode.
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
3-23
----End
Example
You can view the status, link layer protocol and statistics of the serial interface channelized by the E1 channel of a CPOS interface.
<HUAWEI> display interface serial 1/0/0/1:1 Serial1/0/0/1:1 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description : Serial1/0/0/1:1 Interface Route Port, The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from Cpos1/0/0 e1 1, Timeslot(s) Used: 1-24, baudrate is 1536000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-20 15:55:04 Traffic statistics: Last 300 seconds input rate 16 bits/sec, 0 packets/sec Last 300 seconds output rate 16 bits/sec, 0 packets/sec Input: 33 packets, 426 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 30 packets, 372 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display controller cpos command, you can view the information about the status and clock mode of CPOS interface. For example:
<HUAWEI> display controller cpos 1/0/0 Cpos1/0/0 current state : UP Description : Cpos1/0/0 Interface The Vendor Name is SumitomoElectric The Vendor PN is SCP6828-H1-BNE Port BW: 155M, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode WaveLengh: 1310nm, Transmission Distance: 2km
3-24
Issue 03 (2010-03-31)
Physical layer is Packet Over SDH clock master, Multiplex AU-3, loopback none TX:Flag J0: "NetEngine ", Flag J1: "NetEngine RX:Flag J0: "", Flag J1: "NetEngine section layer: alarm: none error: B1 0 line layer: alarm: none error: B2 0 path layer: alarm: none error: B3 0
REI 27 REI 24
Pre-configuration Tasks
Before configuring the T1 channel of the CPOS interface, complete the following tasks:
l l
Powering on the router and starting it normally Connecting the CPOS interface and configuring physical attributes for the CPOS interface
Data Preparation
To configure T1 channels of the CPOS interface, you need the following data. No. 1 2 3 Data Number of the CPOS interface on the router Number of the T1 channel Number of the CT1 channel whose timeslots are bound as the channel-set, timeslot number, or timeslot range
Issue 03 (2010-03-31)
3-25
One channel cannot work in both the clear channel mode and the channelized mode simultaneously. To switch the working mode between these two modes, cancel the current serial interface and re-create a new one.
Procedure
Step 1 Run:
system-view
The CPOS interface view is displayed. Step 3 To create the synchronous serial interface of the T1 channel, do as follows:
l
In the channelized mode, one or more timeslots from 0 to 23 can be bound as one or more serial ports to be used. The channel-set after the timeslot binding of the T1 channel forms a serial interface. You can configure this serial interface. The bound serial interface is numbered: slot/card/interface/ channel number: channel-set number. For the T1 channels, the default rate of the channel-set is N x 64kbit/s (N is the number of the bound timeslots). ----End
Procedure
Step 1 Run:
system-view
3-26
Issue 03 (2010-03-31)
The frame format of the T1 channel is configured. By default, the frame format of a T1 channel is ESF. ----End
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
Run the display controller cpos [ cpos-number ] command to check the information about the status and statistics of the CPOS interface.
----End
Example
You can view the status, link layer protocol and statistics of the serial interface channelized by the T1 channel of a CPOS interface.
<HUAWEI> display interface serial 1/0/0/1:0 Serial1/0/0/1:0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description:Serial1/0/0/1:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from Cpos1/0/0 t1 1, Timeslot(s) Used: 0-23, baudrate is 1536000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened Physical layer is Packet Over ESF clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: none Statistics last cleared:2009-01-13 19:03:08 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Pre-configuration Tasks
Before configuring E3 channels on a CPOS interface, complete the following tasks:
l
3-28
Connecting the CPOS interface and configuring the physical attributes of the CPOS interface
Data Preparation
To configure E3 channels of a CPOS interface, you need the following data. No. 1 2 Data Number of CPOS interface of the router Number of the E3 channel
Clear channel mode (also known as unframed mode) When an E3 channel works in clear channel mode, data is transmitted in the form of bit flows in the E3 channel. The E3 channel without timeslot division functions as a synchronous serial interface named serial slot/card/port/0:0.
Unchannelized mode When an E3 channel works in unchannelized mode, data is transmitted in the form of frames in the E3 channel. All timeslots of the E3 channel are bound to function as a synchronous serial interface named serial slot/card/port/0:0.
Procedure
Step 1 Run:
system-view
The CPOS interface view is displayed. Step 3 To create the synchronous serial interface, perform the following as required:
l
To create the serial interface of the unchannelized mode, run the e3 e3-number framed command. To create the serial interface of the clear channel mode, run the e3 e3-number unframed command.
After the creation is successful, the number of the formed synchronous serial interface is: slot/ card/port/0:0. ----End
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-29
Procedure
Step 1 Run:
system-view
----End
Example
You can view information about the clock, frame format, and multiplexing path by checking information about the STM-1 CPOS interface.
<HUAWEI> display controller cpos 1/0/0 Cpos1/0/0 current state : Administratively DOWN Description : Cpos1/0/0 Interface The Vendor Name is AGILENT
3-30
Issue 03 (2010-03-31)
The Vendor PN is HFBR-5710LP-H3C Port BW: 155M, Transceiver max BW: 1G, Transceiver Mode: MultiMode WaveLengh: 850nm, Transmission Distance: 550m Physical layer is Packet Over SDH clock master, Multiplex AU-3, loopback none TX:Flag J0: "NetEngine ", Flag J1: "NetEngine ", Flag C2: 2(0x2) RX:Flag J0: unknown, Flag J1: unknown, Flag C2: 255(0xff) section layer: alarm: LOS error: B1 306431763 line layer: alarm: LAIS LREI SF error: B2 511275881 REI 1175934524 path layer: alarm: PPLM error: B3 2711 REI 1451
You can view information about the status and clock information by checking information about the serial interface.
<HUAWEI> display interface serial 2/0/0/1:0 Serial2/0/0/1:0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 15:55:16 Description: Serial2/0/0/1:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from Cpos2/0/0 e3 1, Unframed mode, baudrate is 34368000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-23 10:56:33 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Pre-configuration Tasks
Before configuring T3 channels on a CPOS interface, complete the following tasks:
l l
Powering on and starting the router normally Connecting the CPOS interface and configuring the physical attributes of the CPOS interface
Data Preparation
To configure T3 channels of a CPOS interface, you need the following data. No. 1 2 Data Number of CPOS interface of the router Number of the T3 channel
Clear channel mode (also known as unframed mode) When a T3 channel works in clear channel mode, data is transmitted in the form of bit flows in the T3 channel. The T3 channel without timeslot division functions as a synchronous serial interface named serial slot/card/port/channel-number:0.
Unchannelized mode When a T3 channel works in unchannelized mode, data is transmitted in the form of frames in the T3 channel. All timeslots of the T3 channel are bound to function as a synchronous serial interface named serial slot/card/port/channel-number:0.
Procedure
Step 1 Run:
system-view
The CPOS interface view is displayed. Step 3 To create the synchronous serial interface, perform the following as required:
l
To create the serial interface of the unchannelized mode, run the t3 t3-number framed command.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
3-32
To create the serial interface of the clear channel mode, run the t3 t3-number unframed command.
After the creation is successful, the number of the formed synchronous serial interface is: slot/ card/port/channel-number:0. ----End
C-bit: is also called C-bit parity check. In this frame format, the padding field can be used in maintenance. M23: it is a multiplexing process from DS-2 to DS-3. Four T1s (DS-1) multiplex to a DS-2 line through M12; seven DS-2 lines multiplex to a T3 (DS-3).
Procedure
Step 1 Run:
system-view
The frame format of the T3 channel is configured. It is recommended that the frame formats of the T3 channel and the CPOS interface be the same. ----End
If two routers are connected directly through the optical fiber, configure one end to work in master clock mode and the other end in slave clock mode. By default, an T3 channel works in master clock mode.
NOTE
Procedure
Step 1 Run:
system-view
----End
Example
You can view information about the clock, frame format, and multiplexing path by checking information about the STM-1 CPOS interface.
<HUAWEI> display controller cpos 1/0/0 Cpos1/0/0 current state : Administratively DOWN Description : Cpos1/0/0 Interface The Vendor Name is AGILENT The Vendor PN is HFBR-5710LP-H3C Port BW: 155M, Transceiver max BW: 1G, Transceiver Mode: MultiMode WaveLengh: 850nm, Transmission Distance: 550m Physical layer is Packet Over SDH clock master, Multiplex AU-3, loopback none TX:Flag J0: "NetEngine ", Flag J1: "NetEngine ", Flag C2: 2(0x2) RX:Flag J0: unknown, Flag J1: unknown, Flag C2: 255(0xff) section layer: alarm: LOS error: B1 306431763 line layer: alarm: LAIS LREI SF
3-34
Issue 03 (2010-03-31)
You can view information about the status and clock information by checking information about the serial interface.
<HUAWEI> display interface serial 2/0/0/1:0 Serial2/0/0/1:0 current state : UP Line protocol current state :UP Last line protocol up time : 2009-01-20 15:55:16 Description: Serial2/0/0/1:0 Interface Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Derived from Cpos2/0/0 t3 1, Unframed mode, baudrate is 44736000 bps Internet protocol processing : disabled Link layer protocol is PPP LCP opened clock master, loopback none CRC: CRC-32 Scramble disabled Alarm: None Statistics last cleared:2009-01-23 11:04:14 Traffic statistics: Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
CAUTION
After you configure the self-loop or run the loopback command, the interface on a router or the link may not run normally. Thus, you must check whether to set the self-loop. After the detection is complete, run the undo loopback command to disable the self-loop.
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
3-35
The system view is displayed. Step 2 Choose one of the following commands according to the interface type to enter the interface view.
l
In the case of a STM-1 CPOS interface or E1/T1/E3/T3 channel of STM-1 CPOS interface, run:
controller cpos interface-number
Step 3 Choose one of the following commands according to the interface type to enable the self-loop.
l
In the case of a POS interface, STM-1 CPOS interface or STM-16 CPOS interface, run:
loopback { local | remote }
By default, the self-loop is disabled. When configuring the loopback of the interface, note the following points:
l
For the POS interface, the configurations of the loopback differ with different service boards. The following cases may occur in the actual configurations:
To enable the local loopback of the interface, the interface must be in the master clock mode. To enable the remote loopback of the interface, the interface must be in the slave clock mode.
For the STM-1 CPOS interface or E1/T1/E3/T3 channel of STM-1 CPOS interface
To enable the local loopback of the interface, the interface must be in the master clock mode. To enable the remote loopback of the interface, the interface must be in the slave clock mode.
----End
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.
3-36
Issue 03 (2010-03-31)
To reset the interface statistics of the Network Management System (NMS) or those displayed by running the display interface command, run the following commands in the user view. Clear the interface statistics before collecting the traffic.
NOTE
For the interface statistics in the NMS, refer to related NMS manuals.
Procedure
l l Run the reset counters interface [ interface-type [ interface-number ] ] command to clear the interface statistics displayed by running the display interface command. Run the reset counters if-mib interface [ interface-type [ interface-number ] ] command to clear the interface statistics in the NMS.
----End
RouterA
POS1/0/0 10.1.1.1/30
Configuration Roadmap
The configuration roadmap is as follows: 1.
Issue 03 (2010-03-31)
2.
Configure IP addresses.
Data Preparation
To complete the configuration, you need the following data:
l l
Procedure
Step 1 Configure Router A. # Configure POS 1/0/0, and set default values for all physical parameters.
<HUAWEI> system-view [HUAWEI] sysname A [RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] ip address 10.1.1.1 30 [RouterA-Pos1/0/0] undo shutdown [RouterA-Pos1/0/0] quit
Step 2 Configure Router B. # Configure POS 1/0/0, set the clock mode to slave, and set default values for other physical parameters.
<HUAWEI> system-view [HUAWEI] sysname B [RouterB] interface pos 1/0/0 [RouterB-Pos1/0/0] clock slave [RouterB-Pos1/0/0] ip address 10.1.1.2 30 [RouterB-pos1/0/0] undo shutdown [RouterB-Pos1/0/0] quit
Step 3 Verify the configuration. Run the display interface pos command to check the connectivity of the POS interface on Router A.
<RouterA> display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 11:35:15 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.1.1.1/30 Link layer protocol is PPP LCP opened, IPCP opened The Vendor Name is FINISAR CORP. , The Vendor PN is FTLF1321P1BTL-HW Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 2km Rx Optical Power: -40.00dBm, Tx Optical Power: -40.00dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 0 line layer: B2 0 REI 0 path layer: B3 0 REI 0
3-38
Issue 03 (2010-03-31)
Statistics last cleared:2009-01-20 15:55:04 Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 24 bits/sec, 0 packets/sec Input: 604 packets, 9640 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 604 packets, 9688 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
ms ms ms ms ms
----End
Configuration Files
l
3.9.2 Example for Connecting Devices with POS Interfaces Through FR Network
Networking Requirements
As shown in Figure 3-6, routers are interconnected through POS interfaces on the FR network,and routers work in DTE mode as user devices. Router A connects Router B and Router C, which reside on different network segments from Router A, through sub-interfaces.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-39
Figure 3-6 Networking diagram of connecting routers using the POS interface through FR network
Router B
Router C
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. Configure FR as the link protocol. Configure the working mode for interfaces. Configure IP addresses for interfaces. Configure the address mapping.
Data Preparation
To complete the configuration, you need the following data:
l l l l
IP address and DLCI of POS 1/0/0.1 on Router A IP address and DLCI of POS 1/0/0.2 on Router A IP address and DLCI of POS 1/0/0.1 on Router B IP address and DLCI of POS 1/0/0.2 on Router C
Procedure
Step 1 Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface pos 1/0/0
3-40
Issue 03 (2010-03-31)
Step 2 Configure Router B and Router C. The method of configuring Router B and Router C is the same as the method of configuring Router A. The configuration details are not mentioned here. Step 3 Verify the configuration. Run the display interface pos command on each router. You can find that the connectivity of POS interfaces is Up. Run the ping command on each router. Each router can ping through the network. ----End
Configuration Files
l
Issue 03 (2010-03-31)
3-41
The configurations of the T1 channel and the E1 channel are consistent. Take the E1 channel as an example.
E1/T1 .. ADM E1/T1 ADM STM-4/16 ADM nx E1/T1 .. ADM Router A CPOS 3/0/1 OC-3/STM-1
Internet
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3.
3-42
Create the channel. Create the bound group. Configure the channel to join the bound group.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Data Preparation
To complete the configuration, you need the following data:
l l
Channel number and slot number of each E1 channel Number of the bound group on each interface
NOTE
l l
The slot number and card number of the added Mp-group interface and the Mp-group interface must be consistent. That is, trans-board binding is not supported. The interfaces added to the MP-group can only be the serial interfaces instead of other interfaces.
Procedure
Step 1 Configure RouterA # Create a channel on the CPOS interface.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] controller cpos 3/0/1 [RouterA-Cpos3/0/1] e1 1 channel-set [RouterA-Cpos3/0/1] e1 2 channel-set [RouterA-Cpos3/0/1] e1 3 channel-set [RouterA-Cpos3/0/1] e1 4 channel-set [RouterA-Cpos3/0/1] undo shutdown [RouterA-Cpos3/0/1] quit
1 2 3 4
3/0/1
3/0/1
3/0/1
3/0/1
Issue 03 (2010-03-31)
3-43
----End
Configuration Files
Configuration file of Router A
# sysname RouterA # controller Cpos3/0/1 undo shutdown e1 1 channel-set 1 timeslot-list e1 2 channel-set 2 timeslot-list e1 3 channel-set 3 timeslot-list e1 4 channel-set 4 timeslot-list # interface Serial3/0/1/1:1 undo shutdown link-protocol ppp ppp mp Mp-group 3/0/1 # interface Serial3/0/1/2:2 undo shutdown link-protocol ppp ppp mp Mp-group 3/0/1 # interface Serial3/0/1/3:3 undo shutdown link-protocol ppp ppp mp Mp-group 3/0/1 # interface Serial3/0/1/4:4 undo shutdown link-protocol ppp ppp mp Mp-group 3/0/1 # interface Mp-group3/0/1 undo shutdown # return
3-44
Issue 03 (2010-03-31)
4
About This Chapter
This chapter describes the basic concepts, configuration procedures, configuration examples, and troubleshooting of Point-to-Point Protocol (PPP) and MultiLink PPP (MP). 4.1 Introduction to PPP and MP This section describes the basic concepts and principle of PPP and MP. 4.2 Encapsulating an Interface with PPP and MRU Negotiation This section describes how to encapsulate an interface with PPP and configure the PPP MRU negotiation. 4.3 Configuring Unidirectional PAP This section describes how to configure PAP authentication. 4.4 Configuring Unidirectional CHAP This section describes how to configure CHAP authentication. 4.5 Configuring PPP Optional Parameters This section describes how to configure optional parameters of PPP. 4.6 Configuring MP Binding Using an MP-Group This section describes how to configure MP binding by using an MP-group. 4.7 Configuring MP Limiting Parameters This section describes how to configure MP parameters. 4.8 Configuring MP Fragmentation Describes how to configure the length of the MP fragment on the MP-Group interface. 4.9 Maintaining PPP and MP Configuration Describes how to maintain PPP and MP. 4.10 Configuration Examples Provides several configuration examples of PPP and MP.
Issue 03 (2010-03-31)
4-1
Point-to-Point Protocol (PPP): supports synchronous and asynchronous transmission. High-level Data Link Control protocol (HDLC): supports only synchronous transmission.
Located at the data link layer of the Open Systems Interconnection (OSI), PPP supports synchronous or asynchronous full-duplex links to transmit data from point to point. PPP is widely used because:
l l l
It provides user authentication. It supports synchronous and asynchronous communications. It can be easily expanded.
Link Control Protocol (LCP): is used to establish, monitor, and terminate data links. Network Control Protocol (NCP): is used to establish and configure different network-layer protocols, and negotiate the format and type of packets transmitted over data links. Authentication protocols: include Password Authentication Protocol (PAP) and ChallengeHandshake Authentication Protocol (CHAP), which are used for network security authentication.
The Multilink PPP (MP) technology binds multiple PPP links into a logical channel to increase bandwidth. MP can be applied to the low-speed interfaces supporting PPP, such as serial interfaces.
Supporting the Maximum Receive Unit (MRU) negotiation Performing the PAP or CHAP authentication Compressing the IP, UDP or RTP packet header
The MP is supported to be configured in the MP-group type on the NE80E/40E. On the NE80E/40E, the interfaces supporting the MP binding are as follows:
l l
Synchronous serial interface formed by E1/T1 channelized by the STM-1 CPOS. Synchronous serial interface formed by T1 channelized by the T3.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
4-2
The NE80E/40E does not support the trans-board or trans-card MP binding. When you configure MP in the MP-group mode, you can directly add the serial interface to the MP-group.
Pre-configuration Tasks
Before configuring PPP, complete the following task: Connecting the interface and configuring physical parameters for the interface to ensure that the physical layer status of the interface is Up.
Data Preparation
To configure PPP or PPP MRU negotiation, you need the following data. No. 1 Data Number of the interface
Procedure
Step 1 Run:
system-view
The link layer protocol is configured as PPP. By default, the link layer protocol of serial interfaces and POS interfaces is PPP. ----End
Procedure
Step 1 Run:
system-view
The MRU negotiation is enabled on the link control layer. By default, the link control layer performs the IPv4 MRU negotiation. ----End
4-4 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Procedure
l Run the display interface [ interface-type [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] command to check the PPP configuration and the negotiated MTU value of the interface.
----End
Example
Run the display interface command. If the PPP configuration of the interface is displayed, it means that the configuration succeeds. For example:
<HUAWEI> display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 11:35:15 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.1.1.1/30 Link layer protocol is PPP LCP opened, IPCP opened The Vendor Name is FINISAR CORP. , The Vendor PN is FTLF1321P1BTL-HW Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 2km Rx Optical Power: -40.00dBm, Tx Optical Power: -40.00dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 0 line layer: B2 0 REI 0 path layer: B3 0 REI 0 Statistics last cleared:2009-01-20 15:55:04 Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 24 bits/sec, 0 packets/sec Input: 604 packets, 9640 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 604 packets, 9688 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
4.3.3 Configuring the Peer to Be Authenticated by the Local Router in PAP Mode 4.3.4 Checking the Configuration
Unidirectional authentication: One of two communication parties functions as the authenticator, while the other as the authenticated. Bidirectional authentication: Two communication parties function as both the authenticator and the authenticated.
Pre-configuration Tasks
Before configuring PAP authentication, complete the following tasks:
l
Connecting interfaces and configuring physical attributes for these interfaces to ensure that the physical layer of the interfaces is Up Configuring PPP as the link layer protocol of interfaces
Data Preparation
To configure PAP authentication, you need the following data. No. 1 2 Data Number of the interface Username and password of the authenticated
Procedure
Step 1 Run:
system-view
4-6
Issue 03 (2010-03-31)
The username and password of the authenticated are added to the local user list. Step 4 Run:
quit
The local end authenticates the peer end using PAP. Step 7 Run:
restart
After changing the username and password, run the restart command, or the shutdown and undo shutdownv commands in the interface view to validate the configuration.
----End
4.3.3 Configuring the Peer to Be Authenticated by the Local Router in PAP Mode
Context
Do as follows on the routers:
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
4-7
The username and password of the local end are configured when the local end is configured to be authenticated using PAP. Step 4 Run:
restart
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
Procedure
l Run the display interface [ interface-type [ interface-number ] ] command to check the link status of the interface and the running status of the LCP.
----End
Example
Run the display interface command. If the LCP status is Opened, it means that the PAP authentication succeeds. For example:
<HUAWEI> display interface pos 6/0/0 Pos6/0/0 current state : UP Line protocol current state : UP Last up time: 2007-11-03, 12:36:19 Description : Pos6/0/0 Interface Route Port, The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.1.1.1/30 Link layer protocol is PPP LCP opened, IPCP opened Transponder Information: Not in position Physical layer is Packet Over SDH, Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: OOF LOF LOS line layer: none path layer: PAIS PRDI SDH error: section layer: B1 31470839 line layer: B2 6140811495 REI 1021746943 path layer: B3 251087875 Statistics last cleared:never Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets
4-8
Issue 03 (2010-03-31)
Unidirectional: One of two communication parties functions as the authenticator, while the other as the authenticated. Bidirectional: Two communication parties function as both the authenticator and the authenticated.
Pre-configuration Tasks
Before configuring CHAP authentication, complete the following tasks:
l
Connecting interfaces and configuring physical attributes for these interfaces to ensure that the physical layer of the interfaces is Up Configuring PPP as the link layer protocol of interfaces
Data Preparation
To configure CHAP authentication, you need the following data. No. 1 2 3 Data Number of the interface (Optional) Username of the authenticator Username and password of the authenticated
Issue 03 (2010-03-31)
4-9
4.4.2 Configuring a Local Device with a User Name to Authenticate Its Peer in CHAP Mode
Context
NOTE
In CHAP authentication, when configuring the username for the authenticator, ensure that the same password is configured for the authenticator and the authenticated.
Procedure
l Configuring the authenticator Do as follows on the routers: 1. Run:
system-view
The username and password of the authenticated are added to the local user list. 4. Run:
quit
The local end authenticates the peer end by using CHAP. You can run the ppp authentication-mode chap pap command to perform CHAP negotiation preferentially in LCP negotiation. If the peer end does not support CHAP authentication, PAP negotiation is performed. If the peer end does not support CHAP or PAP, the LCP negotiation fails. Either CHAP or PAP is involved in a PPP negotiation. 7. Run:
ppp chap user user-name
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.
The username and password of the authenticated are added to the local user list. 4. Run:
quit
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
4.4.3 Configuring a Local Device Without a User Name to Authenticate Its Peer in CHAP Mode
Procedure
l Configuring the authenticator Do as follows on the routers: 1. Run:
system-view
2.
Run:
aaa
The username and password of the authenticated are added to the local user list. 4. Run:
quit
The local end authenticates the peer end using CHAP. You can run the ppp authentication-mode chap pap command to perform CHAP negotiation preferentially in LCP negotiation. If the peer end does not support CHAP authentication, PAP negotiation is performed. If the peer end does not support CHAP or PAP, the LCP negotiation fails. Either CHAP or PAP is involved in a PPP negotiation. 7. Run:
restart
The interface is restarted. In authentication, if the username and password of the interface on the peer end are consistent with the username and password in the local AAA user list, the authentication succeeds. l Configuring the authenticated Do as follows on the routers: 1. Run:
system-view
The password of the local end is configured, which is used when the local end is authenticated by the peer end using CHAP.
4-12 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
5.
Run:
restart
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
Procedure
l Run the display interface [ interface-type [ interface-number ] ] command to check the PPP configuration and the status of the interface.
----End
Example
Run the display interface command. You can view the status of PPP, LCP, and IPCP. If the status of the LCP and IPCP is opened, it means that CHAP authentication succeeds. For example:
<HUAWEI> display interface pos 6/0/0 Pos6/0/0 current state : UP Line protocol current state : UP Last up time: 2007-11-03, 12:36:19 Description : Pos6/0/0 Interface Route Port, The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.1.1.1/30 Link layer protocol is PPP LCP opened, IPCP opened Transponder Information: Not in position Physical layer is Packet Over SDH, Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: OOF LOF LOS line layer: none path layer: PAIS PRDI SDH error: section layer: B1 31470839 line layer: B2 6140811495 REI 1021746943 path layer: B3 251087875 Statistics last cleared:never Last 30 seconds input rate 0 bits/sec, 0 packets/sec Last 30 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket Output: 0 packets, 0 bytes Output error: 0 lostpackets
Issue 03 (2010-03-31)
4-13
Callback When a router works as the callback client and the server allows calling back the number specified by the user, you can configure the dial string required to call back the router. In this manner, reverse charging is realized.
Header compression IP Header Compression (IPHC) is a host-to-host protocol. IPHC is used on the IP network to compress real-time multimedia services such as voice and video. To improve bandwidth utilization, you can apply IPHC to the link to compress the IP header, UDP header, and RTP header.
Interval for the negotiation timeout In PPP negotiation, if no response is received from the peer end within the interval, PPP resends a request for negotiation.
Polling interval Link layer protocols such as PPP, FR, and HDLC use a polling timer to check whether a link works normally. In the case of long network delay or severe congestion, you can prolong the polling interval to reduce network flapping. When configuring the polling interval, ensure that both ends are configured with the same polling interval.
DNS server address negotiation When other devices are connected to a router through PPP, for example, a PC is connected to a router through dialup, the peer device directly accesses the network through the domain name. In this case, the router needs to assign DNS server addresses for the peer device.
4-14
Issue 03 (2010-03-31)
If you access a router through a PC, you can run the winipcfg (windows 98) or the ipconfig/ all (windows 2000/XP) command to view the DNS server addresses that are provided by the router. The NE80E/40E can provide the peer device with two server addresses, a primary DNS server address and a secondary DNS server address.
l
Link quality parameter PPP link quality detection is to detect the quality of a PPP link in real time, including the PPP link bound in MP. When the quality of a link is lower than the quality percentage of the forbidden link, the link is disabled. When the link quality restores to the quality percentage of the recovered link, the link is enabled automatically. To avoid a link from frequently switching between prohibition and restoration, the delay for restarting a link is required.
Pre-configuration Tasks
Before configuring optional parameters of PPP, complete the following tasks:
l
Connecting interfaces and configuring physical attributes for the interfaces to ensure that the physical layer of the interfaces is Up Configuring PPP as the link layer protocol of the interfaces Configuring interfaces to adopt PAP or CHAP authentication, which is required only during the configuration of the negotiation timeout interval
l l
Data Preparation
To configure optional parameters of PPP, you need the following data. No. 1 2 3 4 5 6 Data Dial string used for calling back the router Maximum number of RTP connections and maximum number of TCP connections in the IPHC function Timeout interval of PPP negotiation Polling interval Primary DNS server address and secondary DNS server address Quality percentage of the forbidden link and quality percentage of the recovered link
Procedure
Step 1 Run:
system-view
The interface view is displayed. Step 3 Choose one of the following commands to configure the interface as the callback server or the callback client:
l l
Run the ppp callback server command to set the interface as the callback server. Run the ppp callback client command to set the interface as the callback client.
NOTE
l l
Only the low-speed serial interface and the AUX interface support the callback function. One interface cannot be set as the server and client at the same time.
Step 4 Run:
ppp callback ntstring dial-string
The ppp callback ntstring command can be used only when the router is configured as the callback client.
----End
The interface view is displayed. In NE80E/40E, only synchronous serial interfaces and MP-Group interfaces support IPHC. 3. Run:
ppp compression iphc
IPHC is enabled on the interface. For the details about IPHC, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - QoS. ----End
4-16 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
----End
----End
Run:
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 4-17
Any DNS server address proposed by the peer is admitted. l Configuring the DNS server address of the local negotiation Do as follows on routers: 1. Run:
system-view
The DNS server address of the local negotiation is configured. By default, a router does not provide DNS server address for its peer. ----End
The PPP link quality detection is enabled. Using the ppp lqc command, you can detect the quality of the low-speed line. The ppp lqc command can be used only on the serial interface and AUX interface. Step 4 Choose one of the following methods to restart the interface.
l
4-18
After enabling or disabling the PPP link quality detection, restart the interface to validate the configuration. ----End
4.5.8 Preventing the Peer Host Route from Being Added to the Local Routing Table of Direct Routes
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. However, when one end is configured with an incorrect IP address, the other end automatically adds the incorrect peer host route to the local routing table of direct routes. As a result, the incorrect routing information is advertised across the network. With this command, you can decide whether the peer host route is added to the local routing table of direct routes.
Procedure
Step 1 Run:
system-view
The peer host route is prevented from being added to the local routing table of direct routes.
NOTE
After enabling or disabling the function of preventing the peer host route from being added to the local routing table of direct routes, restart the interface to validate the configuration.
Run the shutdown and undo shutdown commands. Run the restart command.
----End
Procedure
l Run the display interface [ interface-type [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] command to check the PPP configuration and the status of the interface. Run the display ppp compression iphc rtp [ interface-type interface-number ] command to check the statistics on the IP header compression on the PPP link.
----End
Example
Run the display interface command to check the PPP configuration and the status of the interface. For example:
<HUAWEI> display interface pos 6/0/1 Pos6/0/1 current state : UP Line protocol current state : UP Last line protocol up time : 2009-08-17 00:19:56 Description: Pos6/0/1 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 192.168.20.2/24 Link layer protocol is PPP LCP opened, IPCP opened The Vendor Name is FINISAR CORP. , The Vendor PN is FTRJ8519P1BNL-HW Transceiver BW: 1G, Transceiver Mode: Multi Mode WaveLength: 850nm, Transmission Distance: 550m Rx Optical Power: -4.95dBm, Tx Optical Power: -3.30dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 0 line layer: B2 0 REI 16777215 path layer: B3 0 REI 0 Statistics last cleared:never Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 24 bits/sec, 0 packets/sec Input: 14861 packets, 237808 bytes Input error: 0 shortpacket, 0 longpacket, 1 CRC, 0 lostpacket Output: 14859 packets, 237762 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Run the display ppp compression iphc rtp command to check the statistics on the IP header compression on the PPP link. For example:
<HUAWEI> display ppp compression iphc rtp IPHC: RTP/UDP/IP header compression Interface: Serial1/0/0:0 Received: Compress/Error/Discard/Total: 0/0/0/0 (Packets) Sent: Compress/Total: 0/0 (Packets) Send/Save/Total: 0/0/0 (Bytes) Connect: Rx/Tx: 300/300
4-20
Issue 03 (2010-03-31)
You need to configure the local and the peer ends separately. The methods of configuration are the same.
Pre-configuration Tasks
Before configuring MP binding using MP-Group, complete the following tasks:
l l
Configuring physical attributes of the router interface. Configuring the link layer protocol of the interface as PPP.
Data Preparation
To configure MP binding using MP-Group, you need the following data. No. 1 2 3 4 Data Interface number of the router Interface number of MP-Group IP addresses and subnet masks of the MP-Group interface Username and password of the peer device
Issue 03 (2010-03-31)
4-21
Physical interfaces must be bound into one MP-group in the same mode. All physical interfaces in one MP-group must be at the same interface card as the router does not support trans-board and trans-card MP binding. Number of the physical interfaces bound in one MP-group that are used to interwork at two ends must be the same. Multiple physical interfaces are bound in one local MP-group. The peer interfaces directly connected to those physical interfaces must be bound into one MP-group.
Procedure
Step 1 Run:
system-view
Step 9 Run:
undo shutdown
The terminal discriminator negotiation is disabled. By default, the endpoint discriminator negotiation is enabled. The LCP status is Up only when the endpoint discriminators of the MP-Group ports are the same. The configuration of the endpoint discriminator negotiation on both ends must be the same. If one end is configured with the undo discriminator command whereas the other end is configured with the discriminator command, the parameters sent by the end configured with the undo discriminator command do not contain the endpoint discriminator, and this end accepts the endpoint discriminator of the other end. As a result, MP cannot be established. If you want to use the undo discriminator command on the MP-Group interface, you must use the shutdown and undo shutdown commands to enable the configuration. Step 4 Run:
quit
Issue 03 (2010-03-31)
4-23
The interface view is displayed. Step 6 Choose one of the following methods to restart the interface.
l l
Run the shutdown and undo shutdown commands. Run the restart command.
If the LCP status of the interface is Opened, the interface must be restarted. This ensures that PPP can be renegotiated and the interface can be successfully bound to the MP. If the LCP status is not Opened, the interface need not be restarted because PPP can automatically perform negotiation.
NOTE
To ensure the success of MP binding after PPP is renegotiated, it is recommended to restart all the bound interfaces after the configuration.
After the undo ppp mp command is successfully run in the interface view, the interface is unbound from the MP. At this time, the interface need not be restarted because PPP can automatically perform negotiation until the link layer protocol status of the interface changes to Up. The whole process lasts about 40 seconds. ----End
----End
Example
After running the display ppp mp command, you can check MP binding information, including the status and number of the bound member interfaces.
<HUAWEI> display ppp mp Mp-group is Mp-group1/0/1 ===========Sublinks status begin====== Serial1/0/1:1 physical UP,protocol UP Serial1/0/1:2 physical UP,protocol UP Serial1/0/1:3 physical UP,protocol DOWN Serial1/0/1:4 physical UP,protocol DOWN ===========Sublinks status end======== Bundle Multilink, 2 member, slot 1, Master link is Mp-group1/0/1 0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved, sequence 0/0 rcvd/sent The bundled son channels are: Serial1/0/1:1 Serial1/0/1:2
4-24
Issue 03 (2010-03-31)
After running the display interface mp-group command, you can check the status of the MPGroup interface. The following is the display of the command:
<HUAWEI> display interface mp-group Mp-group1/0/1 current state : UP Line protocol current state : UP Last line protocol up time : 2009-01-20 11:01:43 Description:Mp-group1/0/1 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 1.2.2.1/24 Link layer protocol is PPP LCP opened, MP opened, IPCP reqsent Physical is MP, baudrate is 1984000 bps Traffic statistics: Last 300 seconds input rate 16 bits/sec, 0 packets/sec Last 300 seconds output rate 16 bits/sec, 0 packets/sec Input: 117 packets, 1440 bytes 0 errors, 0 drops Output: 118 packets, 1475 bytes 0 errors, 0 drops
After running the display interface brief [ | { begin | include | exclude } regular-expression ] command, you can check brief information about the physical status, link layer protocol status, bandwidth utilization, and number of incorrect packets of the MP-Group interface and its member interfaces. The following is the display of the command:
<HUAWEI> display interface brief | include 1/0/ PHY: Physical *down: administratively down ^down: standby (l): loopback (s): spoofing (b): BFD down (e): EFM down (d): Dampening Suppressed InUti/OutUti: input utility/output utility Interface PHY Protocol outErrors Mp-group1/0/1 up up 0 Serial1/0/0:0 up up 0 Serial1/0/1:0 up up 0 Serial1/0/2:0 *down down 0 Serial1/0/5:0 up down 0
inErrors 0 5 2 0 21
the MP can perform the NCP negotiation. That is, you can set the minimum bandwidth for an MP link as required. 4.7.5 Checking the Configuration
Pre-configuration Tasks
Before configuring MP limiting parameters, complete the following tasks:
l
Connecting the interface and configuring the physical parameters of the interface to make the physical layer status of the interface change to Up Configuring MP binding
Data Preparation
To configure MP limiting parameters, you need the following data. No. 1 2 3 4 5 Data The MRRU of MP Time period during which the MP subchannel status is detected Maximum number of times of the flappings occuring on the MP subchannel within the detection time Minimum time during which the MP subchannel keeps Up to be released from damping Minimum number of subchannels in the Up state in an MP
NOTE
l l l
After changing the parameters configured in the MP-group view, you need to use the shutdown command in all the bound sub-channels to disable the MP binding. Then use the undo shutdown command in all the bound sub-channels to bind MP again. Finally, all the configured commands will be effective.
Context
Max-Receive-Reconstructed Unit (MRRU) refers to the maximum size of the packet reassembled with the received fragment packets, and MP must negotiate MRRU with the remote before performing IP packet fragmentation. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
The MRRU of the MP group is configured. By default, MRRU is 1500 bytes. ----End
Context
Do as follows on the routers configured with MP-Group interfaces:
Procedure
Step 1 Run:
system-view
Context
Do as follows on the routers configured with MP-Group interfaces:
Procedure
Step 1 Run:
system-view
The minimum number of subchannels in the Up state in the MP link is set. Step 4 Run:
shutdown
Example
After running the display current-configuration interface command, you can check configurations on the MP-Group interface.
<HUAWEI> display current-configuration interface mp-group 1/0/1 #
4-28
Issue 03 (2010-03-31)
interface Mp-group1/0/1 mrru 1200 ppp mp threshiold 2 ppp mp damping detect-time 32 flapping-count 32 damping-time 62# # return
Pre-configuration Tasks
Before configuring MP fragmentation, complete the following tasks:
l
Connecting the interface and configuring the physical parameters of the interface to make the physical layer status of the interface change to Up. Configuring MP binding
Data Preparation
To configure MP fragmentation, you need the following data. No. 1 Data Length of the MP packet to be fragmented
Procedure
Step 1 Run:
system-view
Example
Run the display ppp mp command, you can view the binding information about the MP-Group. For example:
<HUAWEI> display ppp mp interface mp-group 1/0/1 Mp-group is Mp-group1/0/1 ===========Sublinks status begin====== Serial1/0/1:1 physical UP,protocol UP Serial1/0/1:2 physical UP,protocol UP Serial1/0/1:3 physical UP,protocol DOWN(damping) Serial1/0/1:4 physical UP,protocol DOWN ===========Sublinks status end======== Bundle Multilink, 2 member, slot 1, Master link is Mp-group1/0/1 0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved, sequence 0/0 rcvd/sent The bundled son channels are: Serial1/0/1:1 Serial1/0/1:2
4-30
Issue 03 (2010-03-31)
Context
CAUTION
Debugging affects on the performance of the system. So, after the debugging, run the undo debugging all command to disable it immediately. When the operation faults of PPP and MP occur, use the debugging command in the user view to debug the PPP and MP link protocol and locate the fault. For the operation of the debugging, refer to the chapter "Information Center Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - System Management. For the debugging commands, refer to the HUAWEI NetEngine80E/40E Router Debugging Reference.
Procedure
l l Run the debugging ppp all [ verbose ] [ interface interface-type interface-number ] command to enable the debugging of PPP. Run the debugging ppp { ccp | chap | ipcp | lcp | mplscp | osicp | pap } { all | error | event | packet [ verbose ] | state } [ interface interface-type interface-number ] command to enable the debugging of the PPP control protocols. Run the debugging ppp mp { all | error | event | packet [ verbose ] } [ interface interfacetype interface-number ] command to enable the debugging of MP. Run the debugging ppp ipv6cp { all | error | event | packet | state } [ interface interfacetype interface-number ] command to enable the debugging of the IPv6 control protocol. Run the debugging ppp { cbcp | ip | mpls-multicast | mpls-unicast | osi-npdu | scp | vjcomp } packet [ verbose ] [ interface interface-type interface-number ] command to enable the debugging of the PPP packets. Run the debugging ppp ipv6 packet [ interface interface-type interface-number ] command to enable the debugging of the IPv6 packets. Run the debugging ppp core event [ interface interface-type interface-number ] command to enable the debugging of the PPP core events. Run the debugging ppp compression iphc { rtp | tcp } command to enable the debugging of the IPHC compression of PPP.
l l l
l l l
----End
RouterA
POS1/0/0 10.110.0.1/24
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. Add the user name and password of Router B to the local user list of Router A. Configure Router A to authenticate Router B in PAP mode. Configure the local user name and password on Router B.
Data Preparation
To complete the configuration, you need the following data:
l l l
The user name and password of Router B The IP address of the interface on Router A The IP address of the interface on Router B
Procedure
Step 1 Configure Router A # Add the username and password of Router B to the local user list of Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] aaa [RouterA-aaa] local-user rtb password simple quidway [RouterA-aaa] quit
# Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
[RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] ip address 10.110.0.1 255.255.255.0 [RouterA-Pos1/0/0] link-protocol ppp
Step 2 Configure Router B. # Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] interface pos 1/0/0 [RouterB-Pos1/0/0] ip address 10.110.0.2 255.255.255.0 [RouterB-Pos1/0/0] link-protocol PPP
# Configure the username and password sent to the authentication object in the PAP mode.
[RouterB-Pos1/0/0] ppp pap local-user rtb password simple quidway [RouterB-Pos1/0/0] undo shutdown
Step 3 Verify the configuration. After the configuration is completed, executing the display interface command on every router, you can see the LCP status is Opened. Take Router A as an example.
<RouterA-Pos1/0/0] display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Last up time: 2007-11-03, 12:36:19 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.110.0.1/24 Link layer protocol is PPP LCP opened, IPCP opened The Vendor PN is FTRJ1321P1BTL Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode WaveLength: 1310nm, Transmission Distance: 5km Rx Power: -3.91dBm, Tx Power: -1.87dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 21424008 line layer: B2 1093838510 REI 705143440 path layer: B3 45521365 Statistics last cleared:never Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 152 bits/sec, 0 packets/sec Input: 18791 packets, 490767 bytes Input error: 10 shortpacket, 0 longpacket, 143 CRC, 0 lostpacket Output: 30960 packets, 1408202 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
----End
Configuration Files
l
Issue 03 (2010-03-31)
4-33
RouterA
POS1/0/0 10.110.0.1/24
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. 5. Add the user name and password of Router B to the local user list of Router A. Configure the local user name for Router A. Configure Router A to authenticate the peer in CHAP mode. Configure the local user list on Router B. Configure the local user name for Router B.
Data Preparation
To complete the configuration, you need the following data:
4-34 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Local user name of Router A Local user name and password of Router B IP address of the interface on Router A IP address of the interface on Router B
Procedure
Step 1 Configure Router A. # Add the username and password of Router B to the local user list of Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] aaa [RouterA-aaa] local-user rtb password simple hello [RouterA-aaa] quit
# Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
[RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] ip address 10.110.0.1 255.255.255.0 [RouterA-Pos1/0/0] link-protocol ppp
Step 2 Configure Router B # Add the user name of Router A and the local password to the local user list of Router B.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] aaa [RouterB-aaa] local-user rta password simple hello [RouterB-aaa] quit
# Configure the IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
[RouterB] interface pos 1/0/0 [RouterB-Pos1/0/0] ip address 10.110.0.2 255.255.255.0 [RouterB-Pos1/0/0] link-protocol ppp
Step 3 Verify the configuration. After the configuration is complete, running the display interface command on every router, you can find the LCP state is LCP opened. Take the Router A as the example.
[RouterA] display interface pos 1/0/0 Pos1/0/0 current state : UP
Issue 03 (2010-03-31)
4-35
Line protocol current state : UP Last up time: 2007-11-03, 12:36:19 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.110.0.1/24 Link layer protocol is PPP LCP opened, IPCP opened The Vendor PN is FTRJ1321P1BTL Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode WaveLength: 1310nm, Transmission Distance: 5km Rx Power: -3.91dBm, Tx Power: -1.87dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 21424008 line layer: B2 1093838510 REI 705143440 path layer: B3 45521365 Statistics last cleared:never Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 152 bits/sec, 0 packets/sec Input: 18791 packets, 490767 bytes Input error: 10 shortpacket, 0 longpacket, 143 CRC, 0 lostpacket Output: 30960 packets, 1408202 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
----End
Configuration Files
l
4-36
Issue 03 (2010-03-31)
RouterA
POS1/0/0 10.110.0.1/24
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. Configure the local user lists on Router A and Route B. Configure local user names for Router A and Router B. Enable CHAP authentication on the interfaces of Router A and Route B.
Data Preparation
To complete the configuration, you need the following data:
l l l l
The user names of Router A and Router B The passwords of Router A and Router B The IP address of the interface on Router A The IP address of the interface onRouter B
NOTE
Router A and Router B must be configured with the same password, or the authentication fails.
Procedure
Step 1 Configure Router A. # Add the username and password of Router B to the local user list of Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] aaa [RouterA-aaa] local-user rtb password simple hello [RouterA-aaa] quit
Issue 03 (2010-03-31)
4-37
# Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
[RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] ip address 10.110.0.1 255.255.255.0 [RouterA-Pos1/0/0] link-protocol ppp
# Configure the username of Router A used in its authentication by Router B in the CHAP mode.
[RouterA-Pos1/0/0] ppp chap user rta
Step 2 Configure Router B. # Add the username of Router A and the local password to the local user list of Router B.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] aaa [RouterB-aaa] local-user rta password simple hello [RouterB-aaa] quit
# Configure an IP address for POS 1/0/0 and configure the link-layer encapsulation protocol as PPP.
[RouterB] interface pos 1/0/0 [RouterB-Pos1/0/0] ip address 10.110.0.2 255.255.255.0 [RouterB-Pos1/0/0] link-protocol ppp
# Configure the user name of Router B used in its authentication by Router A in the CHAP mode.
[RouterB-Pos1/0/0] ppp chap user rtb
Step 3 Verify the configuration. After the configuration is completed, running the display interface command on every router, you can see the LCP status is Opened.
[RouterA] display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Last up time: 2007-11-03, 12:36:19 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 10.110.0.1/24 Link layer protocol is PPP LCP opened, IPCP opened The Vendor PN is FTRJ1321P1BTL Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode WaveLength: 1310nm, Transmission Distance: 5km Rx Power: -3.91dBm, Tx Power: -1.87dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine " Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error:
4-38
Issue 03 (2010-03-31)
section layer: B1 21424008 line layer: B2 1093838510 REI 705143440 path layer: B3 45521365 Statistics last cleared:never Last 300 seconds input rate 24 bits/sec, 0 packets/sec Last 300 seconds output rate 152 bits/sec, 0 packets/sec Input: 18791 packets, 490767 bytes Input error: 10 shortpacket, 0 longpacket, 143 CRC, 0 lostpacket Output: 30960 packets, 1408202 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
----End
Configuration Files
l
Serial1/0/1:0
Issue 03 (2010-03-31)
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. Configure the local user lists on Router A and Router B. Enable PAP authentication on Router A and Router B. Create MP-group interface and add related interfaces to MP-group. Restart interfaces to validate the configuration.
Data Preparation
To complete the configuration, you need the following data:
l l l
The IP addresses of the Mp-groups on Router A The IP addresses of the Mp-groups on Router B The bound sub-tunnel is authenticated by the PAP
NOTE
l l l
The slot number and card number of MP-Group interface must be consistent with the slot number and card number of the interface added to the MP-Group. The interfaces added to the MP-group can only be the serial interfaces instead of other interfaces. PAP or CHAP authentication is unnecessarily configured when you configure MP binding by using MP-group.
Procedure
Step 1 Configure Router A. # Add the username and password of Router B to the local user list of Router A.
<RouterA> system-view [RouterA] aaa [RouterA-aaa] local-user rtb password simple rtb [RouterA-aaa] quit
4-40
Issue 03 (2010-03-31)
Step 2 Configure Router B. # Add the username and password of Router A to the local user list of Router B.
<RouterB> system-view [RouterB] aaa [RouterB-aaa] local-user rta password simple rta [RouterB-aaa] quit
Issue 03 (2010-03-31)
4-41
You can ping through the IP address of the MP-group 2/0/1 on Router A.
[RouterA] ping 111.1.1.2 PING 111.1.1.2: 56 data bytes, press CTRL_C to break Reply from 111.1.1.2: bytes=56 Sequence=1 ttl=255 time=29 Reply from 111.1.1.2: bytes=56 Sequence=2 ttl=255 time=31 Reply from 111.1.1.2: bytes=56 Sequence=3 ttl=255 time=29 Reply from 111.1.1.2: bytes=56 Sequence=4 ttl=255 time=30 Reply from 111.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 --- 111.1.1.2 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 29/29/31 ms
ms ms ms ms ms
----End
Configuration Files
l
4-42
Issue 03 (2010-03-31)
Issue 03 (2010-03-31)
4-43
5
About This Chapter
Describes frame relay related concepts and configuration steps for frame relay compression, LMI type, frame relay switching, and PVC standby groups, along with typical examples. 5.1 Introduction to Frame Relay Describes concepts and fundamentals of FR. 5.2 Configuring FR Describes how to configure FR. 5.3 Configuring FR LMI Type and Related Parameters Describes how to configure FR LMI. 5.4 Maintaining Frame Relay Configuration Describes how to maintain FR . 5.5 Configuration Examples Provides several configuration examples of FR.
Issue 03 (2010-03-31)
5-1
5.2 Configuring FR
Describes how to configure FR. 5.2.1 Establishing the Configuration Task 5.2.2 Configuring Basic FR Functions 5.2.3 Checking the Configuration
IETF is used to encapsulate the packets according to RFC 1490 specifications and nonstandard is used to interconnect with routers of other vendors. In FR, both parties in communication are distinguished as DTE and DCE and they configure the interface with DTE or DCE format according to their respective location in a network. The FR module has two types of interfaces: main interface and sub-interface. The NE80E/40E can communicate with other devices only through P2P sub-itnerfaces if the link layer protocol is FR. For the network layer, the sub-interface can be used to configure the PVC. This PVC is used to connect with the remote equipment. Data Link Connection Identifier is locally valid. You can specify the same DLCI number for two ends of a link, or specify the same DLCI number for multiple interfaces. Different physical interfaces, however, must be configured with different DLCI numbers.
Pre-configuration Tasks
Before configuring the basic FR functions, configure the physical attributes of the FR interface on a router.
Data Preparation
To configure basic FR functions, you need the following data. No. 1 2 3 4 Data FR interface number of a router and IP addresses to be allocated Interface number of multilink FR bundle DLCI to be allocated to the interface Interface number of the FR sub-interfaces
Procedure
Step 1 Run:
system-view
Step 3 Run:
link-protocol fr [ ietf | nonstandard ]
The link layer protocol of the interface is configured as FR. By default, the encapsulation format is IETF. A FR sub-interface can be created only after the FR main interface is configured.
NOTE
After the FR encapsulation format of the interface is changed, the system automatically deletes all the FR configurations on the interface. Then, you need to delete all the sub-interfaces to re-configure the FR. After modifying the link layer protocol, you need to first run the shutdown command to shut down the interface and then run the undo shutdown command to restart the interface to validate the configuration.
The type of the FR interface is configured. By default, the FR interface type is DTE. Step 5 Run:
quit
An FR sub-interface is created.
NOTE
l l l
NE80E/40E supports the FR sub-itnerfaces only in P2P mode. An FR sub-interface must be of the same type as that of its main interface. When sub-interfaces exist, if you execute the shutdown command and the undo shutdown command on the main interface in succession, the two commands should be used at an interval of at least 15 seconds.
Step 7 Run:
fr dlci dlci
The DLCI of the interface is configured. For an FR sub-interface, the DLCI must be configured. In addition, DLCIs on both ends must be consistent. Step 8 Run:
quit
Procedure
l l Run the display fr interface [ interface-type interface-number[.subnumber ] ] command to check the status of the FR protocol and information about the interface. Run the display fr map-info [ interface interface-type interface-number[.subnumber ] ] command to check the mapping between the protocol address and the FR address.
----End
Example
Run the display fr interface command. If the status of the FR protocol and information about the interface are displayed, it means the configuration succeeds.
<HUAWEI> display fr interface Pos1/0/0, DTE, physical up, protocol up Pos1/0/0.1, point-to-point, protocol up Pos1/0/0.2, point-to-point, protocol up
Run the display fr map-info command. If the mapping between the protocol address and the FR address is displayed, it means the configuration succeeds. Detailed address mapping information is not displayed for P2P sub-interfaces.
<HUAWEI> display fr map-info Map Statistics for interface Pos2/1/0 (DCE) DLCI 20, Point-to-Point DLCI, Pos2/1/0.1 created at: 2009/02/12 11:17:37, status: ACTIVE
Pre-configuration Tasks
Before configuring FR LMI type and related parameters, complete the following tasks:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 5-5
Configuring physical parameters for Frame Relay interfaces Configuring Frame Relay interfaces
Data Preparation
To configure the FR LMI type and related parameters, you need the following data: No. 1 2 3 Data FR interface number of a router and IP addresses to be allocated Required n391, n392 and n393 parameters as well as polling interval on DTE Required n392, n393 and t392 parameters on DCE
The FR LMI and related parameters can be configured only on the main interface.
Step 3 Run:
fr lmi type { ansi | nonstandard | q933a }
The FR LMI type is configured. By default, the LMI protocol type of is q933a. Step 4 Run:
timer hold seconds
The polling interval (determined by T391) on the DCE device is configured. Step 5 Run:
fr lmi n391dte n391-value
The LMI N391 parameters on the DTE device are configured. Step 6 Run:
fr lmi n392dte n392-value
5-6
Issue 03 (2010-03-31)
The FR LMI and related parameters can be configured only on the main interface.
Step 3 Run:
fr lmi type { ansi | nonstandard | q933a }
The FR LMI type is configured. By default, the LMI protocol type of is q933a. Step 4 Run:
fr lmi t392dce t392-value
The timeout period (determined by T392) for the DCE device to wait for a status request packet is configured. LMI N391 parameters on the DTE device are configured. Step 5 Run:
fr lmi n392dce n392-value
Procedure
l Run the display fr lmi-info [ interface interface-type interface-number ] command to check statistics about FR LMI packets.
----End
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 5-7
Example
Run the display fr lmi-info command. If statistics about FR LMI packets are displayed, it means the configuration succeeds. For example:
<HUAWEI> display fr lmi-info Frame relay LMI statistics for interface Pos2/1/0 (DCE, ANSI) T392DCE = 15, N392DCE = 5, N393DCE = 4 in status enquiry = 0, out status = 0 status enquiry timeout = 0, discarded messages = 0
----End
5.4.2 Debugging FR
Context
CAUTION
Debugging affects the performance of the system. So, after the debugging, run the undo debugging all command to disable it immediately. When a fault of FR occurs, execute the following debugging commands in user view to debug FR and to locate the fault. For detailed steps, refer to the "Information Center Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - System Management. For the description of debugging commands, refer to the HUAWEI NetEngine80E/40E Router Debugging Reference.
NOTE
l l l
If the debugging is enabled globally, running the same debugging command on the interface does not take effect. If the debugging is disabled globally, running the same undo debugging command on the interface does not take effect. If the verbose option has been selected, to disable it, use the undo debugging command. For example, after the debugging fr packet ip verbose command is executed, the debugging fr packet ip command does not take effect, and the previous output of the debugging fr packet ip verbose command remains.
5-8
Issue 03 (2010-03-31)
Procedure
l Run the debugging fr { all | compress | congestion | de | lmi | transmit-rate } [ interface interface-type interface-number ] debugging fr { event | ipc } command in the user view to enable the FR debugging. Run the debugging fr fragment interface interface-type interface-number dlci-number command in the user view to enable the packet fragment debugging. Run the debugging fr inarp [ verbose ] [interface interface-type inertface-number [ dlci dlci-number] ] command in the user view to enable the FR inverse ASP. (The 64byte packets can be output if the verbose is chosen.) Run the debugging fr packet [ ip | mpls | isis | switch | error ] [ verbose ] [ interface interface-type inertface-number [ dlci dlci-number ] ] command in the user view to enable the FR packets debugging and output the debugging information according to different packets.
l l
----End
5.5.1 Example for Connecting Devices with POS Interfaces Through FR Network
Networking Requirements
As shown in Figure 5-1, routers are interconnected through POS interfaces on the FR network,and routers work in DTE mode as user devices. Router A connects Router B and Router C, which reside on different network segments from Router A, through sub-interfaces. Figure 5-1 Networking diagram of connecting routers using the POS interface through FR network
Router B
Router C
Issue 03 (2010-03-31)
5-9
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. Configure FR as the link protocol. Configure the working mode for interfaces. Configure IP addresses for interfaces. Configure the address mapping.
Data Preparation
To complete the configuration, you need the following data:
l l l l
IP address and DLCI of POS 1/0/0.1 on Router A IP address and DLCI of POS 1/0/0.2 on Router A IP address and DLCI of POS 1/0/0.1 on Router B IP address and DLCI of POS 1/0/0.2 on Router C
Procedure
Step 1 Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface pos 1/0/0
Step 2 Configure Router B and Router C. The method of configuring Router B and Router C is the same as the method of configuring Router A. The configuration details are not mentioned here.
5-10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Step 3 Verify the configuration. Run the display interface pos command on each router. You can find that the connectivity of POS interfaces is Up. Run the ping command on each router. Each router can ping through the network. ----End
Configuration Files
l
Issue 03 (2010-03-31)
5-11
Issue 03 (2010-03-31)
6-1
Increasing bandwidth: Bandwidth of an IP-Trunk interface is the sum of all the bandwidth of member ports. Enhancing reliability: If a member link failed, traffic is automatically switched to other available links.
Supports configured IP addresses. When forwarding packets, each member interface uses the IP address of the IP-Trunk interface. Supports MPLS forwarding, and Layer 3 forwarding (including unicast and multicast). The Hash algorithm can be used in load balancing by flow. Supports QoS based on physical ports rather than logical ports. Supports MPLS and binding VPN instances. Supports hot backup and hot swap.
l l l
6-2
Issue 03 (2010-03-31)
If member ports of the Trunk are not on the same LPU, you need to configure the BFD session to detect the links between member ports and configure the association between process pst and interfaces in the BFD session. Otherwise, in some scenarios (for example, restarting the LPU where member ports of the Trunk locate), traffic loss can be caused. For detailed configurations of BFD, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability.
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.
Data Preparation
To configure HDLC, you need the following data. No. 1 Data Numbers of the interfaces on the router
Issue 03 (2010-03-31)
6-3
The interface view is displayed. Step 3 Choose one of the following steps to configure the IP address or IP unnumbered address of the interface as required.
l
Run the ip address ip-address { mask | mask-length } [ sub ] command to configure the IP address of the interface. Run the ip address unnumbered interface interface-type interface-number command to configure the IP unnumbered address.
NOTE
If you configure IP address unnumbered on an interface encapsulated with HDLC, the borrower must have the ability to learn the route to the remote end. Otherwise, it cannot reach the remote end.
When you use IP address unnumbered, you can configure static route or dynamic routing protocol to make the borrower learn the route to the remote end. Note the following principles:
l
If you use dynamic routing protocol, ensure the length of the learned route mask is longer than that of the lender's IP address mask, because the NE80E/40E adopts the principle of longest match in routing lookup. If you use static route and the IP address of the lender adopts 32-bit mask, the length of the static route mask should be shorter than 32 bits. If you use static route and the IP address of the lender adopts a mask less than 32 bits, the length of the static route mask should be longer than that of the lender's IP address mask.
----End
6-4
Issue 03 (2010-03-31)
The polling interval is configured. By default, the pooling interval is 10 seconds. If it is set to 0, then link detection is prohibited. The link layer protocols such as PPP, FR, and HDLC adopt a polling timer to check the status of a link. Configure identical polling interval on the both ends. You can adopt the default polling interval or adjust the polling interval as required. In the case of long network delay or high congestion, you can prolong the polling interval to reduce the possibility of network flapping.
NOTE
----End
Procedure
l Run the display interface [ interface-type [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] command to check the status, link layer protocol and configuration of the interface.
----End
Example
Run the display interface command, you can view the status, link layer protocol and configuration of the interface.
<HUAWEI> display interface pos 1/0/0 Pos1/0/0 current state : UP Line protocol current state : UP Last line protocol up time : 2003-01-28 11:19:00 Description: Pos1/0/0 Interface Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec) Internet Address is 192.168.19.2/24 Link layer protocol is nonstandard HDLC The Vendor PN is FTRJ8519P1BNL-HW Port BW: 2.5G, Transceiver max BW: 1G, Transceiver Mode: MultiMode WaveLength: 850nm, Transmission Distance: 300m Rx Power: -5.84dBm, Tx Power: -5.97dBm Physical layer is Packet Over SDH Scramble enabled, clock master, CRC-32, loopback: none Flag J0 "NetEngine " Flag J1 "NetEngine "
Issue 03 (2010-03-31)
6-5
Flag C2 22(0x16) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1 0 line layer: B2 0 REI 16802934 path layer: B3 0 REI 66775 Statistics last cleared:never Last 300 seconds input rate 72 bits/sec, 0 packets/sec Last 300 seconds output rate 24 bits/sec, 0 packets/sec Input: 1642 packets, 35940 bytes Input error: 0 shortpacket, 0 longpacket, 3 CRC, 0 lostpacket Output: 1475 packets, 24008 bytes Output error: 0 lostpackets Output error: 0 overrunpackets, 0 underrunpackets
Pre-configuration Tasks
None
Data Preparation
To create an IP-Trunk interface, you need the following data.
6-6 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
No. 1 2 3 4 5 6
Data IP-Trunk ID IP address of the IP-Trunk interface Lower threshold of Up links Load balancing mode Type and number of the backup port Weight of the member port
6.3.2 Creating an IP-Trunk and adding POS Interfaces into the IPTrunk
Context
Do as follows on the routers:
Procedure
Step 1 Run:
system-view
The view of the POS interface to be added to the IP-Trunk is displayed. Step 4 Run:
shutdown
The link-layer protocol of the interface is configured as High-level Data Link Control (HDLC). Step 6 Run:
ip-trunk trunk-id
The interface is added to the IP-Trunk. When configuring an IP-Trunk interface, note the following points:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 6-7
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 linkprotocol hdlc command in the POS interface view to change the link layer protocol to HDLC. Before adding an interface to an IP-Trunk, ensure the interface is not configured with any Layer 3 feature or service. A POS interface can join only one IP-Trunk interface. To add the POS interface to another IP-Trunk interface, you must remove it from the original IP-Trunk first. Member interfaces of an IP-Trunk cannot be IP-Trunks. The POS interfaces of different interface boards can be added into the same IP-Trunk. Do not bind interfaces with different forwarding capabilities to an IP-Trunk. After interfaces with different forwarding capabilities are bound to an IP-Trunk, each interface assumes the least capability among all the interfaces. For example, after a 10 Gbit/ s POS interface and a 2.5 Gbit/s POS interface are added into an IP-Trunk, the transmission capability of the 10 Gbit/s POS interface can only reach 2.5 Gbit/s. The transmission capability of the IP-Trunk is 5 Gbit/s rather than 12.5 Gbit/s. If an IP-Trunk is created on a local device, the peer device interfaces that are directly connected with the member interfaces must be bound to an IP-Trunk interface. Otherwise, the two ends cannot communicate.
l l l l
Step 7 Run:
undo shutdown
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
The lower threshold of the member links in the Up state is configured. By default, the lower threshold is 1. That is, an IP-Trunk remains Up as long as one member interface is Up.
NOTE
To ensure normal forwarding, it is recommended to configure the same lower threshold on the Trunk interfaces at both ends of the same Trunk link.
----End
Procedure
Step 1 Run:
system-view
The load-balancing mode of the IP-Trunk interface is configured. By default, load balancing is carried out among IP-Trunk member interfaces based on ip.
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 6-9
Load balancing based on IP addresses can guarantee the packet order, but cannot improve the bandwidth usage. Packet-by-packet load balancing can improve the bandwidth usage, but cannot guarantee the packet order.
----End
Procedure
Step 1 Run:
system-view
The weight of the interface is configured. By default, the weight of a member interface is 1.
NOTE
When an IP-Trunk bears multicast traffic, if you run the distribute-weight command to change the load balancing weight of a member interface, you need to run the shutdown and undo shutdown commands to restart the member interface so that the configuration can take effect.
----End
6.3.7 (Optional) Configuring the Method of Sending Trap Messages from an IP-Trunk Member Interface
Context
Do as follows on the device where IP-Trunk interfaces are created:
6-10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
Procedure
Step 1 Run:
system-view
An IP-Trunk member interface in the Up or Down state sends trap messages through the private MIB. By default, an IP-Trunk member interface in the Up or Down state sends trap messages through the public MIB. The trap message sent through the public MIB does not carry information about the IP-Trunk interface. If you want the trap message sent by an IP-Trunk member interface to carry information about the IP-Trunk interface, run the trunk-member trap in private-mib enable command. ----End
Procedure
l l l Run the display interface ip-trunk [ trunk-id ] [ | { begin | exclude | include } regularexpression ] command to check the status of the IP-Trunk interface. Run the display trunkmembership ip-trunk trunk-id [ slot slot-id ] command to check information about the IP-Trunk member interface. Run the display trunkfwdtbl ip-trunk trunk-id [ slot slot-id ] command to check the forwarding table of the IP-Trunk interface.
----End
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. For example:
<HUAWEI> display interface ip-trunk 1 Ip-Trunk1 current state : UP Line protocol current state : UP Last line protocol up time: 2007-11-03, 17:45:06 Description : HUAWEI, Quidway Series, Ip-Trunk1 Interface Route Port,Hash arithmetic : According to IP,The Maximum Transmit Unit is 4470 Internet Address is 10.2.1.1/19 Link layer protocol is nonstandard HDLC Physical is IP_TRUNK Statistics last cleared: 2008-08-02 15:32:27 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes,
Issue 03 (2010-03-31)
6-11
0 unicast,0 broadcast,0 multicast 0 errors,0 drops,0 unknownprotocol Output:0 packets,0 bytes, 0 unicast,0 broadcast,0 multicast 0 errors,0 drops ----------------------------------------------------PortName Status Weight ----------------------------------------------------Pos1/0/0 UP 1 ----------------------------------------------------The Number of Ports in Trunk : 1 The Number of UP Ports in Trunk : 1
Run the display trunkmembership ip-trunk command. If the member interfaces, number of members, and number of Up members are displayed, it means the configuration succeeds. For example:
<HUAWEI> display trunkmembership ip-trunk 1 Trunk ID: 1 TYPE: pos Number Of Ports in Trunk = 2 Number Of UP Ports in Trunk = 0 operate status: down Interface Pos6/0/0, valid,selected,operate down,weight=1 standby interface NULL Interface Pos6/0/1, valid,selected,operate down,weight=1 standby interface NULL
Run the display trunkfwdtbl ip-trunk command. You can view the forwarding table of an IPTrunk interface.
<HUAWEI> display trunkfwdtbl ip-trunk 1 Show the Trunk Forwarding Table Ip-Trunk1's forwarding table is: MASTER SLAVE Pos3/1/1 Pos3/1/0 Pos3/1/0 Pos3/1/1 Pos3/1/1 Pos3/1/0 Pos3/1/1 Pos3/1/0 Pos3/1/0 Pos3/1/1 Pos3/1/1 Pos3/1/0 Pos3/1/1 Pos3/1/0 Pos3/1/0 Pos3/1/1 Pos3/1/1 Pos3/1/0 Pos3/1/1 Pos3/1/0 Pos3/1/0 Pos3/1/1 Pos3/1/1 Pos3/1/0 Pos3/1/1 Pos3/1/0 Pos3/1/0 Pos3/1/1 Pos3/1/0 Pos3/1/1 Pos3/1/1 Pos3/1/0
6-12
Issue 03 (2010-03-31)
CAUTION
The previous statistics cannot be restored after you clear them. So, confirm the action before you use the command. To reset the interface statistics of the Network Management System (NMS) or that displayed by running the display interface command, run the following commands in the user view.
NOTE
For the display of interface statistics in the NMS, refer to related NMS manuals.
Procedure
l l Run the reset counters interface [ interface-type [ interface-number ] ] command to clear the interface statistics displayed by running the display interface command. Run the reset counters if-mib interface [ interface-type [ interface-number ] ] command to clear the interface statistics in the NMS.
----End
CAUTION
Debugging affects the performance of the system. So, after debugging, run the undo debugging all command to disable it immediately. When an HDLC fault occurs, run the following debugging commands in the user view to debug HDLC, view the debugging information, and locate and analyze the fault. For the procedure of displaying the debugging information, refer to the "Information Center Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - System Management. For the description of debugging commands, refer to the HUAWEI NetEngine80E/40E Router Debugging Reference.
NOTE
l l
If a debugging is enabled globally, running the same debugging command on the interface does not take effect. If a debugging is disabled globally, running the same undo debugging command on the interface does not take effect.
Issue 03 (2010-03-31)
6-13
Procedure
l l l Run the debugging hdlc all command in the user view to enable all HDLC debugging. Run the debugging hdlc event [ interface interface-type interface-number ] command in the user view to enable HDLC event debugging. Run the debugging hdlc { ip | ipv6 | isis | keepalive } { in | in-out | out } [ interface interface-type interface-number ] command in the user view to enable HDLC packet debugging.
----End
POS1/0/0 100.1.1.1/24
POS1/0/0 100.1.1.2/24
RouterA
RouterB
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. Configure the link protocol of each interface to HDLC. Configure the IP address of each interface.
Data Preparation
To configure DHCP, you need the following data:
l l
6-14
The IP addresses of Router A and Router B must be in the same network segment, or the link layer cannot be Up.
Procedure
Step 1 Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] link-protocol hdlc [RouterA-Pos1/0/0] ip address 100.1.1.1 24 [RouterA-Pos1/0/0] undo shutdown [RouterA-Pos1/0/0] quit
Step 3 Verify the configuration. After the configuration is completed, Router A and Router B can ping through each other. Take Router A as an example.
[RouterA] ping 100.1.1.2 PING 100.1.1.2: 56 data bytes, press CTRL_C to break Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=31 Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=31 Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=31 Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=31 Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=31 --- 100.1.1.2 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 31/31/31 ms
ms ms ms ms ms
Run the display ip routing-table command to check the correctness of the routing table.
[RouterA] display ip routing-table Route Flags: R - relied, D - download to fib -----------------------------------------------------------------------------Routing Tables: Public Destinations : 4 Routes : 4 Destination/Mask Proto Pre Cost Flags NextHop Interface 100.1.1.0/24 Direct 0 0 D 100.1.1.1 Pos1/0/0 100.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
----End
Configuration Files
l
Issue 03 (2010-03-31)
6-15
POS1/0/0
RouterA
RouterB
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. 5. Configure the link protocol of each interface to HDLC. On Router A, configure the IP address of the loopback interface whose IP address is unnumbered. Configure the POS interface on Router A to adopt the IP address unnumbered. Configure Router A to learn the opposite routing information through the static route. Configure the IP address of Router B.
Data Preparation
To configure the IP address unnumbered, you need the following data:
6-16 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
IP address of the loopback interface on Router A IP address of the POS interface on Router B
NOTE
These two IP addresses must be in the same network segment, or the link layer cannot be Up.
Procedure
Step 1 Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface loopback1 [RouterA-LoopBack1] ip address 100.1.1.1 32 [RouterA-LoopBack1] quit [RouterA] interface pos 1/0/0 [RouterA-Pos1/0/0] link-protocol hdlc [RouterA-Pos1/0/0] ip address unnumbered interface loopback1 [RouterA-Pos1/0/0] undo shutdown [RouterA-Pos1/0/0] quit
Step 4 Verify the configuration. After the configuration is completed, Router A and Router B can ping through each other. Take Router A as an example.
[RouterA] ping 100.1.1.2 PING 100.1.1.2: 56 data bytes, press CTRL_C to break Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=31 Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=63 Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=63 Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=63 Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=63 --- 100.1.1.2 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 31/56/63 ms
ms ms ms ms ms
Run the display ip routing-table command to check the correctness of the routing table.
[RouterA] display ip routing-table Route Flags: R - relied, D - download to fib -----------------------------------------------------------------------------Routing Tables: Public Destinations : 4 Routes : 4 Destination/Mask Proto Pre Cost Flags NextHop Interface 100.1.1.0/24 Static 60 0 D 100.1.1.1 Pos1/0/0 100.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
----End
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 6-17
Configuration Files
l
POS1/0/0
RouterA
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. Create an IP-Trunk interface. Add the POS interfaces to the IP-Trunk interface.
Data Preparation
To complete the configuration, you need the following data:
l
6-18
IP address of the IP-Trunk interface at Router A IP address of the IP-Trunk interface at Router B
Procedure
Step 1 Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA
Step 3 Check the configuration. Run the display interface ip-trunk command on Router A or Router B, and you can find that the interface is Up. Take Router A as an example.
[RouterA] display interface ip-trunk 1 Ip-Trunk1 current state : UP Line protocol current state : UP Last line protocol up time: 2007-11-03, 17:45:06 Description: Ip-Trunk1 Interface Route Port,Hash arithmetic : According to flow,The Maximum Transmit Unit is 4470
Issue 03 (2010-03-31)
6-19
Internet Address is 100.1.1.1/24 Link layer protocol is nonstandard HDLC Physical is IP_TRUNK Statistics last cleared: 2008-08-02 15:32:27 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes, 0 unicast,0 broadcast,0 multicast 0 errors,0 drops,0 unknownprotocol Output:0 packets,0 bytes, 0 unicast,0 broadcast,0 multicast 0 errors,0 drops ----------------------------------------------------PortName Status Weight ----------------------------------------------------Pos1/0/0 UP 1 Pos2/0/0 UP 5 ----------------------------------------------------The Number of Ports in Trunk : 2 The Number of UP Ports in Trunk : 2
View information about the member port of the IP-Trunk interface on Router A.
[RouterA] display trunkmembership ip-trunk 1 Trunk ID: 1 TYPE: pos Number Of Ports in Trunk = 2 Number Of UP Ports in Trunk = 2 operate status: up Interface Pos1/0/0, valid, selected, operate up, weight=1, standby interface NULL Interface Pos2/0/0, valid, selected, operate up, weight=1, standby interface NULL
The IP-Trunk interface of Router A and that of Router B can ping each other successfully.
[RouterA] ping -a 100.1.1.1 100.1.1.2 PING 100.1.1.2: 56 data bytes, press CTRL_C to break Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=62 Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=62 Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=62 Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=62 Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=62 --- 100.1.1.2 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 62/62/62 ms
ms ms ms ms ms
----End
Configuration Files
l
6-20
Issue 03 (2010-03-31)
Issue 03 (2010-03-31)
6-21
7 ATM Configuration
7
About This Chapter
7.1 Introduction to ATM Describes concepts and applications of ATM.
ATM Configuration
Describes Asynchronous Transfer Mode (ATM) broadband networking technologies and configuration steps for ATM interface, IMA groups, IPoA application, IPoEoA application, PPPoA application, PPPoEoA application, PVC service mapping, and service type of a PVC, OAM and VP, along with typical examples.
7.2 Configuring Parameters for an ATM OC-3/STM-1 Interface or an ATM OC-12/STM-4 Interface This section describes how to configure parameters for an ATM OC-3/STM-1 interface or an ATM OC-12/STM-4 interface. 7.3 Configuring ATM Services on a Serial Interface This section describes how to configure the ATM protocol on a serial interface, set the ATM interface type, and create a PVC. 7.4 Configuring IMA Groups Describes how to configure an IMA group. 7.5 Configuring the IPoA Application Describes how to configure IPoA. 7.6 Configuring the Service Type and Optional Parameters of a PVC This section describes how to configure service type and optional parameters of a PVC or PVP. 7.7 Configuring ATM OAM This section describes how to configure the ATM OAM. 7.8 Maintaining ATM Configuration Describes how to maintain ATM. 7.9 Configuration Examples Provides several configuration examples of ATM.
Issue 03 (2010-03-31)
7-1
7 ATM Configuration
F4 flow is the OAM cell flow in the Virtual Path Connect (VPC) and provides the operation management and maintenance of the VP layer. F5 flow is the Virtual Channel Connect (VCC) and provides the operation management and maintenance of the VC layer.
After the OAM is activated in the F4 and F5 flows, the specified OAM cells are inserted into the user cells to occupy certain bandwidth and to be transmitted in the same physical channel with the cells of the other users. The F4 and F5 flows support four types of OAM cells: FM OAM cell, PM OAM cell, active/ deactive OAM cell, and SM OAM cell. On the ATM network, the three types of the OAM functional nodes are: end point, segment point and middle point.The nodes having the different OAM attributes process the AIS/RDI cells differently and indicate the information about the faults occurring in the ATM layer or the physical layer to implement the fault management.
Supports Permanent Virtual Circuit (PVC). Supports traffic shaping based on VP/VC. Supports User-to-Network Interface (UNI) signaling.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7-2
7 ATM Configuration
Supports RFC1483: Multiprotocol Encapsulation over ATM Adaptation Layer 5. Supports RFC1577: Classical IP and ARP over ATM. Supports F5 End to End Loopback OAM. Supports AAL5 (ATM Adaptation Layer 5). Supports Non-real Time Variable Bit Rate (nrt_VBR). Supports Unspecified Bit Rate (UBR). Supports Real Time Variable Bit Rate (rt_VBR). Supports Constant Bit Rate(CBR)
The ATM interface supports PVCs and two applications namely, IPoA and IPoEoA. The NE80E/40E supports the transparent transmission of ATM cells. For details, refer to the chapter "PWE3 Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. ATM has its QoS mechanism. For details, refer to the chapter "ATM QoS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - QoS. NE80E/40E supports the fault management function of OAM.
7.2 Configuring Parameters for an ATM OC-3/STM-1 Interface or an ATM OC-12/STM-4 Interface
This section describes how to configure parameters for an ATM OC-3/STM-1 interface or an ATM OC-12/STM-4 interface. 7.2.1 Establishing the Configuration Task 7.2.2 Configuring the Clock Mode 7.2.3 Configuring the Frame Format 7.2.4 Configuring the Overhead Byte 7.2.5 Configuring the MTU 7.2.6 Configuring the Scrambling 7.2.7 Configuring the Interval of Flow Statistics 7.2.8 Checking the Configuration
7 ATM Configuration
ATM sub-interface parameters such as the clock mode, frame format, scramble function, loopback mode, and interval of flow statistics cannot be configured. If those parameters are configured on the ATM main interface, the sub-interface inherits the parameters automatically. The configured interval of flow statistics on the ATM main interface cannot be inherited to the sub interface, it needs to be configured independently on the sub interface. When using an ATM interface to encapsulate the upper layer protocol, you need to configure its attributes.
Pre-configuration Tasks
Before configuring an ATM interface, complete the following task:
l
Data Preparation
To configure an ATM interface, you need the following data. No. 1 Data Number of the ATM interface on the router
According to different functions, ATM devices and interfaces can be divided into Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE).
Procedure
Step 1 Run:
system-view
The clock mode is configured. By default, the clock modes of ATM OC-3/STM-1 are master.
7-4 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
Master mode: indicates that the interface uses the internal clock signals. Slave mode: indicates that the interface uses the line clock signals.
When the ATM interface is used as a DTE device, use the slave clock mode. When the ATM interface is used as a DCE device, use the master clock mode. When the ATM interfaces of two routers are directly connected by optical fiber or Wavelength Division Multiplexing (WDM) devices, do the following. One port should be configured to use the master clock mode, and the other port should use the slave clock mode. When the router is connected to the SDH/SONET device, use the slave clock mode. ----End
Procedure
Step 1 Run:
system-view
The frame format is configured. ATM interface uses SDH frame format when the optical interface is STM-1 . The ATM interface uses SONET frame format when the interface is OC-3 or . By default, SDH frame format is used. ----End
7 ATM Configuration
The path trace byte J1 belongs to the Higher-Order VC-N path trace byte and is used to detect whether the two interfaces are in the continuous connection status. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
The ATM interface view is displayed. Step 3 Perform the following as required:
l
Run:
flag j0 { 64byte-or-null-mode j0-value | 16byte-mode j0-value | 1byte-mode j0value | peer }
Run:
flag j1 { 64byte-or-null-mode j1-value | 16byte-mode j1-value | 1byte-mode j1value | peer }
On the NE80E/40E, only the LPUF-10 ATM FPIC supports the 64byte-or-null-mode and peer parameters in the flag j0 and flag j1 commands.
l
Run:
flag c2 c2-value
The signal label byte C2 is configured. The C2, J0, and J1 on the receiving and sending ends should be consistent. Otherwise, an alarm is generated. For the ATM interface, by default, the value of C2 is 19 (13 in hex). The default value of J0 and J1 is "NetEngine". ----End
7-6
Issue 03 (2010-03-31)
7 ATM 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. Do as follows on the routers:
Procedure
Step 1 Run:
system-view
The MTU of the interface is configured. The default value is 1500 bytes. Step 4 Run:
shutdown
The ATM interface is enabled. After changing the MTU of the interface by using the mtu command, you need to restart the interface to validate the MTU. ----End
Procedure
Step 1 Run:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-7
7 ATM Configuration
system-view
The scrambling is enabled. By default, the scrambling is enabled. It is valid only for payloads and does not influence the cell header. ----End
The NE80E/40E supports the flow and rate statistics based on the ATM interface and the ATM subinterface. Before configuring the interval of rate statistics, you need to configure the PVC for the interface and the sub-interface, so that the configured statistics interval can be applied to the PVC
Procedure
Step 1 Run:
system-view
Step 3 Run:
set flow-stat interval interval-value
The period of the rate statistics is configured for the interface. By default, the period of the rate statistics is 300 seconds. The interval-value must be integral multiple times of 10. ----End
7-8 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
----End
Example
Run the display interface atm command. If you can view the configuration information about the ATM interface, including the enabled scramble, frame format, clock mode and the statistics period, it means that the configuration succeeds.
<HUAWEI> display interface atm 1/0/0 Atm1/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2008-11-03, 17:24:24 Description : Atm1/0/0 Interface Route Port, The Maximum Transmit Unit is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum VCs: 2048 VCs on main-interface: 1 (Total VCs: 1) VPs on main-interface: 0 (Total VPs: 1 ) The Vendor Name is FINISAR CORP. , The Vendor PN is FTRJ1321P1BTL Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 5km Rx Optical Power: -24.95dBm, Tx Optical Power: -1.99dBm Physical layer is Packet Over SDH UBR: 1, CBR: 0, VBR: 0, USED BandWidth: 0Kbps VPI Max: 255, VCI Max: 2047 Scramble enabled, clock master, CRC-32, loopback: none Flag: J0 "NetEngine " Flag: J1 "NetEngine " Flag: C2 19(0x13) SDH alarm: section layer: OOF LOF LOS line layer: AIS path layer: AIS RDI SDH error: section layer: B1: 24 line layer: B2: 0 M1: 0 path layer: B3: 0 G1: 0 Statistics last cleared:never Send good cell: 0 cells Send idle cell: 25099462530 cells Receive idle cell: 0 cells Receive corrected cell: 0 Receive uncorrected cell: 97 Dropped receive cell: 0 cells Last dropped receive cell connection: 0/0 Last 30 seconds input rate: 0 bits/sec, 0 Packets/sec Last 30 seconds output rate: 0 bits/sec, 0 Packets/sec Input: 0 Bytes, 0 Packets Output: 0 Bytes, 0 Packets
Run the display interface brief [ | { begin | include | exclude } regular-expression ] command. If you can view the physical status of the ATM interface, link protocol status, bandwidth utilization, and the number of the error packets, it means that the configuration succeeds. For example:
Issue 03 (2010-03-31) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-9
7 ATM Configuration
<HUAWEI> display interface brief | include 1/0/ PHY: Physical *down: administratively down ^down: standby (l): loopback (s): spoofing (b): BFD down (e): EFM down (d): Dampening Suppressed InUti/OutUti: input utility/output utility Interface PHY Protocol InUti OutUti outErrors Atm1/0/1 up up 0.08% 0.08% 0 Atm1/0/1.1 up up 0.03% 0.03% 0 Atm1/0/1.2 up up 0.03% 0.03% 0
inErrors 0 0 0
For how to add a serial interface to an IMA group, see Configuring an IMA Group in this chapter.
Pre-configuration Task
Before configuring ATM services on a serial interface, complete the following tasks:
7-10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
Configuring physical parameters for the CE1/CPOS interface to ensure that the physical layer status of the interfaces is Up Channelizing the CE1/CPOS interface on the router to synchronization serial interfaces
NOTE
For configurations of a CE1/CPOS interface, refer to E-Carrier and T-Carrier Interface Configuration and POS and CPOS Interface Configuration.
Data Preparation
To configure ATM services on a serial interface, you need the following data. No. 1 2 Data Number of the synchronization serial interface PVC name (optional) and VPI/VCI
Procedure
Step 1 Run:
system-view
The ATM protocol is configured to be the link layer protocol on the serial interface. ----End
Issue 03 (2010-03-31)
7-11
7 ATM Configuration
7.3.3 (Optional) Configuring the ATM Interface Type for a Serial Interface
Context
After the link layer protocol of a serial interface is configured to ATM, you can configure the ATM interface type to User-to-Network Interface (UNI) or Network-to-Network Interface (NNI).
l
If a device needs to work as a user side device, you need to set the ATM interface type of the interface connecting the peer device to UNI. If a device needs to work as a network side device, you need to set the ATM interface type of the interface connecting the peer device to NNI.
The ATM interface type on a serial interface can be configured only after the link layer protocol of the serial interface is set to ATM. The VPI value range of the PVC/PVP on the serial sub-interface varies with the ATM interface type on a serial interface. For detailed information, refer to the PVC/PVP commands in the HUAWEI NetEngine80E/ 40E Router Command Reference.
Procedure
Step 1 Run:
system-view
The type of the ATM interface is configured on the serial interface. ----End
A PVC can be created on a serial interface only after the link layer protocol of the interface is configured to ATM.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7-12
7 ATM Configuration
Currently, in the NE80E/40E, a PVC can be created on a serial sub-interface rather than a serial main interface.
Procedure
Step 1 Run:
system-view
The serial sub-interface is created and the sub-interface view is displayed. If the sub-interface already exists, the sub-interface view is displayed. Step 3 Run:
pvc vpi/vci
A PVP can be created on a serial interface only after the link layer protocol of the interface is configured to ATM. Currently, in the NE80E/40E, a PVP can be created only on a serial sub-interface rather than a serial main interface.
Procedure
Step 1 Run:
system-view
The serial sub-interface is created and the sub-interface view is displayed. If the sub-interface already exists, the sub-interface view is displayed. Step 3 Run:
pvp vpi
7 ATM Configuration
Procedure
l l l Run the display interface serial interface-number [ | { begin | exclude | include } regularexpression ] command to check the configurations on the serial interface. Run the display atm pvc-info [ interface serial interface-number [ pvc vpi/vci ] ] command to check information about the PVC on the serial interface. Run the display atm pvp-info [ interface serial interface-number [ pvp vpi ] command to check information about the PVP on the serial interface.
----End
Example
Run the display atm pvc-info command, and you can view information such as PVC status and interface status.
<HUAWEI> display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|----------------------100/1 |DOWN | |0 |SNAP |None |Atm1/1/0.1 (DOWN) 1/1 |DOWN | |1 |SNAP |None |Atm1/1/1.1 (DOWN) VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|----------------------1/100 |DOWN | |65536 |None |None |Ima-group13/0/2.1 (DOWN) 0/1 |DOWN | |65537 |None |None |Serial13/0/3:4.1 (DOWN)
7-14
Issue 03 (2010-03-31)
7 ATM Configuration
Pre-configuration Tasks
Before configuring an IMA group, complete the following task:
l
Creating a synchronization serial interface channelized from CE1 or CPOS interfaces and configuring the ATM protocol on the serial interface if an IMA group needs to be configured on the serial interface of the router
Data Preparation
To configure an IMA group, you need the following data. No. 1 2 3 Data Number of the IMA group Interface number of the IMA group Bandwidth of the IMA group
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
7-15
7 ATM Configuration
An IMA group is created and the IMA group interface view is displayed. ----End
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
7-16
Issue 03 (2010-03-31)
7 ATM Configuration
The minimum number of available member links in the IMA group is set. ----End
7.4.5 Setting the Maximum Link Differential Delay for the IMA Group
Context
By default, the maximum differential delay of member links in an IMA group is 25 ms. Do as follows on the router:
Procedure
Step 1 Run:
system-view
The maximum differential delay of member links in an IMA group is set, in milliseconds. ----End
An interface can be added to only one IMA group at one time. After an interface is added to an IMA group, the network layer configurations on the interface do not take effect any more. The interface that joins an IMA group firstly can quit the group lastly.
As for adding a synchronization serial interface to an IMA group, besides the preceding information, note the following:
l
A synchronization serial interface can be added to an IMA group only after the link layer protocol of the interface is configured to ATM.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-17
Issue 03 (2010-03-31)
7 ATM Configuration
l
After a synchronization serial interface is added to an IMA group, the link layer protocol of the interface can be changed only after the interface is removed from the group. After a synchronization serial interface is added to an IMA group, no sub-interfaces can be created on the interface and the ATM interface type does not take effect any more. You can re-configure sub-interfaces and ATM interface type on the IMA group interface.
By default, no links are added to IMA groups, and each link can independently run various services.
NOTE
An interface can be added to an IMA group only after the group is created.
Procedure
Step 1 Run:
system-view
The system view is displayed. Step 2 Run the following command as required:
l
To enter the synchronization serial interface view, run the interface serialinterfacenumber command.
Step 3 Run:
ima ima-group interface-number
The interface can be added only to one IMA group with the slot number and card number being the same as those of the interface.
----End
7.4.7 (Optional) Configuring the ATM Interface Type for an IMA Group
Context
After a serial interface is added to an IMA group, the ATM interface type of the serial interface does not take effect any more. You can re-configure the ATM interface type on the IMA group interface.
l
If a device needs to work as a user side device, you need to set the ATM interface type of the interface connecting the peer device to UNI. If a device needs to work as a network side device, you need to set the ATM interface type of the interface connecting the peer device to NNI.
7 ATM Configuration
The VPI value range of the PVC/PVP on the IMA sub-interface varies with the ATM interface type of an IMA group. For detailed information, refer to pvc and pvp in the HUAWEI NetEngine80E/40E Router Command Reference.
Procedure
Step 1 Run:
system-view
The ATM interface type is configured on the IMA group interface. ----End
Procedure
Step 1 Run:
system-view
The IMA group sub-interface is created and the sub-interface view is displayed. Step 3 Run:
pvc vpi/vci
7 ATM Configuration
Procedure
Step 1 Run:
system-view
The IMA group sub-interface is created and the sub-interface view is displayed. Step 3 Run:
pvp vpi
Procedure
l Run the display interface [ atm | serial ] [ interface-number ] [ | { begin | exclude | include } regular-expression ] [interface-type ] command to check the configuration and status of the ATM interface. Run the display interface brief [ | { begin | include | exclude } regular-expression ] command to check brief information about the IMA-Group interface and its member interfaces. Run the display interface ima-group [ group-number ] command to check configuration and status of the IMA group.
----End
Example
After running the display interface brief [ | { begin | include | exclude } regular-expression ] command, you can view brief information about the physical status, link layer protocol status, bandwidth utilization, and number of incorrect packets of the IMA-Group interface and its member interfaces. The following is the display of the command:
7-20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
<HUAWEI> display interface brief | include Ima-group *down: administratively down ^down: standby (l): loopback (s): spoofing (b): BFD down (d): DampeningSuppressed InUti/OutUti: input utility/output utility Interface Physical Protocol InUti OutUti inErrors outErrors Ima-group1/0/0 UP UP 0.04% 0.04% 0 0
After running the display interface ima-group command, you can view the status of the IMAGroup interface and the number of VCs.
<HUAWEI> display interface ima-group 1/0/1 Ima-group1/0/1 current state : UP Line protocol current state : UP Last line protocol up time: 2007-11-03, 17:24:24 Description: Ima-group1/0/1 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 21.161.163.2/24 AAL enabled: AAL5, Maximum VCs: 128 Current VCs: 1 (1 on main interface) Physical layer is ATM over IMA IMA-clock: CTC, differential-delay-maximum: 25, active-links-minimum: 1 Frame-length: 128, symmetry: symmetrical configuration and operation IMA_GRP_NE_STATE OPERATIONAL IMA_GRP_FE_STATE OPERATIONAL IMA links: 1 ,First Link: 0 Link 0: Alarm: none Error: 0 FERR, 0 LCV, 0 CERR, 0 FEBE Defect: none F5 end-end loopback oam sends 0, F5 end-end loopback oam receives 0 my oam back 0, oam forward 0 oam send drops 0, oam forward drops 0 Statistics last cleared: 2007-09-17 11:21:50 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 1902 packets, 55496 bytes 0 errors, 0 CRC, 0 giants, 0 pads, 0 aborts, 0 overflows Output:1903 packets, 49760 bytes 0 errors, 0 underflows, 0 overflows
7 ATM Configuration
Pre-configured Tasks
Before configuring IPoA applications, complete the following tasks:
l l
Configuring physical attributes for the ATM interface Configuring an IP address and mask for the ATM interface (or sub-interface)
Data Preparation
To configure the IPoA applications, you need the following data. No. 1 2 3 4 5 6 Data Number of the ATM interface (or sub-interface) IP address and mask of the ATM interface (or sub-interface) PVC name, ATM network VPI and VCI AAL5 encapsulation type IP address and mask of the peer mapped to PVC Interval of sending InARP packets
l l
In normal cases, the VCI values 3 and 4 are reserved for special usage. You are recommended not to use these two values. The values of VPI and VCI cannot be 0 at the same time.
Step 4 Run:
encapsulation aal5-encap
7 ATM Configuration
The AAL5 encapsulation type for PVC can be aal5snap, aal5mux or aal5nlpid. By default, it is aal5snap.
NOTE
On the NE80E/40E, only the LPUF-10 FPIC supports the aal5nlpid encapsulation type.
InARP is not supported when aal5mux and aal5nlpid encapsulations are adopted. To change the encapsulation type for PVC to aal5mux or aal5nlpid, delete InARP first. Step 5 Run:
map ip { ip-address | inarp [ minutes ] } [ broadcast ]
IP addresses assigned to different ATM interfaces or ATM sub-interfaces on the local router cannot be identical. Otherwise, packets cannot be forwarded.
When configuring the ip-address, if the specified address is the network segment address or the multicast address, the key word broadcast must be chosen. When broadcast packets need to be processed on a PVC, the key word broadcast need to be specified. On one ATM interface, configure one PVC with InARP.
CAUTION
The IP address specified by running the map ip command must be the IP address of the interface on the peer. Otherwise, data cannot be forwarded normally. ----End
Procedure
l Run the display interface atm [ interface-number[.subinterface ] ] [ | { begin | exclude | include } regular-expression ] command to check the configuration and status of the ATM interface or sub-interface. Run the display atm pvc-info [ interface interface-type interface-number[.subinterface ] [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ] command to check information about the PVC. Run the display atm map-info [ interface interface-type interface-number [.subinterface ] [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ] command to check information about the PVC mapping. Run the display atm { pvc | pvp } statistics interface atm interface-number [ pvc vpi/ vci | pvp vpi ] command to check statistics about the PVC or PVP.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-23
l l
Issue 03 (2010-03-31)
7 ATM Configuration
NOTE
Running the display interface atm command displays the statistics of all the packets discarded on an interface. Running the display atm pvc statistics command displays only the statistics of the packets discarded on the PVC or PVP due to congestion. Therefore, run the commands as required.
----End
Example
Run the display interface atm command. If you can view information about the configuration and state of the ATM interface, it means that the configuration succeeds.
<HUAWEI> display interface atm 1/0/0 Atm1/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2008-11-03, 17:24:24 Description: Atm1/0/0 Interface Route Port, The Maximum Transmit Unit is is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum VCs: 2048 VCs on main-interface: 1 (Total VCs: 1) VPs on main-interface: 0 (Total VPs: 0) The Vendor Name is FINISAR CORP. , The Vendor PN is FTRJ1321P1BTL Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 5km Rx Optical Power: -24.95dBm, Tx Optical Power: -1.99dBm Physical layer is Packet Over SDH UBR: 1, CBR: 0, VBR: 0, USED BandWidth: 0Kbps VPI Max: 4095, VCI Max: 65535 Scramble enabled, clock master, CRC-32, loopback: none Flag: J0 "NetEngine " Flag: J1 "NetEngine " Flag: C2 19(0x13) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1: 0 line layer: B2: 0 M1: 0 path layer: B3: 0 G1: 0 Statistics last cleared:never Send good cell: 0 cells Send idle cell: 25099462530 cells Receive correct cell: 0 cells Receive idle cell: 0 cells Receive corrected cell: 0 cells Receive uncorrected cell: 0 cells Dropped receive cell: 0 cells Last dropped receive cell connection: 0/0 Last 30 seconds input rate: 0 bits/sec, 0 packets/sec Last 30 seconds output rate: 0 bits/sec, 0 packets/sec Input: 0 bytes, 0 packets Output: 0 bytes, 0 packets
Run the display atm pvc-info command. If you can view the status of the PVC and the corresponding interface, it means that the configuration succeeds.
<HUAWEI> display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|------------------|--------|-----|-----|----------------------0/40 |UP | |1 |SNAP |IP |Atm1/0/0 (UP)
Run the display atm map-info command. If you can view information about the PVC mapping, it means that the configuration succeeds.
<HUAWEI> display atm map-info Atm1/0/0, PVC 0/40, IP, State UP 10.0.0.1, vlink 65537
7-24
Issue 03 (2010-03-31)
7 ATM Configuration
Run the display atm pvc statistics command, you can view the statistics of the packets discarded on the PVC due to congestion.
<HUAWEI> dispaly atm pvc statistics interface atm 1/0/0 pvc 10/10: input drop pkts : 0, input drop rate 0 packets/sec output drop pkts : 0, output drop rate 0 packets/sec pvc 10/20: input drop pkts : 0, input drop rate 0 packets/sec output drop pkts : 0, output drop rate 0 packets/sec
Pre-configuration Tasks
Before configuring the service types and optional parameters of a PVC, complete the following tasks:
l l l
Configuring physical attributes for the ATM interface Configuring an IP address and mask for the ATM interface or sub-interface Creating a PVC and configuring application modes
Data Preparation
To configure the service type and optional parameters of a PVC, you need the following data. No. 1 2 3 4
Issue 03 (2010-03-31)
Data Number of the ATM interface or sub-interface IP address and mask of the ATM interface or sub-interface PVC name, the network VPI and VCI cbr: Peak rate of outputting ATM cells, variation range of cell delays
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-25
7 ATM Configuration
No. 5 6 7
Data nrt-vbr: Peak rate of outputting ATM cells, maintainable rate, variation range of cell delays and the maximum burst size rt-vbr: Peak rate of outputting ATM cells, maintainable rate, variation range of cell delays and the maximum burst size (Optional)overload bandwidth value of the ATM interface
Procedure
Step 1 Run:
system-view
The system view is displayed. Step 2 Run: atm service service-name {cbr output-pcr cdvt-value |nrt-vbr output-pcr output-scr outputmbs cdvt-value |rt-vbr output-pcr output-scr output-mbs cdvt-value | ubr output-pcr cdvtvalue | ubr-plus output-mcr output-pcr output-mbs cdvt-value} The service type template and rate parameters are created. By default, the service type of PVP is UBR. The service type can be configured as CBR, NRT-VBR, UBR, UBR-plus or RT-VBR. Step 3 Run:
interface atm interface-number
The PVC is created and the PVC view is displayed. Step 5 Run:
shutdown
7-26
Issue 03 (2010-03-31)
7 ATM Configuration
Procedure
Step 1 Run:
system-view
The system view is displayed. Step 2 Run: atm service service-name {cbr output-pcr cdvt-value |nrt-vbr output-pcr output-scr outputmbs cdvt-value |rt-vbr output-pcr output-scr output-mbs cdvt-value | ubr output-pcr cdvtvalue | ubr-plus output-mcr output-pcr output-mbs cdvt-value} The service type template and rate parameters are created. By default, the service type of PVP is UBR. The service type can be configured as CBR, NRT-VBR, UBR, UBR-plus or RT-VBR. Step 3 Run:
interface atm interface-number.subinterface
The PVP is created and the PVP view is displayed. The PVP is only supported to be configured in the ATM sub interface view. Step 5 Run:
shutdown
7 ATM Configuration
Step 7 Run:
undo shutdown
On the NE80E/40E, the LPUF-10 ATM FPIC does not support the configuration.
Procedure
Step 1 Run:
system-view
The overload bandwidth value of the ATM interface is set. Using the service bandwidth-overload command, you can set the overload bandwidth of the PVCs and PVPs of all services on the ATM interface. ----End
l l
7-28
Issue 03 (2010-03-31)
7 ATM Configuration
Running the display interface atm command displays the statistics of all the packets discarded on an interface. Running the display atm pvc statistics command displays only the statistics of the packets discarded on the PVC or PVP due to congestion. Therefore, run the commands as required.
----End
Example
Run the display interface atm command. If you can view information about the configuration and state of the ATM interface, it means that the configuration succeeds.
<HUAWEI> display interface atm 1/0/0 Atm1/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2008-11-03, 17:24:24 Description:Atm1/0/0 Interface Route Port, The Maximum Transmit Unit is is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum VCs: 2048 VCs on main-interface: 1 (Total VCs: 1) VPs on main-interface: 0 (Total VPs: 0) The Vendor Name is FINISAR CORP. , The Vendor PN is FTRJ1321P1BTL Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 5km Rx Optical Power: -24.95dBm, Tx Optical Power: -1.99dBm Physical layer is Packet Over SDH UBR: 1, CBR: 0, VBR: 0, USED BandWidth: 0Kbps VPI Max: 255, VCI Max: 2047 Scramble enabled, clock master, CRC-32, loopback: none Flag: J0 "NetEngine " Flag: J1 "NetEngine " Flag: C2 19(0x13) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1: 0 line layer: B2: 0 M1: 0 path layer: B3: 0 G1: 0 Statistics last cleared:never Send good cell: 0 cells Send idle cell: 25099462530 cells Receive idle cell: 0 cells Receive corrected cell: 0 Receive uncorrected cell: 97 Dropped receive cell: 0 cells Last dropped receive cell connection: 0/0 Last 30 seconds input rate: 0 bits/sec, 0 packets/sec Last 30 seconds output rate: 0 bits/sec, 0 packets/sec Input: 0 bytes, 0 packets Output: 0 bytes, 0 packets
Run the display atm service command. If you can view the configuration of the service type template, it means that the configuration succeeds.
<HUAWEI> display atm service Atm Service Config: Service Name: aa State: VALID Index: 0 ServiceType: CBR PCR: 120 SCR: 0 MBS: 0 CDVT: 3
Issue 03 (2010-03-31)
7-29
7 ATM Configuration
Traffic Type: Shaper
Run the display atm pvc statistics command. If you can view the statistics of the packets discarded on the PVC due to congestion, it means that the configuration succeeds.
<HUAWEI> dispaly atm pvc statistics interface atm 1/0/0 pvc 10/0: input drop pkts : 0, input drop bytes : 0, input drop rate 0 bits/sec, 0 packets/ sec ouput drop pkts : 0, ouput drop bytes : 0, output drop rate 0 bits/sec, 0 packets/ sec pvc 10/20: input drop pkts : 0, input drop bytes : 0, input drop rate 0 bits/sec, 0 packets/ sec ouput drop pkts : 0, ouput drop bytes : 0, output drop rate 0 bits/sec, 0 packets/ sec Total items : 2
To detect the link status and report faults in real time without interrupting services, activate the CC function or configure the function of end-to-end loopback detection:
The CC function detects the link status in real time by sending CC cells periodically and does not restrict the connection point attribute. The end-to-end loopback detection function detects the link status in real time by sending loopback cells periodically and is available on only the PVP/PVC of which the connection point attribute is end-point.
Check whether the device supports CC cells or loopback cells and then choose configurations according to the connection point attribute of the OAM. The CC function and the loopback function cannot be configured on the same PVP/PVC.
l l
To locate and remove the faults of a link, configure the cell loopback. To debug and detect whether the ATM OAM mechanism works normally, inserting OAM cells manually. To response the OAM F5 loopback cells on the peer, configure the response of the OAM F5 loopback cells.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7-30
7 ATM Configuration
Pre-configuration Tasks
Before configuring ATM OAM, complete the following tasks:
l l l
Configuring physical attributes for the ATM interface Configuring an IP address and mask for the ATM interface Configuring ATM PVC
Data Preparation
To configure ATM OAM, you need the following data. No. 1 2 3 4 5 Data Number of the ATM interface or sub-interface PVC name, the network VPI and VCI Interval for sending loopback cells Interval for sending OAM end-to-end Loopback cells Number of delayed intervals for responding after the status of the PVP/PVC changes
On the NE80E/40E, only the LPUF-10 ATM FPIC supports the activation of the CC function.
Procedure
Step 1 Run:
system-view
Issue 03 (2010-03-31)
7-31
7 ATM Configuration
The OAM attributes of the connection point are configured. When the following services are configured on a PVC, the PVC attribute can be configured only as end-point.
l l l
When the OAM attribute of the PVC is end-point, the PVC can respond to the OAM F5 loopback cells. Step 5 Run:
cc { start-vpi [ end-vpi ] | vpi/start-vci [ vpi/end-vci ] } { end-to-end | segment } { both | sink | source }
The CC function is activated. When activating the CC function of PVC, note the following points:
l
Before activating the CC function, you need to complete the configurations of OAM attributes on the both ends. The type of the CC function and the OAM attributes must be consistent. During the recovery stage, you cannot cancel the CC function. Before deleting the OAM connection, if the board is not faulty, you must cancel the CC function first.
l l l
----End
Set the attribute of the OAM connection point of the PVP/PVC to end-point. The CC function and the loopback function cannot be configured on the same PVP/PVC. During fault recovery, the undo oam-loopback command cannot be run. Before deleting OAM connections, run the undo oam-loopback command to disable the function of OAM end-to-end loopback detection if no faults occur on the board.
Procedure
Step 1 Run:
system-view
7 ATM Configuration
Step 3 Run:
oam
The attribute of the OAM connection point is set to end-point. Step 5 Run:
oam-loopback { start-vpi [ end-vpi ] | vpi/start-vci [ vpi/end-vci }end-to-end
The function of OAM end-to-end loopback detection of the PVP/PVC is enabled. Step 6 (Optional) Run:
oam-loopback { start-vpi [ end-vpi ] | vpi/start-vci cycle-number down-cycle cycle-number [ vpi/end-vci }up-cycle
The number of delayed intervals for responding after the change of the PVP/PVC status is configured. By default, the number of delayed intervals for responding to the change of the PVP/PVC status is 5. After the function of OAM end-to-end loopback detection is enabled, when the PVP/PVC status changes, the system does not immediately respond to avoid PVP/PVC flapping. When the PVP/ PVC keeps being Down or Up in consecutive delayed intervals of the specified number, the system responds to the change. ----End
On the NE80E/40E, only the LPUF-10 ATM FPIC supports the cell loopback function.
Procedure
Step 1 Run:
system-view
7 ATM Configuration
Step 4 Run:
attribute {start-vpi [ end-vpi ] | vpi/start-vci [ vpi/end-vci ] } { end-point | seg-point }
The OAM attributes of the connection point is configured. When the following services are configured on a PVC, the PVC attribute can be configured only as end-point.
l l l
When the OAM attribute of the PVC is end-point, the PVC can respond to the OAM F5 loopback cells. Step 5 Run:
loopback { vpi | vpi/vci } { end-loopback | seg-loopback } times
The cell loopback function is configured. The OAM provides the loopback test function for the convenient fault location and test. The loopback test refers to that the loopback cells is inserted in the VC/VP link of a certain connection point and is looped back in another connection point. The system detects and locates the faults of the link through the received loopback cells. The loopback includes the following two types: segment loopback and end loopback.
l
Before configuring the loopback of the segment point, you need to configure the end loopback point as the segment point. Before configuring the loopback of the end point, you need to configure the end loopback point as the end point. The loopback in one board fails.
----End
----End
Example
Run the display atm oam statistics,display atm oam alarm-status and display atm oam configuration commands. If you can view information about the alarm state, configuration, and statistics of ATM OAM, it means that the configuration succeeds.
<HUAWEI> display atm oam statistics atm 3/0/1 10/10
7-34
Issue 03 (2010-03-31)
7 ATM Configuration
Total number of received OAM Cells : 0 Number of received AIS Cells : 0 Number of received RDI Cells : 0 Number of received CC cells : 0 Total number of sent OAM Cells : 44 Number of sent AIS Cells : 0 Number of sent RDI Cells : 44 Number of sent CC cells : 0 <HUAWEI> system-view [HUAWEI] interface atm 3/0/1 [HUAWEI-Atm3/0/1] oam [HUAWEI-Atm3/0/1-fatm-oam] display atm oam alarm-status atm 3/0/1 Interface PVC/PVP AIS state AIS type AIS reason RDI state RDI type --------------------- -------- ---------- --------- -------Atm3/0/1 10/10 RELEASE RELEASE Current displayed item(s) is : 1 [HUAWEI-Atm3/0/1-fatm-oam] display atm oam configuration atm 3/0/1 Interface PVC/PVP Attribute CC func CC dir CC attr -------------------------------------Atm3/0/1 10/10 end-point disable Current displayed item(s) is : 1
CAUTION
After you configure the self-loop (run the loopback command), the interface on a router or the link cannot run normally. Thus, you must check whether to set the self-loop. After the detection is complete, run the undo loopback command to disable the self-loop. Do as follows on the device to be detected:
Procedure
Step 1 Run:
system-view
7 ATM Configuration
Step 3 Run:
loopback { local | remote }
The self-loop of the interface is enabled. By default, the self-loop is disabled on the interface. ----End
CAUTION
All the statistics data cannot be restored after you clear it. Thus, confirm the action before you use the command. To reset the interface statistics of the Network Management System (NMS) or that displayed by running the display interface command, run the following commands in the user view.
NOTE
For the display of interface statistics in the NMS, refer to related NMS manuals.
Procedure
Step 1 Run the reset counters interface [ atm [ interface-number ] ] command to clear the interface statistics displayed by running the display interface command. Step 2 Run the reset counters if-mib interface [ atm [ interface-number ] ] command to clear the interface statistics in the NMS. Step 3 Run the reset atm interface [ atm interface-number ] command to clear the ATM interface statistics. ----End
CAUTION
Debugging affects the system performance. So, after the debugging, run the undo debugging all command to disable it immediately. When ATM runs abnormally, run the debugging command in user view to debug the ATM interface and locate the fault.
7-36 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
For the procedure of outputting the debugging information, refer to the chapter "Information Center Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide System Management. For the detailed debugging commands, refer to the HUAWEI NetEngine80E/40E Router Debugging Reference.
Procedure
Step 1 Run the debugging atm error [ interface atm interface-number[.subinterface ] [ pvc { pvcname [ vpi/vci ] | vpi/vci } ] ] command to enable ATM error debugging. Step 2 Run the debugging atm event [ interface atm interface-number[.subinterface ] [ pvc { pvcname [ vpi/vci ] | vpi/vci } ] ] command to enable ATM event debugging. Step 3 Run the debugging atm packet [ interface atm interface-number[.subinterface ] [ pvc { pvcname [ vpi/vci ] | vpi/vci } ] ] command to enable ATM packet debugging. Step 4 Run the debugging atm all command to enable all ATM debugging. ----End
Issue 03 (2010-03-31)
7-37
7 ATM Configuration
RouterB
RouterA
ATM network
RouterC
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. Create the PVC of ATM interfaces on each router. Specify the protocol to bear the IP protocol.
Data Preparation
To configure IPoA, you need the following data:
l l l l
IP addresses of their ATM interfaces of the three routers VPI/VCI of Router A connecting with Router B and Router C VPI/VCI of Router B connecting with Router A and Router C VPI/VCI of Router C connecting with Router A and Router B
Procedure
Step 1 Configure Router A. # Enter the ATM interface view, and configure an IP address for it.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface atm 1/0/0 [RouterA-Atm1/0/0] ip address 202.38.160.1 255.255.255.0
7 ATM Configuration
Step 2 Configure Router B. # Enter the ATM interface, and configure an IP address for it.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] interface atm 1/0/0 [RouterB-Atm1/0/0] ip address 202.38.160.2 255.255.255.0
Step 3 Configure Router C. # Enter the ATM interface view, and configure an IP address for it.
<HUAWEI> system-view [HUAWEI] sysname RouterC [RouterC] interface atm 1/0/0 [RouterC-Atm1/0/0] ip address 202.38.160.3 255.255.255.0
Step 4 Verify the configuration. # Check the PVC status information on Router A.
[RouterA] display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|--------------|--------|-----|-----|--------------------0/40 |UP |to_b |1 |SNAP |IP |Atm1/0/0 (UP) 0/41 |UP |to_c |2 |SNAP |IP |Atm1/0/0 (UP)
Similarly, check the PVC status information and the PVC mapping information on Router B and Router C. # Router A can ping through Router B.
[RouterA] ping 202.38.160.2
Issue 03 (2010-03-31)
7-39
7 ATM Configuration
ms ms ms ms ms
Router A can ping through Router C. Router B can ping through Router A and Router C. Router C can ping through Router A and Router B.
----End
Configuration Files
l
7 ATM Configuration
Networking Requirements
In Figure 7-2, Router A, Router B and Router C are connected to the ATM network. IPoA services are configured in all the PVCs on ATM interfaces of the three routers. To implement the real-time and continuous detection without interrupting services, you need to configure the OAM CC function. Figure 7-2 Networking diagram for ATM OAM configuration
Router B
ATM Network
Router A IP:202.38.160.1/24 To B: 0/40 To C:0/41 Interface:ATM 1/0/0
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. Configure IPoA services. Configure the OAM attributes of the connection point. Activate the CC function.
Data Preparation
To configure IPoA, you need the following data:
l l
The IP addresses of the ATM interfaces of the three routers In ATM network, the VPI/VCI of Router A connecting with Router B and Router C respectively The VPI/VCI of Router B connecting with Router A and Router C respectively The VPI/VCI of Router C connecting with Router A and Router B respectively
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-41
l l
Issue 03 (2010-03-31)
7 ATM Configuration
Procedure
Step 1 Configure IPoA. # Configure Router A.
<HUAWEI> system-view [HUAWEI] sysname RouterA [RouterA] interface atm 1/0/0 [RouterA-Atm1/0/0] ip address 202.38.160.1 255.255.255.0 [RouterA-Atm1/0/0] pvc to_b 0/40 [RouterA-atm-pvc-Atm1/0/0-0/40-to_b] map ip 202.38.160.2 [RouterA-atm-pvc-Atm1/0/0-0/40-to_b] quit [RouterA-Atm1/0/0] pvc to_c 0/41 [RouterA-atm-pvc-Atm1/0/0-0/41-to_c] map ip 202.38.160.3 [RouterA-atm-pvc-Atm1/0/0-0/41-to_c] quit
# Configure Router B.
<HUAWEI> system-view [HUAWEI] sysname RouterB [RouterB] interface atm 1/0/0 [RouterB-Atm1/0/0] ip address 202.38.160.2 255.255.255.0 [RouterB-Atm1/0/0] pvc to_a 0/40 [RouterB-atm-pvc-Atm1/0/0-0/40-to_a] map ip 202.38.160.1 [RouterB-atm-pvc-Atm1/0/0-0/40-to_a] quit [RouterB-Atm1/0/0] pvc to_c 0/42 [RouterB-atm-pvc-Atm1/0/0-0/42-to_c] map ip 202.38.160.3 [RouterB-atm-pvc-Atm1/0/0-0/42-to_c] quit
# Configure Router C.
<HUAWEI> system-view [HUAWEI] sysname RouterC [RouterC] interface atm 1/0/0 [RouterC-Atm1/0/0] ip address 202.38.160.3 255.255.255.0 [RouterC-Atm1/0/0] pvc to_a 0/41 [RouterC-atm-pvc-Atm1/0/0-0/41-to_a] map ip 202.38.160.1 [RouterC-atm-pvc-Atm1/0/0-0/41-to_a] quit [RouterC-Atm1/0/0] pvc to_b 0/42 [RouterC-atm-pvc-Atm1/0/0-0/42-to_b] map ip 202.38.160.2 [RouterC-atm-pvc-Atm1/0/0-0/42-to_b] quit
Step 2 Configure the OAM attributes of the connection point. # Configure Router A.
[RouterA] interface atm 1/0/0 [RouterA-Atm1/0/0] oam [RouterA-Atm1/0/0-fatm-oam] attribute 0/40 0/41 end-point
# Configure Router B.
[RouterB] interface atm 1/0/0 [RouterB-Atm1/0/0] oam [RouterB-Atm1/0/0-fatm-oam] attribute 0/40 end-point [RouterB-Atm1/0/0-fatm-oam] attribute 0/42 end-point
# Configure Router C.
[RouterC] interface atm 1/0/0 [RouterC-Atm1/0/0] oam [RouterC-Atm1/0/0-fatm-oam] attribute 0/41 0/42 end-point
7-42
Issue 03 (2010-03-31)
7 ATM Configuration
# Configure Router B.
[RouterB] interface atm 1/0/0 [RouterB-Atm1/0/0] oam [RouterB-Atm1/0/0-fatm-oam] cc 0/40 end-to-end both [RouterB-Atm1/0/0-fatm-oam] cc 0/42 end-to-end both
# Configure Router C.
[RouterC] interface atm 1/0/0 [RouterC-Atm1/0/0] oam [RouterC-Atm1/0/0-fatm-oam] cc 0/41 0/42 end-to-end both
Step 4 Verify the configuration. # Check information about the OAM configuration on the router. Take the display on Router A as an example:
<RouterA> system-view [RouterA] interface atm 1/0/0 [RouterA-Atm1/0/0] oam [RouterA-Atm3/0/1-fatm-oam] display atm oam configuration atm 1/0/0 Interface PVC Attribute CC func CC dir CC attr -------------------------------------Atm1/0/0 0/40 end-point enable both end-to-end Atm1/0/0 0/41 end-point enable both end-to-end Current displayed item(s) is : 2
# Check the OAM statistics on the PVC. Take the display on Router A as an example:
<RouterA> display atm oam statistics Total number of received OAM Cells : Number of received AIS Cells : Number of received RDI Cells : Number of received loopback cells : Number of received CC cells : Number of received crc error cells : Number of received other cells : Total number of sent OAM Cells : Number of sent AIS Cells : Number of sent RDI Cells : Number of sent loopback cells : Number of sent CC cells : atm 1/0/0 0/40 0 0 0 0 0 0 0 88 0 44 0 44
----End
Configuration Files
l
Issue 03 (2010-03-31)
7-43
7 ATM Configuration
return l
Networking Requirements
The bearer protocol for services between a NodeB and an RNC defined by UMTS R99/R4 is ATM. But the actual situation of an operator is that between the majority of its NodeBs and RNCs, no ready ATM network is available. By deploying the ATM IMAoPSN service, an operator can achieve transparent transmission of ATM cells through PWE3 tunnels in the PSN. The traditional solution is transparently transmitting some E1s of a NodeB to the RNC directly through a pure TDM SDH network. This method cannot achieve multiplexing of bandwidth resources, and requires a large number of E1 interfaces on the RNC. The traditional solution requires enormous construction and maintenance cost. With ATM IMAoPSN, the PE router at the side of NodeB uses the E1 IMA interface to dynamically allocate bandwidth resources and transparently transports PWE3 ATM cells after the E1 IMA termination. In this way, bandwidth resources can be multiplexed. After ATM STM-1s (or other high-speed links) are deployed on routers at the RNC side, RNCs and routers at the RNC side no longer need a larger number of E1 interfaces. In this way, construction and maintenance cost is reduced. As shown in Figure 7-3, it is required that NodeB and PE1 should be connected through multiple E1 links On PE1, add the multiple E1 links to an IMA group. Configure a VC on an interface of the IMA group. The RNC and PE2 are connected through the ATM interface. Configure a
7-44 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
7 ATM Configuration
VC on the ATM interface. Then, a PW is set up between PE1 and PE2 to transparently transmit ATM cells. Figure 7-3 Networking diagram of IMAoPSN configurations
E12/0/1 E12/0/2 2IMA E1 GE2/0/0 GE1/0/0 PE1 GE2/0/0 GE2/0/0 PE2 STM-1
ATM3/0/1 RNC
NodeB
Router PE1 Interface GE2/0/0 Loopback0 P GE1/0/0 GE2/0/0 Loopback0 PE2 GE2/0/0 Loopback0 IP Address 10.1.1.1/24 192.2.2.2/32 10.1.1.2/24 10.2.1.1/24 192.4.4.4/32 10.2.1.2/24 192.3.3.3/32
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. Run the IGP protocol on the backbone network so that devices can communicate with each other. Configure basic MPLS functions on the backbone network, and configure MPLS L2VPN functions on PE devices. Establish the remote MPLS LDP peer relationship between PEs at both ends of the PW. Set parameters for the serial interface. Configure the PW template. Establish MPLS L2VC connections on PEs.
3. 4. 5.
Data Preparation
To complete the configuration, you need the following data:
l
Issue 03 (2010-03-31)
7 ATM Configuration
l l l l
MPLS LSR IDs of the PEs and P router IP address of the remote peer of the PE Coding mode and frame format of the E1/CE1 interface IMA group number and IMA interface number
Procedure
Step 1 Run the IGP protocol on the backbone network so that devices can communicate with each other. For detailed configurations, see the following configuration. Step 2 Configure basic MPLS functions on the backbone network, and configure MPLS L2VPN functions on PE devices. Then, establish the remote MPLS LDP peer relationship between PEs at both ends of the PW. For detailed configurations, see the following configuration: The remote MPLS LDP peer relationship is required only for the dynamic PW. Step 3 Set parameters for the serial interface on PE1 and then add the serial interface to the IMA group. Set parameters for the ATM interface on PE2. 1. Configure PE1. # Configure the channelized mode, AMI code, and no-CRC4 frames for CE1 2/0/1 and CE1 2/0/2 on PE1.
[PE1] controller e1 2/0/1 [PE1-E1 2/0/1] using ce1 [PE1-E1 2/0/1] code ami [PE1-E1 2/0/1] channel-set 1 timeslot-list 1-15 [PE1] controller e1 2/0/2 [PE1-E1 2/0/2] using ce1 [PE1-E1 2/0/2] code ami [PE1-E1 2/0/2] channel-set 1 timeslot-list 16-30 [PE1-E1 2/0/2] quit
# Create an IMA interface and configure the interface with transparent transmission.
[PE1] interface ima-group 2/0/1 [PE1-Ima-group2/0/1] atm cell transfer [PE1-Ima-group2/0/1] quit
2.
Configure PE2.
[PE2] interface atm 3/0/1 [PE2-Atm3/0/1] atm cell transfer [PE2-Atm3/0/1] quit
7-46
Issue 03 (2010-03-31)
7 ATM Configuration
2.
Configure PE2.
[PE2] pw-template 3to1 [PE2-pw-template-3to1] peer-address 192.2.2.2 [PE2-pw-template-3to1] quit [PE2] interface atm 3/0/1 [PE2-Atm3/0/1] mpls l2vc pw-template 3to1 100 [PE2-Atm3/0/1] undo shutdown [PE2-Atm3/0/1] quit
Step 5 Verify the configuration. Run the display mpls l2vc command on PEs. You can view that the status of the PW is Up. # The display on PE1 is as follows:
<PE1> display mpls l2vc interface ima-group 2/0/1 *Client Interface : Ima-group 2/0/1 is up Session State : up AC State : up VC State : up VC ID : 7 VC Type : ATM transparent cell destination : 192.3.3.3 local group ID : 0 remote group ID : 0 local VC label : 146433 remote VC label : 21504 max ATM cells : 28 ATM pack overtime : 1000 seq-number : disable local AC OAM State : up local PSN State : up local forwarding state : forwarding local status code : 0x0 remote AC OAM state : up remote PSN state : up remote forwarding state: forwarding remote statuscode : 0x0 BFD for PW : unavailable manual fault : not set active state : active forwarding entry : not exist link state : up local ATM cells : 28 remote ATM cells : 28 local VCCV : cw alert lsp-ping bfd remote VCCV : none local control word : enable remote control word : enable tunnel policy name : -traffic behavior name : -PW template name : -primary or secondary : primary VC tunnel/token info : 0 tunnels/tokens create time : 0 days, 0 hours, 0 minutes, 21 seconds up time : 0 days, 0 hours, 0 minutes, 0 seconds last change time : 0 days, 0 hours, 0 minutes, 21 seconds VC last up time : 0000/00/00 00:00:00 VC total up time : 0 days, 0 hours, 0 minutes, 0 seconds CKey : 11 NKey : 10
Issue 03 (2010-03-31)
7-47
7 ATM Configuration
----End
Configuration Files
l
7-48
Issue 03 (2010-03-31)
7 ATM Configuration
Issue 03 (2010-03-31)
7-49
7 ATM Configuration
# return l
7-50
Issue 03 (2010-03-31)
8 1483B Configuration
8
About This Chapter
8.1 Introduction of 1483B Introduction of 1483B
1483B Configuration
This chapter describes 1483B technologies and configuration steps for IPoEoA application, along with typical examples.
8.2 Configuring IPoEoA Services This section describes how to configure IPoEoA services by using an ATM network. 8.3 Configuration Examples This section provides several configuration examples of IPoEoA.
Issue 03 (2010-03-31)
8-1
8 1483B Configuration
The 1483 Bridged: It is applied to the bridged protocol data unit. The 1483 Routing: It is applied to the routing protocol data unit.
RFC 1483 Bridged encapsulates the data packet of the network layer in the data link layer. It imitates the bridge function of the Ethernet network, so that the terminal devices at the user side and the bridge devices at the network side are connected. Figure 8-1 shows the stack protocol of 1483B. Figure 8-1 Stack protocol of 1483B
The IPoE Ethernet stack protocol is used to connect the device at the users' side. After 1483B is configured on the entry Router A on the ATM network, Router A can implement the bridge of Ethernet packets to the ATM cells. This enables Router A to transparently transmit the received IPoE packets on the ATM network. IPoEoA is the main application of 1483B supported by the NE80E/40E. IPoEoA indicates that AAL5 carries Ethernet packets, and the Ethernet carries IP packets to implement the layer 2
8-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 03 (2010-03-31)
8 1483B Configuration
forwarding of IPoEoA packets between the Ethernet and PVC. IPoEoA converges the ATM backbone network and the IP network. It also supports Ethernet protocols and IP protocols.
Pre-configured Tasks
Before configuring IPoEoA services, complete the following task:
l
Configuring parameters of the ATM interface connecting the router and ATM switch or that connecting the router and the peer device
Data Preparation
To configure IPoEoA services, you need the following data. No. 1 2 3 Data Number of the VE interface Number of the ATM interface VPI/VCI value of PVC
8 1483B Configuration
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
A PVC is created and the PVC interface view is displayed. Step 4 Run:
encapsulation aal5-encap
The AAL5 encapsulation protocol type of PVC is configured. The AAL5 encapsulation type for PVC can be aal5snap, aal5mux or aal5nlpid. By default, the encapsulation type is aal5snap.
NOTE
On the NE80E/40E, only the LPUF-10 ATM FPIC supports the aal5nlpid encapsulation type.
NOTE
Only aal5snap encapsulation supports InARP. InARP cannot be configured when aal5mux or aal5nlpid is adopted. To change the AAL5 encapsulation type of PVC to aal5mux or aal5nlpid, InARP must be deleted first if it has been configured.
Step 5 Run:
map bridge virtual-ethernet interface-number
8 1483B Configuration
PVC and the VE interface which it is mapped to must on the same interface board, that is, numbers of the interface boards must be the same. When configuring the IPoEoA application mapping, ensure that there is no other mapping on the PVC. When configuring other mappings, ensure that there is no IPoEoA configuration on the PVC. ----End
----End
Example
Run the display interface atm command. If you can view the information of the ATM interface, it means that the configuration succeeds.
<HUAWEI> display atm interface atm 1/0/0 Atm1/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2008-11-03, 17:24:24 Description : Atm1/0/0 Interface Route Port, The Maximum Transmit Unit is 1500 bytes Internet Address is 21.1.1.1/24 AAL enabled: AAL5, Maximum VCs: 2048 VCs on main-interface: 1 (Total VCs: 1) VPs on main-interface: 0 (Total VPs: 1 ) The Vendor Name is FINISAR CORP. , The Vendor PN is FTRJ1321P1BTL Transceiver BW: 2.5G, Transceiver Mode: Single Mode WaveLength: 1310nm, Transmission Distance: 5km Rx Optical Power: -24.95dBm, Tx Optical Power: -1.99dBm Physical layer is Packet Over SDH
Issue 03 (2010-03-31)
8-5
8 1483B Configuration
UBR: 4, CBR: 0, VBR: 0, USED BandWidth: 0Kbps VPI Max: 255, VCI Max: 2047 Scramble enabled, clock master, CRC-32, loopback: none Flag: J0 "NetEngine " Flag: J1 "NetEngine " Flag: C2 19(0x13) SDH alarm: section layer: none line layer: none path layer: none SDH error: section layer: B1: 356 line layer: B2: 0 M1: 0 path layer: B3: 143 G1: 0 Statistics last cleared:never Send good cell: 0 cells Send idle cell: 25099462530 cells Receive idle cell: 0 cells Receive corrected cell: 0 Receive uncorrected cell: 97 Dropped receive cell: 0 cells Last dropped receive cell connection: 0/0 Last 30 seconds input rate: 2872 bits/sec, 0 Packets/sec Last 30 seconds output rate: 3024 bits/sec, 0 Packets/sec Input: 91929764 Bytes, 96982 Packets Output: 110681532 Bytes, 250553 Packets
Run the display atm pvc-info command. If you can view the PVC status and the interface status, it means that the configuration succeeds.
<HUAWEI> display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|----------------------0/40 |UP |1 |1 |SNAP |None |Atm8/0/0.1 (UP)
Run the display atm map-info command. If you can view the mapping between the PVC and the peer address, it means that the configuration succeeds.
<HUAWEI> display atm map-info Atm1/0/0, PVC 1/33, IP, State UP 100.11.1.1, vlink 1 Atm1/0/0, PVC 2/101, ETH, Virtual-Ethernet1/1/1, UP
Run the display interface virtual-ethernet command. If you can view the statistic information and status of the virtual ethernet interface, it means that the configuration succeeds.
<HUAWEI> display interface virtual-ethernet 1/0/0 Virtual-Ethernet1/0/0 current state : UP Line protocol current state : DOWN Description : Virtual-Ethernet1/0/0 Interface Route Port, The Maximum Transmit Unit is 1500 Internet protocol processing : disabled IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc7a-9e15 Carrier Layer: 1 PVC total, 1 map up, 0 map down 5 minutes input rate 0 bytes/sec, 0 packets/sec 5 minutes output rate 0 bytes/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops
8 1483B Configuration
IP address of VE of the Router C is 202.38.160.1. VPI/VCI values of two PVCs connecting Router C and DSLAM are 0/60 and 0/61, which belong to ADSL Router A and ADSL Router B respectively.
Workstation
Ethernet
ADSL Router A
Workstation
DSLAM
IP:202.38.160.1
Server
Ethernet
ADSL Router B
Workstation
Server
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4.
Issue 03 (2010-03-31)
Create a VE interface. Configure an IP address for the VE interface. Create a PVC and enter the PVC view. Create the IPoEoA mapping on PVC.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-7
8 1483B Configuration
Data Preparation
To complete the configuration, you need the following data:
l l
Procedure
Step 1 Configure Router C. # Create a VE interface and configure an IP address for it.
<RouterC> system-view [RouterC] interface virtual-ethernet 1/0/0 [RouterC-Virtual-Ethernet1/0/0] ip address 202.38.160.1 255.255.255.0 [RouterC-Virtual-Ethernet1/0/0] quit
map bridge virtual-ethernet 1/0/0 quit map bridge virtual-ethernet 1/0/0 quit
Step 2 Verify the configuration. # Check the PVC status information on Router C.
[RouterC] display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|--------------------0/60 |UP |to_adsl_a |60 |SNAP |ETH |Atm1/0/0 (UP) 0/61 |UP |to_adsl_b |61 |SNAP |ETH |Atm1/0/0 (UP)
The PCs connected Router A and the PCs connected Router B can ping through the VE interfaces on Router C. ----End
Configuration Files
Configuration file of RouterC
# Sysname RouterC # interface Atm1/0/0 pvc to_adsl_a 0/60 map bridge Virtual-Ethernet1/0/0 # pvc to_adsl_b 0/61 map bridge Virtual-Ethernet1/0/0 # # interface Virtual-Ethernet1/0/0 ip address 202.38.160.1 255.255.255.0 # return
8-8
Issue 03 (2010-03-31)
8 1483B Configuration
VLAN 10
VLAN 10
VLAN 20
VLAN 20
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. 5. 6. Create a VLAN. Add Ethernet interfaces to the VLAN. Create a VE interface. Add the VE to the VLAN. Create a PVC and enter the PVC view. Create the IPoEoA mapping on PVC.
Data Preparation
To complete the configuration, you need the following data:
l l l
Number of the interface added to the VLAN VLAN ID to be accessed to the ATM network VPI/VCI value of PVC that transparently transmit layer 2 packets
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-9
Issue 03 (2010-03-31)
8 1483B Configuration
Procedure
Step 1 Configurations of Router A and Router B are the same, as follows: # Create a VLAN.
[HUAWEI] vlan 10 [HUAWEI-vlan10] quit [HUAWEI] vlan 20 [HUAWEI-vlan20] quit
# Switch the interface to the layer 2 mode and configure the default VLAN.
[HUAWEI] interface Ethernet3/0/1 [HUAWEI-Ethernet3/0/1] portswitch [HUAWEI-Ethernet3/0/1] port default vlan 10 [HUAWEI-Ethernet3/0/1] quit [HUAWEI] interface Ethernet3/0/2 [HUAWEI-Ethernet3/0/2] portswitch [HUAWEI-Ethernet3/0/2] port default vlan 20 [HUAWEI-Ethernet3/0/2] quit
encapsulation aal5snap map bridge Virtual-Ethernet1/0/0 quit encapsulation aal5snap map bridge Virtual-Ethernet1/0/1 quit
Step 2 Verify the configuration. # View the pvc status information on Router A and Router B.
[HUAWEI] display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|----------------------100/1 |UP | |0 |SNAP |ETH |Atm1/0/0 (UP) 100/2 |UP | |0 |SNAP |ETH |Atm1/0/0 (UP)
The PCs connected Router A and PC s connected Router B can ping through each other. ----End
Configuration Files
Configuration files of Router A and Router B
# Sysname HUAWEI #
8-10
Issue 03 (2010-03-31)
8 1483B Configuration
The VE interface of Router C is added to VLAN 100. IP address of VLANIF 100 is 202.38.160.1. VPI/VCI values of two PVCs connecting the router and DSLAM are 0/60 and 0/61, which belong to ADSL Router A and ADSL Router B respectively.
Issue 03 (2010-03-31)
8-11
8 1483B Configuration
Workstation
Ethernet
ADSL Router A
Workstation
DSLAM
IP:202.38.160.1
Server
Ethernet
ADSL Router B
Workstation
Server
Configuration Roadmap
The configuration roadmap is as follows: 1. 2. 3. 4. 5. 6. 7. Create VLAN 100. Create a VLANIF interface. Configure an IP address for the interface. Create a VE interface. Add the VE to the VLAN. Create a PVC and enter PVC view. Create the IPoEoA mapping on PVC.
Data Preparation
To complete the configuration, you need the following data:
l l
Procedure
Step 1 Configure Router C. # Create VLAN 100 and VLANIF 100.
<RouterC> system-view [RouterC] vlan 100 [RouterC-vlan100] quit [RouterC] interface vlanif 100 [RouterC-vlanif100] ip address 202.38.160.1 24 [RouterC-vlanif100] quit
8-12
Issue 03 (2010-03-31)
8 1483B Configuration
Step 2 Verify the configuration. # View the pvc status information on Router C.
[HUAWEI] display atm pvc-info VPI/VCI |STATE|PVC-NAME |INDEX |ENCAP|PROT |INTERFACE --------|-----|----------------|--------|-----|-----|------------0/60 |UP |to_adsl_a |60 |SNAP |ETH |Atm1/0/0 (UP) 0/61 |UP |to_adsl_b |61 |SNAP |ETH |Atm1/0/0 (UP)
The PCs connected Router A and the PCs connected Router B can ping through the VE interfaces on Router C. ----End
Configuraion Files
Configuration file of Router C
# Sysname RouterC # vlan batch 100 # interface Vlanif100 ip address 202.38.160.1 255.255.255.0 # interface Atm1/0/0 pvc to_adsl_a 0/60 map bridge Virtual-Ethernet1/0/0 # pvc to_adsl_b 0/61 map bridge Virtual-Ethernet1/0/0 # # interface Virtual-Ethernet1/0/0 portswitch port default vlan 100 # return
Issue 03 (2010-03-31)
8-13
A Glossary
A
Collates frequently used glossaries in this document. A ATM Authentication Authorization AUX
Glossary
Asynchronous Transfer Mode (ATM). A data transmission technology in which data is transferred at high data rates in fixed length, 53 bytes. An act that decides whether a user can be awarded with access right or what kinds of users can access a network. An act that accredits a user with access to certain services. Auxiliary interface that provides an EIA/TIA-232 DTE interface. By using the AUX interface and the Modem, a user can access a network through dialup.
C Callback A call mode in which both ends of the communication participate in the call. One end is called the Client, while the other end is caller the Server. The Client initiates a call, and the Server decides whether to callback or not. If a callback is needed, the Server tears down the connection and then initiates a call to the Client. Number of the called party. Number of the calling party.
P POS A MAN and LAN technology that provides a point to point connection. The POS interface is based on SONET.
Issue 03 (2010-03-31)
A-1
A Glossary
SONET
Synchronous Optical Network (SONET). A standard for synchronous data transfer over optical networks. The standard contains a series of transmission speed, including SDH Transport Module (STM) -1 (155Mbit/s), STM-4c (622 Mbit/s) and STM-16c/STM-16 (2.5 Gbit/s).
W WAN Wide Area Network. A network that covers a large geographic area.
A-2
Issue 03 (2010-03-31)
B
A AA AAA AAL AAL1 AAL2 AAL3 AAL5 ACL ADSL AMI ANSI ARP ATM AU AUG AUX
Anonymous Access Authentication, Authorization and Accounting ATM Adaptation Layer ATM Adaptation Layer Type 1 ATM Adaptation Layer Type 2 ATM Adaptation Layer Type 3 ATM Adaptation Layer Type 5 Access Control List Asymmetric Digital Subscriber Line Alternate Mark Inversion American National Standard Institute Address Resolution Protocol Asynchronous Transfer Mode Administrative Unit Administrative Unit Group Auxiliary (port)
Issue 03 (2010-03-31)
B-1
C CAR CBR CCITT CD CDV CHAP CPE CPOS CSMA CUG Committed Access Rate Constant Bit Rate International Telegraph and Telephone Consultative Committee Carrier Detect Cell Delay Variation Challenge Handshake Authentication Protocol Customer Premises Equipment Channelized-POS Carrier Sense Multiple Access Closed User Group
D DCC DCD DCE DDN DHCP DLCI DLSw DNS DSL DSLAM DTE Data Communication Channel Data Carrier Detected Data Circuit-terminating Equipment Digital Data Network Dynamic Host Configuration Protocol Data Link Control Identifier Data Link Switching Domain Name System Digital Subscriber Line DSL Access Multiplexer Data Terminal Equipment
E EIA ESF ETSI Electronics Industry Association Extended Service Frame European Telecommunications Standards Institute
B-2
Issue 03 (2010-03-31)
Fiber Distributed Digital Interface Fast Ethernet First In First Out Frame Relay Frame Relay Forum Frame Rejection Forced Switch File Transfer Protocol
G GE GPRS GRE Gigabit Ethernet General Packet Radio Service Generic Routing Encapsulation
H HDB3 HDLC HDSL HFC HIC HOC HTTP High Density Bipolar of Order 3 High level Data Link Control High-bit-rate Digital Subscriber Link Hybrid Fiber-Coaxial Highest Incoming-only Channel Highest Outgoing-only Channel Hyper Text Transport Protocol
I IAD IBGP ID IEEE IETF IF IGMP IP Integrated Access Device Internal BGP IDentification Institute of Electrical and Electronics Engineers Internet Engineering Task Force Information Frame Internet Group Management Protocol Internet Protocol
Issue 03 (2010-03-31)
B-3
IPC IPCP IPHC IPoA IPoE IPoEoA ISDN ISO ISP ITU-T
Inter-Process Communication IP Control Protocol IP Header compression Internet Protocols over ATM IP over Ethernet IP over Ethernet over AAL5 Integrated Services Digital Network International Organization for Standardization Internet Service Provider International Telecommunication Union - Telecommunication Standardization Sector
L L2TP LAN LAPB LCP LFI LIC LOC LQR LTC Layer 2 Tunneling Protocol Local Area Network Link Access Procedure, Balanced Link Control Protocol Link Fragmentation and Interleaving Lowest Incoming-only Channel Loss of continuity Link Quality Reports Lowest Two-way Channel
M MAP MD5 MFR MIB MP MTU Mobile Application Part Message Digest 5 Multiple Frame Relay Management Information Base Multilink PPP Maximum Transmission Unit
N NAT
B-4
Non Broadcast Multiple Access Network Control Protocol NetEngine Network Node Interface Network Terminal
O OAM OC-3 OSI OSPF Operation, Administration and Maintenance OC-3 Open System Interconnection Open Shortest Path First
P PAP PC PCI PCM POH POS PPP PRI PSE PSTN PVC Password Authentication Protocol Personal Computer Protocol Control Information Pulse-Code Modulation Path Overhead Packet Over SDH/SONET Point-to-Point Protocol Primary Rate Interface Packet Switching Exchange Public Switched Telephone Network Permanent Virtual Circuit
R RADIUS RAS RFC Remote Authentication Dial in User Service Remote Access Server Request for Comments
Issue 03 (2010-03-31)
B-5
Routing Information Protocol Regenerator Section Overhead Routing Switch Unit Real-time Transport Protocol Remote Test Unit
S SDH SDLC SDSL SF SGSN SLIP SNA SNMP SNP SOH SONET SP STM-1 SVC Synchronous Digital Hierarchy Synchronous Data Link Control Symmetrical Digital Subscriber Line Signal Failure Serving GPRS Support Node Serial Line Internet Protocol Systems Network Architecture Simple Network Management Protocol Sequence Number PDUs Section Overhead Synchronous Optical Network Service Provider SDH Transport Module -1 Switched Virtual Channel
T TACACS TCP TFTP TU TUG Terminal Access Controller Access Control System Transmission Control Protocol Trivial File Transfer Protocol Tributary Unit Tributary Unit Group
B-6
Issue 03 (2010-03-31)
UNI UP
V VBR VC VCI VLAN VP VPI VPLS VPN VRP Variable Bit Rate Virtual Circuit Virtual Channel Identifier Virtual Local Area Network Virtual Path Virtual Path Identifier Virtual Private LAN Service Virtual Private Network Versatile Routing Platform
Issue 03 (2010-03-31)
B-7