Você está na página 1de 269

OpticalLink C8000 EPON OLT Operation Manual

Wuhan Yangtze Optical Technology Co., Ltd. http://www.yotc.com.cn Manual Version: YOT 2.142.020-UM_A06 Product Version: RELEASE V400

Statement
Copyright 2009 Wuhan Yangtze Optical Technology Co., Ltd. All Rights Reserved. No part of this manual may be reproduced or transmitted in any form or by any means without the prior written consent of Wuhan Yangtze Optical Technology Co., Ltd. OpticalLink, OpView, OpticalLink, OpView and are the

trademarks of Wuhan Yangtze Optical Technology Co., Ltd. All other trademarks that may be mentioned in this manual are the properties of their respective owners. The information in this document is subject to update from time to time due to upgrading of product versions or other reasons. Unless otherwise agreed, the manual is for reference only. All statements, information and recommendations in this manual do not constitute the warranty of any kind, express or implied. To obtain the latest information, please access to: http://www.yotc.com.cn

Technical Support
Wuhan Yangtze Optical Technology Co., Ltd. can provide a full range of technical supports to customers. In case of problems, users purchasing the products from the agents of Wuhan Yangtze Optical Technology Co., Ltd can directly contact with the sales agent. In case of problems, users purchasing the products directly from Wuhan Yangtze Optical Technology Co., Ltd, can contact with the nearest office of Yangtze Optical or the headquarters of Yangtze Optical.

Hotline: 027-67887399; Fax: 027-67887678 Technical Support Email: support@yotc.com.cn Headquarters Address: Wuhan Yangtze Optical Technology Co., Ltd., #4 Guanshan Er Road, Wuhan China 430073 Website: http://www.yotc.com.cn

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

About This Manual


Related Documentation
Manual OpticalLink C8000 EPON OLT Command Manual Description It provides the commands for the general information, system and equipment, VLAN, port, port isolation, OLT, ONU, RSTP, Link-Aggregation, Mirror , MAC address table, QoS, ACL, IGMP, performance, alarm and inband network administration and other modules of C8000 OLT devices.

OpticalLink C8000 EPON OLT It provides the product introduction, service single board, pre-installation Installation Manual preparation, installation, hardware maintenance, software maintenance and troubleshooting of C8000 OLT.

Organization
OpticalLink C8000 EPON OLT Operation Manual mainly introduces the general information, logging-in, command line interface and view, system and equipment operation, VLAN, OLT port, PON port isolation, PON, ONU, RSTP, Trunk, Mirror, MAC address table, QoS, ACL, IGMP, performance, alarm and network administration and other configuration operations. To prevent possible operation problems, the loss of configuration or the disconnection of services, please read this manual carefully. The manual is organized as follows: Chapter 1 Overview: Elaborates the data acquisition methods, the relation between information and versions and the product introduction. Chapter 2 Login the OLT device: Elaborates the local and remote login operation of the OLT device. Chapter 3 Command Line Interface and View: Elaborates the system view and the operation of the command line interface. Chapter 4 System Upgrading: Elaborates the commands relevant to system management, including upgrading and configuration files, network tools and restarting.

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Chapter 5 Device Configuration Management: Elaborates the configuration management of the device, including the system date and time, time zone, host name management and slot position configuration. Chapter 6 VLAN Configuration Management: Elaborates the operation of VLAN configuration. Chapter 7 OLT Port Configuration Management: Elaborates the OLT port configuration, including the basic configuration of the port, broadcast/multicast and unknown unicast suppression, flow control, loop-back, port speed limit, display of basic configuration of the port, and maintenance, etc. Chapter 8 PON Port Isolation Configuration Management: Elaborates the isolation operation of PON port. Chapter 9 PON Configuration Management: Elaborates the PON configuration management operation. Chapter 10 ONU Configuration Management: Elaborates the configuration management of the ONU device, the configuration management of the ONU port, classification and marking configuration management and ONU SLA configuration management. Chapter 11 RSTP Configuration Management: Elaborates the rapid spanning tree configuration management. Chapter 12 Link Aggregation Configuration Management: Elaborates the configuration management operation of link aggregation. Chapter 13 Port Mirroring Configuration Management: Elaborates the configuration management operation relevant to port mirroring. Chapter 14 MAC Address Table Configuration Management: Elaborates the layer 2 MAC address table configuration management. Chapter 15 QoS Configuration Management: Elaborates the configuration management operations relevant to QoS. Chapter 16 ACL Configuration Management: Elaborates the ACL configuration management operations. Chapter 17 Layer 3 Static Router Management: Elaborates the configuration management operation relevant to the layer 3 static router. Chapter 18 Multicast Configuration Management: Elaborates the IGMP configuration management operations. Chapter 19 Performance Configuration Management: Elaborates the performance configuration management operations. Chapter 20 Alarm Configuration Management: Elaborates the alarm configuration management operation. Chapter 21 Network Management Configuration: Elaborates the network management configuration.

II

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Conventions
1. Common Conventions
Convention Description

Song typeface Boldface Regular Script

Arial

The text is in Song typeface. In addition to the heading 1 that is in Song typeface and Bold, the headings of other levels are in bold. Caution, tip and the like are in regular script, and lines are provided before and after such contents to separate from the text. All are in Arial with the exception of the headings.

2. Command Line Conventions


Convention Description

Boldface italic [] (x | y | ... )

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. Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected. One from x to y is selected. It is the comments.

[x|y|] <x-y> $ 3. Keyboard Conventions


Convention

Description

Character in angular Button names are inside angle brackets. For brackets example, <Enter>, <Tab>, <Backspace>, <a> and <?> are respectively Enter, Tab, Backspace, Lowercase Letter a and ?. < Key 1 + Key 2> Key combination, for example, <Ctrl+Alt+A> is composed of "Ctrl", "Alt" and "A". < Key 1, Key 2> Press the first key first, release, and then press the second key. For example, <Alt, F>, press <Alt> first, release and then press <F> key.

III

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

4. Symbols To make sure that you perform certain tasks properly, take note of the following symbols used throughout this manual. Caution: Means reader be careful. Improper operation may cause data loss or damage to equipment. Warning: Provides information to prevent injury due to improper operation. Note: Provides tips to aid in completing a task. 5. Tips The command lines of the system are case sensitive.

IV

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Abbreviations
ACL CDR CVLAN DA DBA EPON FEC IGMP LLID LPU MAC OLT ONU QoS RSTP SA SCU SLA SNI SNMP RTT UNI VLAN VoIP C&M Access Control List Call Detail Record Customer VLAN Destination Address Dynamic Bandwidth Allocation Ethernet Passive Optical Network Forward Error Correction Internet Group Management Protocol Logical Link Identifier Line Process Unit Medium Access Control Optical Line Terminal Optical Network Unit Quality of Service Rapid Spanning Tree Protocol Source Address Switch Control Unit Service Level Agreement Service Network Interface Simple Network Management Protocol Round Trip Time User Network Interface Virtual Local Area Network Voice over IP Classification&Marking

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

TABLE OF CONTENTS
1 OVERVIEW .............................................................................................................................................. 1 1.1 DOCUMENTATION OBTAINING .......................................................................................................................... 1 1.2 SOFTERWARE RELEASE NOTES .......................................................................................................................... 1 1.2.1 Software Version of Manual ................................................................................................................. 1 1.2.2 Related Documentation ........................................................................................................................ 2 1.3 PRODUCT PROFILE ......................................................................................................................................... 2 1.3.1 Introduction to Switch Control Unit of C8000 OLT Device .................................................................... 2 1.3.2 Integration Relation between Switch Control Unit and Service Board ................................................. 3 1.3.3 Software Features ................................................................................................................................. 3 1.4 NETWORK APPLICATION .................................................................................................................................. 5 2 LOGIN THE OLT DEVICE ............................................................................................................................ 6 2.1 LOCAL LOGIN BY CONSOLE PORT ....................................................................................................................... 6 2.1.1 Connection of Console Cable ................................................................................................................ 6 2.1.2 Configuring the Terminal Parameters ................................................................................................... 6 2.1.3 Start Up the Interface ......................................................................................................................... 10 2.2 LOCAL LOGIN BY TELNET ................................................................................................................................ 11 2.2.1 Connection of Cable ........................................................................................................................... 11 2.2.2 Set up the Parameters of the Outband Management Port of Local C8000 ........................................ 12 2.2.3 Set up the Network Card Parameter of the Terminal PC .................................................................... 12 2.2.4 Set up the Parameters for Telnet Terminal ......................................................................................... 14 2.2.5 Telnet Connection Interface ............................................................................................................... 17 2.3 REMOTE LOGIN BY TELNET ............................................................................................................................. 18 2.3.1 Connection of PC Cable ...................................................................................................................... 18 2.3.2 Set up the Parameters of Inband Management Port of Local C8000 ................................................. 18 2.3.3 Set up the Parameters of the Terminal PC Network Card ................................................................... 18 2.3.4 Set up the Parameters for Telnet Terminal ......................................................................................... 18 2.3.5 Telnet Connection Interface ............................................................................................................... 18 3 COMMAND LINE INTERFACE AND VIEW ................................................................................................ 19 3.1 INTRODUCTION TO COMMAND LINE INTERFACE ................................................................................................. 19 3.2 COMMAND LEVEL LINE AND COMMAND LINE VIEW............................................................................................ 19 3.2.1 Switching of View Levels .................................................................................................................... 20 3.2.2 Setup of the view switch password .................................................................................................... 20 3.2.3 Command View .................................................................................................................................. 21 3.3 CLI FEATURES ............................................................................................................................................. 22 3.3.1 Online Help for Command Line .......................................................................................................... 22 3.3.2 Characteristics of command line display ............................................................................................ 25 3.3.3 Command History ............................................................................................................................... 26 3.3.4 Error Message of Command Line........................................................................................................ 26 3.3.5 Features of Command Line Editing ..................................................................................................... 27 4 SYSTEM MANAGEMENT ........................................................................................................................ 29

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

4.1 FILE SYSTEM CONFIGURATION ........................................................................................................................ 29 4.1.1 Introduction to File System ................................................................................................................ 29 4.1.2 Operations on Directory ..................................................................................................................... 29 4.1.3 Operations on File .............................................................................................................................. 30 4.1.4 Operation on Storage Device .............................................................................................................. 30 4.1.5 Example of File System Application .................................................................................................... 30 4.2 SYSTEM UPGRADE ................................................................................................................................... 32 4.2.1 Introduction to System Upgrade ......................................................................................................... 32 4.2.2 Upgrading the System ......................................................................................................................... 33 4.2.3 System Upgrade Example ................................................................................................................... 34 4.3 CONFIGURING THE FILE ................................................................................................................................. 35 4.4 OPERATING THE NETWORK TOOLS................................................................................................................... 35 4.4.1 Introduction to Relevant Knowledge about Network Tools ................................................................ 35 4.4.2 Introduction to FTP ............................................................................................................................. 35 4.4.3 Introduction to Telnet ......................................................................................................................... 35 4.4.4 Introduction to Ping ............................................................................................................................ 36 4.4.5 Operating the Network Tools .............................................................................................................. 36 4.5 RESTARTING ................................................................................................................................................ 36 5 DEVICE CONFIGURATION MANAGEMENT ............................................................................................. 37 5.1 MANAGING TIME, TIME ZONE AND HOST NAME ............................................................................................... 37 5.2 MONITORING OF THE POWER TO FAN .............................................................................................................. 38 5.2.1 Introduction to Power to the Fan ....................................................................................................... 38 5.2.2 Fan Power Monitoring ........................................................................................................................ 38 5.3 SLOT BOARD MANAGEMENT .......................................................................................................................... 39 5.3.1 Introduction to Slot Management ...................................................................................................... 39 5.3.2 Slot Management ............................................................................................................................... 39 5.3.3 Slot Management Operation Example................................................................................................ 40 5.4 ACTIVE/STANDBY CHANGEOVER MANAGEMENT ................................................................................................ 41 5.4.1 Introduction to Active/Standby Changeover ...................................................................................... 41 5.4.2 Forced Active/Standby Changeover.................................................................................................... 42 6 VLAN CONFIGURATION MANAGEMENT ................................................................................................ 43 6.1 VLAN CONFIGURATION MANAGEMENT ........................................................................................................... 43 6.1.1 Introduction to VLAN .......................................................................................................................... 43 6.1.2 OLT port-based VLAN .......................................................................................................................... 47 6.1.3 ONU Port-based VLAN ........................................................................................................................ 51 6.2 OLT VLAN CONFIGURATION AND APPLICATION................................................................................................. 53 6.2.1 Basic Configuration of VLAN ............................................................................................................... 53 6.2.2 VLAN Multicast Forwarding Configuration ......................................................................................... 54 6.2.3 802.1Q-based CVLAN Hybrid Application ........................................................................................... 55 6.2.4 802.1ad-based SVLAN Hybrid Application .......................................................................................... 59 6.2.5 VLAN Transparent Application ............................................................................................................ 63 6.2.6 VLAN Translate Application ................................................................................................................ 66 6.2.7 VLAN QinQ Application ....................................................................................................................... 71 6.3 ONU VLAN CONFIGURATION ........................................................................................................................ 75

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.3.1 VLAN Transparent Transmission ......................................................................................................... 75 6.3.2 VLAN Tag ............................................................................................................................................. 77 6.3.3 VLAN Translation ................................................................................................................................ 80 7 OLT PORT CONFIGURATION MANAGEMENT ......................................................................................... 85 7.1 INTRODUCTION TO OLT PORT CONFIGURATION ................................................................................................. 85 7.1.1 Basic Configuration of OLT Port .......................................................................................................... 86 7.1.2 Broadcast/ Multicast/ Unknown Unicast Storm Suppression Configuration ...................................... 87 7.1.3 Configuring the Port Flow Control Function ....................................................................................... 88 7.1.4 Configuring the loop-back test of the port ......................................................................................... 89 7.1.5 Configuring the speed limitation of port ............................................................................................ 89 7.1.6 Display and Maintenance of the Basic Configuration of Port ............................................................. 91 7.2 OLT PORT CONFIGURATION EXAMPLE.............................................................................................................. 91 7.2.1 Network Requirement ........................................................................................................................ 91 7.2.2 Network Diagram ................................................................................................................................ 91 7.2.3 Configuration Procedure..................................................................................................................... 91 8 PON PORT ISOLATION CONFIGURATION MANAGEMENT ...................................................................... 93 8.1 INTRODUCTION TO PON PORT ISOLATION ........................................................................................................ 93 8.2 CONFIGURATION OF PON PORT ISOLATION....................................................................................................... 93 8.3 DISPLAY OF PON PORT ISOLATION .................................................................................................................. 93 8.4 PON PORT ISOLATION CONFIGURATION EXAMPLE.............................................................................................. 94 8.4.1 Network Requirement ........................................................................................................................ 94 8.4.2 Network Diagram ................................................................................................................................ 94 8.4.3 Configuration Procedure..................................................................................................................... 94 9 PON CONFIGURATION MANAGEMENT.................................................................................................. 95 9.1 DOWNLINK ENCRYPTION MANAGEMENT .......................................................................................................... 95 9.1.1 Configuring the Downlink Encryption Parameters of OLT .................................................................. 95 9.1.2 Configuring the Encryption Status of ONU ......................................................................................... 96 9.1.3 Downlink Encryption Configuration Example ..................................................................................... 96 9.2 CONFIGURING THE MAXIMUM DISTANCE ......................................................................................................... 98 9.2.1 Configuring the Maximum Distance ................................................................................................... 98 9.2.2 Maximum Distance Configuration Example........................................................................................ 99 9.3 CONFIGURING THE DLF FORWARDING POLICY ................................................................................................... 99 9.3.1 Configuring the Forwarding Strategy of DLF ..................................................................................... 100 9.3.2 DLF Forwarding Strategy Configuration Example ............................................................................. 101 9.4 CONFIGURE THE PORT CONTROL ................................................................................................................... 101 9.4.1 Configure the Port Control................................................................................................................ 102 9.4.2 Example of Port Control Configuration ............................................................................................. 103 9.5 CONFIGURE THE PROTECTION SWITCHING OF TRUNK FIBER ................................................................................ 105 9.5.1 Configuring the Trunk Fiber Protection Switching ............................................................................ 106 9.5.2 Example of Trunk Fiber Protection Switching Configuration ............................................................ 106 10 ONU CONFIGURATION MANAGEMENT ............................................................................................... 109 10.1 ONU DEVICE CONFIGURATION MANAGEMENT ........................................................................................... 109

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.1.1 ONU Authorization Management ................................................................................................... 109 10.1.2 Configuring the Management Information of SFU-based ONU ...................................................... 109 10.1.3 Configuring the ONU Automatic Binding Strategy .......................................................................... 110 10.1.4 Configuring the ONU Manual Binding Strategy .............................................................................. 110 10.1.5 Example of ONU Binding Strategy Configuration ........................................................................... 111 10.1.6 Restarting and Deregistering .......................................................................................................... 113 10.1.8 FEC Configuration ........................................................................................................................... 115 10.1.9 Configure the ONU Port Isolation ................................................................................................... 115 10.1.10 Configuring the Loop Detection of the Port ................................................................................. 116 10.1.11 P2P Operation ............................................................................................................................... 116 10.1.12 VOIP Port Operation ..................................................................................................................... 118 10.1.12.5 Setup of WAN IP ........................................................................................................................ 125 ONUPORT CONFIGURATION MANAGEMENT .............................................................................................. 125 10.2 10.2.1 Basic Configuration of ONU Port .................................................................................................... 126 10.2.3 Configuring the Flow Control of the Port........................................................................................ 127 10.2.4 ONU Ports Flow Control Configuration Example ........................................................................... 127 10.2.5 Configuring the Port Rate Limitation .............................................................................................. 128 10.2.7 Display and Maintenance of the Basic Configuration of Port ......................................................... 130 CLASSIFICATION AND MARKING CONFIGURATION MANAGEMENT ................................................................... 130 10.3 10.3.1 Introduction to Classification and Marking..................................................................................... 130 10.3.2 Classification and tag Template Operation ..................................................................................... 131 10.3.3 Classification and Marking Configuration Example ........................................................................ 132 SLA CONFIGURATION MANAGEMENT ....................................................................................................... 133 10.4 10.4.1 Introduction to SLA ......................................................................................................................... 133 10.4.2 Configuring SLA............................................................................................................................... 134 10.4.3 SLA Configuration Example ............................................................................................................. 136 11 RSTP CONFIGURATION MANAGEMENT ............................................................................................... 137 11.1 INTRODUCTION TO RSTP PROTOCOL ......................................................................................................... 137 OLT RSTP CONFIGURATION MANAGEMENT .............................................................................................. 144 11.2 11.2.1 List of RSTP Configuration Tasks ..................................................................................................... 144 11.2.2 Enable/Disable the Spanning Tree Features of Device ................................................................... 145 11.2.3 Enable/Disable the Spanning Tree Features of Port ....................................................................... 145 11.2.4 Configure the Working Mode of Spanning Tree Protocol ............................................................... 145 11.2.5 Configure the Bridge Priority of Device .......................................................................................... 146 11.2.6 Configure the Forward Delay Characteristics of Device .................................................................. 147 11.2.7 Configure the Hello Time Characteristics of Device ....................................................................... 147 11.2.8 Configure the Max Age Characteristics of Device ........................................................................... 148 11.2.9 Configure the Maximum Transmission Speed of a Specific Port .................................................... 149 11.2.10 Configure the Specific Port to be Edge Port or Not ...................................................................... 149 11.2.11 Configure the Path Cost of a Specific Port .................................................................................... 150 11.2.12 Configure the Priority of a Specific Port ....................................................................................... 151 11.2.13 Configure the Specific Port to be Connected with Point to Point Link or not ............................... 152 11.3 MONITORING AND MAINTENANCE OF OLT RSTP ........................................................................................ 153 CONFIGURE ONU RSTP ........................................................................................................................ 154 11.4 11.4.1 Enable/disable the Spanning Tree Characteristics of ONU ............................................................. 154

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

11.5 12

MONITORING AND MAINTENANCE OF ONU RSTP ...................................................................................... 154

LINK AGGREGATION CONFIGURATION MANAGEMENT ....................................................................... 156 12.1 INTRODUCTION TO LINK AGGREGATION ..................................................................................................... 156 LINK AGGREGATION GROUP CONFIGURATION ............................................................................................. 157 12.2 LINK AGGREGATION GROUP CONFIGURATION EXAMPLE ................................................................................ 158 12.3 12.3.1 Network Requirement .................................................................................................................... 158 12.3.2 Network Diagram............................................................................................................................ 159 12.3.3 Configuration Procedure................................................................................................................. 159

13

PORT MIRRORING CONFIGURATION MANAGEMENT .......................................................................... 160 13.1 INTRODUCTION TO PORT MIRRORING ....................................................................................................... 160 PORT MIRRORING CONFIGURATION .......................................................................................................... 160 13.2 PORT MIRRORING CONFIGURATION EXAMPLE ............................................................................................ 162 13.3 13.3.1 Network Requirement .................................................................................................................... 162 13.3.2 Network Diagram............................................................................................................................ 163 13.3.3 Configuration Procedure................................................................................................................. 163

14

MAC ADDRESS CONFIGURATION MANAGEMENT................................................................................ 164 14.1 INTRODUCTION TO MAC ADDRESS ........................................................................................................... 164 OLT MAC ADDRESS MANAGEMENT......................................................................................................... 167 14.2 14.2.1 Configure the Aging Time of MAC Address Table ........................................................................... 167 14.2.2 Configure the MAC Address Table Entries ...................................................................................... 168 14.2.3 Show MAC Address Table Configuration......................................................................................... 169 14.2.4 OLT MAC Address Management Configuration Example ................................................................ 169 ONU MAC ADDRESS MANAGEMENT ....................................................................................................... 170 14.3 14.3.1 Configure the Aging Time of MAC Address Table ........................................................................... 170 14.3.2 Empty the ONU MAC Address Table ............................................................................................... 171 14.3.3 ONU MAC Address Management Configuration Example .............................................................. 171 14.4 RESTRICTION ON ONU PORT MAC ADDRESS ............................................................................................. 172 14.4.1 ONU Port MAC Address Restriction Configuration Example: .......................................................... 173

15

QOS CONFIGURATION MANAGEMENT ................................................................................................ 175 15.1 INTRODUCTION TO QOS ......................................................................................................................... 175 15.1.1 Traffic .............................................................................................................................................. 175 15.1.2 Traffic Classification ........................................................................................................................ 175 15.1.3 Priority ............................................................................................................................................ 175 15.1.4 Priority Re-tagging ...........................................................................................................................176 15.1.5 Packet Filtering ................................................................................................................................176 15.1.6 Traffic Policing ..................................................................................................................................176 15.1.7 Congestion Management ............................................................................................................... 177 QUEUE SCHEDULING.............................................................................................................................. 177 15.2 15.2.1 Strict Priority Scheduling ................................................................................................................ 178 15.2.2 Round Robin (RR) Scheduling ......................................................................................................... 178 15.2.3 Weighted Round Robin(WRR) Scheduling ...................................................................................... 179 15.2.4 Scheduling combined with Strict Priority and Weighted Round Robin (SP + WRR) ........................ 180

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

15.3 CONFIGURING THE QOS ......................................................................................................................... 180 15.3.1 Configuring the OLT QoS ................................................................................................................. 180 15.3.2Configure ONU QoS ......................................................................................................................... 184 16 ACL CONFIGURATION MANAGEMENT ................................................................................................. 187 16.1 INTRODUCTION TO ACL .......................................................................................................................... 187 16.1.1 Mode of Application of ACL in OLT ................................................................................................. 188 ACL CONFIGURATION ............................................................................................................................ 188 16.2 16.2.1 Configuring the ACL list................................................................................................................... 188 16.3 ACL Rule Configuration ...................................................................................................................... 191 16.4 Applying the ACL Rules to the Port .................................................................................................... 195 16.5 ACL Configuration Example................................................................................................................ 196 17 LAYER 3 STATIC ROUTER MANAGEMENT ............................................................................................ 198 17.1 INTRODUCTION TO L3 STATIC ROUTER ....................................................................................................... 198 17.1.1 Network Requirement .................................................................................................................... 199 17.1.2 Network Diagram ............................................................................................................................ 199 17.1.3 Configuration Procedure................................................................................................................. 199 18 MULTICAST CONFIGURATION MANAGEMENT ................................................................................... 202 18.1 INTRODUCTION TO MULTICAST ................................................................................................................ 202 18.1.1 Multicast Frame .............................................................................................................................. 202 18.1.2 Introduction to Multicast Address .................................................................................................. 205 18.1.3 Multicast Management Protocol IGMP .......................................................................................... 208 18.2 MULTICAST CONFIGURATION ................................................................................................................... 211 18.2.1 Basic Configuration of OLT Multicast .............................................................................................. 211 18.2.2 Basic Configuration of ONU Multicast ............................................................................................ 212 18.2.3 igmp proxy Protocol Parameter Configuration ............................................................................... 215 18.2.4 igmp Channel Table Configuration .................................................................................................. 216 18.2.5 Configuration of igmp Controllable Multicast Preview Parameter ................................................. 217 18.2.6 Configuration of igmp Controllable Multicast Authority Table ....................................................... 219 18.2.7 Multicast Vlan Configuration .......................................................................................................... 220 IGMP CONTROLLABLE MULTICAST CONFIGURATION .................................................................................... 221 18.3 18.3.1 Configuration of OLT IGMP Controllable Multicast ......................................................................... 221 18.3.2 ONU IGMP Controllable Multicast Configuration ........................................................................... 223 18.3.3 IGMP Controllable Multicast Configuration Example ..................................................................... 224 IGMP PROXY MULTICAST CONFIGURATION................................................................................................ 229 18.4 OLT IGMP PROXY MULTICAST CONFIGURATION ......................................................................................... 229 18.5 18.5.1 ONU IGMP Proxy Multicast Configuration ...................................................................................... 230 18.5.2 IGMP Proxy Multicast Configuration Example ................................................................................ 231 19 PERFORMANCE CONFIGURATION MANAGEMENT .............................................................................. 235 19.1 INTRODUCTION TO PERFORMANCE CONFIGURATION .................................................................................... 235 PERFORMANCE CONFIGURATION .............................................................................................................. 236 19.2 19.2.1 OLT Performance Configuration...................................................................................................... 236 19.2.2 ONU Performance Configuration .................................................................................................... 238

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

19.3 Performance Configuration Example ................................................................................................. 239 20 ALARM CONFIGURATION MANAGEMENT ........................................................................................... 241 20.1 20.2 20.3 20.4 20.5 20.6 21 INTRODUCTION TO ALARM CONFIGURATION............................................................................................... 241 INTRODUCTION TO ALARM CONFIGURATION TASK ....................................................................................... 241 CONFIGURE SNMP TRAP SERVER............................................................................................................... 242 CONFIGURE ALARM INFORMATION SHIELD ................................................................................................. 242 ALARM CONFIGURATION EXAMPLE ........................................................................................................... 243 ALARM CONFIGURATION DISPLAY AND MAINTENANCE ................................................................................. 244

NETWORK MANAGEMENT CONFIGURATION ........................................................................ 245 21.1 21.2 21.3 21.4 INTRODUCTION TO NETWORK MANAGEMENT MODE ................................................................................... 245 DEFAULT NETWORK MANAGEMENT CONFIGURATION................................................................................... 248 OUTBAND NETWORK MANAGEMENT CONFIGURATION................................................................................. 249 INBAND NETWORK MANAGEMENT CONFIGURATION .................................................................................... 249

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

1 OVERVIEW
1.1 Documentation Obtaining
Wuhan Yangtze Optical Technology Co., Ltd. offers a variety of means for data acquisition to ensure the user can get the product-related information and the documents of new characteristics in a timely manner. The main data acquisition mode is the CD-ROM delivered along with the device. YOTC provides a CD-ROM delivered along with each device. The CD-ROM describes the supporting electronic manuals of the product of the model, including operation manual, command manual, installation manual and compatibility manual (optional). After the user installs the browser in the CD-ROM, the desired content can be easily searched by operation interface. The information in this document is subject to update from time to time due to upgrading of product versions or other reasons, while the contents of the CD-ROM may not be updated in a timely manner. Unless otherwise agreed, the manual is for reference only. All statements, information and recommendations in this manual do not constitute the warranty of any kind, express or implied. To obtain the latest software version, please access to YOTC website.

1.2 Softerware Release Notes


Due to the upgrading of product software version, the new software characteristics may be added in the new version. The user can get the relevant documents of new characteristics by releasing the supporting information through the software version.

1.2.1 Software Version of Manual

OpticalLink C8000 EPON OLT Operation Manual and OpticalLink C8000 EPON OLT Command Line Manual have the V400R007 software versions of C8000 products.

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

1.2.2 Related Documentation


Table 1-2 List of Supporting Manuals

Manual OPTICALLINK C8000 EPON OLT Installation Manual OPTICALLINK C8000 EPON OLT Operation Manual OPTICALLINK C8000 EPON OLT Command Line Manual

Version V3.0 V3.0 V3.0

1.3 Product Profile


EPON (Ethernet Passive Optical Network) products of Wuhan Yangtze Optical Technology Co., Ltd. include OLT (Optical Line Terminal) devices and ONU (Optical Network Unit) devices, providing FTTH (Fiber To The Home) solution and FTTB (Fiber To The Building) solution and the like. The OpticalLink C8000 product described in the manual is the carrier-grade EPON OLT device of Wuhan Yangtze Optical Technology Co., Ltd. specifically for large-scale access applications. The product not only meets the requirements of IEEE802.3 standard and the technical requirements of China Telecom's EPON equipment, but also is provided with many user interfaces and circuit boards; at the same time, the product can provide the powerful network management function and achieve the flexible networking and management of system, suitable for the application in the edge of metropolitan area network, the access layer of telecom network and the convergence layer/ access layer of enterprise network. The C8000 product has the powerful switching function, excellent network availability, upgradability, high performance and powerful network control capacity.

1.3.1 Introduction to Switch Control Unit of C8000 OLT Device The switch control unit is the core of C8000 OLT device. The models of the switch control unit included in the C8000 OLT device are as follows: SCU-A: Only switch control unit, without service network interface. SCU-B: switch control unit of 1 port 10 GBASE-R (XFP) 2 port10 GBASE-CX4 gigabit Ethernet.

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Table 1-3 List of Characteristics Indicators of the Switch Control Unit

Item

Switch Capacity

Packet Switching Rate 72Mpps 102Mpps

Number of MAC Address Routing VLAN Table Table

SCU-A SCU-B

96Gbit/s 136Gbit/s

4K 4K

16K 16K

8K 8K

1.3.2 Integration Relation between Switch Control Unit and Service Board
Table 1-4 Types of Service Boards Supported by Switch Control Unit

Item LPU2P LPU4 SLU

SCU-A

SCU-B

1.3.3 Software Features Table 1-5 Software Features Features Supporting a variety of view modes and switching between views Supporting command line interface Supporting online help Supporting the file system-related operations Supporting operations of upgrade and configuration file Supporting common network tools Supporting the restarting operations of device and board Supporting the configuration of time, time zone and host name Supporting the monitoring of fan and power supply Supporting the setup and management of slots Supporting the VLAN in line with 802.1Q Supporting the VLAN based on port Supporting broadcast / multicast / unicast suppression; Supporting 802.3x flow control; Supporting the enabling and disabling of ports;

Module Command line interface and view System management

Device configuration management VLAN configuration management OLTport configuration management

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

PON port isolation PON Configuration Management

Supporting burst frame length; Supporting hybrid VLAN, VLAN transparent transmission, VLAN switching and VLAN stacking Supporting speed limitation of port Supporting port priority Supporting loop-back of port Supporting the setup and modification of tpid Two-layer isolation between PON ports Supporting downlink encryption Supporting the configuration of maximum distance Supporting DLF forwarding policy Supporting port control Supporting the switching of trunk fiber protection Supporting the authorization management of ONU Supporting the restart and de-registration of ONU Supporting FEC and encryption switch Supporting the user port isolation of ONU Supporting the PON port loop-back test of ONU Supporting P2P operation Supporting the switch of VoIP port Supporting the setup of WAN IP Supporting the basic configuration of ONU port Supporting flow control Supporting port speed limitation Supporting classification and marking configuration management Supporting SLA configuration management Supporting 802.1s STP Supporting 802.1w RSTP

ONU Configuration Management

RSTP Configuration Management Link-Aggregation Configuration Management Mirror Configuration Management MAC Address Table Configuration Management QoS Configuration Management ACL Configuration Management

Supporting the link aggregation control protocol

Supporting port mirroring

Supporting the binding of user MAC address and port Supporting the setup of aging time

Supporting the priority queue mapping Supporting the schedule policy of strict priority and fair scheduling Supporting the queue scheduling of weighted priority Supporting the basic configuration of ACL Supporting the matching rule configuration of ACL Supporting the matching configuration of ACL

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Multicast Configuration Management Performance Configuration Management Alarm Configuration Management Network management configuration

Supporting the binding of ACL and port Supporting the multicast configuration management of OLT and ONU Supporting the performance configuration management of OLT and ONU

Supporting the performance configuration management of OLT and ONU Supporting the setup of system default gateway Supporting inband network management Supporting outband network management

1.4 Network Application

Figure 1-1 Network Application of C8000

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

2 LOGIN THE OLT DEVICE


The OpticalLink C8000 device supports the local and remote logins. The following methods can be used for login:

2.1 Local Login by Console Port


Connect the terminal (PC in this case) with the console port of the SCU in the OLT device by the console cable.

Figure 2-1 C8000 Console Port Connection 2.1.1 Connection of Console Cable Step I: Connect the DB-9-hole plug of the console cable with the PC or the serial port on the terminal for configuring the C8000 device. Step II: Insert RJ-45 connector of the console cable into the console port of the SCU of the C8000 (Console). 2.1.2 Configuring the Terminal Parameters Parameter requirements: Baud rate is 9600bps , 8 data bits, no even-odd check, 1 stop

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

bit, no flow control, selected terminal emulation of VT100. Taking the running of the Window XP hyper terminal on the PC as an example, the following part introduces the setting of terminal parameters. Step I: Start up the PC and run the terminal emulation program on the PC (such as Terminal of Windows3.1 or the hyper terminal of Windows95 /Windows98 /Windows ME/ Windows2000 /WindowsNT /WindowsXP/Windows 2003). Step II: Set the parameters of the Windows XP hyper terminal. Parameter requirements: Baud rate is 9600bps, 8 data bits, no even-odd check, 1 stop bit, no flow control, selected terminal emulation of VT100. See the following for the specific method: 1Click "Start" - "Program" - "Accessory" - "Communications" - "Hyper Terminal" to enter the Hyper Terminal window, create the new connection, then the window of connection in the following figure is shown.

Figure 2-2 Interface of Hyper Terminal Connection 2Enter the name of new connection to the connection interface; click [OK], the interface figure as shown below appears, and select the serial port for connection in the [For connection].

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-3 Set up the Serial Port for Hyper Terminal Connection 3After the serial port is fixed, click [OK], the interface of the connection serial port parameter setup as shown in the following figure appears and then set the baud rate to 9600, the data bits to 8, the even-odd check to None, the stop bit to 1 and the flow control to None.

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-4 Set up the Serial Port Parameters 4After the serial port parameters are set, click [OK], the HyperTerminal interface as shown in the following figure appears.

Figure 2-5 Hyper Terminal Window

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

5Select [Property] (hand-shaped icon) in the dialog box of Hyper Terminal Property to enter the property window. Click [Setup] in the Property Window to enter the property setup window (see below), select the terminal emulation of VT100, after that, click [OK].

Figure 2-6 Set up the Terminal Emulation in the Property Setup Window

2.1.3 Start Up the Interface At the time of powering on and staring up the OLT device, the following information on the configuration terminal is finally displayed: ***************************************************************** * * * YOTC P ON-OS (version 1.00) * * * * Copyright 2006-2007, All Rights Reserved. * * * ***************************************************************** C8000 CLI .... Hello,this is POS (PON opration system) version:C8000_SCU_V200R009SP1.

10

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Copyright 2003-2007 YOTC LTD. User Access Verification Password: After the above tips are shown, the automatic startup of the OLT device completes. Enter the password. The default password is yotc. After password is entered, the terminal screen is shown below, at the time, the user can configure the C80000. C8000>

2.2 Local Login by Telnet


Connect the management network port (MGMT) of SHM1 with the cross-connection cable for PC (Outband Management). And connect the console port of the main SCU with the serial port of PC by the standard serial cable.

Figure 2-7 Local Login by Telnet 2.2.1 Connection of Cable Connect one RJ-45 of the cable with the management network port of the SHM1of the C8000 and the other RJ-45 of the cable to the network port on the computer.

11

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

2.2.2 Set up the Parameters of the Outband Management Port of Local C8000 See section 20.3 "Outband Network Management Configuration". 2.2.3 Set up the Network Card Parameter of the Terminal PC Taking the running of the Window XP on the PC as an example, the following part introduces the parameter setting for PC. Step I: Start up the PC and open the network connection of the network card as shown in Figure 2-6. Step II: Set the TCP / IP Parameter of the network card of Windows XP. Parameter requirements: The IP used must be in the same network segment to the IP address of the C8000, but the IPs are different, the subnet mask must be the same to the mask with the outband network management of the C8000, because the setup of the gateway is not needed in the local area network (LAN). The specific method is as follows: 1Click "Start" - "Settings" - "Network Connections" - "Local Connection", then the interface as shown below appears.

12

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-8 Interface of Local Connection Status 2Click "Attribute" in the above interface, the following interface is shown.

Figure 2-9 Setup of Serial Ports for Hyper Terminal 3Double-click "Internet Protocol (TCP/IP) ", fill out IP, subnet mask, and other necessary information. Note: the IP address here cannot be the same to the IP address of the outband management port but must be in the same network segment and the subnet masks must be consistent, because of the connection within local area network, you can neglect default gateway and DNS.

13

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-10 Setup of TCP/IP Parameters 4After the setup of TCP/IP parameters, click [OK]. 2.2.4 Set up the Parameters for Telnet Terminal 1Click "Start" - "Program" - "Accessory" - "Communications" - "Hyper Terminal" to enter the Hyper Terminal window, create the new connection, then the window of connection in the following figure is shown.

14

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-11 Interface of Hyper Terminal Connection 2Enter the name of new connection to the connection interface; click [OK], the interface figure as shown below appears, and select TCP/IP (Winsock) in the [For connection] column.

Figure 2-12 Set up the Telnet Connection for Hyper Terminal 3Enter the IP address of the C8000 outband network management interface configured by console port login to the pop-up interface.

15

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-13 Set up the Hyper Terminal Telnet Parameters 4Click OK to enter the following interface (If connected, automatically enter the CLI Command Line interface).

Figure 2-14 Hyper Terminal Window 5Select [Property] (hand-shaped icon) in the dialog box of Hyper Terminal Property to enter the property window. Click [Setup] in the Property Window to enter the property setup window (see below), select the terminal emulation of VT100, after that, click [OK].

16

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 2-15 Setup the Terminal Emulation in the Property Setup Window 2.2.5 Telnet Connection Interface After the connection, the following information on the configuration terminal is finally outputted: ***************************************************************** * * * * * Copyright 2 006-2007, All Rights Reserved. * * YOTC PON-OS (version 1.00) * * *

*****************************************************************

C8000 CLI .... Hello, this is POS (PON opration system) version :C8000_SCU_V200R009SP1. Copyright 2003-2007 YOTC LTD.

User Access Verification

Password: After the above tips are shown, the connection succeeds. Enter the password. The default password is yotc. After the password is entered, the terminal screen is shown below, at the time, the user can configure the C8000. C8000>

17

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

2.3 Remote Login by Telnet


Connect PC with the network of C8000 network management IP that the router can access for the remote login. 2.3.1 Connection of PC Cable Connect one RJ-45 of the crossover line to the nearest switch or network information outlet and the other end to the network port on the computer. 2.3.2 Set up the Parameters of Inband Management Port of Local C8000 See section 20.4 "Inband Network Management Configuration". 2.3.3 Set up the Parameters of the Terminal PC Network Card See section 2.2.3 "Set up the Parameter of the Terminal PC Network Card". Note: the setup of TCP/IP parameters must be configured in accordance with the opinions of the network system administrator where the network is. For example, the required IP address, subnet mask and default gateway must be set and filled up in accordance with the opinions of the network system administrator where the network is. After that, ping the IP of the C8000 inband network management interface in the PC, the following operations can be made if it works. 2.3.4 Set up the Parameters for Telnet Terminal See section 2.2.4 "Set up the Parameters for Telnet Terminal". Note: in the "host address" column, fill in the IP address of the C8000 inband network management interface rather than the IP address of the outband network management interface. 2.3.5 Telnet Connection Interface See section 2.2.5 "Telnet Connection Interface".

18

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

3 COMMAND LINE INTERFACE AND VIEW


3.1 Introduction to Command Line Interface
The OpticalLink C8000 OLT device provides a series of configuration commands and command line interfaces for users, to help users to configure and manage the EPON system. The command line interface (CLI) has the following features: Local configuration through the console port Local or remote configuration through the Telnet Command level protection to configuration commands to ensure unauthorized users can not invade C8000. Users can enter "?" at any time to get online help. Available history features allow the check of historical commands. Partial matching search method for the key words of command line, users can find the desired contents by entering conflict-free key words, for example, for show command, type sh.

3.2 Command Level Line and Command Line View


The cascade command level protection of the command lines of C8000 OLT is provided to prevent unauthorized users from illegal intrusion. The command lines can be divided into access level, system level and management level. See the following for details: Access level: the commands in the level can be used for the switching of language modes of the user interface, the setup of terminal control parameters, the check of system settings, etc. The level is relevant to the view type view. System level: the commands in the level can be used for file operation, network diagnostics, system upgrading, device restarting, etc. The level is relevant to the enable view. Management level: the commands in the level are relevant to the configuration of the system, interfaces and part services. The level is relevant to the config view, ge, pon, interface, onu and other interfaces, vlan and acl as well as other global

19

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

configuration view. The user logging into the system can be divided into two levels, corresponding to the command levels. The access-level user can use the access-level commands and the privilege-level users can use all commands. 3.2.1 Switching of View Levels The level of the user logging into the OLT can be switched by inputting the corresponding view password and the password of the view can be switched in accordance with demands. Entering the view view and enable view options requires the passwords. Note: The default passwords for view view and enable view are yotc. 3.2.2 Setup of the view switch password See Figure 3-1 for the setup of the view view password. Table 3-1 Setup of View View Password Item Enter config View Command configure terminal 8, the optional parameter, refers to the use of cipher text, if the parameter is absent, it refers to the use of the plain text Description

Set view view password

password [8] password

See Figure 3-2 for the setup of the enable view password. Table 3-1 Setup of View View Password Item Enter config View Command configure terminal 8, the optional parameter, refers to the use of cipher [8] text, if the parameter is absent, it refers to the use of the plain text Description

Set view password

view enable password password

20

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

3.2.3 Command View The modes of command lines are realized in accordance with different configuration requirements; they have differences and similarities with each other. For example, if you enter the view mode after entering the user ID and password for the connection with OLT, the system can only complete the operating status check and the information statistics, and then enter enable to enter the enable view, then you can enter config terminal command to enter the config view, at that time, you can enter different commands to enter the corresponding views. The command line provides the following views: view view enable view config view ge port view xe port view pon port view onu port view vlan view acl view

See Table 3-3 for the function features of each view and the command of each view and other information. Table 3-3 Command Rules View view view Function Promote Enter Command Exit Command

Check the C8000> running state of the system System configuration and operation C8000#

Connect with OLT, Quit or exit from the that is, enter connection with the OLT Enter enable under Quit or exit from the the view mode connection with the OLT, disable to the

enable View

21

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

view view config View Global configuration C8000(co Enter configure Quit or exit or end to nfig)# terminal under the the enable view enable view C8000(co Enter int ge Quit or exit or end to nfig-if-gi slotid/portid under the config view or end gabit-eth the config view to the enable view ernet-12/ 1)# C8000(co Enter int xe Quit or exit to the nfig-if-x- slotid/portid under config view or end to the enable view ethernet- the config view 1)#

ge port Configuration View relevant to Gigabit service network interface port xe port Configuration View relevant to 10 Gigabit service network interface port pon port View onu port View

Configuration C8000(co Enter int pon Quit or exit to the relevant to nfig-if-po slotid/portid under config view or end to n-10/1)# the config view PON port the enable view Configuration C8000(co Enter int onu Quit or exit to the relevant to nfig-if-on slotid/portid:branc config view or end to ONU under the the enable view u-10/1:1) hid config view # Global configuration of VLAN Global configuration of ACL C8000(co Enter vlan vlanid Quit or exit to the nfig-vlan under the config config view or end to -1)# view the enable view C8000(co Enter nfig-acl-1 aclidunder )# config view acl Quit or exit to the the config view or end to the enable view

vlan View

acl View

3.3 CLI Features


3.3.1 Online Help for Command Line The CLI provides two kinds of on-line help: complete help and partial help. The user can get the relevant help information required by the device configuration through the

22

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

on-line help. 3.3.1.1 Complete Help 1In any view, type "?", the user screen shows all commands under the view and brief descriptions. C8000(config-vlan-100)# arp-proxy cls copy description end exit help inband list mcast-flood no port quit show who write arp pr oxy i nterface Clear s creen Copy configuration Set description of VLAN End c urrent m ode a nd change t o e nable m ode Exit current mode and down to previous mode Description of t he i nteractive h elp s ystem Inband i nterface Print c ommands l ist f or c urrent mode Set flood mode of multicast packets Negate a command or set it to its defaults Add m ember por t(s) Exit c urrent m ode a nd do wn t o pr evious m ode Show r unning s ystem i nformation Display l ist of c urrent C LI us ers Write r unning configuration to memory, network, or terminal

2Enter a command followed by a space-separated "?", in case the place is a keyword, all keywords and brief descriptions are shown in the user screen. C8000(config-if-pon-12/1)#show basic-info Olt b asic information

23

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

dlf encrypt history igmp-proxy illegal-onu-info inband-info interface isolate language legal-onu-info link-aggregation mac-addr max-distance mirror-group oam-rate-limited onu-update-record packet-filter perf policer port qos running-config trunkfiber vlan

Olt dl f m ode Encrypt c onfig Display t he s ession c ommand hi story Olt i gmp pr oxy All i llegal onu nformation i Inband interface Show i nformation of t he s pecified i nterface Show P ON por ts i solate s tate vty l anguage m ode All l egal onu nformation i System t runk m anagment Olt a ddress t able Olt m aximum d istance Show s ystem m irror-group information Send OAM frames according to the standard limit Onu Update Record Packet f ilter s tatus on u crrent por t Performance m anagement Olt pol icer pa rameter Show por ts of w hich vl an-type QoS c onfiguration Running c onfiguration Trunkfiber p rotect s tatus Show s ystem V LAN i nformation

24

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

3Enter a command followed by a space-separated "?". In case the place is a parameter, the descriptions relevant to the parameters are shown in the user screen. C8000(config)# vlan <1-4094> Vlan ID s tart <cr> indicates that no parameters are absent in the location, execute the function by the direct entering of return key. 3.3.1.2 Partial Help 1Type a string, immediately followed by "?", then all the commands started with the string are shown in the user screen. C8000(config)# out outband outer-tpid Set out band i nterface i p i nformation Set system outer tpid

2Type a command, immediately followed a string and then "?", then all the keywords of the commands started with the string are shown in the user screen. C8000(config-if-pon-3/1)#show l language legal-onu-info link-aggregation vty l anguage m ode All l egal onu nformation i System trunk managment

3Type the first few letters of the keywords of a command, press <Tab> key, if only one keyword matches with the letter entered, the complete keyword is shown in the user screen; if many keywords match with the letter entered, all keywords matching with the letter entered are shown in the user screen. 4For the above HELP information, the display in Chinese by the language Chinese command can be achieved. 3.3.2 Characteristics of command line display The command line interface has the following display features: For the convenience of users, tips and help information can be displayed in Chinese and English.

25

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

If the information to be displayed cannot be completely shown in the current screen, the user can have the following options, as shown in Table 3-4. Table 3-4 Table of Display Function Key or Command Function Suspend the display, type Stop the display and the <Ctrl+C> execution of command Continue to show the Suspend the display, type the information of next space bar screen Suspend the display, type the Continue to show the Enter key information of next line

3.3.3 Command History The CLI provides the functions similar to Doskey, that is, the historical commands entered by the user can be automatically saved, then the user can use the command history saved by the CLI at any time and can repeat the execution of such commands. The command line interface can save 10 pieces of historical commands for each user, when the user enters a number of same commands on end, only the command entered at the first time can be saved by the CLI as the command history. See Table 3-5. Table 3-5 Access to Command History Item Show the Command History Access to the previous command history Access to the next command history Button or command show history or <Ctrl+P> or<Ctrl+N> Result Show the valid command history Show the previous command history if it exists Show the next command history if it exists

3.3.4 Error Message of Command Line Only the commands entered by the users that are correct in grammar can be executed, or the report of error message will be given to the user, see Table 3-6 for the common error messages. Table 3-6 List of Common Error Message of Command Line

26

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Error message in English

Cause No commands are found No keywords are found

% Unknown command.

Incorrect parameter type Parameter values are out of range Too many parameters inputted

%Command incomplete. %Ambiguous command.

Incomplete commands inputted Ambiguous commands inputted

3.3.5 Features of Command Line Editing The CLI provides the basic command editing functions and supports the multi-line editing. The maximum length of each command is up to 256 characters. See Table 3-7. Table 3-7 Edit Menu Button Common button Function If the edit buffer is not full, insert to the current cursor position and move the cursor to the right Delete the character before the cursor position and move forward the cursor Move the cursor one character to the left. Move the cursor one character to the right.

Backspace or <Ctrl+B> or<Ctrl+F> or <Ctrl+P> or <Ctrl+N>

Show the command history

Tab

Press Tab after entering incomplete keywords, the system automatically performs the partial help: if only one keyword matches with the letter entered, the complete keyword will replace the original letter inputted; if many keywords match with the letter

27

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

entered, all keywords matching with the letter entered are shown in the user screen and at the time, the display in new lines will be allowed; in case the parameters of the command keywords cannot be matched with each other, the system will not make any changes and display the original input in the new line.

28

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

4 SYSTEM MANAGEMENT
4.1 File System Configuration
4.1.1 Introduction to File System The main function of the file system is to manage the storage devices. The file system provides the file system and document & directory management for storage devices; specifically, create file system; create, delete, modify and rename files and directories; and display contents of files. The single-level directory name or file name supports a maximum of 40 characters. C8000 contains three tffs file systems, that is, tffs0, tffs1, and tffs2, respectively corresponding to three flashes, attached to "/" directory and mapped into three directories of the same names. The three directories do not allow the renaming, deletion and others. 4.1.2 Operations on Directory The file system allows the creation and deletion of directories and the display of the file or directory information of the current working directory and the designated directory. Configure under the enable view.
Table 4-1 Operations on Directory

Item Create directory Delete directory

Command mkdir directory rm directory

Description

Displays the current pwd working directory Show directory or file dir [directory] information If no directories are designated, please enter the root directory; cd. Display the current directory path, equivalent

Change the directory

current

cd [directory]

29

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

to pwd; cd .. Enter the directory of the previous level. 4.1.3 Operations on File The file system allows the deletion of files, the display of file contents and the copy of files. Configure under the enable view.
Table 4-2 Operations on Files.

Item Delete the file

Command rm file-url

Description

Display contents of the more file-url file Copy the file copy file-url1 file-url2

4.1.4 Operation on Storage Device The file system allows the formatting of the designated storage device. C8000 contains three tffs file systems, that is, tffs0, tffs1, and tffs2, respectively corresponding to three flashes. Configure under the enable view. Table 4-3 Operation on Storage Device Item Command Description Danger! Format before the delivery! If not necessary, do not use the command.

Format device

the

storage

format filesystem

4.1.5 Example of File System Application $ After formatting the tffs2, create user directory, copy files under tffs1 to tffs2 and finally delete the files under the tffs2.

30

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Format tffs2 C8000# format tffs2 This will erase all flash file at %s. tffs2 Are you sure?(y/n) [y]y Begin to format tffs2, please wait a few minute! Format tffs2 success! $ Display files under the tffs1 C8000# cd tffs1 %Current Directory is "/tffs1/". C8000# ls $Create user directory C8000# cd tffs2 %Current Directory is "/tffs2/". C8000# mkdir user $ Copy startcon.cfg under the tffs1 to tffs2 C8000# cd /tffs1 %Current Directory is "/tffs1/". C8000# copy startcon.cfg /tffs2/user/startcon.cfg %Copy file /tffs1/startcon.cfg to /tffs2/user/startcon.cfg OK. $ Check if the copy is successful C8000# cd user %Current Directory is "/tffs2/user/". C8000# ls size -------date ----------time -------name

31

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

2048 2048 18 1 f iles,

JAN-01-2007 JAN-01-2007 JAN-01-2007

01:59:58 01:37:42 01:59:58

. .. sn.db.config

<DIR> <DIR>

total s pace: 18 b ytes

$ Delete startcon.cfg under the tffs2 C8000# rm tffs2/user/startcon.cfg <cr>

4.2

SYSTEM UPGRADE

4.2.1 Introduction to System Upgrade The C8000 OLT device supports the upgrading of system software and board software. The C8000 system consists of three types of boards, SCU, LPU and SLU, of which, all other boards have the pure software with the exception of SLU, and their upgrade can be realized by the command lines. The upgrade can be divided into the following three steps: Firstly, download the bin file to be downloaded into the ramdisk of the SCU; secondly, update the upgrading file in the ram disk of the main SCU to the FLASH as the destination board; and thirdly, restart the destination board to see whether the upgrade is successful. Note: Before the downloading, ensure the C8000 management channel is connected with FTP server, use ping command for diagnostics and inspection. In downloading, ensure the ftp service at the server side is accessible, the user name and the password are correct and the destination file exists. For the C8000 OLT devices, the different boards have different types of software, see the following for details: Table 4-4 Type of Software File that is Running or Subject to Backup in the Board Board type File type Scuboot SCU scuapp SCU application software file Description SCU file bootrom software

32

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

scuappbak lpuboot lpuapp LPU

SCU application software backup file LPU bootrom software file LPU application software file LPU application software backup file LPU PON firmware file LPU PON DBA file

lpuappbak ponfrm pondba

4.2.2 Upgrading the System Please upgrade the system under the enable view. Table 4-5 System Upgrade Item Download file to upgraded Command Description

ftp download ipaddress username Required operation the password filename (scuapp | scuboot be | lpuapp | lpuboot | ponfrm | pondba)

Required operation, if the file type is scuappbak or lpuappbak, the restarting is Update the files update slot slotid filename (scuapp | not necessary after the to be upgraded scuappbak | scuboot | lpuapp | upgrading, for the next to the target lpuappbak | lpuboot | pondba | upgrade, if the existing app board ponfrm) cannot be started, then startup automatically from the backup image. delete file slotid filename (scuapp | Optional operation Delete upgrade scuappbak | scuboot | lpuapp | files in the lpuappbak | lpuboot | ponfrm | ramdisk or flash pondba) (flash | ramdisk)

33

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Restart the slot reset slotid target board 4.2.3 System Upgrade Example $ Upgrade the APP software of No.3 slot LPU

Effective after restarting if updated

%SYS-502 19:23:22 02/17/2009 Upgrade file success 03/0:00 port-00 0X00000000 C8000# ftp download get put upload Download file from host Download file f rom hos t Upload f ile f rom e quipment upload

C8000# ftp download A.B.C.D Ftp server ip address C8000# ftp download 192.168.0.198 USER User name for host login

C8000# ftp download 192.168.0.198 1 PASSWORD Password for host login C8000# ftp download 192.168.0.198 1 1 FILENAME STRING<1-64> Source file name C8000# ftp download 192.168.0.198 1 1 C8000_LPU.bin C8000# ftp download 192.168.0.198 1 1 C8000_ LPU.bin C8000# %SYS-503 19:26:10 02/17/2009 Start load file 07/0:00 port-00 0X00000000 %SYS-504 19:26:12 02/17/2009 Load file success 07/0:00 port-00 0X00000000 lpuapp

34

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000# update slot 3 C8000_LPU.bin lpuapp C8000# %SYS-505 19:27:12 02/17/2009 Start upgrade file 07/0:00 port-00 0X00000000 %SYS-506 19:27:41 02/17/2009 Upgrade file success 07/0:00 port-00 0X00000000

4.3 Configuring the File


C8000 supports the saving of the configuration files and restores the delivery configuration. Please carry out the following operation under the enable view. Table 4-6 Configuring File Item Save the configuration Restore the configuration current Command write Description

delivery

erase

4.4 Operating the Network Tools


4.4.1 Introduction to Relevant Knowledge about Network Tools C8000 supports FTP, Telnet client tools and Ping tools. 4.4.2 Introduction to FTP FTP protocol, as the application layer protocol in TCP/IP protocol suite, is mainly for providing file transfer between hosts. The FTP protocol is realized based on the corresponding file system. The C8000 supports FTP Client/Server services, after the connection with the C8000 device by the terminal emulation program or Telnet program on the host is established, enter the ftp command to establish the connection with the remote FTP Server and access to the files on the remote server. 4.4.3 Introduction to Telnet Telnet protocol is one of the members of TCP/IP protocol suite and the standard protocol for remote login service of Internet. The application of the Telnet protocol can change the computer used by the local user into the terminal of the remote host

35

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

system. The C8000 supports the Telnet service, after the connection with the C8000 device by the terminal emulation program or Telnet program on the host is established, enter the telnet command to log into the remote host system, which provides the user with convenience. 4.4.4 Introduction to Ping Ping is a computer network tool for measuring whether the special host can reach by IP. The C8000 supports Ping diagnostic commands. Enter the ping command under the enable view of the command line to check whether the host of special IP addresses can be reached by IP. 4.4.5 Operating the Network Tools Operate under the enable view. Table 4-7 Network Tool Operation Item FTP download Command ftp get ipaddress username password filename file-url ftp put ipaddress username password file-url telnet ipaddress [port] Description

FTP upload Telnet remote login

Ping IP network ping ipaddress accessibility testing

4.5 Restarting
C8000 supports the restarting of the system or a designated board. Please carry out the following operations under the enable view.
Table 4-8 Restart

Item Reset the specified board Reset the entire system

Command slot reset slotid system reset

Description

36

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

5 DEVICE CONFIGURATION MANAGEMENT


The Device Configuration Management provides the basic information on the device to the user, including system time zone, time, host name, serial number, continuous running time, fan and power supply, board status of each slot and others, and the Device Configuration Management supports the configuration of board, fan, time parameter and the switching of main board and standby board, etc.

5.1 Managing Time, Time Zone and Host Name


The configuration must be made under the config view and the display operation must be made under the enable, view, configure views. Table 5-1 Managing Time, Time Zone, Host Name and System Information Item Command Description

Set the current time of the datetime year month day system hour minute second Set the current time zone of timezone (add | minus) the system timezone [desc] Restore the default no timezone configuration of the time zone Set host name hostname hostname The default host name is C8000 The default time zone is UTC+8, that is Beijing time zone

Restore the host name into no hostname the default configuration Display device show system information, including device type, device serial number, device description, device time zone, name of device time zone, system time of device and continuous running time of system.

37

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

5.2 Monitoring of the Power to Fan


5.2.1 Introduction to Power to the Fan The C8000 contains three pluggable fan modules and two 1 +1 protective power supply module. The fan is the one with the controllable speed; specifically, the speed can be adjusted automatically by temperature or the level of the speed can be set forcedly. The speed has the following six levels.
Table 5-2 Fan Speed Level

1 2 3 4 5 6

About 2000rpm About 3000rpm About 3800rpm About 4500rpm About 5000rpm About 5700rpm

The fan can monitor the fan information, temperature and speed. And each power supply module has 4 channels, with each channel provided with the fuse. Besides, the module can monitor the available information of the power supply module, the temperature the power input state of the four channels. 5.2.2 Fan Power Monitoring The configuration must be made under the config view and the display operation must be made under the enable, view, configure views. Table 5-3 Monitoring on Fan Power Supply Item Set fan speed Command Description

fan speed-control See command line manual (auto|speed) for the corresponding parameter description show fan show power

Display fan status Display power status

38

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

5.3 Slot Board Management


5.3.1 Introduction to Slot Management The C8000 system has 14 board slot areas: Where No.7 and No.8 are the slots for SCU boards. Note: No.7 and No.8 slots must be inserted into the SCU board of the same type, or SCU-A, or SCU-B. The situation that one in SCU-A and the other in SCU-B is not allowed; 1-6 slots and 9-14 slots are the slots for service board LPU can be inserted into any a slot among 1-6 or 9-14 slots SLU can be inserted into No.6 or No.9

Set the board first before implementing other system configuration, with the exception of the automatic loading of the main SCU, the type of other board must be manually set. Now there are five kinds of boards, SCU-A, SCU-B, LPU4, LPU2P and SLU. The slot management function of the C8000 supports the display of slot information, if no slot parameters are specified, the basic information of all 14 slots will be displayed, including the type of the excepted board, the type of the board actually inserted and the status of the board, etc. If show board-info command is used, the information, the hardware serial number, the MCU version, the led status, temperature and BSP version information, the version information of the applications in flash, the version information of the applications in running, total size of flash, the remaining space of flash, the total size of ramdisk, the remaining space of ramdisk, the version information of the PON card firmware, the DBA algorithm of PON card, the occupancy rate of current CPU, the total size of RAM, the remaining space of RAM, etc. 5.3.2 Slot Management The configuration must be made under the config view and the display operation must be made under the enable, view, configure views. Table 5-4 Slot Board Management Item Command Description Required operations, carried out after the boot.

Set the type of board to be slot board-set excepted by the slot

39

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Set the board information slot desc on the slot Display the information of show slot [slotid] board of the slot Showing slot is to display the brief information on status of each slot without parameters and to display the detailed information of the specified slot board with parameters.

5.3.3 Slot Management Operation Example $ Set the type of No.5 slot board as SLU C8000(config)# slot board-set 5 slu $ Display the basic information of the board of all 14 slots C8000(config)# s how s lot Slot 1 2 3 4 5 6 7 8 9 10 Permit m odel no boa rd no boa rd LPU4 boa rd no boa rd SLU boa rd no boa rd SCU boa rd SCU boa rd no boa rd no boa rd Insert m odel no board no boa rd no boa rd no boa rd SLU boa rd no boa rd SCU boa rd no boa rd no boa rd no boa rd Insert P ermit N ormal (Master) * Insert P ermit N ormal Status

40

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

11 12 13 14

no boa rd SLU boa rd LPU4 boa rd no boa rd

no boa rd no boa rd no boa rd no boa rd

Note: Install Type means the board (Type of the board applied) is inserted in the device; Permit meboard (Type of the board to be expected) configured; Normal means that the board runs normally. The following shows several combinations; Insert: means that the device is inserted with board but runs abnormally, inconsistent in the types of boards configured or absent in types of boards configured. Insert Permit: means that the device is inserted with board but runs abnormally, inconsistent in the types of boards configured. Insert Normal: means that the device is inserted with board and runs normally, but inconsistent in the types of boards configured or absent in types of boards configured. Insert Permit Normal: means that the device is inserted with board and runs normally, consistent in the types of boards configured. All empty: means that no board is inserted. Insert Permit Normal (Master) *: means that the one that is operating is the master dish. Insert Permit Normal (Slave) *: means that the one that is operating is the slave the dish, and the operation on the slave dish can be made by the console port. Telnet an only operate the master dish.

5.4 Active/Standby Changeover Management


5.4.1 Introduction to Active/Standby Changeover The C8000 supports the active/standby changeover function of SCU, by default, the SCU of No.7 slot is for the active purpose and the SCU of No.8 slot is for the standby purpose. When the SCU for the active purpose is reset or pulled out or subject to the forced changeover, the standby SCU will become the active SCU, and the original active SCU will automatically reset to ensure that it becomes the new standby board after the startup.

41

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Since the data between active and standby SCUs can realize the real-time synchronization, the new active and standby SCUs after the changeover are fully consistent with the originally active and standby SCUs, and the seamless switching in communications with other service boards and network management can be realized. C8000 can complete the active and standby changeover in the following cases: Soft reset of SCU for active purpose Hard reset of SCU for active purpose SCU for active purpose is pulled out Forced changeover by network management or command line

5.4.2 Forced Active/Standby Changeover Operate under the config view.


Table 5-5 Management of Active/Standby Changeover

Item Command Active/Standby Changeover

Command of ha forceswitch

Description This operation is for the completion of the forced changeover function in the protective changeover of active and standby SCU, only effective in the active SCU.

42

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6 VLAN CONFIGURATION MANAGEMENT


6.1 VLAN Configuration Management
6.1.1 Introduction to VLAN 6.1.1.1 About VLAN The traditional Ethernet is a planar network; all hosts in the network are connected with each other by HUB or switching equipment and all hosts are in the same broadcast domain. The HUB is a physical-layer device and has no switching function; the packet received will be transmitted to all ports; the switching equipment is a link-layer device and has the capacity of transmitting in accordance with the MAC address of the packet, but when the switching equipment receives the broadcast packet or the unknown unicast packet (The destination MAC address of the packet is not in the MAC address table of the switching equipment), the switching equipment also transmits the packet to all ports except the port sending the packet. In the above case, the host in the network will receive large number of packets not for the host, wasting a lot of bandwidth resources and causing serious security risks. The traditional method for isolating the broadcast domain is to use the router, however, the router has the shortcomings of higher cost and fewer ports, and the router cannot divide the refined network, either. To address the problem that the Ethernet switching equipment cannot restrict the broadcast in LAN, the VLAN technology (Virtual Local Area Network) emerges as the times require. The VLAN divides a physical LAN into multiple logical LANs, and each VLAN is a broadcast domain. The communication between hosts within a VLAN is the same to that in the LAN, and direct communication between hosts of different VLANs is not allowed. The members of VLAN are free from the restriction of physical location. A VLAN can be within a switch, in different switching equipment or in different routers. The computers within the same VLAN can be placed in different physical spaces, that is, such computers can also be from different physical network. See Figure 6-1.

43

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 6-1 VLAN classification

6.1.1.2 VLAN Principle To ensure the network device can distinguish the packets of different VLANs, the identified VLAN filed must be added to the packet. Because the switching equipment uses the second layer for working (The function of the third layer is not discussed here), only the data link layer encapsulation of the packet can be identified. Therefore, the filed tag must be added to the data link layer encapsulation. In 1999, IEEE released the draft IEEE 802.1Q protocol for standardizing the VLAN realization program, that is to say, the protocol standardizes the structure of the packet with VLAN tag. The traditional Ethernet data frame encapsulates the type filed of upper-layer protocol after the destination MAC address and source MAC address field. See Figure 6-2.

Figure 6-2 Data Frame Format of Traditional Ethernet Where, DA is the destination MAC address; SA is the source MAC address; Type is the protocol type of the packet. Generally, the field value in the Ethernet data frame is 0x0800.

44

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

IEEE 802.1Q protocol regulates that 4-byte VLAN Tag is encapsulated after the destination MAC address and the source MAC address to identify VLAN-related information. See Figure 6-3.
VLAN Tag

DA

SA

TPID

Priority

CFI

VLAN ID

Type

DATA

Figure 6-3 802.1Q Data Frame Format

VLAN Tag contains four fields, namely, TPID, Priority, CFI, VLAN ID, with the total length of 4 bytes. TPID indicates that the data frame has the VLAN Tag, the length is 16bit and the default value is 0x8100. Priority indicates the priority of 802.1P with the length of 3bit, See section 15.2.1"Configuring OLT QoS" for the specific uses. CFI field identifies whether the MAC address is encapsulated in a standard format in different transmission medium. No detailed description is made here. The length is 1bit. VLAN ID identifies the VLAN that the packet belongs to. The length is 12bit and the range is 04095. Because 0 and 4095 are not used generally, the range of VLAN ID is 14094. 6.1.1.3 Introduction to Common and Flexible QinQ QinQ, also known as VLAN Stacking, is the technology to encapsulate the CVLAN Tag of the user network to the network of service provider or the SVLAN Tag of metropolitan area network, so as to make the packet with layer 2 tags cross the backbone network of service provider and transmit in accordance with the VLAN tag of the outer layer in the public network and shield the CVLAN Tag of user network. The technology not only distinguishes data streams, but also allows the user VLAN tag to be repeatedly used and uses only the outer-layer VLAN tag in the public network due to the transparent transmission of the VLAN tag of user network. See Figure 6-4 for the difference between 802.1Q data frame format and the data frame format with layer 2 tag.

45

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 6-4 Difference between 802.1Q Data Frame Format and QinQ Data Frame Format

QinQ at the beginning was generated for expanding VLAN capacity and increased the 802.1Q tag based on the original 802.1Q packet, expanding the VLAN capacity to 4094 * 4094. With the development of Metro Ethernet and the requirements of operators on refinement operation, the layer 2 tag of QinQ can also be used as follows: the inner and outer tags of QinQ can represent different information, for example, the inner CVLAN Tag can be used for distinguishing users and the outer SVLAN Tag can be used for representing service. There are two ways to encapsulate the outer VLAN tag, one of which is the common QinQ encapsulation, that is, for the port-based outer tag, and all user data of the port must be encapsulated with the same common VLAN tag, however, the method has many restrictions in application, the other of which is the flexible QinQ encapsulation method, the method allows the flow classification of user data in accordance with certain characteristics and then encapsulates different outer VLAN tags to different classifications. The device of our company implements the flow classification by ACL and in accordance with users VLAN TAG, MAC address, IP protocol, source address, destination address, application port number and other information, thus providing different outer VLAN tags to the flows of different types and realizing the support to the flexible QinQ (the function has close relations with the type of hardware chip). 802.1ad standard supplements the above ways based on 802.1Q. IEEE 802.1ad (QinQ) standard describes the mode for the Ethernet to realize S+C and to expand the capacity of VLAN. 802.1ad describes the two kinds of interfaces: Port-based service interface and C-tagged service interface, of which, the Port-based mode is to provide the uniform outer Q (common QinQ) to a port while the client-based mode is to provide the different outer

46

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Qs (flexible QinQ) in accordance with different user tags. For more information, refer to relevant standards. 6.1.2 OLT port-based VLAN The OLT port of the OpticalLink C8000 includes the service network interface on the SCU and the PON port on the LPU. The OLT port-based VLAN is to classify the OLT ports on the device to different VLANs to realize the isolation between users and the division of virtual working groups.

6.1.2.1 Introduction to OLT Port Types under Different VLAN Modes Two models of global support: 802.1ad disable and 802.1ad enable, namely, the model disabling the double-TAG and the model enabling the double-TAG. 802.1ad disable (Double-Tag Disable), all ports work under the hybrid model, support the typical 802.1Q-based (equivalent to CVLAN-based) Hybrid model, in the model, only the CVLAN is involved into the exchange. In enabling the 802.1ad (Double-Tag Enable), the port can be divided into the transparent port and the Hybrid port, supporting the typical transparent applications, supporting the translate applications (1:1) and supporting the QinQ applications. Hybrid port supports the typical SVLAN-based hybrid applications. In the model, only the SVLAN is involved into the exchange. 6.1.2.1.1 802.1Q-based Hybrid Port VLAN When setting the global model to be 802.1Q, the ports of the OLT device can only be configured as the Hybrid type. Hybrid type: the port belonging to multiple VLANs can receive and send the packets of multiple VLANs, The hybrid type can connect the C8000 and the switches, routers or PC of servers and can connect the ONU. All default OLT ports are in the hybrid type. In the mode, the methods for processing all data packets passing through the port of the type are as follows:

Table 6-1 Processing the Ingress and Egress Packets in the Hybrid Port

47

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Processing the Ingress Packets Packet with Tag Received Packet without Tag Received

Processing the Egress Packets

If the port is in the VLAN


specified by the tag carried by the packet, then transmit the packet and determine to strip the tag or not in accordance with the configuration of the exit manner.

If the port is in the If the port is in the


VLAN specified by PVID, provide the default Tag to the packet, and then transmit the packet VLAN specified by the tag carried by the packet, transmit the packet

If the port is not in


the VLAN specified by the tag carried by the packet, discard the packet

If the port is not in


the VLAN specified by the PVID, discard the packet

If the port is not in the


VLAN specified by the tag carried by the packet, discard the packet

6.1.2.1.2 Hybrid Port VLAN-based on 802.1ad After activating the Double-Tag Enable, the port can be set as the transparent port (known as UNI port or Customer port), or as the Hybrid port (also known as SNI port or NNI port or Provider port). The 802.1ad-based hybrid port can identify the untagged packets, single-tag (ST) package and double-tag (DT) packet. Different from the transparent port under the 802.1ad, the hybrid port will inspect the two TL domains and decides which packet it belongs. The specific judgment of ingress is as shown in Table 6-2: Table 6-2 Provider Port Packet Decision Table
First TL Domain OUTER_TPID OUTER_TPID INNER_TPID None Second TL Domain INNER_TPID None None None Packet Type DT ST customer-tagged untagged

Ingress processing flow is as follows:

48

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

For the untagged packets, the processing method is the same to the normal port and the TPID with the tag is Port OUTER_TPID. For the customer-tagged packets, the processing method is the same to that of the untagged packets. For the ST packet, no processing is made, the direct entering to the VLAN lookup link is allowed. For the DT packet, no processing is made, the direct entering to the VLAN lookup link is allowed. The VLAN lookup link is the one with the VLAN member table established in accordance with the OLT device and the data packet forwarded in accordance with the situation that the port adds into the VLAN. Egress processing flow is as follows: The egress processing flow of the 802.1ad-based hybrid port is similar to that of the 802.1Q-based hybrid port with the differences in the SVLAN Tag rather than Q-Tag and the marking of outer_tpid of the port to the exit data stream. 6.1.2.1.3 802.1ad-based Transparent Port VLAN After activating the Double-Tag Enable, the port can be set as the transparent port (known as UNI port or Customer port), or as the Hybrid port (also known as SNI port or NNI port or Provider port). The transparent subnet mask ort ingress processing is as follows: It needs to judge whether the tpid with the tag of the data packet is equivalent to the inner_tpid of the port. If the ordinary Ethernet packets without tag or the field is not equivalent to the inner_tpid, the port judge the data packet as the untagged data packet and mark with the pvid, prio, and outer_tpid of the port, and then forward such data packet. If the tpid of the tag of the data packet is equivalent to the inner_tpid of the port: Then it needs to judge the vid field with the tag of the data packet is equal to 0, if equal to 0, then the data packet is the prio-tagged packet and is marked with the pvid and outer_tpid of the port, but the original prio of the data packet is still used and then forwarded; If the vid field with the tag of the data packet is not equal to 0, then it can judge the data packet to be the customer-tagged packet, and then it needs to check the VLAN

49

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

translation table of the port, only with the CVLAN in the translation table, the QinQ (Add SVLAN beside CVLAN) or translation (Replace CVLAN bye SVLAN) can be made, and then all packets outside the table can be provided with outertpid and PVID, as well as default priority (With the exception of pri-tagged packets, the rest adopt the original priority). The transparent port egress processing flow is as follows: The SVLAN will be stripped at the egress direction and the search of the corresponding CVLAN can be made by the SVLAN index at the egress direction, the CVLAN will replace the CVLAN of the original packet. (Note: the translation table at the egress direction can be enabled or disabled). Note: the port of the type can only send and receive untagged (all ones with the tpid not equal to inner tpid, even the tpid is the outertpid), pri-tagged or customer-tagged packets. 6.1.2.2 Adding the Port to the Designated VLAN The user can add the OLT port into the designated VLAN. After the implementation of the configuration, the OLT port can transmit the packet of the designated VLAN, thus realizing the interflow between the VLAN of the device of the terminal and the same VLAN of the switching equipment on the terminal connected. When adding the port to the VLAN, specify the exit manner of the terminal on the VLAN, that is, whether it needs to strip the tag when the port is sending the packet of the VLAN. Tagged indicates not to strip the tag and untagged indicates to strip the tag. Note Hybrid Application: in accordance with network requirements, the port can be added into more than one VLAN. Transparent transmission application: add to the VLAN specified by the port PVID (ie, the default VLAN ID) and set the exit mode into untagged mode. Translation Application: add the port connecting the user network and the network of service provider to the VLAN (s) appointed by CVLAN (s) or SVLAN (s) and set the exit manner into tagged mode. QinQ Application: add the port connecting the user network to the VLAN (s) appointed by SVLAN (s) and set the exit manner into untagged mode; and set the port connecting the network of service provider to the hybrid port and add to the

50

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

VLAN (s) appointed by SVLAN (s) and set the exit manner into tagged mode. In addition, the translation application needs to configure the VLAN translation table for the translation of CVLAN(s)->SVLAN(s) and SVLAN(s)->CVLAN(s); the QinQ application needs to configure the VLAN nested table and add SVLAN to the outer layer of CVLAN (s). See "6.2.5 VLAN Transparent Application", "6.2.6 VLAN Translate Application" and "6.2.7VLAN QinQ Application" for the specific configuration

Note: Add translation port or qinq port to VLAN; in configuring the VLAN translation table of the former and the VLAN nested table of the latter, note: do operate in accordance with the above description, or the packet will be discarded.

6.1.2.3 Configuring the Default VLAN of the Port The layer 2 transmission of the C8000 depends on VLAN Tag and MAC address (SA & DA). After the packet without VLAN Tag enters to the C8000, the system will provide a default VLAN Tag to the packet, including the default VLAN ID (PVID) and the default priority. Note: Hybrid application: the hybrid application can belong to multiple VLANs while the default VLAN ID needs to be specified and 1 by default. It is recommended to set the default VLAN ID of the Hybrid port at the C80000 terminal the same to the default VLAN ID of the Hybrid port of the device connected,

6.1.3 ONU Port-based VLAN 6.1.3.1 Type of ONU Port-based VLAN The ONU released along with the C8000 supports the following three ONU port-based VLANs Transparent type: applicable to the occasion when the VLAN Tag generated by the home gateway and the switch of the client that is provided and managed by the

51

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

service provider is trustworthy. The ONU port does not process the uplink Ethernet frames (No matter whether the Ethernet frame is provided with VLAN TAG) and forwards them in a transparent manner, and also forwards the downlink Ethernet frames in a transparent manner. Tag Type: applicable to the occasion when the VLAN tag generated by the home gateway or switch of the client cannot be trusted. To realize the unified management and control on the VLAN of the service into the network, a network VLAN Tag is required. Translation type: the ONU port translates the VLAN TAG provided by the user (the VID may not be used exclusively, and the VID may be used by other users in the same system) into the unique network VLAN Tag.

Note: The translation port of ONU has only one VLAN Translation(UniVlan-> CniVlan) table, applicable to the uplink service and the downlink service, the only difference is the direciton, that is, the VLAN Tag of the former is checked at the positive direction as the UniVlan while the VLAN Tag of the latter is checked at the opposite direction as the CniVlan.

6.1.3.2 Packet processing for ONU Port After the normal registration of ONU, the processing modes on the uplink and downlink service data by the three types of ONU ports are different, see the following table for details.
Table 6-2 Processing the Uplink and Downlink Services for ONU Transparent Port Direction With or without VLAN Tag With Tag Uplink Without Tag With Tag Downlink Without Tag No change on packet, forward directly No change on packet, forward directly No change on packet, forward directly Processing No change on message, forward directly

Table 6-3 Processing the Uplink and Downlink Services for ONU Tag Port

52

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Direction

With or without VLAN Tag With Tag Discard

Handling Manner

Uplink Without Tag With Tag Downlink Without Tag Provide the specified VLAN Tag, forward Only receive the packet with specified VLAN and strip the Tag Discard

Table 6-4 Processing the Uplink and Downlink Services for ONU Translation Port Direction With or without VLAN Tag Handling Manner If the port VLAN Translation table has the corresponding items, replace the original tag into the new tag and then forward; if the port VLAN Translation has the default Tag, then directly forward the packet with the tag or discard Provide the default VLAN Tag to the packet and then forward If the port VLAN Translation table has the corresponding items, replace the original tag into the new tag and then forward; if the port VLAN Translation has the default Tag, strip the downlink packet with the tag at the ONU exit, or discard. Discard

With Tag Uplink

Without Tag

With Tag Downlink

Without Tag

6.2 OLT VLAN Configuration and Application


6.2.1 Basic Configuration of VLAN
Table 6-6 Basic Configuration of VLAN

Item

Command

Description

53

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Enter config view

config terminal vlan vlan-id

The numeric area of vlan-id and first-id is 1 ~ 4094

Create VLAN and enter the vlanfirst-id [last-id] VLAN view. no vlan first-id The numeric area of last-id is 2 ~ 4094 [last-id] Mandatory Specify the description information of current description desc VLAN By default, the description information of the VLAN is the VLAN ID of the VLAN Mandatory (any a mode) For setting the vlan mode of the system, if in the 802.1ad enable and it works in the vlan stack mode, the port can be set as the transparent or hybrid mode and enable modify vlan, nested vlan; otherwise, the system can work in the ordinary 802.1q vlan mode. Note the command is the global command, which is set initially preferably.

Set the global VLAN mode

802.1ad (enable|disable)

6.2.2 VLAN Multicast Forwarding Configuration The following commands can be used for the setup of the forwarding ways of the Multicast packets in the VLAN. There are three forwarding ways in the VLAN for the Multicast packet: Way 1: if there is a multicast packet, broadcast to the ports of all VLANs. Way 2: after receiving the Multicast packets, search the address table, if the matched item is found, then forward to the port of the Multicast group of the current VLAN;

54

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

otherwise, broadcast in the VLAN. Way 3: after receiving the Multicast packets, search the address table, if the matched item is found, then forward to the port of the Multicast group of the current VLAN; otherwise, discard.
Table 6-7 Setup of the VLAN Multicast Forwarding Ways

Item Enter config View Enter VLAN View

Command config terminal vlan vlan-id

Description -

Set the multicast packet forwarding ways in the mcast-flood (all|unknown|none) VLAN 6.2.3 802.1Q-based CVLAN Hybrid Application

Mandatory

Effects: for the untagged (tpid does not equal to TPID set (global inner-tpid), regarded as the untagged packet) or the prio-tag packet, mark with the PVID and default priority, as well as TPID (inner-tpid) and then participate into forwarding; for the single tagged package, its forwarding must be determined in accordance with the VLAN member table and then the stripping of the VLAN tag is determined in accordance with the untagged bitmap in the exit of the port. When the global switch is in the 802.1ad disable state, then all ports automatically work in the 802.1Q QVLAN Hybrid model. PVID, default Priority, VLAN members table (global) and VLAN untagged bitmap are configurable. 6.2.3.1 Hybrid Port-based CVLAN Configuration Hybrid port allows the passing of multiple VLANs, for the detailed processing way of the packet, see section 6.1.2.1.1.

Table 6-8 Hybrid Port-based CVLAN Configuration

Item Enter config view

Command config terminal -

Description

55

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the global 802.1ad disable VLAN model interface gigabit-ethernet interface-num Enter port view interface pon interface-num interface (xe1|xe2|xe3) Configure the VLAN type port port type hybrid x-ethernet

Mandatory mode)

(or

802.1Q

Mandatory default) Mandatory

(hybrid

by

Allow / Remove the port vlan vlan-id By default, all hybrid specified VLAN to (tagged|untagged) ports only allow the pass through the passing through of no port vlan vlan-id current hybrid port VLAN1 port vlan vlan-id-from to At the same time, vlan-id-end (tagged | specify the current untagged) Optional hybrid port to add no port vlan vlan-id-from to multiple VLANs vlan-id-end Configure the default port pvid vlan-id VLAN ID of the port Optional Optional Display the port show port vlan VLAN configuration For inspecting configuration the

Note: Before setting the specified VLAN to pass through the hybrid port, the VLAN that is allowed to pass through must already exist.

56

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The default VLAN ID of the hybrid port of the device of the terminal must be the same to the default VLAN ID of the hybrid port of the devie of the opposite terminal, or the packet cannot be correctly transmitted.

6.2.3.2 Example of the Typical Configuration for Hybrid Port-based CVLAN 6.2.3.2.1 Network Requirement Create VLAN10 and VLAN20, and specify the information of the former as the Dept R&D and the latter as the Dept Finac. Configure PON port 3/1 to the VLAN10 and set the exit mode to the tagged mode; add the PON port 3/4 to VLAN20 and set the exit mode to the untagged mode and the port PVID to 20; Configure the Service Network Interface 9/1 to VLAN10 and VLAN20, and set both exit modes to the tagged mode. 6.2.3.2.2 Network Diagram

Figure 6-5 Hybrid Port-based CVLAN 6.2.3.2.3 Configuration Procedure $ Configure the global VLAN mode to be 802.1Q C8000#config terminal C8000(config)#802.1ad disable C8000(config)# sho 802.1ad system vlan mode is: 802.1q $ Create VLAN10

57

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# description Dept R&D C8000(config-vlan-10)# quit $ Create VLAN20 C8000(config)# vlan 20 C8000(config-vlan-20)# description Dept Finac C8000(config-vlan-20)# quit $ Configure the PON port 3/1 to be hybrid port; add VLAN10 and set the exit mode to the tagged mode C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type hybrid C8000(config-if-pon-3/1)#port vlan 10 tagged $ Configure the PON port 3/4 to be hybrid port; add VLAN20 and set the exit mode to the tagged mode and PVID to 20 C8000(config)# interface pon 3/4 C8000(config-if-pon-3/4)#port type hybrid C8000(config-if-pon-3/4)#port vlan 20 untagged C8000(config-if-pon-3/4)#port pvid 20 $ Configure the service network interface 9/1 to be hybrid port; add VLAN 10 and 20, and set the exit mode to the tagged mode C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 tagged C8000(config-if-gigabit-ethernet-9/1)#port vlan 20 tagged

58

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.2.4 802.1ad-based SVLAN Hybrid Application Effects: similar to the above application, but not all non-SVLAN-Tags (S-Tag refers to the one that the outer tpid is equivalent to the template value of the specified outter-tpid) are processed as the untagged packet. When the global switch is in the 802.1ad enable state, then set the property of the port in pairs working in the hybrid mode to be hybrid. For the hybrid port of the type, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. 6.2.4.1 Hybrid Port-based SVLAN Configuration
Table 6-9 Hybrid Port-based SVLAN Configuration

Item Enter config View Configure global model

Command config terminal -

Description

the VLAN 802.1ad enable

Mandatory

interface interface-num Enter port View

gigabit-ethernet -

interface pon interface-num interface x-ethernet (xe1|xe2|xe3)

Configure the port port type hybrid VLAN type

Mandatory Mandatory

Allow / Remove the port vlan specified VLAN to (tagged|untagged) pass through the current hybrid port no port vlan vlan-id

vlan-id By default, all hybrid ports only allow the passing through of VLAN1

At the same time, port vlan vlan-id-from to specify the current Optional vlan-id-end (tagged | untagged) hybrid port to add

59

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

multiple VLANs no port vlan vlan-id-end vlan-id-from to

Configure/restore the default port outer_tpid tpid-index outer_tpid of the no port outer_tpid port Configure the default VLAN ID port pvid vlan-id of the port Configure/restore priority (<0-7>|original) the default no priority priorityof the port

Mandatory

Mandatory

Mandatory The default priority of the port is 0 Optional

Display the VLAN configuration

port show port vlan

For inspecting the configuration

Note: Before setting the specified VLAN to pass through the hybrid port, the VLAN that is allowed to pass through must already exist. The default VLAN ID of the hybrid port of the device of the terminal must be the same to the default VLAN ID of the hybrid port of the devie of the opposite terminal, or the packet cannot be correctly transmitted.

6.2.4.2 Example of the Typical Configuration for Hybrid Port-based SVLAN

6.2.4.2.1 Network Requirement


Create VLAN10 and VLAN20, and specify the information of the former as the Dept R&D and the latter as the Dept Finac. Configure PON port 3/1 to the VLAN10 and set the exit mode to the tagged mode; set the portouter_tpid to Index3 0x88a8 and portprio to 5; add the PON port 3/4 to

60

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

VLAN20 and set the exit mode to the untagged mode; set portouter_tpid to Index3 0x88a8 and portprio to 6, as well as portPVID to 20; Configure the Service Network Interface 9/1 to VLAN10 and VLAN20, and set the exit mode to the tagged mode and portouter_tpid to Index3 0x88a8 and portprio to 7.

6.2.4.2.2 Network Diagram

Figure 6-6 Hybrid Port-based SLVAN

6.2.4.2.3 Configuration Procedure


$ Configure the global VLAN mode to be 802.1ad C8000#config terminal C8000(config)#802.1ad enable C8000(config)# sho 802.1ad system vlan mode is: 802.1ad $Create VLAN10 C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# description Dept R&D C8000(config-vlan-10)# quit $Create VLAN20 C8000(config)# vlan 20 C8000(config-vlan-20)# description Dept Finac

61

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-vlan-20)# quit $ Configure the PON port 3/1 to be hybrid port; add VLAN10 and set the exit mode to the tagged mode C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type hybrid C8000(config-if-pon-3/1)#port vlan 10 tagged C8000(config-if-pon-3/1)# port outer_tpid 3 C8000(config-if-pon-3/1)#priority 5 $ Configure the PON port 3/4 to be hybrid port; add VLAN20 and set the exit mode to the tagged mode and PVID to 20 C8000(config)# interface pon 3/4 C8000(config-if-pon-3/4)#port type hybrid C8000(config-if-pon-3/4)#port vlan 20 untagged C8000(config-if-pon-3/1)# port outer_tpid 3 C8000(config-if-pon-3/1)#priority 6 C8000(config-if-pon-3/4)#port pvid 20 $ Configure the service network interface 9/1 to be hybrid port; add VLAN 10 and 20, and set the exit mode to the tagged mode C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 tagged C8000(config-if-gigabit-ethernet-9/1)#port vlan 20 tagged C8000(config-if-pon-3/1)# port outer_tpid 3 C8000(config-if-pon-3/1)#priority 7

62

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.2.5 VLAN Transparent Application Transparent Application: the port receives and sends any packets, regardless of whether the VLAN Tag is provided or not, what kind of VLAN Tag it is, that is the transparent transmission of packet. VLAN-VPN is a simple and flexible, two-layer VPN tunnel technology. It is to encapsulate the outer-layer VLAN tag for the private network packet of the users by the operators access terminal, so as to ensure the packet carries two-layer VLAN tag when it passes through the backbone network (Public Network) of the operator. In the public network, the packet can be transmitted in accordance with the out-layer VLAN Tag (or VLAN Tag of the public network), then the VLAN Tag of the user's private network is transmitted as the data in the packet. Effects: a. Completely transparent transmission, ingress/egress from the transparent port and egress/ ingress from the hybrid port, that is, realize the ingress/egress of any packet in the original state. b. VLAN VPN, egress/ingress from transparent port, egress/ingress from hybrid port and the egress/ingress of any packet in the original form (The svlan tag is not stripped in the hybrid port). When the global switch is in the 802.1ad enable state, set PON port to work in the transparent mode and the service network interface to work in the hybird mode (based on 802.1ad). For the hybrid port, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. For transparent port, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. The configuration must be made by default, the application, due to the absence of the ingress VLAN translation table, all packets must allow the transparent transmission. If some of the packets cannot be subject to the transparent transmission (CVLAN adds to SVLAN or CVLAN changes to SVLAN), the ingress VLAN translation table can be configured, in case of 1:1 VLAN translation, it needs to automatically configure the egress VLAN translation table reversely based on the ingress VLAN translation table. In case of the VLAN-based VPN (with the exit of SVLAN, no stripped), then the exit hybrid port can be provided with the tag. Note: the ports of both sides belong to the same SVLAN. 6.2.5.1 VLAN Transparent Transmission Configuration
Table 6-10 VLAN Transparent Transmission

63

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item Enter config View

Command config terminal -

Description

Configure the global 802.1ad enable VLAN model interface gigabit-ethernet interface-num Enter OLTport View interface pon interface-num interface (xe1|xe2|xe3) x-ethernet

Mandatory

Mandatory Configure the port port type hybrid|transparent VLAN type Service Network Interfacehybrid PON transparent Configure portouter_tpid Configure portpriority port outer_tpid <1-4> Optional

priority <0-7>

Optional

Configure the default VLAN ID of port pvid vlan-id the port Allow the default VLAN to pass port vlan through the current untagged|tagged port

Optional

Optional vlan-id The uplink exit mode must be untagged and the PON port is tagged. Optional

Display the port show port vlan VLAN configuration

For inspecting configuration

the

64

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: Before configuring the default VLAN ID, the VLAN must already exist. The transparent port must be added to the VLAN corresponding to the default VLAN.

6.2.5.2 VLAN Transparent Transmission Configuration Example

6.2.5.2.1 Network Requirement


Realize the transparent transmission of packet between PON port 3/1 and Service Network Interface 9/1. The service network interface of hybrid type exits in the VLAN of the PON port pvid by the untagged mode; the PON port in the transparent mode is not configured with any forwarding entries, even when the forwarding entries are configured, if it wants to realize the transparent transmission of packets, ensuring the packet not in the forwarding entries, that is to say, the packet can be directly forwarded in the manner when the packet is transmitted. For the downlink direction, when the packet passes through the unlink hybrid, the SVLAN will be marked with and when passing through the PON port transparent, the outer SVLAN will be stripped (The transparent transmission of the downlink direction will strip the outer-layer SVLAN and the inner-layer CVLAN is left, if the data packets are with only one-layer TAG, after they pass through the uplink hybrid and PON port transparent, the data packets without TAG cannot be received). Create VLAN 200 PON Port Configuration: 802.1ad transparent mode, pvid 200, adding VLAN 200 in the untagged; Service Network Interface Configuration: 802.1ad hybrid mode, pvid 1, adding VLAN 200 in the untagged mode. [Note] In the above networking, if the PON port pvid is 1, the creation of any VLAN is not needed(For the Service Network Interface and the PON port, adding to any other VLANs is not needed, because they are in the default VLAN 1.)

65

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.2.5.2.2 Network Diagram

Figure 6-7 VLAN Transparent Transmission Example

6.2.5.2.3 Configuration Procedure


$Create VLAN200 C8000#config terminal C8000(config)# vlan 2000 C8000(config-vlan-2000)# quit $ Configure the PON port3/1 into the transparent port. C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type transparent C8000(config-if-pon-3/1)#port pvid 200 $ Configure the Service Network Interface 9/1 into the hybrid(under the 802.1ad)port. C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid C8000(config-if-gigabit-ethernet-9/1)# port vlan 200 untagged 6.2.6 VLAN Translate Application Translation Application: applicable to the occasion when the Tag provided by the user network cannot be trusted by the network of service provider on the premise that when one side of the C8000 is connected with the user network and the other side is connected with the network of service provider. The port connecting the user network translates the

66

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

tag of the user network in the uplink data into the VLAN Tag trusted by the network of service provider or the port connecting the network of service provider translates the VLAN Tag in the downlink data into the tag of user network. When the global switch is in the 802.1ad enable state, set PON port to work in the transparent mode and the service network interface to work in the hybird mode (based on 802.1ad). For the hybrid port, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. For transparent port, the outer-tpid, PVID, default Priority, VLAN member table (global), VLAN untagged bitmap and VLAN translate mode are configurable. Note: the ports of both sides belong to the same SVLAN. 11 VLAN Translation Effects: ingress from the transparent port and egress from the hybrid port; the different CVLANs in the ingress VLAN translation table at the uplink direction can be translated into the different SVLANs in accordance with the items of the translation table. The different CVLANs in the egress vlan translation table at the downlink direction can be translated into the required CVLAN by the application of the SVLAN index and in accordance with the items of the translation table. The original priority can be modified or retained. Set the transparent port to 1:1 translation, and add the mapping table to be translated into the ingress VLAN translation table, the original priority can be modified or retained. Automatically add the corresponding ingress reverse mapping table into the background egress VLAN translation table and apply the processing strategy of the same priority. 6.2.6.1 VLAN Translation Configuration The translation port is used for realizing the translation between the tag of users network and the tag of the network of service providers.
Table 6-11 VLAN Translation

Item Enter config View

Command config terminal -

Description

Configure the global 802.1ad enable VLAN model

Mandatory

67

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

interface interface-num Enter OLT port View

gigabit-ethernet

interface pon interface-num interface (xe1|xe2|xe3) x-ethernet

Configure the VLAN type

port

port type transparent

Mandatory

Configure VLAN table

Mandatory the port port modified-vlan cvlan-id The repeated use can translation svlan-id new-prio|original establish the VLAN Translation Table Mandatory Set the exit mode to be tagged Optional

Configure the uplink and PON port to add port vlan svlan-id tagged them into VLAN

Display the port show port vlan VLAN configuration

For inspecting configuration

the

6.2.6.2 VLAN Translation Configuration Example

6.2.6.2.1 Network Requirement


Create VLAN 100, 2000, VLAN 10, 200, of which, the VLAN 10, 200 can be used as the CVLAN Tag of the user network; and the VLAN 100, 2000 can be used as the SVLAN Tag of the network of service provider. In the uplink, translate the PON port3/1 from CVLAN 10 to SVLAN 100 and change the priority to 1, and in the corresponding downlink, translate from SVLAN 100 to CVLAN 10 in the service network interface 9/1. In the uplink, translate the PON port3/1 from CVLAN 200 to SVLAN 2000 and

68

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

remain the original priority, and in the corresponding downlink, translate from the SVLAN 2000 to CVLAN 2000 in the service network interface 9/1. [Note] The service network interface and the PON port must be added into the SVLAN, if all are added into the SVLAN in the tagged mode, the packets with tags can only be received at the downlink and uplink directions; if the uplink is provided with the tagged packet and the downlink is provided with the untagged packet, the packets without tags can only be received at the downlink direction and the packets without tags can only be received at the uplink direction; if the uplink is provided with the untagged packets and the downlink is provided with the tagged packets, the packets without tags can only be received at the uplink direction and the packets without tags can only be received at the downlink direction.

6.2.6.2.2 Network Diagram

Figure 6-8 VLAN Translation Example

6.2.6.2.3 Configuration Procedure


$Create VLAN200 C8000#config terminal C8000(config)# vlan 200 C8000(config-vlan-200)# quit $Create VLAN2000 C8000#config terminal C8000(config)# vlan 2000

69

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-vlan-2000)# quit $Create VLAN10 C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# quit $Create VLAN100 C8000#config terminal C8000(config)# vlan 100 C8000(config-vlan-100)# quit $ Configure the PON port 3/1 into the transparent port and implement the 200->2000 translation, and keep the original priority C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type transparent C8000(config-if-pon-3/1)#port modified-vlan 200 2000 original C8000(config-if-pon-3/1)#port vlan 2000 tagged $ Configure the PON port 3/1 into the transparent port and implement the10->1000, change the priority to 1 C8000(config)# interface pon 3/1 C8000(config-if-pon-3/4)#port type transparent C8000(config-if-pon-3/4)#port modified-vlan 10 100 1 C8000(config-if-pon-3/4)#port vlan 100 tagged $ Configure the Service Network Interface 9/1 into the hybrid port, implement the 2000->200 and 100->10 translation, and keep the original priority C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid

70

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-if-gigabit-ethernet-9/1)#port vlan 2000 tagged C8000(config-if-gigabit-ethernet-9/1)#port vlan 100 tagged 6.2.7 VLAN QinQ Application QinQ type: applicable to the occasion when the network of service provider uses the SVLAN Tag to differentiate services and the user network uses the CVLAN Tag to differentiate users on the premise that that one side of the C8000 is connected with user network and the other side is connected with network of service provider. At that time, the port connecting the user network needs to be set into the transparent mode and configure the nested table, for the unlink data packet, add the SVLAN tag of the network of service provider to the outer layer of the CVLAN Tag of user network; for the downlink packet, strip the SVLAN Tag of the outer layer and then forward to the user network. When the global switch is in the 802.1ad enable state, set PON port to work in the transparent mode and the service network interface to work in the hybird mode (based on 802.1ad). For the hybrid port, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. For transparent port, the outer-tpid, PVID, default Priority, VLAN member table (global) and VLAN untagged bitmap are configurable. More attention must be paid to the above default configuration and the configuration of the VLAN translation table. To meet the requirements of the application, it needs to not to strip the VLAN tag of the SVLAN at the hybrid port, and it needs to strip the SVLAN(un-tag) at the opposite transparent port. Note: the ports of both sides belong to the same SVLAN. Effects: ingress from the transparent port and egress from the hybrid port; in the ingress VLAN translation table, the different CVLANs can add different SVLANs in accordance with the items of the translation table. The priority can modify or use the default priority of the port. 6.2.7.1 VLAN Stacking Configuration The QinQ port allows adding the SVLAN Tag of the service provider networks to the outer layer of the user-network CVLAN Tag.
Table 6-12 VLAN Translation

Item Enter config View

Command config terminal -

Description

71

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the VLAN model

global

802.1ad enable interface gigabit-ethernet interface-num

Mandatory

Enter OLTport View

interface pon interface-num interface (xe1|xe2|xe3) x-ethernet

Configure the VLAN type

port

port type transparent

Mandatory Mandatory

Configure the port port nested-vlan VLAN translation table svlan-id svlan-prio

cvlan-id The repeated use can establish the VLAN nested table Mandatory Set the exit mode to be tagged Mandatory Set the exit mode to be untagged Optional

Configure the service network interface, port vlan svlan-id tagged allowing the passing of svlan-id Configure the PON port, allowing the port vlan svlan-id untagged passing of svlan-id

Display the port VLAN show port vlan configuration

For inspecting configuration

the

Note: In the QinQ applications, the transparent port and the hybrid port are appeared in pairs to ensure the service data at both directions can be forwarded normally.

72

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.2.7.2 VLAN Stacking Configuration Example

6.2.7.2.1 Network Requirement


Create VLAN 200, 300, VLAN2, of which, the VLAN 200, 300 are used as the CVLAN Tag of the user network for distinguishing users; the VLAN2 is used as the SVLAN Tag of the network of service provider for identifying data services. On PON port 3/1, for the uplink data, add the SVLAN 2 to the outer layer of the CVLAN 200 and translate the priority to 5; for the downlink data, strip the SVLAN. On PON port 3/1, for the uplink data, add the SVLAN 2 to the outer layer of the CVLAN300 and use the default priority (Port priority of the transparent port); for the downlink data, strip the SVLAN.

6.2.7.2.2 Network Diagram

Figure 6-9 VLAN Stacking Example

6.2.7.2.3 Configuration Procedure


$Create VLAN100 C8000#config terminal C8000(config)# vlan 200 C8000(config-vlan-200)# quit $Create VLAN300 C8000#config terminal

73

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config)# vlan 300 C8000(config-vlan-300)# quit $Create VLAN2 C8000#config terminal C8000(config)# vlan 2 C8000(config-vlan-2)# quit $ Configure the PON port 3/1into the transparent mode and the nested table items to add the SVLAN2 to the outer layer of the CVLAN100, the priority of 5; C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type transparent C8000(config-if-pon-3/1)#port nested-vlan 100 2 5 C8000(config-if-pon-3/1)#port vlan 2 untagged $ Configure the PON port 3/4into the transparent mode and add the SVLAN2 to the outer layer of the CVLAN200, the priority by default (that is, the value of the priority of PON port) C8000(config)# interface pon 3/4 C8000(config-if-pon-3/4)#port type transparent C8000(config-if-pon-3/4)#port nested-vlan 200 2 2 C8000(config-if-pon-3/4)#port vlan 2 untagged $ Configure Service Network Interface 9/1 to the hybrid port C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid C8000(config-if-gigabit-ethernet-9/1)#port vlan 2 tagged

74

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.3 ONU VLAN Configuration


6.3.1 VLAN Transparent Transmission 6.3.1.1 VLAN Transparent Transmission Configuration
Table 6-13 Configuring the Port VLAN Mode of ONU to be Transparent Mode

Item Enter config View Configure global model

Command config terminal -

Description

the VLAN 802.1ad disable

Optional

Enter onu View

interface onu interface-num

Mandatory interface-num refers to the ONU number

Configure port port vlan (uniid | all) transparent VLAN mode to be transparent mode Display the port show port vlan (uniid | all) VLAN configuration

Mandatory

Optional For inspecting configuration the

Note: The default VLAN configuration of the ONU port is transparent.

6.3.1.2 VLAN Transparent Transmission Configuration Example

6.3.1.2.1 Network Requirement


Connect the user PC2 with the layer 2 switch connected with the ONU3/1:1.

75

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Add VLAN 10, connect the Uplink 9/1 port of the OLT device with the user PC1, add the port into the VLAN 10, set the exit mode to the untagged mode and PVID to 10. Add the PON 1/3 port of the OLT device into VLAN 10 and the set the exit mode to the tagged mode. Add the client port of the layer 2 switch connected with the ONU3/1:1 to the VLAN 10 and set the exit mode to the untagged mode.

6.3.1.2.2 Network Diagram

Figure 6-10 ONU Port Transparent Transmission Configuration

6.3.1.2.3 Configuration Procedure

Note:

76

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

In the following all configuration examples, it is assumed that the ONU has been registered and are bound, no more explanation is made in the following part.

$ Create VLAN10 C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# quit $ Add the Uplink port 9/1 into the VLAN10 and set the exit mode to the untagged mode and the PVID to 10. C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 untagged C8000(config-if-gigabit-ethernet-9/1)#port pvid 10 $ Add the PON port 3/1 into the VLAN10 and set the exit mode to the tagged mode C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port vlan 10 tagged

6.3.2 VLAN Tag 6.3.2.1 VLAN Tag Configuration Table 6-14 Configuring the port VLAN mode of ONU to be tag mode Item Enter View Command Description

config config terminal

Configure the global VLAN 802.1ad disable model

Optional

77

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Enter onu View

interface interface-num

onu Mandatory interface-num refers to the ONU number

Configure the port vlan (uniid | all) Mandatory i vlan-id port VLAN tag TPID pr TPID: the tpid with tag. mode to tag pri: the priority with tag. vlan-id: the vlan-id with tag. Display the port show port vlan (uniid Optional VLAN | all) For inspecting the configuration configuration

6.3.2.2 VLAN Tag Example

6.3.2.2.1 Network Requirement


Connect the ONU3/1:1 with the user PC2 Add VLAN 10, connect the Uplink 9/1 port of the OLT device with the user PC1 and add the port into the VLAN 10, set the exit mode to the untagged mode and PVID to 10. Add the PON 3/1 port of the OLT device into VLAN 10 and set the exit mode to the tagged mode. Configure the VLAN of the port connecting the ONU3/1:1 with the PC2 into the tag mode; set the TPID to 8100, vid to 10 and the priority to 0.

78

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.3.2.2.2 Network Diagram

Figure 6-11 ONU Port Tag Configuration

6.3.2.2.3 Configuration Procedure


$Create VLAN10 C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# quit $ Add uplink port 9/1 to VLAN10 and set the exit mode to untagged and PVID to 10 C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 untagged C8000(config-if-gigabit-ethernet-9/1)#port pvid 10

79

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Add PON port 3/1 to VLAN10 and set the exit mode to tagged C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port vlan 10 tagged $ Configure the port1 of ONU3/1:1 to tag and set TPID to 8100, priority to 0 and vid to 10. C8000(config-if-onu-3/1:1)#port vlan 1 tag 8100 0 10

6.3.3 VLAN Translation 6.3.3.1 VLAN Translation Configuration Table 6-15 Configuring the port VLAN model of ONU to translation mode Item Enter config View Configure the VLAN model Enter onu View global Command config terminal 802.1ad disable interface interface-num Optional onu Mandatory interface-num refers to the ONU number Configure the port VLAN mode to be default translation configuration Configure the port VLAN translation mode to be default tag port vlan (uniid | Mandatory all) translation Description

port vlan (uniid| all) translation default-tag def-tpid def-pri def-vid

Mandatory def-tpidtpid with default tag def-pri priority default tag with

80

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

def-vidvlan-id with default tag Add the translation entries of the port VLAN translation port vlan (uniid | Mandatory all) translation list tpid with the users add old-tpid old-tpid old-pri old-vid tag new-tpid new-pri old-pri priority with the new-vid users tag old-vid vlan-id with the users tag new-tpid tpid with the networks tag new-pri priority with the networks tag new-vid vlan-id with the networks tag Delete the translation entries of the port VLAN translation port vlan (uniid | Mandatoryold-tpid tpid all) translation list with the users tag delete old-tpid old-pri priority with the old-pri old-vid users tag old-vid vlan-id with the users tag Display the port VLAN show port vlan (uniid Optional configuration | all) For inspecting configuration

the

Note:

81

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

In the translation mode, the ONU port cannot translate a number of different vids into a vid, and translate a vid into a number of different vids, either. The maximum number of the translation entries is 7.

6.3.3.2 VLAN translation Example

6.3.3.2.1 Network Requirement


Connect user PC3 and PC4 with the layer 2 switch connected to the ONU3/1:1. Add VLAN 10; connect the Uplink 9/1 port of the OLT device with the user PC1; add the port to VLAN 10; and set the exit mode to the untagged mode and PVID to 10. Add VLAN 20; connect the Uplink 9/2 port of the OLT device with the user PC2; add the port to VLAN 20; and set the exit mode to the untagged mode and PVID to 20. Add PON 3/1 port of the OLT device to VLAN 10, 20 and set the exit mode to the tagged mode. Configure the VLAN of the port connecting the ONU3/1:1and the layer 2 switch to be translation mode; configure two translation entries, respectively switching 101 to 10 and 102 to 20. Connect the users port of the two-layer switch connected with the ONU3/1:1 to the PC3; add to the VLAN 101; connect with PC4 and add to the VLAN 102; set the exit mode to the untagged mode; add the Service Network Interface of the switch to VLAN101, 102 and set the exit mode to the tagged mode.

82

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

6.3.3.2.2 Network Diagram

Figure 6-12 ONU Port Translation Configuration

6.3.3.2.3 Configuration Procedure


$Create VLAN10 C8000#config terminal C8000(config)# vlan 10 C8000(config-vlan-10)# quit $Create VLAN20 C8000(config)# vlan 20 C8000(config-vlan-20)# quit $ Add Uplink port 9/1 to VLAN10 and set the exit mode to the untagged mode and

83

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

PVID to 10 C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 untagged C8000(config-if-gigabit-ethernet-9/1)#port pvid 10 $ Add uplink port 9/2 to VLAN20 and set the exit mode to the untagged mode and PVID to 20 C8000(config)# interface gigabit-ethernet 9/2 C8000(config-if-gigabit-ethernet-9/2)#port vlan 20 untagged C8000(config-if-gigabit-ethernet-9/2)#port pvid 20 $ Add PON port 3/1 to VLAN10, 20 and set the exit mode to the tagged mode C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port vlan 10 tagged C8000(config-if-pon-3/1)#port vlan 20 tagged $ Configure the port 1 of ONU3/1:1 to be the translation mode and configure two pieces of translation entries, respectively translating 101 to 10 and 102 to 20. C8000(config-if-onu-3/1:1)#port vlan 1 translation list add 8100 0 101 8100 0 10 C8000(config-if-onu-3/1:1)#port vlan 1 translation list add 8100 0 102 8100 0 20

84

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

7 OLT PORT CONFIGURATION MANAGEMENT


7.1 Introduction to OLT Port Configuration
The OLT port here refers to the PON ports on all LPUs and the service network interfaces on all SCUs of the C8000 device. The basic configuration of the OLT port includes: the setup of startup/shutdown of the port and the setup of the duplex mode and port rate, etc. The OLT ports of the C8000 device are Gigabit Ethernet ports and the service network interfaces on the SCU can be provided with the speed and the duplex mode in a flexible way. The Gigabit uplink electrical port only supports the 1000Mbit/s speed, it also supports the full-duplex or half duplex mode. The user can select the appropriate port speed in accordance with actual needs; however, when it is in the half-duplex mode, the speed cannot be 1000Mbit/s. To avoid the link down of port due to the careless operation of the user, the speed and the duplex mode of the current C8000 system is fixed to the auto-negotiation (auto). The system can, in accordance with the device connected, provide the most appropriate port working mode. The MDI/MDIX type of the port is the port jumper type, of which, the MDI refers to the Medium Dependent Interface and the MDIX refers to Medium Dependent Interface Crossover.

Figure 7-1 Connection between MDI and MDIX

Generally, the MDI port is for router and PC and MDIX port is for switch. The direct

85

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

cable can be used to connect the MDI port and the MDIX port while the crossover cable must be used to connect two MDI ports.

7.1.1 Basic Configuration of OLT Port In the C8000 system, the jumper type of the MDI interface is normal and the jumper type of the MDIX is across, at the same time, the C8000 system supports the self-adaption of the jumper type of ports, enabling the users free from the puzzle in the selection of the direct connection or the crossover cable. At present, the jumper type of the port is the self-adaption, so as to prevent that the port is unable to link up due to the carelessness of users. The maximum frame length defined by the Ethernet standard is 1518 bytes, but in certain occasions, such as accelerating the file transfer, the ultra-long frame is very effective for improving the efficiency of network transmission. The maximum length of ultra-long frame supported by C8000 is 9216 bytes. Table 7-1 Basic Configuration of OLT Port Item Enter View config Command config terminal interface interface-num gigabit-ethernet Description

Enter OLTport View interface pon interface-num interface x-ethernet (xe1|xe2|xe3)

Optional Enable/disable no shutdown/shut down port By default, port is in the enabled status Optional By default, the port description information is empty

Set the description description string information of the port

86

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

string: a length of 1-64 characters Optional By default, the port does not allow the data frames with the length larger than 1518 bytes to pass through; After the command is used, the data frames larger than 9216 bytes to pass through are not allowed.

Permit/forbid the long frame to pass jumboframe/no jumboframe through the port

7.1.2 Broadcast/ Multicast/ Unknown Unicast Storm Suppression Configuration By the following configuration, the user can restrict the flow of certain kind that is allowed to be received by the port. When the flow exceeds the threshold set by the user, the system discards the packet over the flow limitation, thus lowering the proportion of the flow to a reasonable range and ensuring the normal operation of network services.
Table 7-2 Broadcast/ Multicast/ Unknown Unicast Storm Suppression Configuration

Item Enter View config

Command config terminal interface gigabit-ethernet interface-num -

Description

Enter View

OLTport

interface interface-num

pon -

interface x-ethernet (xe1|xe2|xe3)

87

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Optional Limit the broadcast traffic broadcast-suppression that the port can pps receive By default, the broadcast traffic suppression does not happen to the port Numeric area: 1-148810 for GE port and PON port; and 1-1488100 for XE port Optional Limit the Multicast traffic multicast-suppression that the port can pps receive By default, the Multicast traffic suppression does not happen to the port Numeric area: 1-148810 for GE port and PON port; and 1-1488100 for XE port

Optional Limit the unknown unicast unicast-suppression pps traffic that the port can receive By default, the unknown unicast traffic suppression does not happen to the port Numeric area: 1-148810 for GE port and PON port; and 1-1488100 for XE port

7.1.3 Configuring the Port Flow Control Function After the flow control function of the devices of the terminal and the opposite terminal, if the device of the terminal happens to the congestion: When the device of the terminal sends the message to the device of the opposite terminal, it needs to inform the device of the opposite terminal to pause sending packets or slow down the sending of packets. After the device of the opposite device receives the message, it will inform the

88

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

device of the terminal to pause sending packets or slow down the sending of packets, thus avoiding the occurrence of the packet loss and ensuring the normal operation of network services.
Table 7-3 Configuring the Flow Control of Port

Item Enter config View

Command config terminal interface gigabit-ethernet interface-num -

Description

Enter OLTport View

interface interface-num

pon -

interface x-ethernet (xe1|xe2|xe3) Mandatory Enable/disable the flow flow-control/no control function of the flow-control port By default, the flow control function of the port is disabled

7.1.4 Configuring the loop-back test of the port Unavailable temporarily 7.1.5 Configuring the speed limitation of port Through the following configuration, the user can configure the congestion threshold of the C8000 port. When the packet traffic received or sent by the port is over the values configured, if the flow control is enabled, the device of the terminal sends the information to the device of the opposite device, it needs to inform the device of the opposite device to suspend sending the packets or slow down the sending of packets. Table 7-4 Configuring the Speed Limitation of Port Item Enter config View Command config terminal Description

89

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

interface gigabit-ethernet interface-num Enter OLTport View interface pon interface-num interface (xe1|xe2|xe3) x-ethernet -

Optional By default, no speed limitation for the entrance of the port is allowed Unit: kbps Numeric area: 1-1000000 for GE port and PON port; and1-10000000 for XE port Optional By default, no speed limitation for the exit of the port is allowed Configure the entrance speed limit rate out rate of the port Unit: kbps Numeric area: 1-1000000 for GE port and PON port; and1-10000000 for XE port

Configure the entrance speed limit rate in rate of the port

Note: After configuring the speed limitation of entrance/exit of the port, please enable the flow control function, because only in this way, the configuration can be effective.

90

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

7.1.6 Display and Maintenance of the Basic Configuration of Port Upon the completion of the above-mentioned configuration, it needs to execute the show command under the view, enable, config, ge, xe and pon views, so as to show the running information of the Ethernet ports after the configuration is made, by checking the display information, the effect of the configuration can be verified. Table 7-5 Display and Maintenance of the Basic Configuration of Port Item Show configuration information of port the the show interface [interface-num] The show command can be used in any a view. Command Description

Show the port of a show port type (hybrid|transparent|vlan)

7.2 OLT Port Configuration Example


7.2.1 Network Requirement Both PONport3/1 and GEport9/1allow the passing through of the packets of VLAN10 and VLAN20 Both PONport3/1 and GEport9/1allow the passing through of large packets. 7.2.2 Network Diagram
PON ONU

Figure 7-2 OLT Port Configuration Example 7.2.3 Configuration Procedure

91

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: The premise should be that VLAN10 and VLAN20 have created.

$ Configure the PON port3/1 to the hybrid port, add into VLAN10 and VLAN20, and allow the passing through of large packets C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#port type hybrid C8000(config-if-pon-3/1)#port vlan 10 tagged C8000(config-if-pon-3/1)#port vlan 20 tagged C8000(config-if-pon-3/1)#jumboframe $ Configure the service network interface 9/1 to the hybrid port, add into VLAN10 and VLAN20, and allow the passing through of large packets C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)#port type hybrid C8000(config-if-gigabit-ethernet-9/1)#port vlan 10 tagged C8000(config-if-gigabit-ethernet-9/1)#port vlan 20 tagged C8000(config-if-gigabit-ethernet-9/1)#jumboframe

92

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

8 PON

PORT

ISOLATION

CONFIGURATION

MANAGEMENT
8.1 Introduction to PON Port Isolation
By configuring the PON port isolation, the user can realize the isolation of PON ports and the layer 2 data between ONUs of different PON ports, enhancing the network security and helping the operator's management. Note: After configuring the PON port isolation, only the packet between PON ports can not be exchanged, but the communications between PON ports and the service network interface, and the communications between service network interfaces will not be affected. The PON port isolation has nothing to do with the VLAN of the PON port. Even the PON ports belong to the same VLAN, the communications between PON ports after the isolation cannot be achieved.

8.2 Configuration of PON Port Isolation

By configuring the following items, the user can realize the isolation of PON port.
Table 8-1 PON Port Isolation Configuration

Item Enter View config

Command config terminal

Description Enter the config view from the enable view Optional By default, the isolation of the PON ports is enabled.

Enable /disable PON port isolate/no isolate isolation

8.3 Display of PON Port Isolation


Upon the completion of the above-mentioned configuration, the show command can be executed in any view and the isolation of the PON port can be displayed.

93

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Table 8-2 Display of PON Port Isolation Configuration Item Command Description With the exception of super and acl views

Display of the isolation of the PON show isolate port

8.4 PON Port Isolation Configuration Example


8.4.1 Network Requirement The communication between registration to the ONU of PON port3/1 and the registration to the ONU of PON port3/4 cannot be allowed. The communications between the ONU and the service network interface can be achieved. 8.4.2 Network Diagram

PON

Figure 8-1 PON Port Isolation Configuration 8.4.3 Configuration Procedure $ Enable the isolation between PON ports C8000#config terminal C8000(config)# isolate $ Disable the isolation between PON ports C8000#config terminal C8000(config)#no isolate

94

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

9 PON CONFIGURATION MANAGEMENT


9.1 Downlink Encryption Management
Because the EPON system is applied the broadcast form in the downlink direction of data transmission, the malicious user is easy to intercept the information of other users of the system. To improve the confidentiality of data, it needs to provide the encryption to the data at the downlink direction. The system supports the standard encryption (Standard, that is, AES128 encryption) and triple churning. The user can encrypt the downlink data for a ONU with the designated purpose. [Note] For the security of data transmission, it is recommended to encrypt the downlink data sending to ONU from PON. 9.1.1 Configuring the Downlink Encryption Parameters of OLT Table 9-1 Downlink Encryption Parameter Configuration Item Command Description Enter config View configure terminal Enter pon View interface-number refers to the interface pon interface-number PON port number. Configure encryption encrypt-type refers to the encrypt type type encrypt-type encryption type, specifically, in standard or in triple churning, the no encrypt type default type is triple churning. The no encrypt type can be used for restoring the default values. Configure encryption encrypt time interval Interval refers to the interval of time timeout the key update with the range of 0 to 255 seconds; and the default no encrypt time interval is 10 seconds; timeout refers to the timeout of key update with the range of 0 ~ 2550 seconds; and the default timeout is 30 seconds. The no encrypt time command can be used for restoring the default values. Show encryption type Show command needs to the show encrypt type executed in the pon view. Show encryption time Show command needs to the show encrypt time executed in the pon view. Enter config View configure terminal

95

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure encryption types of all PON ports

pon encrypt type encrypt-type no pon encrypt type pon encrypt time interval timeout no pon encrypt time

Configure encryption time of all PON ports

Show the encryption type of all PON ports Show the encryption time of all PON ports

show pon encrypt type show pon encrypt time

encrypt-type refers to the encryption type, specifically, in standard or in triple churning, the default type is triple churning. Interval refers to the interval of the key update with the range of 0 to 255 seconds; and the default interval is 10 seconds; timeout refers to the timeout of key update with the range of 0 ~ 2550 seconds; and the default timeout is 30 seconds. Show command needs to the executed in the view, enable and config views. Show command needs to the executed in the view, enable and config views.

9.1.2 Configuring the Encryption Status of ONU


Table 9-2 Downlink Encryption Enabling Configuration

Item Enter config View Enter onu View Enable /disable the encryption features of the ONU Show the state of encryption function of the ONU

Command configure terminal interface onu interface-number encrypt enable/disable

Description interface-number refers to the ONU number. -

show encrypt-state

Show command needs to the executed in the onu view.

9.1.3 Downlink Encryption Configuration Example 9.1.3.1 Network Requirement It needs to encrypt the downlink data between OLT and ONU A to ensure the security of data transmission. It is assumed that ONU A is connected to No.1 PON of No.1 slot and the authorization has been made.

9.1.3.2 Topology

96

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 9-1 PON Configuration Topology 9.1.3.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter PONport View C8000(config)# interface pon 1/1 $ Configure the downlink encryption type to be triple churning C8000(config-if-pon-1/1)#encrypt type triple-churning $ Configure the key update time to 30 seconds and the timeout to 300 seconds C8000(config-if-pon-1/1)#encrypt time 30 300 $ Show encryption time C8000(config-if-pon-1/1)#show encrypt time Update key time : 30 s No reply timeout : 300 s $ Show encryption type C8000(config-if-pon-1/1)#show encrypt type Encrypt type: triple-churning $Enter the view of ONU A C8000(config)# interface onu 1/1:1 $ Enable the encryption C8000(config-if-onu 1/1:1)# encrypt enable $ Show encryption state C8000(config-if-onu-1/1:1)#show encrypt-state

97

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Onu encrypt state: enable

9.2 Configuring the Maximum Distance


The main objective of configuring the maximum distance is to ensure each ONU can be successfully registered. The physical distances between OLTs are different, resulting in that the round-trip time changes in microsecond. Due to the difference in the round-trip times, if there is no enough isolation space, the signals from different ONUs may reach the receiving terminal of the OLT device at the same time (or partial overlap in time), leading to the conflicts between uplink signals. To avoid these conflicts, the EPON system uses the time tag method to measure the distance. The time tag method realizes the synchronization based on the time tags of the EPON system and realizes the distance measurement based on the difference between the time tag value received and the time tag shown in the local clock counter. The results of distance measurement can be used to obtain the RTT value that can be used to adjust the ONU sending delay and narrow the intervals between ONU sending window, thus enhancing the utilization of uplink channels and reducing the time delay. The maximum distance configuration is actually to configure the RTT, the two parameters can be converted by formula. [Note]: the command cannot play a role in the adjustment of the optical power.

9.2.1 Configuring the Maximum Distance


Table 9-3 Maximum Distance Configuration

Item Enter config View Enter PON view Configure maximum distance

Command configure terminal interface pon interface-number max-distance max-distance no max-distance

Description interface-number refers to the PON port number. The maximum distance range of the fiber is 0 ~ 50570m and the default value is 20000m, the no max-distance command can be used to restore the default values. Show command needs to the executed in the pon view. -

Show configuration result Enter config

show max-distance

configure terminal

98

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

View Configure the maximum distance of all PON ports

pon max-distance max-distance no pon max-distance

Show the maximum distance configuration results of all PON ports

show pon max-distance

The maximum distance range of the fiber is 0 ~ 50570m and the default value is 20000m, the no pon max-distance command can be used to restore the default values. Show command needs to the executed in the view, enable and config views.

9.2.2 Maximum Distance Configuration Example 9.2.2.1 Network Requirement Configure the maximum distance of the No.1 PON of No.1 slot to be 15,000 meters 9.2.2.2 Topology As shown in Figure 9-1. 9.2.2.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter PONport View C8000(config)# interface pon 1/1 $ Configure the maximum distance to be15 km C8000(config-if-pon-1/1)# max-distance 15000 $ Show the maximum distance C8000(config-if-pon-1/1)# show max-distance Maximum distance :15000 M

9.3 Configuring the DLF Forwarding Policy


DLF packet refers to the data packet of destination lookup failure, mainly the data packet that fails to find the relevant address entries in the address table of the system. There are many reasons for DLF packets, but in general, when a large number of DLF packages emerge, it is abnormal, because a large number of DLF packets will greatly occupy the normal bandwidth and will affect the transmission of normal service flow of users. Therefore, the processing methods suitable for the DLF packets are very important. There are two forms: Forward and discard. When distinguishing the downlink direction

99

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

from the uplink direction, the following forms can be extended, such as forwarding, uplink discard, downlink discard, double-direction discard. The main task for configuring the forwarding strategy of DLF is to meet the demands of users in different network application environment. The system support four kinds of modes based on the DLF forwarding strategy: forwarding, uplink discard, downlink discard, double-direction discard. [Note] By default, the system forwards the processing of the DLF packets.

9.3.1 Configuring the Forwarding Strategy of DLF Item Enter config View Enter pon View Configure the DLF forwarding strategy Table 9-4 DLF Forwarding Strategy Configuration Command Description configure terminal interface pon interface-number

interface-number refers to the PON port number. Four kinds of strategies: dlf (discard_ downlink |discard_ discard the DLF packet uplink |discard_uplink&downlink|forward) of the downlink; discard the DLF packet of the no dlf uplink; discard the DLF packets of the downlink and uplink and forward the DLF packets of the downlink and uplink. The default strategy is the forwarding. The no dlf can be used for restoring the default strategy. Show the Show command needs to show dlf configuration the executed in the pon results view. Enter config configure terminal View Configure pon dlf (discard_ downlink |discard_ Four kinds of strategies: the DLF uplink discard the DLF packet forwarding |discard_uplink&downlink|forward) of the downlink; discard strategy the DLF packet of the no pon dlf uplink; discard the DLF packets of the downlink and uplink and forward the DLF packets of the downlink and uplink.

100

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Show the show pon dlf configuration results of all PON ports

The default strategy is the forwarding. The no pon dlf can be used for restoring the default strategy. Show command needs to the executed in the view, enable and config views.

9.3.2 DLF Forwarding Strategy Configuration Example 9.3.2.1 Network Requirement Configuring the forwarding of the unknown unicast packet of No.1 PON in the No.1 slot is the discarding of the downlink and uplink.

9.3.2.2 Topology As shown in Figure 9-1.

9.3.2.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter PONport View C8000(config)# interface pon 1/1 $ Configure the DLF forward strategy to discarding of uplink and downlink C8000(config-if-pon-1/1)# dlf discard_uplink&downlink $ Show the configuration results C8000(config-if-pon-1/1)# show dlf Dlf mode :discard-uplink&downlink

9.4 Configure the Port Control


The main task of the PON port control is to provide a kind of bandwidth management strategy for the downlink data stream or the P2P data streams between ONU under the PON port, the two-layer management is supported; specifically, high priority and low priority, and the configuration on eight queues is allowed, for each queue, the separate level can be configured.

101

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

When data congestion happens, the scheduling in accordance with the priority of the data stream is made, thus realizing the aim of control. 9.4.1 Configure the Port Control Item Enter config View Enter pon View Configure the downlink port control Table 9-5 Port Control Configuration Command Description configure terminal interface pon interface-number policer downstream queue0-pri queue1-pri queue2-pri queue3-pri queue4-pri queue5-pri queue6-pri queue7-pri high-pri-reserved no policer downstream interface-number refers to the PON port number. Configure the priopirties of eight queues with the range of 0 ~ 1, queue 0-pri to queue7-pri correspond to the priorities from Queue0 to Queue7. All the default values are 0. The high-pri-reserved is reserved for cache size of the high priority with the range of 0~131070 and the default value of 0. The no policer downstream command can be used for restoring the default values. Configure the priopirties of eight queues with the range of 0 ~ 1, queue 0-pri to queue7-pri correspond to the priorities from Queue0 to Queue7. All the default values are 0. The high-pri-reserved is reserved for cache size of the high priority with the range of 0~131070 and the default value of 0. The no policer p2p command can be used for restoring the default values. Show the downstream and p2p information. Show command needs to the executed in the pon view. Configure the priopirties of eight queues with the range of 0 ~ 1, queue 0-pri to queue7-pri correspond to the priorities from Queue0 to Queue7. All the default values are 0. The

Configure the portP2P stream control

policer p2p queue0-pri queue1-pri queue2-pri queue3-pri queue4-pri queue5-pri queue6-pri queue7-pri high-pri-reserved no policer p2p

Show the configuration results Enter config View Configure the downlink port control

show policer

configure terminal pon policer downstream queue0-pri queue1-pri queue2-pri queue3-pri queue4-pri queue5-pri queue6-pri queue7-pri high-pri-reserved

102

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

no pon policer downstream

Configure the portP2P stream control

policer p2p queue0-pri queue1-pri queue2-pri queue3-pri queue4-pri queue5-pri queue6-pri queue7-pri high-pri-reserved no policer p2p

Show the configuration results of all PON ports

show pon policer

high-pri-reserved is reserved for cache size of the high priority with the range of 0~131070 and the default value of 0. The no pon policer downstream command can be used for restoring the default values. Configure the priopirties of eight queues with the range of 0 ~ 1, queue 0-pri to queue7-pri correspond to the priorities from Queue0 to Queue7. All the default values are 0. The high-pri-reserved is reserved for cache size of the high priority with the range of 0~131070 and the default value of 0. The no pon policer p2p command can be used for restoring the default values. Show command needs to the executed in the view, enable and config views.

9.4.2 Example of Port Control Configuration 9.4.2.1 Network Requirement The No. 1 PON of No.1 slot shall be subject to the following control rules. For the downlink data stream, it needs to configure the priorities of eight queues and the priorities must be reserved for the cache size of high priority: Queue 0 Queue 1 Queue 2 Queue 3 Queue 4 Queue 5 Queue 6 Queue 7 High priority High priority Low priority Low priority Low priority Low priority Low priority Low priority

Cache Size 130001

For the data stream between ONU in the PON, it needs to configure the priorities of

103

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

eight queues and the priorities must be reserved for the cache size of high priority: Queue 0 Queue 1 Queue 2 Queue 3 Queue 4 Queue 5 Queue 6 Queue 7 Low priority Low priority Low priority Low priority Low priority Low priority High priority High priority

Cache Size 130002 9.4.2.2 Topology As shown in Figure 9-1.

9.4.2.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter PONport View C8000(config)# interface pon 1/1 $ Configure the downlink port control C8000(config-if-pon-1/1)# policer downstream 1 1 0 0 0 0 0 0 0 130001 $ Configure the port control of P2P stream C8000(config-if-pon-1/1)# policer p2p 0 0 0 0 0 0 1 1 0 130002 $ Show the configuration result C8000(config-if-pon-1/1)#show policer Olt downstream policer Queue : 0 Queue : 1 Queue : 2 Queue : 3 Queue : 4 Queue : 5 Queue : 6 priority : 1 priority : 1 priority : 0 priority : 0 priority : 0 priority : 0 priority : 0

104

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Queue : 7

priority : 0

High priority reserved : 130001 ------------------------------Olt p2p policer Queue : 0 Queue : 1 Queue : 2 Queue : 3 Queue : 4 Queue : 5 Queue : 6 Queue : 7 priority : 0 priority : 0 priority : 0 priority : 0 priority : 0 priority : 0 priority : 1 priority : 1

High priority reserved : 130002

9.5 Configure the Protection Switching of Trunk Fiber


The main task of the trunk fiber protection is to protect the trunk fiber connected to the PON port by the double-path fiber redundancy backup. In the general network applications, the trunk fiber comes from one PON port and is connected with each ONU after passing through the optical splitter, once the trunk fiber has troubles, all ONUs connected to the PON will cause the disruption of services. Under some special application environment when the requirements on the stability and reliability of data services are high, the users can greatly enhance the security and stability of data services by the protection switching of trunk fiber. The trunk fiber protection uses two optical interfaces for the service transfer, one of which is A port and the other of which is B port. Under normal circumstances, B port transfers the data and when the fiber connected with B port fails, the system will automatically detect the abnormalities and then A port is activated, since then, A port starts the data transmission instead of B port. The system supports two kinds of switching models, mandatory and automatic, the mandatory switching allows the user to switch between A port and B port at any time and the automatic switching is specifically for the circumstances where no one is on duty, for the latter, the system will, in accordance with the states of A/B fiber-optic links, determine whether the switching operation is required.

105

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

[Note] when the trunk fiber protection is applied, the 2: N optical splitter is required to connect the two-way optical fiber with A port and B port. Only the LPU2P board can support the optical fiber protection switching. LPU2P provides 4 optical interfaces, but in fact there are only two PON interfaces inside. 9.5.1 Configuring the Trunk Fiber Protection Switching Table 9-6 Trunk Fiber Protection Switching Configuration Item Command Description Enter config configure terminal View Enter pon View interface pon interface-number interface-number refers to the PON port number. Configuration Force refers to the trunkfiber set (force|auto) (a|b) Protection mandatory switching and auto refers to the auto-switching; a refers to the mandatory switching to A port and b refers to the mandatory switching to B port. Show Show command needs show trunkfiber configuration to the executed in the result pon view. 9.5.2 Example of Trunk Fiber Protection Switching Configuration 9.5.2.1 Network Requirement The 1A port and 1B port of No.1 PON of No.1 slot are used for the trunk fiber protection switching, of which, 1A is the port for trunk fiber and 1 B is the port for backup fiber. 9.5.2.2 Topology

106

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 9-2 Trunk Fiber Protection Topology 9.5.2.3 Configuration Procedure $Enter config View C8000# configure terminal $ Enter the port view of No.1 PON of No.1 slot C8000(config)# interface pon 1/1 $ Mandatory switching to optical interface 1A C8000(config-if-pon-1/1)# trunkfiber set force a $Show configuration result C8000(config-if-pon-1/1) show trunkfiber slot 1 pon 1 switch mode is FORCE active port is A

107

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10 ONU CONFIGURATION MANAGEMENT


The ONU device is located at the client end, providing the port connecting with PON for the user. The ONU and the user can be connected with each other via Ethernet. The main functions of the ONU device are to receive the optical signals of the OLT device, translate the signals to the Ethernet data send to the user; and at the same time, translate the Ethernet data of the user and then send the data to the OLT device.

10.1 ONU Device Configuration Management


10.1.1 ONU Authorization Management For the EPON system, the broadcast is applied at the downlink direction and the time-division multiplexing technology is applied at the uplink data channel, and the uplink data are send in different time slots by the control of OLT in ONU, if the ONU has not been authorized, then OLT will not send the uplink data in different time slots to ONU. The authorization method of YOTC EPON system is that the MAC address of ONU is bound. It has been identified that only one ONU can be authorized when there is only a PON port. The authorization strategy can be divided into automatic and manual modes. 10.1.2 Configuring the Management Information of SFU-based ONU For the SFU-based ONU, the binding authority can only be made on the premise that the IP address pool is subject to the configuration management and the VLAN is subject to the management.
Table 10-1 Configuring the Management Information of SFU-based ONU

Item Enter config View

Command config terminal -

Description

Configure the sfu manage startip Mandatory. ip is the starting IP, SFU-based ONUs ip network-mask network-mask is a mask and gateway is the gateway. IP address pool gateway Configure the sfu manage vlan Mandatory. vlan-id is the ID of the administered VLAN with the range of 1 SFU-based ONUs vlan-id ~ 4094. administered VLAN Show the SFU-based show sfu manage Show command needs to the executed

109

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

ONUs administered configuration address pool

in the enable or config view.

10.1.3 Configuring the ONU Automatic Binding Strategy The automatic binding strategy is that when the ONU registers to the OLT, the OLT can automatically add the bound ONU resources into the legal ONU list, a maximum of 64 ONUs in the single PON port. Table 10-2 Configuring the ONU Automatic Binding Strategy Item Command Description Enter config View config terminal Mandatory

Configure ONU authen-strategy auto automatic binding strategy Show ONU show authen-strategy binding strategy

Optional, inspecting configuration

for the

10.1.4 Configuring the ONU Manual Binding Strategy The manual binding strategy is that when the ONU registers to the OLT, it is put into the illegal ONU list first and then the authorization is completed by the network administrator issues the binding command, as shown in Table 10-3.

Table 10-3 Configuring the ONU Manual Binding Strategy

Item Enter config View Configure manual strategy

Command config terminal -

Description

ONU authen-strategy manual binding

Mandatory

Show ONU binding show authen-strategy strategy Enter PON View interface pon interface-number Bind ONU bind mdu onuid onuid mac-address mac-addr

Optiona, for inspecting the configuration interface-number refers to the PON port number. onuid refers to the specified ONU ID, if the ID has

110

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

type onu-type ip ipaddress netmask gateway bind sfu onuid onuid mac-address mac-addr type onu-type

Unbind

no bind onuid onu-id

Show configuration result Enter config View Unbind all ONUs under the PON port

show legal-onu-info config terminal no bind all-onu

already been used, the binding will not be successful; mac-addr refers to the MAC address of ONU; and onu-type refers to the type of ONU; ipaddress refers to the IP address; netmask refers to mask and gateway refers to gateway. onuid refers to the specified ONU ID, with the range of 1~64 or all. Show command needs to the executed in the pon view. Show command needs to the executed in the config view.

10.1.5 Example of ONU Binding Strategy Configuration

10.1.5.1 Network Requirement


Access to 32 ONUs under the PON port 3/1 Configure ONU manual binding strategy

111

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.1.5.2 Network Diagram

Figure 10-1 ONU Management Network Diagram

10.1.5.3 Configuration Procedure


$ Configure the ONU binding strategy to be manual mode C8000(config)# authen-strategy manual $ Manually bind all SFU-type ONUs under PON port3/1 C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#bind sfu onuid all $ Show the all legal ONUs under the PON port3/1 C8000(config-if-pon-3/1)#show legal-onu-info
ONU-ID IP a ddress LLID ONU-ID State Mac Address Type ActiveTime Description Dist (M) SLA

--------------------------------------------------------------------------------------------------------------------------03/01:01 1 active 00:1a:69:30:0b:42 M3-0420P 46 1

112

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

125.10.19.130

03/01:01

2007/01/01

00:03:32

ONU:03/01:01

03/01:32 125.10.19.131 32 active 03/01:01 00:1a:69:30:0b:4a 2007/01/01 00:03:52 M3-0421P ONU:03/01:32 49 1

----------------------------------------------------------------------------------------------------------------------------Total: 32 legal ONUs bound

10.1.6 Restarting and Deregistering The user can restart or deregister ONU. The ONU can be divided into the legal ONU and the illegal ONU in accordance with their authorization states, so the restarting and deregistering on the two ONUs are different; specifically, for the illegal ONU, it needs to specify the llid of the ONU for restarting or deregistering; and for the legal ONU, it needs to specify the ONU ID to complete the operation. 10.1.6.1 Prerequisites For the legal ONU, it needs to be successfully binded, see section 10.1.1 "ONU Authorization Strategy Management for specific operations.

10.1.6.2 ONU Restarting and Deregistering


Table 10-4 Restarting and Deregistering under the pon view

Item Enter config View Enter pon View Restart the legal ONU

Command configure terminal interface pon interface-number

Description interface-number refers to the PON port number. onuid refers to the specified ONU ID with the range of 1~64 onuid refers to the specified ONU ID mac-addr refers to the MAC address of ONU mac-addr refers to the MAC address of ONU

reset legal-onu onu-id

Deregister legal ONU Restart the illegal ONU Deregister illegal ONUONU

deregister legal-onu onu-id reset illegal-onu (mac-addr | all)

deregister illegal-onu mac-addr

113

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Table 10-5 Restarting and Deregistering under the ONU view

Item Enter config View Enter onu View

Command configure terminal interface onu interface-number

Description interface-number refers to the onu port number.

Restart the legal ONU Deregister legal ONU

reset deregister

10.1.7 ONU Restarting Example

10.1.7.1 Network Requirement


Restart the legal ONU3/1:1 of the EPON system

10.1.7.2 Network Diagram


See10.1.1Network Diagram

10.1.7.3 Configuration Procedure


Configure under the PON mode $Enter the PON 3/1 view C8000(config)# interface pon 3/1 $ Restart ONU3/1:1 C8000(config-if-pon-3/1)# reset legal-onu 1 Configure under the ONU View $Enter ONU3/1:1 View C8000(config)# interface onu 3/1:1 $ Restart ONU3/1:1 C8000(config-if-onu-3/1:1)# reset

114

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.1.8 FEC Configuration FEC (Forward Error Correction) is the important technology in the PON system, and FEC can correct the error generated in the transmission and reduce the BER (bit error rate). By the FEC technology, the optical power budget can be increased, so that the distance between the OLT and the ONU can be increased or the split ration of PON can be increased or the reliability of digital channels can be improved. Table 10-6 Configure FEC of ONU Item Command Description Enter config configure terminal View Enter onu View interface onu interface-number interface-number refers to the onu number. Enable FEC fec (enable | disable) Show Show command show fec configuration needs to the result executed in the onu view.

10.1.9 Configure the ONU Port Isolation This configuration is mainly used for isolating the data traffic of ONU ports. When the ONU is attached with multiple PCs and the mutual visits between the PCs are not allowed, the configuration can be used. Table 10-7 Configure the ONU Port Isolation Item Command Description Enter config configure terminal View Enter onu View interface onu interface-number interface-number refers to the onu number. Enable port isolate (enable | disable) isolation Show Show command show isolate configuration needs to the result executed in the onu view.

Configuring the Loop Detection of the Port

115

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.1.10 Configuring the Loop Detection of the Port The task of the operation is the test on the connection between ONU and OLT, so as to check whether the connection is good. Table 10-8 Loop Detection of the Link Item Command Description Enter config configure terminal View Enter onu View interface onu interface-number interface-number refers to the onu number. Enable Loop loopback Detection

Note: This system provides the function of automatic recovery. 5 seconds after the user starts loop-back test, the loop-back test will automatically shut down.

10.1.11 P2P Operation This operation is mainly used for managing the connectivity of data stream between ONUs under the same PONs, P2P (point-to-point) data refer to the data channels between ONUs, respectively unicast, broadcast and unicast of unknown addresses (dlf) . The system can respectively manage the data of broadcast and unicast of unknown addresses and can regulate the P2P traffic.

Note: By default, the ONUs under the same PON port cannot communicate with each other, if the communication is required, the p2p function must be enabled, and by default, the p2p discard the dlf packets and broadcast packets. According to IEEE 802.3-2005 protocol, the point-to-point operation between ONUs of the same PON is not supported, we we do not recommend users to use the p2p function.

Table 10-9 p2p Configuration Operation

116

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item Enter config View Enter onu View Configure the strategy of p2p unicast packets Show configuration result Configure the strategy of p2p broadcast and unknown unicast packets Show configuration result Configure the p2p traffic policing

Command configure terminal interface onu interface-number p2p access-control (enable|disable) show p2p access-control p2p dlf (discard|flood) broadcast (discard|flood) show p2p config p2p policing max-band max-burst (enable | disable) show p2p policing

Description interface-number refers to the onu number. enable refers to the communication of unicasts between the ONU and other ONU of the PON. Show command needs to the executed in the onu view. discard refers to that the communication is inaccessible and flood refers to that the communication is accessible. Show command needs to the executed in the onu view. max-band refers to the maximum bandwidth; max-burst refers to the maximum burst frame and enable refer that the high priority level is enabled. Show command needs to the executed in the onu view.

Show p2p traffic policing configuration

10.1.11.1 P2P Configuration Example (Modified in the V400R007 series in part)

10.1.11.1.1 Network Requirement


Configure to ensure that p2p function between the ONU3/1:1 and the ONU3/1:32 under PON is enabled.

10.1.11.1.2 Network Diagram


See10.1.1Network Diagram

10.1.11.1.3 Configuration Procedure


$Enter PON 3/1 View C8000(config)# interface pon 3/1 $ Enable p2p function and forward the learning packet of broadcast. C8000(config-if-pon-3/1)# p2p access-control enable

117

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Check the enabling state of p2p function C8000(config-if-pon-3/1)#show p2p access-control P2p state : enable

10.1.12 VOIP Port Operation The operation is mainly used for configuring the VOIP global parameters of OLT terminal and VOIP parameters of ONU terminal. Note: before configuring the VOIP parameters, it needs to configure the relevant GE port and PON port into hybrid, add the GE port into VOIP VLAN and untagged, set PVID to VOIP VLAN, and add PON port into VOIP VLAN and tagged, and set PVID to 1. And then configure the VOIP. 10.1.12.1 Configuring the VOIP Parameters of OLT Terminal Configure the VOIP global parameters of OLT terminal, including VOIP VLAN, SIP protocol and VOIP parameters.
Table 10-10 VOIP Operation of OLT Terminal

Item Command Enter config View configure terminal Configure the voip vlan vlan-id [cos-vlaue] VLAN of VOIP and no voip vlan [<0-7>] its priority

Description

Configure the global parameters of SIP protocol

Configure the global parameters of VOIP

vlan-id refers to the VLAN ID of VOIP and cos-vlaue refers to the priority of VOIP VLAN with the range of 0 ~ 7. This configuration is optional. The no voip vlan command can be used to delete VOIP VLAN. proxy| mapping is the model sip template mode of SIP; ip-address1 is the IP (proxy|mapping) register-server-ip ip-address1 of the registration server; port port-num1 port-num1 is the port of the proxy-server-ip ip-address2 fourth floor of the server; port port-num2 ip-address2 is the IP of the register-interval interval-time proxy server; port-num2 is the port of the fourth floor of the proxy server; and interval-time is the interval of registration with the range of 60 ~ 3600. transparent | t38 is the fax voip template fax mode; enable | disable is the (transparent|t38) sil-compress (enable|disable) static compression switch; enable | disable is the echo echocancel (enable|disable) suppression switch; dtmf (transparent|rfc2833)

118

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

codec (auto|g711a|g711u|g729|g723) input-gain i-gain output-gain o-gain callidmode (fsk|dtmf)

Show global VOIP Configuration

show voip configuration

transparent | rfc2833 is the DTMF mode; auto | g711a | g711u | g729 | g723 is the voice coding; i-gain is the inputted gain for setting the voice signal power of the microphone with the range of -31 ~ 31; o-gain is the outputted gain for setting the voice signal power of the handset with the range of -31 ~ 31; and fsk | dtmf is the caller display mode. Show command needs to the executed in the enable or config view.

10.1.12.2 Example of the Configuration of VOIP Parameters of OLT Terminal

10.1.12.2.1 Network Requirement


Configure VOIP VLAN to500 and priority to 6; configure the global parameters of SIP protocol (mode of proxy, IP of the registration server is 172.20.10.10, the number of the fourth-floor port is 5060, the IP of the proxy server is 172.20.10.10, the number of the fourth-floor port is 5060 and the registration interval of 360) and the global parameters of VOIP (fax mode is transparent, silence compression switch is disable, echo suppression switch is enable, DTMF mode is rfc2833, speech coding method is auto, inputted gain is 2, outputted gain is 3 and the caller display mode is dtmf).

119

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.1.12.2.2 Network Diagram

Figure 10-2 Networking of VOIP under the same ONU

10.1.12.2.3 Configuration Procedure


$ Configure the global parameters of SIP protocol C8000(config)#sip template mode proxy register-server-ip 172.20.10.10 port 5060 proxy-server-ip 172.20.10.10 port 5060 register-interval 360 $ Configure the global parameters of VOIP C8000(config)# voip template fax tran sil-compress disable echocancel enable dtmf rfc2833 codec auto input-gain 2 output-gain 3 callidmode dtmf $ Show the global VOIP configuration C8000(config)# show voip configuration Voip Configuration: Vlan ID : 0 Vlan Priority : 0 Fax Mode : transparent Silence Compress : off

120

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Echo Cancel : on DTMF Mode : rfc2833 Codec Type : Auto Input Gain : 2 Output Gain : 3 Call ID : DTMF Sip Mode : Proxy Sip IAD : 5060 Sip Reg Server IP : 172.20.10.10 Sip Reg Server Port : 5060 Sip Proxy Server IP : 172.20.10.10 Sip Proxy Server Port : 5060 Sip regist interval : 360 access node id : /0/0 10.1.12.3 Configuring the VOIP Parameters of the ONU Terminal The configuration of the VOIP parameters of the ONU terminal includes IP, mode, parameters of port number user, hotline and dial-up plans, etc.
Table 10-11 VOIP Port Operation of ONU

Item Enter config View Enter onu View

Command configure terminal interface onu interface-number Enable| Disable the voip voip-port-number (enable VOIP function of | disable) the port Show configuration result Configure the static IP parameters of show voip-port-state voip-port-number voip ip static-ipaddress ip-address network-mask gateway

Description interface-number refers to the onu number. voip-port-number refers to the port number of VOIP. The default status is enable. Show command needs to the executed in the onu view. Optional. ip-address refers to the static IP address; network-mask is the mask and the gateway is the gateway.

121

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

VOIP Configure the parameters of port number user of the SIP protocol of VOIP Configure IP mode

voip ip usrname username password password

Optional. username refers to the user name for PPPoE dial-up and password is the password for PPPoE dial-up.

voip ip mode (dhcp|dhcp+|pppoe|pppoe+|st atic)

Show the IP configuration of VOIP Configure the parameters of port number user of the SIP protocol of VOIP Configure the port hotline parameters of VOIP Show the SIP port configuration of VOIP Configure the dial-up plan of VOIP

show voip ip configuration

Mandatory. Before using the command for configuring the VOIP IP into the static mode, it must use the voip ip static-ip address command, or the system will give the prompt of bad parameters. Show command needs to the executed in the onu view. Mandatory. voip-port-num refers to the VOIP port number of ONU; number refers to the port number of SIP protocol; username refers to the user name; and password refers to the users password. voip-port-num refers to the VOIP port number; hot | warm | off refers to the hotline mode of the port; and the number refers to the hotline number. Show command needs to the executed in the onu view. This is the serial number for dial-up plan and the content of dial-up plan. The no voip dialplan command can be used for deleting the specified dial-up plan. The command can only be used after the voip dialplan is configured, only in this way, the configuration results can be checked, or no display can be shown. Show command needs to the executed in the onu view. Show command needs to the executed in the onu view.

sip port voip-port-num num number usrname username passwd password

sip port voip-port-num hotline (hot|warm|off) num number

show voip port voip-port-num

voip dialplan index content no voip dialplan index

Show the configuration of the dial-up plan of VOIP

show voip dialplan

Check the protocol used for VOIP of ONU

show voip protocol

Note:

122

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The VOIP port of ONU terminal is enabled by default.

10.1.12.4 Example of the Configuration of VOIP Parameter of ONU Terminal

10.1.12.4.1 Network Requirement


Configure the static IP address of VOIP of ONU10/1:1 to 172.20.10.20, the mask to 255.255.0.0 and the gateway to 172.20.10.1; configure the IP mode to the static mode; configure the port1 user number in SIP protocol to 1001, user name to yotc1001, password to 123456; and configure the port2 user number in SIP protocol to1002, user name to yotc1002, password to 123456;

10.1.12.4.2 Network Diagram

Figure 10-3 Networking of VOIP under the same ONU

10.1.12.4.3 Configuration Procedure


$ Configure the static IP address of the VOIP of ONU10/1:1 C8000(config-if-onu-10/1:1)#voip 172.20.10.1 ip static-ipaddress 172.20.10.20 255.255.0.0

$ Configure the VOIP IP mode of ONU10/1:1

123

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-if-onu-10/1:1)#voip ip mode static $ Configure the VOIP SIP port1 of ONU10/1:1 C8000(config-if-onu-10/1:1)#sip port 1 num 1001 usrname yotc1001 passwd 123456 $ Configure the VOIP SIP port2 of ONU10/1:1 C8000(config-if-onu-10/1:1)#sip port 2 num 1002 usrname yotc1002 passwd 123456 $ Configure the VOIP configuration of ONU10/1:1 C8000(config-if-onu-10/1:1)#show voip ip configuration IP configuration infomation: IP mode : static static ip : 172.20.10.20 mask : 255.255.0.0 gateway : 172.20.10.1 user name : --password : --$ Check the configuration of VOIP SIP port 1 of ONU10/1:1 C8000(config-if-onu-10/1:1)#show voip port 1 Sip Port Number : 1001 Sip Port User Name : yotc1001 Sip Port Password : 123456 Sip Port Hot Line Mode : 0 Sip Port Hot Line Number : --Register Status : offline Physical Status : hang-up $ Check the configuration of VOIP SIP port 2of ONU10/1:1

124

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-if-onu-10/1:1)#show voip port 2 Sip Port Number : 1002 Sip Port User Name : yotc1002 Sip Port Password : 123456 Sip Port Hot Line Mode : 0 Sip Port Hot Line Number : --Register Status : offline Physical Status : hang-up 10.1.12.5 Setup of WAN IP This configuration is mainly used to the static IP address information of the WAN port (port of the inband management ONU system, that is, the PON port of ONU) of the ONU, and used by the ONU to register SIP servers and used to facilitate to pass through the web network management of ONU. Table 10-12 Configuration of WAN Port IP of ONU Item Command Description Enter config configure terminal View Enter onu interface onu interface-number interface-number View refers to the onu number. Ation refers to wan-ip ipaddress netmask gateway ipaddress refers to the configure the IP address; netmask WAN port IP refers to the mask and address gateway refers to the gateway Show Show command show wan-ip configuration needs to the executed result in the onu view.

10.2 ONUport Configuration Management


The main task for the port configuration management of ONU is the configuration operation on the Ethernet ports of ONU.

125

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.2.1 Basic Configuration of ONU Port The basic configuration of ONU port is mainly to configure the working mode and auto-negotiation status as well as others concerning the ports.

Table 10-13 Configuration of ONU Port Property Item Command Description Enter config View configure terminal Enter onu View interface-number refers to the interface onu interface-number ONU number. Configure the port-number refers to the port port management state of number and enable refers that the phy-admin-control port port-number (enable | port is enabled. disable) Configure the port-number refers to the port port auto-neg state auto-negotiation status port-number (enable | number and enable refers that the of port disable) port auto-negotiation is enabled. Restart the auto-negotiation of port Configure the operating mode of the port port auto-neg restart port-number port mode port-number mode Ditto

Configure the port descriptions

port description port-number description no port description

port-number refers to the port number, in the mode, the Gigabit full-duplex, megabit full-duplex, megabit half-duplex, 10-bit full-duplex and 10-bit half-duplex or auto-negotiation mode can be configured in accordance with the ports. description is the description information of ONU, which can be clearly described by the use of the no port description command.

10.2.2 Example of the Configuration of ONU Port Model Before configuring the ONU, it needs to bind the ONU first, so as to ensure the ONU is legal.

10.2.2.1 Network Requirement


Configure the port1 of ONU 1 of No.1 PON under the No.3 slot to be 100M full duplex.

126

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.2.2.2 Network Diagram


See10.1.1Network Diagram.

10.2.2.3 Configuration Procedure


$ Enter the onu view of ONU 3/1:1: C8000(config)# interface onu 3/1:1 $ Configure the port1 mode of ONU3/1:1 to be 100M full duplex C8000(config-if-onu-3/1:1)# port mode 1 100Mf

$Show configuration result C8000(config-if-onu-1/1:1)# show port mode 1 PORT-ID Port-Mode

-------------------------------------------1 100MF

-------------------------------------------10.2.3 Configuring the Flow Control of the Port If the congestion happens to ONU when the UNI of ONU and the device connected enable the flow control, the UNI will send the packet to the device connected to notify the device connected to suspend sending packet, after the device connected receives the packet, it suspends sending packet, thus avoiding the packet loss. Table 10-14 Configuration of the Flow Control of the Port Item Command Description Enter config View configure terminal Enter onu View interface onu interface-number interface-number refers to the ONU number. Configure the flow port flow-control port-number port-number refers control of port (enable | disable) to the port number. Show Show command show port flow-control configuration port-number needs to the result executed in the onu view. 10.2.4 ONU Ports Flow Control Configuration Example Before the configuration of the ONU, bind the ONU first to ensure the ONU is legal.

127

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

10.2.4.1 Network Requirement


Enable the flow control of the port 1 of the ONU 1 of No.1 PON of the No. 3 slot.

10.2.4.2 Network Diagram


See10.1.1Network Diagram

10.2.4.3 Configuration Procedure


$ Enter the onu mode of ONU 3/1:1: C8000(config)# interface onu 3/1:1 $ Enable the flow control of the port 1 of ONU3/1:1 C8000(config-if-onu-3/1:1)# port flow-control 1 enable

$ Show the configuration results C8000(config-if-onu-1/1:1)# show port flow-control 1 Port-Id Flowcontrol

-------------------------------------------1 enable

-------------------------------------------10.2.5 Configuring the Port Rate Limitation The main function of the port rate limitation of the ONU is to limit the uplink data of the ONU. Table 10-15 Configure the Rate Limitation of ONU Port Item Command Description Enter config configure terminal View Enter onu interface-number refers to the interface onu View interface-number ONU number.

128

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the rate limitation of port

port policing port-number rate-value cbs ebs no port policing port-number

Show configuration result

show port policing port-number

port-number refers to the port number; rate-value refers to the rate limitation value; cbs and ebs refer to the burst frame processing parameters, generally configured into the default value of 65535. The no port policing command can be used for cancelling the rate-limiting configuration of the port. Show command needs to the executed in the onu view.

Note: The unit is kbps, for example, if 50M is required, then it is 50000kbps.

10.2.6 Configuration Example Before the configuration of the ONU, bind the ONU first to ensure the ONU is legal. Network Diagram Configure the rate of the uplink data of port 1 of the ONU 1 of No.1 PON of the No. 3 slot to be 50M

10.2.6.1 Network Diagram


See10.1.1Network Diagram

10.2.6.2 Configuration Procedure


$ Enter the onu mode of ONU A: C8000(config)# interface onu 3/1:1 $ Configure the uplink data rate of port 1 ONU3/1:1 to be 50M. C8000(config-if-onu-1/1:1)# port policing 1 50000 65535 65535

$ Show the configuration results C8000(config-if-onu-1/1:1)# show port policing 1

129

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Port-Id

Policing-State

Cir

Cbs

Ebs

--------------------------------------------------------------------------------1 active 50000 65535 65535

--------------------------------------------------------------------------------10.2.7 Display and Maintenance of the Basic Configuration of Port C8000 system provides the display of the basic configuration of ONU port. Table 10-16 Display of the Basic Configuration of ONU Port Item Command Description Enter config View configure terminal Enter onu View interface-number refers to interface onu interface-number the ONU number. Show the management state show port Show command needs to of port the executed in the onu phy-admin-state port-number view. Show the link state of port Ditto show port link-state port-number Show the self-adaption state show port auto-neg Ditto of port port-number Show the actual port show port mode Ditto connection mode port-number Show the desired port show port exp-mode Ditto connection mode port-number Show the informed show port auto-negotiation state of advertised-tech-ability Ditto port port-number Show the current show port Ditto auto-negotiation state of local-tech-ability port port-number Show port descriptions show port description Ditto

10.3 Classification and Marking Configuration Management


10.3.1 Introduction to Classification and Marking The main task of classification and marking is to provide the priority marking on the uplink data stream. The classification and marking can realize the mandatory modification of priority tags. In accordance with the different matching rules for user configuration, the marking on different flows can be realized respectively. At present, the system supports the following matching rules: VLAN ID, Ethernet type, Ethernet Priority,

130

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

IP type, TOS field, IP Precedence, source port number of transport layer, destination port number of transport layer, source IP address, destination IP address, source MAC ADDRESS and destination MAC ADDRESS, etc. 10.3.2 Classification and tag Template Operation The user can configure the template for classification and marking in advance and configure the matching rules and operating conditions in the template. In a classification and marking template, the user can configure a number of matching rules. The system supports a maximum of 8 rules. Table 10-17 Configuring the Classification and tag Template Item Command Description Enter config View configure terminal Add a classification and classification-marking Listid refers to the number of the marking template add listid ruleid classification tag template; ruleid refers to the number of the rule; queue-number pri queue-number refers to the match-field number of the queue; pri refers to match-value the tag priority; match-field refers match-type to the domain matched; match-value refers to the value matched; match-type refers to the type of matching; the equal, not equal, greater than, less than and other forms of matching are provided here. Modify or add a classification-marking Ditto classification and marking mod listid ruleid rule queue-number pri match-field match-value match-type Delete a classification and classification-marking del entry refers to delete a marking rule or the entire del rule listid classification tag template; del rule template ruleid refers to delete a sub-rule of the classification-marking classification tag template. del entry listid Show configuration result show Show command needs to the classification-marking executed in the config view. listid 10.3.2.1 Configure to connect the ONU port with the classification and tag templates After the user defined the template, the template can be applied to all legal ONU in any a

131

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

PON.

Table 10-18 Configure to connect the ONU port with the classification and tag templates Item Command Description Enter config configure terminal View Enter onu interface-number refers to the interface onu View interface-number ONU number. Apply the port-number refers to the number port classification of the port that requires the classification-marking tag templates port-number listid application of classification template; listid refers to the no port number of the classification tag classification-marking port-number template to be applied. The no port classification-marking port-number command can be used to cancel the classification tag templates applied to the ONU port. Show Show command needs to the show port configuration executed in the onu view. classification-marking result port-number 10.3.3 Classification and Marking Configuration Example 10.3.3.1 Network Requirement Set the revised priority of the uplink VLAN 10 packets to 7 for the port 1 of ONU3/1:1 and map to Queue4.

10.3.3.2 Network Diagram See10.1.1Network Diagram. 10.3.3.3 Configuration Procedure $ Establish the revised priority of the uplink VLAN 10 packet to 7 and map to the rule of Queue4 C8000(config)# classification-marking add 1 1 4 7 vlan-id 10 equal $ Apply the classification and tag templates to port1 of ONU3/1:1 C8000(config)# interface onu 3/1:1

132

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-if-onu-3/1:1)# port classification-marking 1 1

10.4 SLA Configuration Management


10.4.1 Introduction to SLA SLA refers to the Service Level Agreement, specifically, the agreement between the service provider and the customers on the key service targets and responsibilities of both parties in the provision of services. EPON system should use the dynamic bandwidth allocation (DBA) mechanism to improve the utilization of the upstream bandwidth of the system and ensure the fairness and QoS of services. Besides, the EPON system should be able to allocate the bandwidth authorization in accordance with the queue status reported by LLID. DBA should support the following three kinds of bandwidth allocation: Fixed Bandwidth: The OLT periodically sends the authorizations of fixed number to the ONU. It is recommended to use the smaller cycle time and the higher grant frequency for bandwidth allocation. The fixed bandwidth is fully reserved for particular ONU or the specific service of ONU, even under the circumstances when the ONU has no fixed uplink bandwidth service flow, the OLT can send the authorization of the fixed bandwidth to the ONU, and the bandwidth can not be used by other ONU. The fixed-bandwidth is mainly used in the ONU with TDM service (or LLID) in order to ensure the smaller transmission delay of the service. Assured bandwidth: The bandwidth is specifically for ONU; the OLT authorizes the bandwidth in accordance with the REPORT information of ONU. When the actual service flow of the ONU fails to reach the assured bandwidth, the DBA mechanism of OLT should be able to allocate its remaining bandwidth to the services of other ONUs. Best Effort Bandwidth: When the bandwidth of the EPON interface has not been occupied by the services of higher priority, the ONU can use such bandwidth. The best effort bandwidth is to allocate the authorizations for the ONU by the OLT according to the REPORT information of all online ONUs in the PON system and the occupancy of bandwidth of PON interfaces. The system does not guarantee that the ONU or the specific service of the ONU can get a certain amount of bandwidth. The type belongs to the service of the lowest priority.

The realization of SLA of the EPON system in the downlink direction is by traffic policing. The traffic policing is mainly for limiting the maximum flow rate. When the traffic rate reaches the maximum rate configured, the exceeded traffic will be discarded; as a result, the

133

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

traffic rate of jagged peaks and troughs is shown

10.4.2 Configuring SLA This configuration task is to set the service level; the main approach is to realize the different service levels by configuring different types of bandwidth allocation. The EPON system can allocate different bandwidths in accordance with the service demands of different customers. For large and medium-sized enterprises, the EPON system can increase the bandwidth in order to run the services; for ordinary customers, the EPON system can limit the bandwidth to avoid the bandwidth waste.

10.4.2.1 SLA Template Operation The user can pre-configure the SLA template and define the parameters necessary for the uplink and downlink in the template, by default, the system has one-layer SLA, in addition, the user can customize 9-layer SLA, namely, the system can provide a maximum of 10-layer SLA. Table 10-19 SLA Template Operation Item Command Description Enter config configure terminal View Add an SLA sla add slaid up-cos slaid refers to the serial number of SLA up-fix-bw up-gr-bw template; up-cos refers to the priority up-best-bw up-max-burst level of the uplink data; up-fix-bw refers to fixed bandwidth of uplink; down-cos down-fix-bw down-gr-bw down-best-bw up-gr-bw refers to the assured down-max-burst bandwidth of unlink and up-best-bw refers to the best-effort-bandwidth of uplink and up-max-burst refers to the maximum burst frame length of the packet; down-cos refers to priority level of the downlink data; down-fix-bw refers to fixed bandwidth of downlink; down-gr-bw refers to the assured bandwidth of downlink anddown-best-bw refers to the best-effort-bandwidth of downlink and down-max-burst refers to the maximum burst frame length of downlink packet; Modify an sla mod slaid Ditto SLA (upstream|downstream)cos

134

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Delete an SLA Show show sla configuration result

fix-bw gr-bw best-bw max-burst sla del slaid

Ditto Show command needs to the executed in the config view.

Note: SLA template 1 is a default template, which cannot be deleted or modified or created. The default value of the template 1 has the uplink priority level of , the fixed bandwidth of uplink of 10000kbps, the assured bandwidth of unlink of uplink of 10000kbps, the maximum uplink bandwidth of 1000000kbps and the maximum uplink burst frame length of 16777215bytes; the downlink priority level of 0, the fixed bandwidth of downlink of 10000kbps, the assured bandwidth of downlink of 10000kbps, the maximum downlink bandwidth of 999994kbps and the maximum burst frame length of downlink of 16777215bytes.

10.4.2.2 Configure the Relations between ONU and SLA Template After the template is defined, the user can use the template in any a legal ONU under any a PON port. Table 10-20 Configure the Relations between ONU and SLA Template Item Command Description Enter config configure terminal View Enter onu View interface interface-number interface-number refers to the ONU number. Apply SLA sla sla-number sla-number refers to the number of the SLA template applied. The sla 1 command can used for restoring the default SLA template. Show show sla Show command needs

135

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

configuration result

to the executed in the onu view.

Note: When the ONU is bound, the associated SLA template 1 by default is used.

10.4.3 SLA Configuration Example 10.4.3.1 Network Requirement Set the minimum uplink bandwidth for ONU3/1:1 to 64000Kbit/s, the maximum uplink bandwidth to 320000Kbit/s, the maximum downlink bandwidth to 500000Kbit/s and the maximum burst frame length of downlink to 4000Bytes.

10.4.3.2 Network Diagram See10.1.1Network Diagram 10.4.3.3 Configuration Procedure $ Establish the SLA template featuring minimum uplink bandwidth of 64000Kbit/s, the maximum uplink bandwidth of 320000Kbit/s, the maximum downlink bandwidth of 500000Kbit/s and the maximum burst frame length of downlink of 4000Bytes. C8000(config)# sla add 2 0 10000 64000 320000 4000 0 10000 10000 500000 4000 $ Apply the SLA template to ONU3/1:1 C8000(config)# interface onu 3/1:1 C8000(config-if-onu-3/1:1)# sla 2

136

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

11 RSTP CONFIGURATION MANAGEMENT


11.1 Introduction to RSTP Protocol
The concepts and principles on RSTP of the device are fully consistent with the Ethernet switch; therefore, the following RSTP protocol is introduced by taking the Ethernet switch as an example. STP refers to the Spanning Tree Protocol. The protocol can be used in the loop network to block some redundant paths by the regulated algorithm and to prune the loop network into the loop-free tree network, thus avoiding the proliferation and infinite loop of packets in the loop network. The basic principle of STP is to pass the special protocol message (In the IEEE 802.1D protocol, the protocol message is known as BPDU) between switches, so as to determine the network topology. The BPDU contains enough information to ensure the switch can complete the spanning tree calculation. The BPDUmainly includes the following contents: (1) Root Bridge ID :comprising of the priority of the root and the MAC address; (2) Root path cost :shortest path cost to the root; (3) Designated bridge ID:, comprising of the priority of the designated switch and the MAC address; (4) Designated port ID: comprising of the priority of the designated port and the port number; (5) MessageAge: BPDU age; (5) MaxAge: Maximum age of BPDU (7) HelloTime: Cycle for sending BPDU ; (8) ForwardDelay: Forwarding delay of the of port state; The following contents will introduce the designated port and the designated switch.

137

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 11-1: Designated Port and Designated Switch

For a switch, the designated switch is the one directly connected with the device and responsible for forwarding data packets to the device and the designated port is the one to which the designated switch forwards the data. For a LAN, the designated switch is the one responsible for forwarding data packets to this network segment and the designated port is the one to which the designated switch forwards the data. As shown in the figure, if Lanswitch A forwards the data to Lanswitch B through port Ethernet 0/1, then the Lanswitch A is the designated switch in the BPDU of Lanswitch B and the designated port is the port Ethernet 0/1 of Lanswitch A; the LAN is connected with two switches: Lanswitch B and Lanswitch C, of which, the Lanswitch B is for transmitting the data packets to the LAN, then the designated switch of LAN is Lanswitch B and the designated port is Ethernet 0/4 of Lanswitch B. The following will explain the calculation of spanning tree by an example. See the following figure for specific network:

138

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 11-2: Ethernet Switch Network To make the information be clear, only the first four items of the BPDU are shown in the example: root ID (indicated by the priority of Ethernet switch), root path cost, ID of designated switch (indicated by the priority of Ethernet switch) and ID of designated port (indicated by port number). As shown in the above figure, the priority of Lanswitch A is 0, the priority of Lanswitch B is 1 and the priority of Lanswitch C is 2. See the figure for the path cost of each link, 5, 10 and 4 respectively. (1) Initial state: Each port of the switch will generate the BPDU with the root of itself, the root path cost is 0, the designated switch ID is the ID of the switch and the designated port is the port of the switch. Lanswitch A Port Ethernet 0/1 BPDU{000e0/1} Port Ethernet 0/2 BPDU{000e0/2} Lanswitch B Port Ethernet 0/7 BPDU{101e0/7} Port Ethernet 0/4 BPDU{101e0/4} Lanswitch C Port Ethernet 0/1 BPDU{202e0/1}

139

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Port Ethernet 0/5 BPDU{202e0/5} (2) Select the Optimal BPDU Each switch sends out its own BPDU. When the port receives the BPDU with priority lower than its priority, the BPDU with lower priority will be discarded and the BPDU of the port will not subject to any change. On the contrary, when the port receives the BPDU with priority higher than its priority, the BPDU with higher priority will be used to update the BPDU of the port, that is, the BPDU with higher priority will replace the original BPDU of the port. After that, the BPDU with higher priority will be compared with the BPDU of other ports, and finally the optimal BPDU will be selected. The principle for comparison is that the smaller the root ID is, the higher the priority of the BPDU is, if case the root IDs are the same, the root path costs can be compared, the specific method is as follows: Add the root path cost of the BPDU and the corresponding path cost of the port, set the amount to S, the smaller the S is, the higher the priority of the BPDU is. However, if the root path costs are the same, then the designated switch IDs, the designated port IDs and the port IDs receiving the BPDU can be compared in turn. To make the explanation be more clearly, the manual here only describes the comparison of root IDs, by which, the optimal BPDU can be determined. (3) Selecting the root port and update the BPDU of the designated port in accordance with the blocking redundant links. The port receiving the optimal BPDU is the root port and the BPDU of the port is not changed; for other ports, when the BPDU of a port blocks the root port in the updating of the process (2), the BPDU of the port remains the same, but the port will not transmit data and only receive but not send BPDUs; if the BPDU of a port is not updated in the process (2), then the BPDU of the designated port must be subject to the following changes: the root ID is replaced into the root ID of the BPDU of the root port; the root path cost is replaced into the sum of the root port cost of the BPDU of the root port and the corresponding root port cost of the root port; the ID of designated switch is replaced into the ID of the switch; the designated port ID is replaced into the ID of the port. The comparison of various switches is as follows: Lanswitch A Port Ethernet 0/1 receives the BPDU of Lanswitch B, when the BPDU of the port has the priority higher than the priority of the BPDU received, the BPDU received will be discarded, similar to the port Ethernet 0/2. Lanswitch A finds the roots and the designated switches of the BPDU of each port belong to the Lanswitch A, then Lanswitch A believes

140

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

it is the root and the BPDU of each port is not changed and then it sends out the BPDUs periodically. The BPDUs of the two ports are as follows: Port Ethernet 0/1 BPDU{000e0/1} Port Ethernet 0/2 BPDU{000e0/2} Lanswitch B When the Port Ethernet 0/7 receives the BPDU from Lanswitch A, if it finds the BPDUs received have the higher priority than itself, then the BPDU of the port will be updated. When the Port Ethernet 0/4 receives the BPDU from Lanswitch C, if it finds the BPDU of the port has the priority higher than that of the BPDU received, then the BPDU received will be discarded. The BPDU of each port is as follows: the BPDU of the port Ethernet 0/7: {000 e0/1}; the BPDU of the port Ethernet 0/4: {101e0/4}. Lanswitch B compares the BPDUs of ports, then selects the BPDU of the port Ethernet 0/7 as the optimal BPDU, and the port Ethernet 0/7 is determined as the root port, the BPDU of each port of the switch must be subject to the following update: The BPDU of the root port Ethernet 0/7 is not changed: {000e0/1}. The Port Ethernet 0/4 updates the root ID to the root ID0 in the optimal BPDU, the root path cost is updated to 5, and the designated switch ID is set to the ID of the switch and the designated port ID is set to the ID of the port, and the BPDU is changed into {051e0/4}. Then the designated ports of the Ethernet switch Lanswitch B periodically send out the BPDU. Lanswitch C The port Ethernet0/1 will first receive the BPDU{1 0 1 e0/4} before the updating of the port Ethernet 0/4 of Lanswitch B, and then the updating process will be tripped, after the updating, the BPDU is as follows: {101e0/4}. The port Ethernet 0/5 will receive the BPDU {0 0 0 e0/2} from the Lanswitch A, and then the updating process will be tripped, after the updating, the BPDU is as follows: {0 00e0/2}. By comparison, the BPDU of port Ethernet 0/5 is selected as the optimal BPDU, when the port Ethernet 0/5 is selected as the root port, the BPDU will not be changed, however,

141

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

the port Ethernet0/1 will be blocked and the BPDU of the port will remain the same, at the same time, the port will not receive the data transmitted from Lanswitch B (excluding the protocol message of STP) until the spanning tree calculation is made due to same reasons, from example, the link from Lanswitch B to Lanswitch C is down or the BPDU of higher priority is received by the port. And the port Ethernet 0/1 receives the updated BPDU {0 5 1 e0/4} from Lanswitch B. Because the BPDU received has the higher priority than the original BPDU, the updated BPDU will then be updated into {051e0/4} again. At the same time, the BPDU from Lanswitch A received by the port Ethernet 0/5 will not be updated, and the BPDU remains {0 0 0 e0/2}. By comparison, the BPDU of port Ethernet 01 is selected as the optimal BPDU, and the port Ethernet 0/1 is selected as the root port, its BPDU will not be changed, however, the port Ethernet0/5 will be blocked and the BPDU of the port will remain the same, at the same time, the port will not receive the data transmitted from Lanswitch A until the spanning tree calculation is made due to same reasons, from example, the link from Lanswitch B to Lanswitch C is down. At that time, the spanning tree is stable and the tree shape is as follows, the root is Lanswitch A:

Figure 11-3: Finally Stable Spanning Tree To make everything be clear, the manual simplifies the process, for example, the root ID and the ID of designated switch must comprise of the switch priority and the MAC address in the process of actual operation; and the ID of designated port must comprise of the port priority and the port MAC address; in the updating of BPDU, not only the above four items will change, the BPDU will also change in accordance with the fixed principles. But the

142

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

calculation is almost the same. The passing mechanism of the BPDU of the spanning tree protocol is as follows: When the network is initialized, all switches take themselves as the roots, the designated ports of the switches send the BPDU of themselves with the cycle of HelloTime periodically; if the port receiving the BPDU is the root port, the MessageAge in the BPDU is increased in accordance with certain principle, and the timer is started to time the BPDU; if a certain path fails, the root port of the path will no longer receive any a new BPDU and the old BPDU will be discarded due to time-out, thus causing the spanning tree recalculation, generating a new path to replace the failed path and restoring the network connectivity. However, if the new BPDU after the re-calculation does not spread throughout the network immediately, the old root port and designated port that fail to find the change of the topology will continue forwarding data along the original path; while if the newly elected root port and designated port immediately forward data, the temporary path loop may be caused; therefore, the protocol applies the state transition mechanism, that is to say, before the root port and designated port re-start forwarding data, they must pass through an intermediate state, and the intermediate state can be changed into the forwarding state after the ForwardDelay, which ensures the new BPDU has spread throughout the entire network. The RSTP achieved in the device is the optimization version of Spanning Tree Protocol. The "Rapid" refers to that the delay when the root port and designated port enter the forwarding state is greatly reduced under certain conditions, thus reducing the time required for the stability of network topology. The convergence time for network change is very important for the high-delay-sensitive applications such as voice, video, etc. The conditions for the rapid migration of root port status are: the old root port of the switch has stopped forwarding data and the designated upstream port has begun forwarding the data. The conditions for the rapid migration of port status of the designated port are: Edge port: the port does not connect with any switches directly or indirectly. In case the designated port is the edge port, it is allowed to directly enter the forwarding state; The port is connected with the point-to-point link, that is, the port is the main port of the trunk port or the full-duplex port, and the user can configure the port to be the point-to-point connection. If the designated port is connected with the point-to-point link, it can immediately enter the forwarding state after the response is gotten by the handshake with the downstream switch;

143

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The switches applied the Rapid Spanning Tree Protocol are compatible with the switches applied the Spanning Tree Protocol. The packets of the two protocols can be identified and applied to the spanning tree calculations.

11.2 OLT RSTP Configuration Management


11.2.1 List of RSTP Configuration Tasks The configuration tasks can only take effect after the RSTP is started. Before starting the RSTP, the relevant parameters for the device or Ethernet ports can be configured, and after the RSTP is closed, the configuration parameters can be saved, when the RSTP restarts, these parameters will take effect. The list of RSTP main configuration tasks is as follows: Enable and Disable the RSTP Features of the Device Enable and Disable the RSTP Features of the Port Configure the Working Mode of the RSTP Protocol Configure the Bridges Priority of the Device Configure the Forward Delay Characteristics of the Device Configure the Hello-time Characteristics of the Device Configure the Max Age Characteristics of the Device Configure the Maximum Sending Rate of the Specific Port Configure the Specific Port to be EdgePort or Not Configure the Path Cost of the Specific Port Configure the Priority of the Specific Port Configure whether the Specific Port is Connected with the Point to Point Link or not

Under normal circumstances, enabling the RSTP features of the device realizes the RSTP function, in case of special requirements, the configuration of relevant parameters can be made.

144

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

11.2.2 Enable/Disable the Spanning Tree Features of Device Table 11-1 Enable/Disable the Spanning Tree Features of Device Item Enter config View Enable/disable protocol of device Command configure terminal RSTP rstp(enable | disable) Control the enabling and disabling of the global RSTP protocol. It is disabled by default. Description

Note: After the RSTP features of the device are enabled, part of the network resources will be occupied. 11.2.3 Enable/Disable the Spanning Tree Features of Port In order to flexibly control the RSTP, it can disable the RSTP features of port, so as to ensure the port does not participate in spanning tree calculations.

Table 11-2 Enable/Disable the Spanning Tree Features of Port

Item Enter config View Enter xege View

Command configure terminal interface x-ethernet interface-number or interface gigabit-ethernet interface-number -

Description

Enable/disable RSTP rstp port (enable | disable) features of port

By default, after the RSTP of the device is enabled, activate the RSTP protocols in all ports.

11.2.4 Configure the Working Mode of Spanning Tree Protocol RSTP protocol can communicate with STP protocol. If the bridge running the STP protocol exits in the switching network, the command can be used to configure that the

145

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

current RSTP protocol runs in mode compatible to S TP. Table 11-3 Working Mode of Spanning Tree Protocol Configuration Item Enter config View Command configure terminal Description

Configure the operating rstp mode (stp | rstp) mode of RSTP protocol to STP compatible mode / RSTP mode Restore the operating no rstp mode mode of RSTP protocol to the default value

By default, RSTP protocol runs in the RSTP mode.

In case the bridge running the STP protocol exits in the switching network, RSTP protocol can automatically migrate to STP, if it runs in the compatible mode, the manual configuration of users is not needed. 11.2.5 Configure the Bridge Priority of Device The priority of the bridge of the device determines whether the device can be selected as the root of the entire spanning tree. The priority of smaller configuration can designate the device as the root of the spanning tree. Table 11-4 Configure the Bridge Priority of Device Item Enter config View Configure the Priority of Device Command configure terminal Bridge rstp bridge-priority pri pri is the priority of the bridge, with the range of 0 ~ 61440 and the smallest particles of 4096. The command can restore the default value of the priority of bridge to 32768. Description

Restore the bridge priority no rstp bridge-priority of device to the default value

Note: if the priority of all bridges in the entire switching network uses the same value, then the bridge with the smallest MAC address must be selected as the root. Under the circumstances when the RSTP protocol is enabled, if the priority of the bridge is

146

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

configured, the spanning tree recalculation will be caused. 11.2.6 Configure the Forward Delay Characteristics of Device The link failure will trigger the network for the recalculations of spanning tree structure. However, the new configuration information re-calculated cannot immediately spread throughout the network; if the newly elected root port and designated port immediately began the data forwarding, the temporary loopback path may be caused. Therefore, the protocol applies a mechanism of state transition, then the root port and designated port has to pass through an intermediate state before the root port and designated port re-start data forwarding, the intermediate state can only enter the forwarding state after passing through the forward delay which ensures the new configuration information has spread to the entire network. The Forward Delay characteristic of the bridge is relevant to the diameter of the switching network. In general, the larger the network diameter is, the longer the time configured for the forward delay is. Table 11-5 Configure the Forward Delay Characteristics of Device Item Enter config View Configure the Forward Delay characteristics of the device Command configure terminal rstp timer forward-delay centiseconds centiseconds refers to the forwarding timer of forward-delay with the range of 400 ~ 3000 and in unit of hundredths of a second. Restore the default value to 15 seconds. Description

Restore the Forward Delay of the device to the default value

no rstp timer forward-delay

Note: if the Forward Delay configuration is too small, the temporary redundant paths may be introduced; if the Forward Delay configuration is too large, the connectivity of the network cannot be restored for a long time. It is recommended that the user applies the default values. 11.2.7 Configure the Hello Time Characteristics of Device The suitable Hello Time value is to ensure the network bridge can find the link failure in the network but not to take up too much network resources.
Table 11-6 Configure the Hello Time Characteristics of Device

Item

Command

Description

147

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Enter config View

configure terminal

centiseconds refers to the hello timer with the range of 100~1000 and in unit of hundredths of a second. Restore the default value to 2 seconds.

Configure the Hello rstp timer hello centiseconds Time characteristics of the device

Restore the Hello Time no rstp timer hello of the device to the default value

Note: if the Hello Time value is too larger, the packet loss of link may be caused, and the bridge may believe that there are link failures, as a result, the system may start to recalculate the spanning tree; if the Hello Time value is too smaller, the bridge may frequently send messages, and the burden to network and CPU may be increased. It is recommended that the user applies the default values. 11.2.8 Configure the Max Age Characteristics of Device Max Age is used to determine whether the information configured is the outdated parameters, the user can implement the configuration according to the actual situation of the network. Table 11-7 Configure the Max Age Characteristics of Device Item Enter config View Command configure terminal Description

Configure the rstp timer Max Ag max-age characteristics of centiseconds the device

centiseconds refers to the max-age timer with the range of 600~4000 and in unit of hundredths of a second. The value of max-age has the following relations with hello and forward-delay: 2(forward-delay-1)>=max-age>=2(hello+1)

Restore the Max no rstp Restore the default value to 20 seconds. Age of the device timer to the default max-age value

148

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: If the Max Age configuration is too small, the spanning tree calculation will be more frequent and even the network congestion may mistakenly regarded as link failure; if the Max Age configuration is too large, the link failures may be not detected in a timely manner, as a result, the network self-adaptability may be reduced. It is recommended that the user applies the default values. 11.2.9 Configure the Maximum Transmission Speed of a Specific Port The maximum transmission speed of the Ethernet port has relationship with the physical state and the network structure of the port, the user can implement the configuration according to the actual situation of the network. Table 11-8 Configure the Maximum Transmission Speed of a Specific Port Item Enter config View Command configure terminal Description

Configure the rstp transmit-limit rate-limit rate-limit refers to the rate maximum transmission limit for packet transmission speed of the port with the range of 1~255 and without any units. Restore the maximum no rstp transmit-limit transmission speed of the port to the default value Restore the default value to 3 seconds.

Note: If this parameter is configured too large, too many network resources may be taken up. It is recommended that the user applies the default values.

11.2.10 Configure the Specific Port to be Edge Port or Not If the current Ethernet port is not connected to the Ethernet port of any other bridges, it needs to configure the port to be edge port, in this way, the port can be directly changed into the forwarding state and the unnecessary migration time can be reduced. If a particular port is configured for edge port, but the port is connected to the port of other bridge, then the RSTP protocol can automatically detect and re-configure as the non-edge port. Table 11-9 Configure the Specific Port to be Edge Port or Not Item Command Description

149

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Enter config View Enter xege View

configure terminal interface x-ethernet interface-number or interface gigabit-ethernet interface-number

Configure the port as rstp edged-port an edge port / | disable) non-edge port Restore the port to the no rstp edged-port default value

(enable -

By default, all Ethernet ports of the device are configured as edge port.

Note: if the current Ethernet ports changes from the non-edge port into the edge port, it is recommended that the user manually configures the parameters as the edge port. RSTP protocol cannot detect whether the non-edge port has been transformed into the edge port. For the port directly connecting with the user terminals, please set the port as the edge port, which may quickly migrate the port to the forwarding state, so as to prevent the unnecessary time wasted in startup. 11.2.11 Configure the Path Cost of a Specific Port The path cost of the Ethernet port is relevant to the link rate of the port, the higher the link rate is, the smaller the parameter configuration is. RSTP protocol can automatically detect the previous link rate of the current Ethernet port and can convert into the corresponding path cost. Table 11-10 Configure the Path Cost of a Specific Port Item Enter config View Enter xege View Command configure terminal interface x-ethernet interface-number or interface gigabit-ethernet interface-number Description

150

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the Cost of the port

Path rstp cost cos

Restore the Path Cost no rstp cost of the port to the default value

By default, the device can directly get the path cost of the port from the link rate.

Note: the path cost for configuring the Ethernet port can cause the recalculation of the spanning tree. It is recommended that the user can use the default values to make the RSTP protocol to calculate the path cost of the current Ethernet port.

11.2.12 Configure the Priority of a Specific Port Setting the priority of Ethernet port can specify a particular Ethernet port included in the spanning tree. In general, the smaller the value configured is, the higher the port priority is, the higher the likelihood that Ethernet port is included in the spanning tree is. If all Ethernet ports of the bridge use the parameter values of the same priority, the priority of the Ethernet port depends on the index number of the Ethernet port.

Table 11-11 Configure the Priority of a Specific Port Item Enter config View Enter xege View Command configure terminal interface x-ethernet interface-number or interface gigabit-ethernet interface-number Configure priority port rstp port-priority port-priority refers to the port-priority port priority with the range of 0~240 and the smallest particles of 16. Restore the default value of the priority of all Description

Restore the port no rstp port-priority priority to the default

151

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

value

Ethernet ports of the bridge to 128.

Note: the change of the priority of Ethernet port can cause the recalculations of spanning tree.

11.2.13 Configure the Specific Port to be Connected with Point to Point Link or not The two ports connected with the point to point link can quickly migrate to the forwarding state by the simultaneous transmission of packets, reducing the unnecessary forwarding delay time. If this parameter is configured to automatic mode, RSTP protocol can automatically detect whether the current Ethernet port is connected with point to point links. Table 11-12 Configure the Specific Port to be Connected with Point to Point Link or not Item Enter config View Enter xege View Command configure terminal interface x-ethernet interface-number or interface gigabit-ethernet interface-number Configure the port to be rstp force-false and point-to-point auto, connected with point to (auto | force-false | force-true are respectively point link for configuring the force-true) connection between the port and the point to point link, the disconnection between the port and the point to point link and the automatic mode. Restore the parameter no rstp point-to-point to the default value Restore the default configuration of auto. Description

152

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: the current Ethernet port must be the main port of aggregation port and must be full-duplex mode, only in this way, the point to point link can be configured, or the configuration is invalid. The user can manually configure the connection between current Ethernet port and point to point link, it is recommended to use the automatic mode.

11.3 Monitoring and Maintenance of OLT RSTP


The following operations are for RSTP monitoring and maintenance, for the specific use of the command, please see command line manual. Table 11-13 RSTP Monitoring and Maintenance Item Enter config View Monitor and update the status of RSTP port Command configure terminal rstp check port-link Monitor and update the status of RSTP port (UP/DOWN) Show command needs to the executed in the view, enable orconfig view. If no slot number is provided, then the information of all ports will be shown. Show command needs to the executed in the view, enable orconfig view. Show command needs to the executed in the view, enable orconfig view. Description

Show the Bridge-info of show rstp bridge-info RSTP

Show the brief RSTP show rstp brief [slotid] information of a specific port

Show the RSTP show rstp slot (scu | slotid) information of all ports of the particular slot Enter xege View interface x-ethernet interface-number or gigabit-ethernet interface-number interface

153

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Show the detailed RSTP show rstp interface-info information of a specific port

Show command needs to the executed in the xe, or ge view.

11.4 Configure ONU RSTP


11.4.1 Enable/disable the Spanning Tree Characteristics of ONU Table 11-14 Enable/disable the Spanning Tree Characteristics of ONU Item Enter config View Enter onu View Command configure terminal interface onu interface-number RSTP rstp (enable | disable) Description

Enable/disable function of ONU

By default, RSTP is disabled.

Note: after the RSTP characteristics of the device are enabled, the network resources in parts are occupied.

11.5 Monitoring and Maintenance of ONU RSTP


Table 11-15 Monitoring and Maintenance of ONU RSTP Item Enter config View Enter onu View Command configure terminal interface onu interface-number Description

Show the RSTP status of show port ONU port (uniid | all)

rstp-state Show the RSTP status of ONU port. Show command needs to the executed in the onu view. Show the RSTP function status of ONU. Show command

Show the RSTP function show rstp-state status of ONU

154

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

needs to the executed in the onu view.

155

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

12 LINK AGGREGATION MANAGEMENT


12.1 Introduction to Link Aggregation

CONFIGURATION

The link aggregation, known as port aggregation, aggregates multiple ports to form an aggregation group, so as to share the ingress/egress loads among the member ports of the aggregation group and to provide higher connection reliability. The basic configuration for the ports of an aggregation group must be same, of which, the basic configuration includes port priority, pvid, port vlan mode, vlan configuration, qos (scheduling algorithms, relations between priority and queue), acl (rules of application) VLAN configuration includes: VLAN that is allowed to pass through the port and the default VLAN ID of the port. QoS configuration includes: priority marking, default 802.1p priority, queue mapping, scheduling mode, etc. Port attribute configuration includes: VLAN types (Hybrid port or Ttransparent port, etc.) that must be consistent. ACL configuration: applied ACL list

The port of the smallest port number in the port aggregation group is the main port of the aggregation group, and other ports are the member ports of the aggregation group. Under normal circumstances, the port aggregation does not limit the port rate and duplex mode before the aggregation. But in case of the following circumstances, the system will implement the corresponding operations: For the port at the DOWN state at the initial state, the port rate and the duplex mode will not be limited in aggregation. For the port at the DOWN state at present but was at the UP state and the port rate and duplex mode are designated by negotiation or compulsion, the port rate and duplex mode must be same in aggregation.

For an aggregation group, when the rate and duplex mode of the port in the aggregation group change, the system will not release the aggregation, and the ports in the aggregation group will be in the normal working condition. However, the packet

156

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

loss may happen in the forwarding of the port if the rate of the main port reduces and its duplex mode changes. To ensure the port selection of data stream is under control and the data load balances and other factors, the port selection criteria must be followed to ensure the single data streams uses the same exit as much as possible.

12.2 Link Aggregation Group Configuration


The user can create the aggregation group for port by the following commands. The user can delete any port aggregation group formed, then the port of the aggregation group will completely leave the aggregation group. After the aggregation group of the port is created, the user can manually add/delete member ports. Table 12-1 Link Aggregation Group Configuration Item Enter config View Command config terminal Mandatory The system can configure link-aggregation group a maximum of 32 Create aggregation group-id psc psc aggregation groups with group for port description description each aggregation group composed of a maximum of eight member ports. Modify the path selection strategy of link-aggregation group Optional the aggregation group group-id new-psc psc for port Description

Modify the link-aggregation group description of the group-id new-desc Optional aggregation group for description port

157

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

interface gigabit-ethernet interface-num Enter port View interface pon interface-num interfacex-ethernet (xe1|xe2|xe3) -

Add the current port port link-aggregation to an aggregation group group-id group

Mandatory

Show the configuration relevant show link-aggregation Optional to the aggregation group (group-id | all) group for port

Note: Note: When the aggregation group contains only one port, the port cannot be removed from the aggregation group; if the port has to be removed, it needs to delete the aggregation group.

12.3 Link Aggregation Group Configuration Example


12.3.1 Network Requirement The C8000 uses three ports (GE 9/1 and Ethernet9/3)to aggregate and connect the Switch A, so as to share the ingress/egress load among member ports.

158

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

12.3.2 Network Diagram

GE9

Figure 12-1 Port Aggregation Configuration Example 12.3.3 Configuration Procedure $ Create the port aggregation group 1 C8000#config terminal C8000(config)# link-aggregation group 1 psc 1 description trunk_1 $ Add ports 9/1~9/3 to the link-aggregation group 1 C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)# port link-aggregation group 1 C8000(config)# interface gigabit-ethernet 9/2 C8000(config-if-gigabit-ethernet-9/2)# port link-aggregation group 1 C8000(config)# interface gigabit-ethernet 9/3 C8000(config-if-gigabit-ethernet-9/3)# port link-aggregation group 1

159

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

13 PORT MIRRORING CONFIGURATION MANAGEMENT


13.1 Introduction to Port Mirroring
Port mirroring is to copy the data of the port monitored to the designated monitor port, so as to realizeData analysis and monitoring. Generally, the monitor port is connected with the data monitoring equipment, the administrator can use the equipment to analyze the packet mirrored, to implement the network monitoring and troubleshoot, etc.

Figure 13-1 Port Mirroring

The users can specify the direction of the packet monitored, which can be divided into the following items: Only monitor the packet received by the port(Ingress packet mirroring) Only monitor the packet sent by the port (Egress packet mirroring) Monitor the packet received and sent by the port (two-way packet mirroring)

13.2 Port Mirroring Configuration


C8000 users can use the port mirroring groups to configure port mirroring functions, each port mirroring group is composed a monitor port and several mirror ports. Also, the user can specify the direction of packet being monitored.

160

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: if the traffic being monitored is over the maximum rate of the monitor port, the packet loss may happen. For example, if the 1Gport is used for monitoring the traffic to and from the 10Gport, more attention must be paid to the packet loss. Table 13-1 Port Mirroring Configuration Item Enter config View Command config terminal Description

Create/delete port mirroring mirror-group group-id Mandatory group system can no mirror-group (group-id | The configure a all) maximum of four port mirroring groups Enter port View interface gigabit-ethernet interface-num interface pon interface-num interface (xe1|xe2|xe3) x-ethernet

Specify the port as the monitor-port group-id monitor port of a mirroring group

Mandatory If the monitor port of the mirroring group already exists, the command can be used to modify the monitor port

Configure the port being mirror-port group-id (ingress Mandatory monitored and at the same | egress | ingress-egress) time, specify the direction of the packet being monitored Delete the monitored port being no mirror-group (group-id | Optional all)

161

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Show the port mirroring show mirror-group group information

Under any a view

Note: C8000 supports the cross-board mirror, that is, the monitor port and the port monitored can be located in different service boards. A mirroring group can configure a monitor port. The monitored ports of different mirroring groups should not be the same, that is, one to more port mirroring cannot be made. The monitor port can be free from the effects of the VLAN in the monitoring of packet. The same port can be used as the monitor port and port monitored of different mirroring port groups.

13.3 Port Mirroring Configuration Example


13.3.1 Network Requirement PON port 3/1 is the port monitored, the packet received and sent by the port is monitored PON port 3/4 is the port monitored, the packet received by the port is monitored The service network interface 9/2 is the monitor port to monitor the packets of the PON ports 3/1 and 3/2

162

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

13.3.2 Network Diagram

Figure 13-2 Port Mirroring Configuration Example

13.3.3 Configuration Procedure $ Create the port mirror group 1 C8000#config terminal C8000(config)# mirror group 1 $Designate the service network interface9/2 to be the port mirrored as the mirror port group 1 C8000(config)# interface gigabit-ethernet 9/2 C8000(config-if-gigabit-ethernet-9/2)# monitor-port 1 $ Designate the PON port 3/1 and 3/2 to be the port mirrored as the mirror port group 1 C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)#mirror-port 1 ingress-egress C8000(config)# interface pon 3/4 C8000(config-if-pon-3/4)#mirror-port 1 ingress

163

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

14 MAC ADDRESS CONFIGURATION MANAGEMENT


14.1 Introduction to MAC Address
To accelerate the packet forwarding, the switchi requires maintaining the MAC address forwarding table. The MAC address forwarding table is a layer 2port-based forwarding table and is the basis for the switch to realize the rapid layer 2 message forwarding. The contents of the MAC address forwarding table include: Destination MAC address VLAN ID of the Port Number of the Forwarding Port

The switch can get the two-layer message forwarding port number by the MAC address forwarding table, realizing the rapid forwarding of the two-layer message. The dynamic entries of the MAC address forwarding table are learned by the switch, the learning process is as follows: If a port (Port 1 in the manual) receives a data frame, the switch will analyze the source MAC address (SA1 in the manual) of the data frame and treat that the message with the destination MAC address of SA1 can be forwarded by the port 1. If the MAC address forwarding table contains SA1, the switch will update the corresponding entries. If the MAC address forwarding table does not contain SA1, the switch will add the new MAC address (and the forwarding port of the MAC address) into the MAC address forwarding table as the new entry.

After learning of the source address of the message, the switch starts to forward the message: For the message that the destination MAC address has already existed in the MAC address forwarding table, the system will forward the message by hardware directly. For the message that the destination MAC address does not exist in the MAC address forwarding table, the system will forward the message inside the VLAN where the receiving port is located to all ports except the receiving port, it is

164

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

generally known as the broadcast operation on message.

Figure 14-1 Switch Learning Forwarding

After broadcasting the message, the switch will implement the following actions in accordance with the response message received or not: When the device of the terminal receives the response of the destination device on the broadcast message, it shows that the message has been sent to the destination device normally. The response message will include the MAC address of the destination device, and the device of the terminal will add the MAC address of the destination device to the MAC address forwarding table by address learning. Then the new entries in the MAC address table can be used to directly forward the message to the same destination MAC address. When the device of the terminal does not receive the response of the destination device on the broadcast message, it shows that the message cannot reach the destination device or although the destination device receives the message and no response is not made. Under such circumstances, the terminal cannot learn the

165

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

MAC address of the destination device. Therefore, at the next time when the device of the terminal forwards the message to the same destination MAC address, it will be sent by broadcast. The MAC address forwarding table has the limited capacity, to maximize the use of the address forwarding table, the switching table uses the aging mechanism to update the MAC address forwarding table. In case no message from a network device is received in the aging period of time, the entries of the MAC address table relevant to the device will be deleted. The MAC address aging is invalid to the entries of static MAC address table. The user can manually configure (add or modify) the entries of MAC address table in accordance with the actual situation of the network, the table entries to be added or modified can be the static or dynamic table entries.

Note: Only the unicast address can be learned through the MAC address learning mechanism, the source MAC address is the message of the broadcast address, it will be directly discarded.

In accordance with the characteristics of the MAC address and the different configuration modes, the entries of the MAC address table can be divided into two categories: Static MAC address entry: it can be added and deleted by the user manually and it will not be subject to the aging over time. To a network where the devices change smaller, the user can manually add the static address table entries to reduce the broadcast traffic of the network. Dynamic MAC address entry: it refers to the entries that are subject to the aging over time in accordance with the aging time set by the user. The switch can add the dynamic MAC address table entries by the MAC address learning mechanism, or through the mode manually established by the users.

166

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

14.2 OLT MAC Address Management


14.2.1 Configure the Aging Time of MAC Address Table The setting of the suitable aging time can effectively activate the aging functions of MAC address. Too long or short of the aging time set by the user may affect the two-layer switching performance of C8000. If the aging time set by the user is too long, then the system may save too many outdated MAC address table entries, wasting the MAC address forwarding table resources, thus resulting in that the system cannot update the MAC address forwarding table in accordance with the updates of network. If the aging time set by the user is too short, the system may delete the effective MAC address table entries, reducing the efficiency of forwarding. Table 14-1 Configure the Aging Time of MAC Address Table Item Enter config View Command config terminal Mandatory Configure the Aging Time of MAC Address age (aging-time|no-aging) Table In unit of second, by default, the aging time is 300s Description

The command is the system configuration command, effective for all ports. The aging mechanism has only affected on the dynamic (learnt or configured) MAC address table entries. Under normal circumstances, it is recommended to use the default value of aging time of 300 seconds. Using the parameter of no-aging refers to no aging on the MAC address table entries.

Note: For the MAC address added into MAC address table by learning, the aging must be completed in the second cycle of the aging cycle.

167

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

14.2.2 Configure the MAC Address Table Entries The administrator can manually add and delete the entries in the MAC address forwarding table in accordance with the actual situation. It can delete all MAC address table entries relevant to a port, a MAC or a VLAN, and can also specify the dynamic table entry or static table entry, or can empty the entire MAC address table for re-learning. Table 14-2 MAC Address Table Entries Configuration Item Enter View config config terminal Command mac vlan Mandatory Description

Add the MAC mac-addr (static | dynamic) address table mac-address port interface-number entries vlan-id no mac-addr (static mac-address | dynamic)

mac

Delete the MAC address no mac-addr (static | dynamic)port table entries of interface-number a type no mac-addr (static | dynamic) vlan vlan-id

Empty MAC no mac-addr all address table

Note: In deleting the MAC address table entries, if the static address table entries are deleted, the dynamic addresses in line with the relevant requirements will be deleted, that is, in deleting the static address table entries, either the static or dynamic address table entries may be deleted.

168

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

14.2.3 Show MAC Address Table Configuration After the above configuration is completed, the show command, the MAC address forwarding table and the MAC address aging time can be executed in any a view. By checking the display information, the user can verify that the configuration results. Table 14-3 Show MAC Address Table Configuration Item Show MAC address table entries Command show mac-addr vlan all | vlanid Description

Show the aging time for dynamic address table show age entries

Applicable in any a view

14.2.4 OLT MAC Address Management Configuration Example 14.2.4.1 Network Requirement Set the aging time of the dynamic MAC address entry of the C8000 OLT port to 500 seconds and add the static address of 00:1f:a2:70:dc:81 to the service network interface 3/1 in the VLAN10. Show all MAC address table entries of the OLT terminal.

14.2.4.2 Network Diagram

Figure 14-2 MAC Address Configuration

169

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

14.2.4.3 Configuration Procedure $ Set the aging time of the MAC address entry to 500 seconds C8000#config terminal C8000(config)# age 500 $ Add the static address of 00:1f:a2:70:dc:81 to the service network interface PON3/1 in the VLAN10. C8000(config)# mac-addr static mac 00:1f:a2:70:dc:81 port 3/1 vlan 10 C8000(config)# show mac-addr vlan all Index MacAddr VLAN State Dest-port

------------------------------------------------------------------1 2 3 00:1f:a2:70:dc:81 00:1a:69:70:11:09 00:1a:69:70:10:af 10 3 1 static dynamic dynamic 3/1 10/1 10/3

14.3 ONU MAC Address Management


14.3.1 Configure the Aging Time of MAC Address Table Table 14-4 Configure the Aging Time of MAC Address Table of ONU Item Enter config View Enter onu View Command config terminal interface onu interface-num Mandatory interface-num refers to the ONU number Configure the Aging Time of age seconds MAC Address Table of ONU Mandatory seconds refers to the aging time, in unit of second, by default, the Description

170

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

aging time is 300s Restore the aging time of the no age MAC address table of ONU to the default configuration Show the aging time of ONU show age MAC address table 14.3.2 Empty the ONU MAC Address Table Table 14-5 Empty the ONU MAC Address Table Item Enter config View Enter onu View Command config terminal interface onu interface-num Mandatory interface-num refers to the ONU number Empty the ONU MAC Address Table mac-addr flush Description Optional

Optional, for inspecting the configuration

14.3.3 ONU MAC Address Management Configuration Example 14.3.3.1 Network Requirement Implement the management on the MAC address of ONU A. It is assumed that ONU A has been connected with No.1 PON of No.1 slot and the authorization has been made. 14.3.3.2 Topology

171

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 14-3 ONU MAC Address Management Topology

14.3.3.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter ONU View C8000(config)# interface onu 1/1:1 $ Set the actual aging time of the MAC address of ONU A to 180 seconds C8000(config-if-onu-1/1:1)#age 180 $ Empty the MAC address table of ONU A C8000(config-if-onu-1/1:1)#mac-addr flush

14.4 Restriction on ONU Port MAC Address


The restriction on ONU port MAC address learning is for limiting the number of the devices attached to the ONU port, when the number of the learning entries reaches the configuration values, the port will be unable to learn new MAC address and start to time until it reaches the aging time limited by the port MAC address, until then, all MAC addresses of the port will be aged and the re-learning will begin. Table 14-6 Configure the Restriction on ONU Port MAC Address Item Enter config View Enter onu View Command config terminal interface interface-num onu Mandatory interface-num refers to the ONU number Configure number of the onu portmac address restricted port mac-limit (all | Mandatory uniid) mac-limit refers to restricted mac-limit the number Description

Configure the aging time of port mac-limit-age Optional, seconds refers to onuportmac address seconds the aging time, in unit of

172

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

restriction

second, by default, the aging time is 300s

Show the onu portmac show port mac-limit Optional, for inspecting address restriction the configuration (all | uniid) Show the aging time of show onuportmac address mac-limit-age restriction port Optional, for inspecting the configuration

14.4.1 ONU Port MAC Address Restriction Configuration Example: 14.4.1.1 Network Requirement Implement the management on the MAC address of ONU A. It is assumed that ONU A has been connected with No.1 PON of No.1 slot and the authorization has been made. 14.4.1.2 Topology

14-4 ONU MAC MAC Address Management Topology

14.4.1.3 Configuration Procedure $Enter config View C8000# configure terminal $Enter ONU View C8000(config)# interface onu 1/1:1 $ Configure the MAC address restriction of the port1 of the ONU A to 20

173

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-if-onu-1/1:1)#port mac-limit 20 $ Configure the MAC address of port1 of ONU A to reach the upper limit and to set the timeout of re-learning of 60 seconds C8000(config-if-onu-1/1:1)# port mac-limit-age 60

174

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

15 QOS CONFIGURATION MANAGEMENT


15.1 Introduction to QoS
15.1.1 Traffic Traffic is the service traffic, the packets passing through the current packet. 15.1.2 Traffic Classification The traffic classification is to apply the suitable rule to identify the packets with the consistent characteristics. The classification rule is very simple, for example, the traffic with different priority characteristics can be identified in accordance with the TOS field at the head of the IP packets; the classification rule can also be very complex, for example, the packet classification can be made in accordance with the integrated data link layer (L2), network layer (L3), transport Layer (L4) such as MAC address, IP protocol, source address, destination address, source port number, destination port number. See "ACL Configuration Management" for details. 15.1.3 Priority Priority is in the packet, providing the basis for the network equipment for QoS management. The priority includes 802.1p priority, IP priority, TOS, DSCP, etc. In this chapter, only the concept of 802.1p priority is introduced. 802.1p priority is located at the head of the two-layer packet, suitable for the circumstances of two-layer assured QoS. Figure 15-1 shows the Ethernet data frame structure with 802.1Q tag.
VLAN Tag

DA

SA

TPID

Priority

CFI

VLAN ID

Type

DATA

Figure 15-1 Ethernet Frame with 802.1QTag Header The 4-byte 802.1Q tag header contains a 2-byte tag protocol ID (TPID) and a 2-byte Tag Control Information (TCI). The priority field of the TCI bytes is the 802.1p priority, which consists of three bits. The range of the priority field is of 0 ~ 7. The three bits refer to the specified frame priority. There are a total of eight kinds of priorities, mainly for QoS management in case of switching equipment congestion.

175

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The name of the 802.1p priority is because the applications of such priorities are defined in the 802.1p specification in detail. In addition, the local priority is the common concept. The local priority refers to the priority of the outputted queue of the port, with the range of 07, corresponding to the outputted queue of the port. 15.1.4 Priority Re-tagging The priority re-tagging function is subject to the traffic identification by the introduction of ACL, for re-designating the priority for the matched packet. See ACL Configuration Management" for details. 15.1.5 Packet Filtering The packet filtering is to filter the service traffic, for example discarding, which will discard the service traffic in line with the traffic classification rule and allow the passing of all traffics. C8000 can filter a variety of information for the service traffic and discard the useless, unreliable and questionable service traffic, thereby enhancing the network security. The application of the ACL to port can realize the function of packet filtering, see "ACL Configuration Management" for details. 15.1.6 Traffic Policing If the traffic sent by the user is not restricted, a large number of unexpected burst data of users will make the network be more congested. In order to make full use of the limited network resources and server more users in a better way, it must restrict the traffic of users. For example, restrict the traffic at an interval, so as to give the resources assigned, thus preventing the network congestion caused by emergencies. Traffic policing is a strategy for limiting the traffic and the resources by the supervision on the traffic specification. The traffic policing must be based on the information that whether the traffic has exceeded the specification, only in this way, the traffic policing can be made in accordance with the assessment results. Generally, the token bucket is used to evaluate the specification on traffic. The token bucket can be taken as the container for storing token, the bucket must have the suitable capacity. The system will place the token to the bucket at the set rate. When the bucket is full of the tokens, no more tokens can be placed and the extra tokens may overflow.

176

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The parameter of the token bucket for settings in assessing the traffic includes: Average rate: the rate for placing the tokens to the bucket, that is, the allowable average rate of the traffic, in CIR usually (Committed Information Rate). Burst Size: token bucket capacity, namely, the allowable maximum traffic size of each burst, IN CBS (Committed Burst Size) usually. The burst size set must be larger than the maximum packet length. EBS (Excess Burst Size) Once there is a packet, an evaluation must be made. For the evaluation of each time, ensure the bucket has enough tokens available, that is to say, the traffic control is in the permitted scope; under such circumstances, take away the tokens with the number equal to the packet forwarding authority from the bucket; or it indicates that too many tokens have been consumed, then the traffic is exceeded. 15.1.7 Congestion Management When the network in involved into the severe congestion and the total traffic of the network device is over its link bandwidth, the data frame has to be discarded, the network device has to use the strategy to prevent and control the network congestion, thus ensuring the smoothness of the network and providing some QoS; therefore, the strategies are the congestion control strategies. IEEE802.3x defines an Ethernet control frame (PAUSE frame) to carry out congestion control, which can implement the PAUSE traffic control configuration for sending and receiving directions. When the sending PAUSE of the port for traffic receiving is enabled, under such circumstances, if the network traffic entered cannot be processed in a timely manner, the PAUSE flow control frame will be sent to the port for traffic receiving at the opposite terminal. When the response of the port for traffic sending to the PAUSE frames is enabled, the port for sending at receiving the PAUSE frame will reduce the traffic sent out, thus preventing the congestion of the port for traffic receiving at the opposite terminal. See "OLTport Configuration Management" for details.

15.2 Queue Scheduling


In case of network congestion, the problem that multiple packets compete for a port in resource sending must be resolved, usually, the Queue scheduling is used.

177

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

15.2.1 Strict Priority Scheduling SP queue scheduling algorithm is designed for the critical service applications, particularly suitable for delay, delay jitter-sensitive applications. The critical service has an important service, that is, in case of congestion, the priority for enjoying the services first must be given to reduce the delay in response. Taking the port that has 8 output queues as example, the priority queue will classify the 8 output queues of the port into eight categories, in 7,6,5,4,3,2,1 and 0 queues respectively, their priorities are lowered one by one.

Figure 15-2 SP Scheduling SP scheduling algorithm is to send the groups in the queues of high priority in strict accordance with the order from high priority to low priority, when the high priority queue is empty, it will send the groups in the low priority queue. Placing the groups of non-critical services (such as E-Mail) into the queue of low priority can ensure the groups of critical services can be transmitted at first, the groups of non-critical services then will be send at the idle interval in processing the critical services. Weaknesses of SP are as follows, in case of congestion, if the high priority queue is occupied by groups for a long time, then the packets in the low priority queue will be wasted due to the lack of services. 15.2.2 Round Robin (RR) Scheduling RR(Round Robin)queue schedules the available bandwidth resources equally divided in each outputted queue of each port, because the opportunity for sending the queue is equal, the scheduling is unable to ensure that the service of higher priority can enjoy the service first.

178

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 15-3 RR Scheduling 15.2.3 Weighted Round Robin(WRR) Scheduling The WRR queue scheduling algorithm is the round robin scheduling between queues, so as to ensure each queue can get a certain amount of service hours. Taking the port with eight priority queues as example, WRR can configure a weighted value for each queue(w7, w6, w5, w4, w3, w2, w1 and w0 respectively), the weighted value refers to the proportion of resources obtained. For example, to the 100M port, it can configure the weighted values for the WRR queue scheduling algorithm to be 50,50,30,30,10,10,10 and 10 (corresponding to w7, w6, w5, w4, w3, w2, w1and w0 respectively), in this way, it can ensure that the queue of the lowest priority can get the bandwidth of 5Mbit/s, resolving the shortcoming that the packets in the low priority queue may not get the services for a long time in the application of SP scheduling.

Figure 15-4 WRR Scheduling The advantages of the WRR scheduling are that, although the scheduling of multiple queues are subject to the round robin, for each queue, the service time slice is not allocated fixedly, if a queue is empty, the next queue scheduling is switched to, in this way, the bandwidth resources can be fully utilized.

179

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

15.2.4 Scheduling combined with Strict Priority and Weighted Round Robin (SP + WRR) SP + WRR scheduling algorithm combines the advantages of SP algorithm and WRR algorithm, for some outputted queue (such as the packets of network control protocol, TDM services and other corresponding queues), the SP scheduling is applied to ensure the delay, jitter and other QoS features of critical services; for the services of other priorities, the WRR scheduling mechanism is applied for making full use of bandwidth resources.

15.3 Configuring the QoS


The section of the manual only introduces the "Queue priority mapping" and "Queue scheduling", for other information, please refer to "OLT Port Configuration Management", "ONU Configuration Management" and "ACL Configuration Management". 15.3.1 Configuring the OLT QoS The OLT port of the C8000 supports 8 output queues, and the queue mapping and queue scheduling operations are made in accordance with the 802.1p priority of the packet. The C8000 OLT terminal supports the queue scheduling algorithms of SP, RR,WRR and SP+WRR. 15.3.1.1 Queue Priority Mapping As shown in Figure 15-2 and Figure 15-4, before the packet enters the ports and outputs the queue, the priority classification must be made first, and then the packets are sent to the output queues of different priorities in accordance with the classification. In the C8000 system, the packet classification is based on 802.1p priority (or known as cos), the type of output queue that the message with a certain priority is to be sent is designated in accordance with the queue priority mapping. Note: for the tag without 802.1Q into the port, that is, the packet without VLAN Tag, the system provides a default VLAN Tag. The tag uses the default VLAN ID of the port as the value of the VID field and uses the default priority of the port as the value of the 802.1p priority field. The packet scheduling in the system follows the default priority. Through the following configurations, the user can configure the mapping between queue priorities.

180

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Table 15-1 Queue Priority Mapping Configuration Item Enter config View Command config terminal Interface gigabit-ethernet interface-num Enter port View interface interface-num interface (xe1|xe2|xe3) pon Optional Description

x-ethernet

qos map-queue Configure "cos-> pri0-queue pri1-queue Output Queue" pri2-queue pri3-queue mapping table pri4-queue pri5-queue pri6-queue pri7-queue Configure default priority Show configuration the port priority prio

Mandatory prii-queue refers to map the packet with the COS of i to outputted queue number of 0 ~ 7 Optional Use in a port view

the show interface-num

port-qos

Note: When the qos map-queue command is used in the port view, it is only valid in the current port; In the config view, it will affect all OLT ports of the system. By default, the packet with the COS of 0 is mapped to queue 0, the packet with the COS 1 is mapped to queue 1, and so on, the packet with the COS of 7 is mapped to queue 7. The command can take effect only when it is in the port receiving the packet, that is, at the ingress of the packet.

181

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

15.3.1.2 Queue Priority Scheduling Operation The OLT terminal of C8000 supports the queue scheduling methods of SP, RR, WRR and SP + WRR, see Section 15.1.8. for details. Table 15-2 Queue Scheduling Configuration Item Enter View config Command config terminal interface gigabit-ethernet interface-num Enter View port interface pon interface-num interface (xe1|xe2|xe3) Configure queue scheduling mode x-ethernet Optional Description

qos sched (strict|rr|wrr q0-weight q1-weight q2-weight q3-weight q4-weight q5-weight q6-weight q7-weight)

Mandatory prii-queue refers to the weighted value in outputting queue i with the range of 0~15

Show the show port-qos interface-num configuration

Note: When the qos sched command is used in the port view, it is only valid in the current port; In the config view, it will affect all OLT ports of the system. The qos sched command can take effect only when it is in the port of sending packets, that is, in the port of egress. When the scheduling is wrr, if the weighted value of the outputted queue is 0, it indicates that the strict scheduling must be applied to the queue; under such circumstances, the scheduling method is SP + WRR. The weight ratio of queue is the weighted value of the queue/ the sum of the weighted values of all queues.

182

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

By default, queue scheduling mode is SP + WRR. By default, the weight weighted values of queues 0-5 are 1,1,1,2,2 and 3 with the weight ratio of 10%, 10%, 10%, 20%, 20% and 30%; the weighted value of queues 6 and 7 is 0, that is, the strict scheduling is applied. In case of congestion when the port sends the queue, if the queues 6 and 7 have packets, the packets of the queues will be sent first, after that, the WRR scheduling may be applied on the other six queues.

15.3.1.3 OLT QoS Configuration Example

15.3.1.3.1 Network Requirement


Classify the packets into the uplink port 3/1, the mapping between the 802.1p priority (COS) and the output queue is as follows: 0>21>02>13>34>45 >56>67>7. Set the scheduling mode of the GE port9/1 into the weighted round robin scheduling, and the weights are 10,5,10,10,5,10,5 and 10 respectively.

15.3.1.3.2 Network Diagram

Figure 15-5 Port Mirroring Configuration Example

15.3.1.3.3 Configuration Procedure


$ Configure the queue priority mapping of the packet ingress PON3/1 C8000#config terminal

183

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)# qos map-queue 2 0 1 3 4 5 6 7 $ Configure the queue scheduling of packet egress GE9/1 C8000(config)# interface gigabit-ethernet 9/1 C8000(config-if-gigabit-ethernet-9/1)# qos sched wrr 10 5 10 10 5 10 5 10 15.3.2Configure ONU QoS 15.3.2.1 Queue Priority Mapping Operation Table 15-3 Queue Priority Mapping Operation Item Enter config View Enter onu View Command config terminal interface interface-num onu Mandatory interface-num refers to the ONU number Configure the relations qos map-queue pri Mandatory of ONU queue priority queue pri: Priority mapped of "0-7" mapping queue : Queue mapped of <0-3> Description

15.3.2.2 Queue Priority Scheduling Operation The queue scheduling methods of the ONU terminal of C8000 are SP and WRR, see Section 15.1.8. for details. Table 15-4 Queue Priority Scheduling Operation Item Enter config View Command config terminal Description

184

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Enter onu View

interface onu interface-num

Mandatory interface-num refers to the ONU number

Configure the ONU qos shced mode(sp | wrr) queue scheduling mode

Mandatory

Note: ONU of M3 series does not support the WRR scheduling temporarily.

Configuration example: 1Network Requirement Configure the QOS of the ONU A. It is assumed that ONU A is connected to No.1 PON of the No.1 slot and the authorization has been given. 2Topology

Figure 15-6 ONU QOS Topology

3Configuration Procedure $Enter config View C8000# configure terminal $Enter ONU View

185

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config)# interface onu 1/1:1 $ Configure the mapping between the queue and priority of ONU A C8000(config-if-onu-1/1:1)#qos map-queue 2 3 $ Configure the queue scheduling of ONU A to be the strict priority scheduling C8000(config-if-onu-1/1:1)#qos shced mode sp

186

16 ACL CONFIGURATION MANAGEMENT


16.1 Introduction to ACL
ACL (Access Control List) is to realize the packet filtering by configuring the matching rules and processing operations of packets. The network device needs to configure a series of matching rules for filtering packets, so as to identify the packets to be filtered. After the particular packets are identified and classified, the processing on the corresponding data packet in accordance with the pre-set processing mode can be made; the processing mode can allow or forbid the passing of data packets. The data packet matching rule defined by the ACL can be used by other functions that require distinguishing flows, such as the definition of the flow classification rules in QoS. Depending on application purposes, the ACL can be divided into the following categories: Standard ACL, range of 1-2000. The rule is developed only in accordance with the source IP addresses of the data packet. Extended ACL, range of 2001-5000. The rule is developed in accordance with source IP address of the data packet, destination IP address, protocol type of the IP, source protocol port, destination protocol port, IP service type and other layer 3 or layer 4 information. Link-layer ACL, range of 5001-8000. The rule is developed in accordance with source MAC address of the data packet, destination MAC address, two-layer protocol type, VLAN and other two-layer information. In the ACL of the type, only one rule can configure a matching rule. User-defined ACL, range of 8001-10000. The ACL in fact is the random matching of 80 bytes of the header by the use of wildcard characters. (Not support)

You do not need to specify the type while creating the ACL, the scope has determined the type. You can set the effective time for the ACL, that is, when the ACL is applied to the port, it can be effective only in the effective time, in case no effective time is set, it will be effective when it is applied to the port.

187

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The wildcard characters in ACL are opposite to the common IP subnet mask. The wildcard characters are the bit sequence with specified length, of which, when the bit is 1, indicating that no matching is needed, when the bit is 0, the matching is required. ACL Matching Order ACL may contain multiple rules and each rule may specify the different ranges of packets. If so, the order of matching in rules exists in the message matching. To facilitate the management and the matching order of the multiple rules of ACL, group the ACL rules, in each group, the ACL rulers have the relative priority with the range from 1 to 16, the higher the value is, the lower the priority is, the group with higher priority must be matched first. In case the two groups with the same priority, the matching is made based on the increasing sequences of the ID of the groups. ACL rule group can have a maximum of 16 rules; such rules can be matched base on the increasing sequences of the IDs of the rules. In the manual, the ACL rule group is called as ACL list and the ACL rule is called as rule.

16.1.1 Mode of Application of ACL in OLT Apply the defined rule on OLT to ge or pon interfaces to realize the data packet streaming and processing. For the rule definition, it must first create and define the rule list, that is, the ACL list and then create the rule in the ACL list. After the rule is created, it needs to define one or more matching conditions for the rule and the corresponding processing. The ports that the rules are applied are in the unit of ACL list.

16.2 ACL Configuration


16.2.1 Configuring the ACL list 10, 000 ACL lists to the maximum and each list has the following attributes:

188

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

List Number (ID): for uniquely identifying the ACL list, with the scope from 1 to 8000, when the priorities of multiple ACL lists are the same, the matching order can be determined in accordance with the ID, the ACL list with the smaller ID can be matched first. The ID is specified when creating the ACL list, which cannot be modified. Number of Rules: the rules in an ACL list Priority: When more than one ALC lists are applied to a port, the priority can determine their matching order. Name: to describe the ACL list. Applied or not: to identify whether the rule has been applied to the interface or not. Application interface list: the interface list where the ACL list has been applied, if no ACL list is applied, then the interface list is empty.

Where the priority and the name can be configured by the user after the ACL list is created, but the priority can only be modified when the ACL list is not applied to any an interface.

16.2.1.1 Create and Delete the ACL Rule Group Carry out the following operations under the config view: Table 16-1 Create and Delete the ACL Rule Group Item Command Description The second parameter is the optional one, not less than the first parameter. Create ACL acl listid [greater- Entering two parameters refers to create the rule groups listid] rule groups in bulk. If there is only one parameter or two parameters are equal, then enter ACL View. Delete ACL no acl all rule group The rule groups that have been applied to the port cannot be deleted.

189

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

no acl listid The second parameter is the optional one, not [greater- listid] less than the first parameter. Entering two parameters refers to delete the rule groups in bulk

16.2.1.2 Configure ACL Rule Groups Carry out the following operations under the ACL view: Table 16-2 Configure ACL Rule Group Item Command Description For the rule groups that have been applied to the port, the priorities cannot be set. The default priority is 1.

Set the priority of ACL priority pri rule groups

The name includes a maximum of 64 Set the name of ACL characters. The default name of description string rule groups ACL_xxxx, xxxx is the ID of the rule group.

16.2.1.3 Show the ACL Rule Groups The operation of showing the ACL rule groups can list all properties of the rule groups and all rules of the rule groups. Table 16-3 Show ACL Rule Group Item Command Description Show the current rule groups. Show the rule show acl group in acl view.

Show the ACL show acl (listid | all) rule groups in

Show all rule groups and the specified rule groups.

190

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

view, enable, config views 16.3 ACL Rule Configuration ACL rules need to be created and configured under the ACL view, an ACL view corresponds to ACL rule groups. The configuration command under the ACL view is specifically for the current ACL rule group. An ACL rule group has a maximum of eight rules, each rule has the following attributes: Rule Number (ID): for uniquely identifying the rules in the rule groups, with the range from 1 to 8. In a rule group, the number is used for the matching order of rules, the smaller the number is, the earlier the matching is. The rule number is specified in creating, no further modification is allowed. Matching conditions: a rule can contain multiple match conditions, the data packets can be regarded to be matched with the rules only consistent with all conditions. If the matching conditions are not defined, it needs to carry out the matching processing on the inputted data packets. Matching processing action: it needs to process the data packets in line with all conditions; one rule corresponds with one processing action. If the matching processing action of the rule is not defined, the rule will not affect the processing of the data packets. When the ACL rule group has been applied to the port, the configuration on the port of the rule group cannot be made, for example, create rules, and modify the matching conditions and matching processing action of the rules that have been created. For the configuration of the rule, it needs to create the rules first and then set the matching conditions and matching processing action. The matching conditions that available for setup are as follows: source MAC address, destination MAC addresses, Ethernet type (for example, ARP, PPP, RARP, etc.), destination IP address, source IP address, IP type (eg, ipv4, ipv6, etc.), IP packet protocol type (such as TCP, UDP, ICMP, etc.), VLAN ID, 802.1P priority, IP priority, DSCP, L4-source protocol port, L4 destination protocol port and others. The matching processing actions available for setup are as follows: enter the specified outputted queue, modify the 802.1P priority, modify the IP priority, modify the DSCP, discard, allow the passing, etc.

191

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

16.3.1 Create and Delete Rule Carry out the following operation under the ACL view: Table 16-4 Create and Delete the Rules Item Command Description The second parameter is the optional one, not less than the first parameter. Create Rules rule ruleid [greater-ruleid] Entering two parameters refers to create the rule groups in bulk. The second parameter is the optional one, not less than the first parameter. [greater-ruleid] Entering two parameters refers to delete the rule groups in bulk

no rule all Delete the Rules no rule ruleid

Configure the Rule Matching Conditions Carry out the following operation under the ACL view: Table 16-5 Configure the Rule Matching Conditions Item Command Description match MAC: source MAC address to be matched match MAC: destination address to be matched MAC

Match the source rule ruleid MAC address src-mac MAC Match destination address the rule ruleid MAC dst-mac MAC

Match the source rule ruleid match IP address src-ip ipaddress/M

M refers to match the given IP addresses from high to low.

192

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Such as 192.169.12.5/24, refers to all data packets with the source IP address of 192.168.12.xxx. M refers to match the given IP addresses from high to low. Such as 192.169.12.5/24, refers to all data packets with the source IP address of 192.168.12.xxx.

Match destination rule ruleid match IP address dst-ip ipaddress/M

The specific rule matches with any a cvlan of the number of rule ruleid match cvlan the specific customer service levels any cqos cqos-num<0-7> cqos-num: service level client with the range of 0-7 of

rule ruleid match cvlan The specific rule matches with vlan-id<1-4094>cqos the specific cvlan of the number cqosnum<0-7> of the specific service levels rule ruleid match cvlan The specific rule matches with vlan-id<1-4094>endvlan-i the cvlan in the regulated scope d<2-4094> The specific rule matches with rule ruleid match svlan any a svlan of the number of any sqos sqos-num<0-7> the specific local service levels The specific rule matches with rule ruleid match svlan the specific svlan of the number vlan-id<1-4094>sqos of the specific local service sqosnum<0-7> levels rule ruleid match svlan The specific rule matches with vlan-id<1-4094>endvlan-i the svlan in the regulated scope d<2-4094> Match the source rule ruleid match The second parameter is the

Match VLAN Type

193

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

protocol number

port src-port (max-port)

min-port optional one, not less than the first parameter. Entering two parameters refers to match the data packets from min-port to max-port.

Match destination protocol number

The second parameter is the optional one, not less than the the rule ruleid match dst first parameter. -port min-port port Entering two parameters refers max-port to match the data packets from min-port to max-port.

rule ruleid match Match the protocol eth-type (ip | arp | rarp | type carried by the snmp | ipv6 | ppp | Ethernet frames ppp-disc | ppp-session) rule ruleid match Match the protocol ip-protocol (icmp | igmp | type carried by IP tcp | egp | udp) rule ruleid match ip-type Match the type of (non-ip | non-ipv4 | ipv4 | the IP data packet non-ipv6 | ipv6) Match the 802.1P rule ruleid match qos qos priority rule ruleid ip-precedence ip-precedence qos range :0-7.

match ip-precedenc range : 0-7

Match IP priority

Match priority

DSCP rule ruleid match dscp dscp range : 0-63 dscp

16.3.2 Configure the Rule Matching Action Carry out the following operation under the ACL view:

194

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Table 16-6 Configure the Rule Matching Processing Action Item Command action (permit | Description

Allow and prohibit the rule ruleid data packets deny) Modify the 802.1P priority rule ruleid pri packets

action new-qos pri range : 0-7

rule ruleid Modify the IP priority of new-ip-precedence data packet ip-precedence Modify the DSCP priority rule ruleid of data packet new-dscp dscp Enter the specified rule ruleid outputted queue set-queue queueid

action ip-precedenc range : 0-7

action dscp range : 0-63

action queueid range : 0-7

16.3.3 Show Rule In showing the AL rule group, all rules of the rule group will be shown, see 16.2.1.3.

16.4 Applying the ACL Rules to the Port After the ALC rule is defined, the traffic classification and the processing action on the data packets can be made after it is applied to the port. The application of the ACL rules to the port is made in rule group. The rule groups without defining any rules cannot be applied to the port. A rule group can be applied to multiple ports and a port can be applied to multiple rule groups. The matching order of rules must be made in accordance with the rules of Section 16.1.1. 16.4.1 Apply and Release the Rules to Port Carry out the following operation under the ge, pon, xe view: Table 16-7 Configure the Rule Matching Processing Action

195

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item

Command

Description

Application of ACL rule groups packet-filter listid to the current port Release the application of no packet-filter (all | listid) ACL rule groups to the current port

16.4.2 Show the rule groups applied on the port Carry out the following operation under the config, ge, pon, xe view: Table 16-8 Configure the Rule Matching Processing Action Item Command Description Show all rule groups applied to all ports of the system in view, enable, config view. Show all rule groups applied to current ports in ge, pon, xe view.

Show the ACL rule groups show packet-filter applied to the port

16.5 ACL Configuration Example 16.5.1 Network Requirement Through the ACL, modify the 802.1P priority of the packet meeting the following requirements to 6: sent by the host with the IP of 10.1.1.1, with the VLAN tag range between 200 to 210 and the port number of 1234.

196

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

16.5.2 Network Diagram

PC1 10.1.1.1 PON

pon4/2 Internet

C8000 PC2

Figure 16-1 Typical ACL Configuration Example 16.5.3 Configuration Procedure Create the ACL list $Enter config View C8000# configure terminal $ Create the rule group of 1000 and enter the acl 1000 view C8000(config)# acl 1000 Create the rule $ Create the rule 2 C8000(config-acl-1000)#rule 2 Configure the rule matching conditions $ Configure the matching source IP address of rule 2 to 10.1.1.1 C8000(config-acl-1000)#rule 2 match src-ip 10.1.1.1/32 $ Configure the matching cvlan range of the rule 2 from 200 to 210 C8000(config-acl-1000)# rule 2 match cvlan 200 210 $ Configure the matching destination port number of rule 2 to 1234 C8000(config-acl-1000)#rule 2 match dst-port 1234

197

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the rule processing action $ Configure the processing action of rule 2 to as follows: modify the 802.1P priority to 6. C8000(config-acl-1000)#rule 2 action new-qos 6 Apply the rule group to port $ Exit from acl View C8000(config-acl-1000)#quit $Enter pon 4/2 View C8000(config)# interface pon 4/2 $ Apply the rule group of 1000 to PON 4/2 C8000(config-if-pon-4/2)#packet-filter 1000

17 LAYER 3 STATIC ROUTER MANAGEMENT


17.1 Introduction to L3 Static Router

In the IP network, the parties for communications may not in the same network segment; under such circumstances, the router must be used for resolving the problem. Generally, in addition to the router, many switches have the L3 function, that is to say, many switches have the functions of L3 router. The C8000 is a two-layer device, no route switching can be achieved. To solve the above problem, the C8000 is provided with the function of the L3 router. The L3 router of C8000 is a static router, mainly translating between VLANs so as to realize the functions of the L3 router. The C8000 can configure an IP address for each VLAN, the host in the VLAN can use the IP address of the VLAN as its gateway; by the setup of the static router, the route switching can be realized inside the C8000.

198

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

17.1.1 Network Requirement When host A and host B are in different network segments, host A is connected with C8000 by onu, the service network interface of the C8000 is connected with the router and then it is routed to 189.40.35.0 network segment by the router. Connection description is as follows: 1) Set the IP of host A to 192.168.80.88/24, connect host A with the Lan 1 interface of 0400 ONU. 2) Set the Lan port of ONU to the transparent mode and then connect with 1/1PON port of the C8000 3) Connect the C8000 with the port1 of the router by 3/1. 4) Connect the router with the network segment of 189.40.35.0/24 by port2. 17.1.2 Network Diagram

Figure 17-1 Typical Layer 3 Router 17.1.3 Configuration Procedure Configuration instructions:

199

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

1) Set the VLAN mode of ONU to the transparent mode with the view to transmitting all data of PC and C8000 in the transparent mode. 2) Open the master L3 switch of C8000. 3) Add VLAN 5 to C8000, and set the IP address of L3 interface to 192.168.80.1/24, and add PON port 1/1 to the VLAN, set the vlan mode of the VLAN to the untagged mode and the pvid to 5, with the view to ensuring the data without vlan from the PC transmitted in the transparent mode can enter the C8000. 4) Add VLAN 6 to the C8000 again, and set the IP address of L3 interface to 192.168.70.1/24, and at the same time, add the service network interface 3/1 to the VLAN, set the vlan mode of the VLAN to the untagged mode and the pvid to 6, with the view to ensuring the data without vlan from the router can enter the C8000. 5) Set the IP address of the port 1 of the router to 192.168.70.2/24 and set the IP address of the port 2 to 189.40.35.1/24. 6) Add a static router to the C8000, set the address of the next hop device access to the 189.40.35.0 network segment to 192.168.70.2/24, that is, when the destination address is the 189.40.35.0 network segment, it will be handed over to 192.168.70.2/24 port. 7) Add a static router to the router, set the address of the next hop device access to the 192.168.80.0 network segment to 192.168.70.1/24, that is, when the destination address is the 192.168.80.0 network segment, it will be handed over to192.168.70.1/24 port. At the same time, configure the rule for the translation between the 189.40.35.0 network segment and the 192.168.70.0 network segment on the router. In this way, the HOST A can be connected with HOST B by ping, by the twice L3 switching through the C8000 and the router, the data of both sides can be connected with each other.

Configuration Procedure $ Set the L3 to the enable mode C8000(config)# l3-interface enable $ Configure vlan5, set the IP address, add the pon port to the vlan and set the pvid C8000(config)# vlan 5 C8000(config-vlan-5)#l3-interface ip-address 192.168.80.1 255.255.255.0 C8000(config-if-pon-1/1)#port pvid 5 C8000(config-if-pon-1/1)#port vlan 5 untagged $ Configure vlan6, set the IP address, add the pon port to the vlan and set the pvid C8000(config)# vlan 6

200

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-vlan-6)#l3-interface ip-address 192.168.70.1 255.255.255.0 C8000(config-if-gigabit-ethernet-3/1)#port pvid 6 C8000(config-if-gigabit-ethernet-3/1)#port vlan 6 untagged $ Add the static router C8000(config)# ip route-static 189.40.35.0 255.255.255.0 nexthop-ip 192.168.70.2 Command line of the router: $ Add the static router Router(config)# ip route 192.168.80.0 255.255.255.0 192.168.70.1

201

18 MULTICAST CONFIGURATION MANAGEMENT


18.1 Introduction to Multicast
There are three kinds of message transmitting in the network: Unicast, Broadcast and Multicast. The Unicast mode is applicable to the network with fewer users and the Broadcast mode is applicable to the network with more users, but the two modes have the common ground that when the user quantity in the network requiring the certain information is uncertain, the two modes are inefficient. And the Multicast mode can resolve the problem. When some users in the network require specific information, the Multicast message sender (ie, Multicast Source) only sends the message once, with the Multicast Routing Protocol, the tree router for the Multicast data packet is established to copy and distribute the message to be transmitted at the node where is close to the client as much as possible. The point-to-multipoint network architecture of EPON supports the Multicast protocol and is the best access means for the video Multicast service. Therefore, the use of the Multicast features of the network to provide some new value-added services is allowed in the EPON system, including online broadcasting, Internet TV, remote education, telemedicine, Internet radio stations, real-time video conferencing and other Internet information services.

18.1.1 Multicast Frame The parts in the Multicast mode can be divided as follows: "Multicast Source": message sender. "Multicast Group": a number of recipients receiving the same message. The "Multicast Group" is free from geographical boundaries. "Multicast Group Member": Each Multicast message recipient. "Multicast Router": the router that can provide the functions of Multicast routing; the Multicast Router can be one or more multicast group members or can manage the multicast group members. Although the Multicast technology is complex, its fundamental purpose is to transmit

202

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

the information from the Multicast source to recipients in the Multicast mode, and meet the demands of recipients on message. Multicast is a form of end to end service, which is divided from bottom to up of the protocol layer, the Multicast mechanism includes the following four parts: Addressing mechanism: by the Multicast addresses, to transmit the information from the Multicast source to a group of recipients. Host Registration: to allow the dynamic joining and leaving of the host to a Multicast Group and to realize the registration of Multicast members. Multicast Router: to construct the message distribution tree for Multicast routing and to transmit the message from the Multicast source to the recipient. Multicast Application: Multicast Source must support the Multicast application software such as video conferencing, TCP/IP protocol stack must support sending and receiving of Multicast packets. Take the network architecture of IPTV as an example to show the application of Multicast: the digital TV system is composed of Multicast server, IP MAN, access network and home network, see the following figure:

Figure 18-1

EPON System Multicast Architecture

The flow for the EPON system to realize the video-on-demand is as follows: Step I: the user IP TV set-top box (STB) or a PC obtains an IP address from the DHCP

203

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

server by sending the DHCP request; Step II: the authentication server verifies the user name and password reported by the STB/PC, after passing through the certification, the TV program and the video-on-demand program list provided by the video server can be obtained from a particular video service website; Step III: The user can use the remote control to select TV programs or video on demand programs; Step IV. After the program is selected, the STB/PC will send the IGMP Multicast join request message to the Multicast router; Step V: The IGMP join request message passes through the ONU, the ONU monitors and records the message, and at the same time, the ONU establishes the relations between the group members and the ONU port and forms the Multicast filtering table; Step VI. The IGMP join request message passes through the OLT, the OLT monitors and records the message, and at the same time, the OLT establishes the relations between the broadcast ID and Multicast group members and the corresponding ONU ID, and then based on the Multicast application permission of ONU, the Multicast Mapping Table is formed, which is distributed to ONU through the management channel; and then the IGMP join request message is sent to the Multicast router; Step VII: after receiving the IGMP join request message, the Multicast router establishes the Multicast Mapping Table (Relations between Group and VLAN) and forwards the Multicast stream; Step VIII: After receiving the Multicast stream, the OLT fills the broadcast ID to the LLID field of the lead code of the Multicast message and sends the Multicast stream to ONU; Step IX: after receiving the message with the broadcast ID, the ONU, according to the Multicast Mapping Table issued by the OLT, receives the corresponding Multicast streams, checks the Multicast filtering table and forwards the Multicast stream to the user port initiating the IGMP request message. Step X: The user can watch the Multicast program. The key is to establish the Multicast Mapping Table in the Multicast Router, to establish the Multicast Forwarding Table on OLT and to copy the video stream.

204

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.1.2 Introduction to Multicast Address 18.1.2.1 Multicast IP Address In accordance with the regulations of IANA (Internet Assigned Numbers Authority), the IP addresses are divided into five classes, namely, Class A, Class B, Class C, Class D and Class E. The Unicast packets use Class A, Class B or Class C in accordance with the network size, and the destination addresses of Multicast packets use Class D, that is to say, the Class D addresses cannot be in the source IP address filed of IP message. The Class E addresses are for future use. In the IP Multicast environment, there are a group of destination addresses of the data packet, which form a group address. Once all message recipients are added to a group, the data flowing to the address can be immediately transmitted to the recipients, all members of the group can receive the data packet, the group is known as "Multicast Group". The Multicast group has the following characteristics: All members in the Multicast group are dynamic; the host can join and leave the Multicast group at any time. The Multicast groups can be permanent or be temporary. The Multicast group with the Multicast addresses assigned by IANA is known as Multicast group (or reserved Multicast group). For a permanent Multicast group, pay more attention to the following information: The IP address of a permanent Multicast group remains the same, but the group members can change. The number of members in the permanent Multicast group is free from any restriction, even zero is OK. The IP Multicast addresses that are not be reserved for Multicast Group to use can be used by a temporary Multicast group. The range of Class D Multicast addresses is from 224.0.0.0 to 239.255.255.255, see Table 18-1 for scope and meaning.
Table 18-1Scope and Meaning of Class D address Scope of Class D Address Meaning

205

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

224.0.0.0224.0.0.255 224.0.1.0231.255.255.255 233.0.0.0238.255.255.255 232.0.0.0232.255.255.255 239.0.0.0239.255.255.255

Reserved Multicast address (address of a permanent group), the is ADDRESS 224.0.0.0 is preserved and not distributed, other addresses are for routing protocol to use ASM (Any-Source Multicast) Multicast Address available to the user (the address of a temporary group), valid within the whole network The SSM (Source-Specific Multicast) Multicast group address available to the user Multicast address of local management, only valid within a particular local scope

In accordance with the regulations of IANA, the network segment address from 224.0.0.0 to 224.0.0.255 is reserved for the routing protocol of local network. The common IP Multicast address list reserved is as follows:
Table 18-2 Reserved IP Multicast Address List Scope of Class D Address Meaning 224.0.0.1 Addresses of all hosts 224.0.0.2 Addresses of all Multicast routers 224.0.0.3 Not assigned 224.0.0.4 DVMRP (Distance Vector Multicast Routing) Router 224.0.0.5 OSPF (Open Shortest Path First) Router 224.0.0.6 OSPF DR (Open Shortest Path First Ddesignated Router ) 224.0.0.7 ST (Shared Tree) Router 224.0.0.8 ST (Shared Tree) Host 224.0.0.9 RIP-2 Router 224.0.0.11 Active agent 224.0.0.12 DHCP Server / Relay Agent 224.0.0.13 All PIM (Protocol Independent Multicast) Routers 224.0.0.14 RSVP (Resource Reservation Protocol) packet 224.0.0.15 All CBT (Core-Based Tree) Routers 224.0.0.16 Designated SBM (Subnetwork Bandwidth Management) 224.0.0.17 All SBMS 224.0.0.18 VRRP(Virtual Router Redundancy Protocol) 224.0.0.19-224.0.0.255 Unspecified

Note: Similar to the circumstances that the IANA reserves the network segment of 10.0.0.0/8 as the private address for IP Unicast transmission, the IANA also reserves the network segment of 239.0.0.0 to239.255.255.255 as the private address for IP Multicast, these addresses are in the scope of management.

206

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

By the management on the addresses in the scope of management, the definition on the scope of Multicast filed can be realized flexibly to realize the isolation of addresses of different Multicast fields, helping to re-use the same Multicast addresses in different Multicast fileds which at the same time is free from any conflicts.

18.1.2.2 Multicast MAC Address At the time when the Ethernet transmits the Unicast IP packets, the destination MAC address is the MAC address of the recipient. However, in transmitting the Multicast message, the transmission target is a group with uncertain members rather than a specific recipient, so the Multicast MAC address is used. Under normal circumstances, the lowest bit of the maximum byte of the Unicast MAC address is 0 while the lowest bit of the maximum byte of the Multicast MAC address is 1, see the following figures:

Figure 18-2 Comparison between Multicast Address and Unicast Address

In this way, the data link layer can determine whether the data frame received is a Multicast data frame or not in accordance with the bit.

18.1.2.3 Mapping Relations between Multicast IP Address and Multicast MAC Address The IANA regulates that the high 24bit of Multicast MAC address is 0x01005e and the low 23bit of the MAC address is the low 23bit of the Multicast IP address, the mapping relationship is shown in Figure 18-3:

207

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

5 bits lost XXXX 32-bit IP address X

1110 xxxx

xxxx xxxx ...

xxxx xxxx
23 bits mapped

xxxx xxxx ...

48-bit MAC address

xxxx xxx1

xxxx xxxx

xxxx xxxx

xxxx xxxx

xxxx xxxx

xxxx xxxx

25-bit MAC address prefix

18-3 Mapping Relationship between Multicast IP Address and Multicast MAC Address

Because the high 4bit of the IP Multicast address is 1110, representing the Multicast identification, in the low 28bit, only 23bit is mapped to MAC address, then the IP address loses 5bit messages, the direct result is that 32 IP Multicast addresses are mapped into the same MAC address. It can be seen that the MAC address corresponds with the low 23 bits of the IP address. For example, when the IP module informs the software of the data link layer to add a Multicast Group 224.10.10.10, the data link layer will form a MAC address of 01--00--5E--0A--0A--0A, then take the low 23 bits of the Multicast IP address to add into the receiving address list while the high bits then follow the above rules.

18.1.3 Multicast Management Protocol IGMP IGMP (Internet Group Management Protocol), as the Multicast Group Management Protocol runs between hosts and Multicast routers, defines the establishment and maintenance mechanisms on the Multicast member relationship between user host and Multicast router.

18.1.3.1 Introduction to IGMP The IGMP protocol can be divided into IGMP Proxy and IGMP Snooping in accordance with working mechanisms. The realization principle of IGMP Proxy: the switch blocks the IGMP message between the user and the router to establish the Multicast table, the service network interface on the Proxy device then plays the host role and the uplink port then plays

208

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

the router role. The realization principle of IGMP Snooping: the switch intercepts the messages reported by the host to the IGMP members of the router to form the corresponding relationship between the group member and the switch interface; the switch then, according to the corresponding relationship, only forwards the Multicast data packet received to the all interfaces of group members. It can be known that the functions of IGMP Proxy and IGMP Snooping are the same but the principles differ from each other; specifically, the IGMP Snooping obtains the relevant messages only by intercepting the IGMP messages but IGMP Proxy has to intercept the IGMP requests of end users, processes to the requests and then forward to the upper router. The OLT terminal of the C8000 system applies the IGMP Proxy protocol to realize the Multicast, the specific process is as follows: when the OLT receives the IGMP Join message, the OLT starts the IGMP Proxy function, intercepts the Join message and implements the authentication; after that, the following logical check is made: if the Multicast Group that is applying has not been established in the OLT, the OLT sends the IGMP Join request to the upper router and establishes the Multicast Forwarding Table; if the Multicast Group has already been established in the OLT, the OLT directly joins the user to the Multicast Forwarding Table of the OLT, at the same time, the correspondence table of Multicast services and users has been established, and no Join message to the upper router will be sent. The ONU terminal of the C8000 system applies the IGMP Snooping mode, when the ONU receives the IGMP join message, the message of Multicast Forwarding Table can be obtained by interception, but the IGMP message passes through the ONU by the transparent transmission.

18.1.3.2 IGMP Message The IGMP Protocol is developed based on the Host Membership Protocol, and there are two versions available: IGMPv1 (RFC1112) and IGMPv2 (RFC2326). The host uses the IGMP message to inform the local Multicast routers to receive the host group address of the Multicast traffic. If the host supports IGMPv2, it can inform the Multicast router to withdraw from a host group. The Multicast router, by the IGMP protocol, maintains a host group member table for each port and monitors the members of the host group in the table periodically to determine whether the host group survives.

209

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The IGMP message is placed in IP message to transmit. The message of IGMPv1 is shown in Figure 18-1-4. The IGMPv1 defines two kinds of messages: host member enquire and host member report. When the host wants to receive a Multicast group, it sends IGMP Report message to the local Multicast router and informs the Multicast addresses to be received. The Multicast router, after the receipt of IGMP Report message, can add the host to the specified Multicast, and within the set cycle, it sends the IGMPQuery message to the Multicast address of 224.0.0.1 (representing the hosts supporting the Multicast). If the host continues to receive Multicast traffic, the IGMP Report message must be sent.
0 3 7 15 31

IGMP Version

IGMP Message Type

Unused

16-Bit Checksum

IP Multicasr Group Address

Figure 18-4 IGMPv1 Protocol Message

The IGMPv2 message is shown in Figure 18-5. Different from the IGMPv1, the IGMPv2 message integrates the version filed and the message type and regards the unused field as the "Maximum response time" field. The type field of the IGMPv2 message defines four kinds of messages: 0x11 - Member enquiry 0x12 - IGMPv1 member report 0x16 - IGMPv2 member report 0x17 - Exit from the host group
0 7 15 31

IGMP Message Type

Unused

16-Bit Checksum

IP Multicasr Group Address

Figure 18-5 IGMPv2 Protocol Message

The relation between the IGMPv2 and IGMPv1 Protocol is in forward compatible, the device of IGMPv1 can receive the message of processing IGMPv2. In the IGMPv2, it allows the router to implement the "Member Enquiry" on the specified multicast group address, and the host not in the group will not have to respond. If the host withdraws, it can take the initiative to send the IGMPLeave message to the router, and it will not have to withdraw passively as that in the IGMPv1

210

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.2 Multicast Configuration


C8000 system is a two-layer switching device with the main component of PON. The controllable Multicast mode must take into account the realization of Multicast protocol and the authority control strategy, the system applies the IGMP proxy and the VLAN for resolving the realization of the Multicast authority control. 18.2.1 Basic Configuration of OLT Multicast Table 17-3 Basic Configuration of OLT Multicast Item Command Description Enter config view config terminal Mandatory ctc ctc: igmp controllable Configure the multicast mode. working mode of igmp mode (ctc | proxy | proxy igmp proxy mode IGMP proxy of local diable) (non-controlled mode). terminal diable Disable igmp proxy mode. Configure the maximum number of Optional, the default value of the igmp max-groupnum Multicast channels allowable maximum number of channeled-max allowed by the Multicast groups is 255. system Optional, the default value of the Restore the default no igmp allowable maximum number of configuration max-groupnum Multicast groups is 255. Configure the aging Optional, the default value of the igmp router-aging-time time of the Multicast aging time of Multicast router is seconds router port 105s. Optional, the default value of the Restore the default no igmp aging time of Multicast router is configuration router-aging-time 105s. Configure the designated port of igmp router-port slotid Optional, the default router port the Multicast router port is all service network interfaces. port Configure the default Optional, the default router port port of the Multicast no igmp router port is all service network interfaces. router port

211

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the vlan tag of the igmp report message forwarded to the Service Network Interface Configure the igmp report without vlan tag forwarded to the Service Network Interface Show the parameters on Multicast configured in the current system Show the CDR records of the current system Show the Multicast Address Table of the current system

igmp vlantag vid

Optional, after the configuration is effective, the igmp report forwarded to the service network interface carries the vlan tag, and vlanid = vid. Optional, after the configuration is effective, the igmp report forwarded to the service network interface does not carry the vlan tag. igmp Optional, check configuration. the igmp

no igmp vlantag

show configuration

show igmp cdr

Optional, when the igmp mode is ctc, record CDR (Call Detail Record) information . Optional

show igmp addr

Optional, when using the igmp Show all PON port show pon igmp-proxy mode command for igmp-proxy modes configuration, configure the mode igmp mode of all PONs. Optional, for pon interface, in the form of interface pon Enter pon view (<1-6>|<9-14>)/(<1-4>), refers interface-num to the number of the port in the numbered slot, such as 11/3. Optional, when using the igmp Show all PON port mode command for show igmp-proxy mode igmp-proxy modes configuration, configure the igmp mode of all PONs. Show PON port show igmp-proxy table Optional igmp-proxy tables 18.2.2 Basic Configuration of ONU Multicast Table 17-4 Basic Configuration of ONU Multicast

212

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Description Mandatory, for onu interface, in the form of(<1-6>|<9-14>)/(<1-4>):(<1-64>) interface onu Enter onu View interface-num refers to the number of ONU of the numbered PON port in the numbered slot, such as 9/1:31. Optional, se the igmp snooping state of Set the igmp ONU's (the initial value of enable): igmp-snooping snooping state of (enable | disable) enable: on; ONU disable: off Mandatory. Set the multicast mode of multicast-protocol Set the Multicast ONU, (ctc | ctc: igmp controllable multicast mode; Protocol of ONU igmp-snooping) igmp-snooping: igmp-snooping mode. Optional, set the maximum multicast groups of the port of ONU port Set the maximum all: all GE and FE ports of ONU. multicast-group-n multicast groups of uniid: GE or FE port number of ONU um (all | uniid) the port of ONU with the range of 1-26. maxnum maxnum: maximum multicast number of the port with the range of 0-80. Restore the maximum multicast no port Restore the maximum multicast groups of the port of multicast-group-n groups of the port of ONU to the ONU to the default um default value of 64. values OptionalSet the Multicast tag of the port of ONU to the stripping processing state allall GE and FE ports of ONU.

Item

Command

Set the Multicast tag of the port of ONU to the stripping processing state

port multicast-tag-strip (all | uniid) (enable uniidGE or FE port number of ONU | disable) with the range of 1-26. enable: on; disable: off

213

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

OptionalSet the port Multicast Vlan of ONU allall GE and FE ports of ONU. Set the port port multicast-vlan uniidGE or FE port number of ONU Multicast Vlan of (all | uniid) (add | with the range of 1-26. add: Add Multicast vlan to ONU port. ONU delete) vlan-id delete: Delete the Multicast vlan to ONU port. vlan-id: Multicast vlan id, with the range of 1-4094. Show the igmp Optional, show igmp snooping state of show snooping state of ONU igmp-snooping ONU Show the Multicast Optionalshow the Multicast protocol show protocol selected by multicast-protocol selected by ONU ONU Show the maximum show port number of multicast multicast-group-n um (all | uniid) of the port of ONU OptionalShow the maximum number of multicast of the port of ONU allall GE and FE ports of ONU. uniidGE or FE port number of ONU with the range of 1-26. Optional Show the Multicast stripping operational status of the port of ONU allall GE and FE ports of ONU. uniidGE or FE port number of ONU with the range of 1-26. Optionalshow the Multicast Vlan list of the port of ONU allall GE and FE ports of ONU. uniidGE or FE port number of ONU with the range of 1-26. OptionalSet the state of ONU CATV port disabledisable ONU's CATV port. enableenable ONU's CATV port.

Show the Multicast show port stripping multicast-tag-strip operational status of (all | uniid) the port of ONU

Show the Multicast show port Vlan list of the port multicast-vlan (all of ONU | uniid)

Set the state of catv port ONU CATV port (disable|enable)

214

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Set the function of dhcp-pl(disable|en DHCP Option 82 of able) ONU

enable and disable the DHCP Option82 function of ONU. The function can record the address information of dhcp clients and dhcp relay devices to the dhcp servers. Along with other software, the restrictions and billing functions on the dhcp distribution can be achieved. disableoff; enable: on;

18.2.3 igmp proxy Protocol Parameter Configuration

Table 17-5 igmp proxy Protocol Parameter Configuration Item Command Description Enter config view config terminal Configure the ip Optional, IP address of proxy igmp proxy host-ip address of proxy host, in ABCD, 1.1.1.1. by ipaddress host default. Optional, Configure the interval sending the query packets by the igmp proxy interval-time. with the range of 1s-1000s. Optional, configure as follows: Restore the interval after the igmp proxy receives the sending the query no igmp proxy query leave packet sent by the member packet to the default interval of agroup, the default value of the configuration number of query packets sent by a particular group is 125s. Configure the Optional, configure the igmp interval of igmp proxy in the response-time igmp proxy query proxy allowing the allowing the host for the response response response-time host in query to the query packets. With the packets. range of 1s-25s. Restore the interval Optional, configure the igmp no igmp proxy query allowing the host in proxy in the response-time response query packets to the allowing the host for the response Configure the interval sending the igmp proxy query query packets by the interval interval-time igmp proxy

215

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

default configuration

Configure the number of the query packets sending by a specific group

Restore the number of the query packets sending by a specific group to the default configuration

Configure the interval sending the query packet sending by a specific group

Restore the interval sending the query packet sending by a specific group to the default configuration Configure the robust variants of igmp proxy

to the query packets to 10s. Optional, configure as follows: after the igmp proxy receives the igmp proxy leave packet sent by the member of a group, count the number of lastmember-query count count the query packets sent by a particular group with the range of 1-5. Optional, configure as follows: after the igmp proxy receives the no igmp proxy leave packet sent by the member lastmember-query of agroup, the default value of the count number of query packets sent by a particular group is 2. Optional, configure as follows: after the igmp proxy receives the igmp proxy leave packet sent by the member of a group, the interval lastmember-query interval last-interval (last-interval) of the query packets sent by a particular group with the range of1s-3s. Optional, configure as follows: after the igmp proxy receives the no igmp proxy leave packet sent by the member lastmember-query of a group, the interval of the interval query packets sent by a particular group is 1s. Optional, configure the robust igmp proxy variants of the igmp proxy to be robust-variant robust-variant with the range of robust-variant 1-5. proxy Optional, configure the robust variants of the igmp proxy to be 2.

Restore the robust variants of igmp no igmp proxy to the default robust-variant configuration

18.2.4 igmp Channel Table Configuration Table17-6 igmp Channel Table Configuration

216

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item Enter config view

Command config terminal

Description Mandatory, add the system multicast address, the multicast channel can be used to restrict the system in Multicast group address that can be requested. channelid: channel number, ranging of 1-255. ip-begin initial ip address of channels, in A.B.C.D ip-end last ip address of channels, in A.B.C.D vlan-id corresponding to Multicast vlan id of the channel with the range of 1-4094. Note: channel description (up to 20 bytes) all: all channel numbers. Optional, empty the Multicast Address Table.

Add the system multicast address, the Multicast channel can be used to restrict the system in Multicast group address that can be requested.

igmp groupaddr channelid ip-begin ip-end vlan-id description

Delete the system no igmp groupaddr multicast address (all |channelid) Used to display the multicast channel Optional table configured in show igmp cgroup the current system

18.2.5 Configuration of igmp Controllable Multicast Preview Parameter Table 17-7 Configuration of igmp Controllable Multicast Preview Parameter Item Command Description Enter config view config terminal Optional, configure the number Configure the number that that can be added into the can be added into the preview igmp preview preview access channels when access channels when the count count the user is within the preview user is within the preview access cycle, with the range of access cycle. 1-5 and the default value of 2.

217

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Restore the number that can be added into the preview access channels when the no preview count user is within the preview access cycle to the default configuration.

Optional, configure the number that can be added into the preview access channels when the user is within the preview access cycle to 2.

Optional, configure a preview Configure a preview access igmp preview access cycle , with the range of cycle cycle time 1h-24h and the default value of 24h. Restore the preview access Optional, Optional, configure a cycle to the default no preview cycle preview access cycle to 24h. configuration Optional, Configure the Configure the duration of the igmp preview duration of the preview interval preview interval interval seconds with the range of 30s-60s and the default value of 60s. Restore the duration of the Optional, Configure the no preview preview interval to the default duration of the preview interval interval configuration to 60s. Optional, Configure the single Configure the single preview preview time of the user, that preview is, the single time that can time of the user, that is, the igmp singl receive the channel data after single time that can receive e-ti the channel data after the user the user sends the application me sends the application of of adding into the preview seco adding into the preview access channel, with the range nds access channel of 30s-60s and the default value of 60s. Optional, Configure the single preview time of the user, that is, the single time that can preview Restore the single preview no receive the channel data after singl time of users to the default the user sends the application e-ti configuration of adding into the preview me access channel to the default value of 60s. Used to show the preview Optional, show the preview show igmp parameters configured in the parameters configured in the preview current system controllable mode.

218

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.2.6 Configuration of igmp Controllable Multicast Authority Table Table 17-8 Configuration of igmp Controllable Multicast Authority Table Item Command Description Mandatory, for onu interface, in the form interface ONU of(<1-6>|<9-14>)/(<1-4>):(<1-6 Enter ONU view interface-num 4>) refers to the number of ONU of the numbered PON port in the numbered slot, such as 9/1:31. Igmp controllable mode, mandatory, configure the multicast authority table entries of the user (corresponding to the port of ONU) uniid: ONU's port number, with Configure the Multicast igmp-authority the range of 1-24 authority table entries of uniid channelid channelid: corresponding to the the user (corresponding to (preview | access | hannel number configured for the port of ONU) deny) the Multicast channel table of the system with the range of 1-255. preview: Preview authority. access: authority. deny: prohibit the access. Optional, delete the authority Delete the Multicast table entries of the Multicast authority table entries of no igmp-authority channel of channelid of the user the user (corresponding to uniid channelid (corresponding to the portuniid the port of ONU) of ONU) Delete the Multicast Optional, delete all Multicast authority table entries of authority table entries of the user igmp-authority the user (corresponding to flush uniid (corresponding to the portuniid the port of ONU) of ONU) Used to show the show Multicast authority table igmp-authority of a user currently uniid Optional, used to show the Multicast authority table of a user currently

219

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.2.7 Multicast Vlan Configuration C8000 system is a two-layer switching device with the main component of PON. The system uses the IGMP proxy and the VLAN for realizing the Multicast.

Table 17-9 Multicast vlan Parameter Configuration Item Comma Description nd config Enter config view termin al Mandatory, enter VLAN view or create VLAN when the VLAN does not exist and then enter the view. The command supports Enter VLAN View, or the vlan the creation of VLAN in batch. first-id, view that is created when first-id last-id: the range of the VLAN creation of the VLAN does not exist [last-id] 1 ~ 4094. If last-id is not designated, then create the VLAN first-id and enter the view or directly enter the view of the vlan that has already existed. Optional, Delete VLAN individually or in batch. first-id, last-id: the range of the VLAN creation of 1 ~ 4094. If last-id is Delete VLAN individually no vlan first-id not designated, then create the VLAN or in batch [last-id] first-id and enter the view or directly enter the view of the vlan that has already existed.

220

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Mandatory, add the designated port to the current VLAN. interface-num: ge interface, in the form of (<1-6>|<9-14>)/(<1-4>), refers to the number of the port in the numbered slot, port such as 11/3. xe interface: with the range of interfac 1-3, indicating the numbered xe interface e-numb with the order from the top to the bottom Add the specified port to the er on the switch control unit. 1 for the current VLAN (tagge 10GBASE-R (XFP) optical interface, 2 and d | 3 for the 10GBASE-CX4 copper interface. untagg tagged;tag is reserved when the packet of ed) the specified VLAN ID is outputted from the port. untagged: tag is stripped when the packet of the specified VLAN ID is outputted from the port. Optional, delete the specified port from the current VLAN interface-num: ge interface, in the form of (<1-6>|<9-14>)/(<1-4>), refers to the no port number of the port in the numbered slot, Delete the specified port interfac such as 11/3. xe interface: with the range of from the current VLAN e-numb 1-3, indicating the numbered xe interface er with the order from the top to the bottom on the switch control unit. 1 for the 10GBASE-R (XFP) optical interface, 2 and 3 for the 10GBASE-CX4 copper interface.

18.3 IGMP Controllable Multicast Configuration


The controllable multicast needs to take into account the realization of the multicast protocol and the authority control strategy, requiring the configuration of the multicast channel table and the multicast authority table, and the local terminal needs to follow the specific authority of the authority table to determine whether it needs to forward the multicast data streams to the downlink ONU devices. 18.3.1 Configuration of OLT IGMP Controllable Multicast The section provides the key configuration procedures of the OLT igmp controllable multicast.

221

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

See section 17.2.1 for the basic configuration of OLT; see section 17.2.3 for the igmp proxy protocol parameter configuration; and see section 17.2.5 for the preview parameters configuration of igmp controllable multicast.

Table 17-10 Configuration of OLT IGMP Controllable Multicast Item Command Description config Step1. Enter config view terminal Step2. Enable the ctc working igmp mode mode of the IGMP proxy of Mandatory ctc local device. Mandatory, add the system multicast address, the multicast channel can be used to restrict the system in Multicast group address that can be requested. igmp channelid: channel number, ranging groupaddr of 1-255. channelid Step3. Add system multicast ip-begin initial ip address of ip-begin channel ip-end channels vlan-id ip-end: last ip address of channels description vlan-idcorresponding to Multicast vlan id of the channel with the range of 2-4094. Note: channel description (up to 20 bytes) igmp Step4. Configure Multicast Optional, configure Multicast router router-port router port port slotid port Mandatory, Create VLAN vlan-id, Step5. Enter VLAN View, or and enter the view. the view that is created when vlan vlan-id the VLAN does not exist vlan-idwith the range of 2-4094.

222

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Mandatory, add the designated Multicast router port to the Multicast VLAN interface-num: ge interface, in the form of (<1-6>|<9-14>)/(<1-4>), refers to the number of the port in the numbered slot, such as 11/3. xe Step6. Add designated interface: with the range of 1-3, port Multicast router port to the indicating the numbered xe interface-nu MulticastVLAN interface with the order from the mber tagged top to the bottom on the switch control unit. 1 for the 10GBASE-R (XFP) optical interface, 2 and 3 for the 10GBASE-CX4 copper interface. tagged;tag is reserved when the packet of the specified VLAN ID is outputted from the port. Mandatory, for the pon interface in form of interface pon the Step7. Enter pon view interface-nu (<1-6>|<9-14>)/(<1-4>), refers to m the number of the port in the numbered slot, such as 11/3. Mandatory Add port into the specified VLAN that has already existed Step8. Add port into the port vlan vlan-id: specified VLAN ID specified VLAN that has vlan-id number with the range of 1-4094. already existed untagged untagged: tag is stripped when the packet of the specified VLAN ID is outputted from the port. 18.3.2 ONU IGMP Controllable Multicast Configuration The section provides the key configuration procedures of the OLT igmp controllable multicast. See section 17.2.2 for the basic configuration of ONU.

Table 17-11 ONU IGMP Controllable Multicast Configuration Item Command Description

223

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Mandatory, for onu interface, in the form Step1. Enter ONU interface ONU of(<1-6>|<9-14>)/(<1-4>):(<1-64>) view interface-num refers to the number of ONU of the numbered PON port in the numbered slot, such as 9/1:31. Step2. Set the ONU Multicast into the multicast-protocol Mandatory. Set the Multicast of ONU igmp controllable ctc to be igmp controllable mode. mode. Optional, Set the Multicast tag of the Step3. Set the port of ONU to the stripping Multicast tag of the port processing state port of ONU to the multicast-tag-strip uniid GE or FE port number of ONU stripping processing uniid) enable with the range of 1-26. state enableon; Mandatory, configure the Multicast authority table entries of the user; uniid: ONU's port number, with the Step4. Configure the igmp-authority Multicast authority uniid channelid range of 1-26. Channeled: Multicast channel table entries of the (preview | access | number with the range of 1-255. user deny) preview: Preview authority access: access authority deny: prohibition authority

18.3.3 IGMP Controllable Multicast Configuration Example Configure to achieve the igmp controllable Multicast function. 18.3.3.1 Network Requirement In order to achieve the igmp controllable Multicast function of the C8000,it needs to start up the igmp ctc at the terminal device, namely, start up the igmp ctc on the ONU device. Connect the router port of the C8000 with the router or the Multicast server; start up the Multicast Routing Protocol on the router; connect the ONU port to the user PC and start up the igmp client on PC.

224

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.3.3.2 Network Diagram

Figure 18-6 igmp Controllable Multicast Network Topology 18.3.3.3 Configuration Procedure $ Configure the igmp mode of OLT to the igmp controllable Multicast Mode (igmp ctc) C8000(config)# igmp mode ctc

225

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Configure 4 Multicast channels, the corresponding VIDs are 4001 ~ 4004 C8000(config) #i gmp gr oupaddr 1 C8000(config) #i gmp gr oupaddr 2 C8000(config) #i gmp gr oupaddr 3 C8000(config) #i gmp gr oupaddr 4 224.1.1.1 224.1.1.2 224.1.1.3 224.1.1.4 224.1.1.1 4001IPTV1 224.1.1.2 4002IPTV2 224.1.1.3 4003IPTV3 224.1.1.4 4004IPTV4

$ Configure the Multicast router port to be the first port of the slu board of No.6 slot. C8000(config)# igmp router- port 6 1 $Create vlan4001, and add the router port6/1 to vlan4001, set the mode to the tagged mode. C8000(config)# vlan 4001 C8000(config-vlan-4001)# port 6/1 tagged $ Create vlan4002, and add the router port6/1 to vlan4002, set the mode to the tagged mode. C8000(config)# vlan 4002 C8000(config-vlan-4002)# port 6/1 tagged $ Create vlan4003, and add the router port6/1 to vlan4003, set the mode to the tagged mode. C8000(config)# vlan 4003 C8000(config-vlan-4003)# port 6/1 tagged $ Create vlan4004, and add the router port6/1 to vlan4004, set the mode to the tagged mode. C8000(config)# vlan 4004 C8000(config-vlan-4004)# port 6/1 tagged $Create vlan2~4 C8000(config)# vlan 2

226

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

C8000(config-vlan-2)#quit C8000(config)# vlan 3 C8000(config-vlan-3)#quit C8000(config)# vlan 4 C8000(config-vlan-4)#quit $ Enter the PON port of the downlink ONU C8000(config)#interface pon 12/2 $ Add the PON port to the protocol packet vlan C8000(config-if-pon-12/2)#port vlan 2 untagged C8000(config-if-pon-12/2)#port vlan 3 untagged C8000(config-if-pon-12/2)#port vlan 4 untagged $Enter ONU View C8000(config)#interface onu 12/2:1 $ Configure the igmp mode of ONU to ctc C8000(config-if-onu-12/2:1)#multicast-protocol ctc $ Configure the authority to the users connected to the four ports of ONU (no adding) C8000(config-if-onu-12/2:1)#igmp-authority1 1 access C8000(config-if-onu-12/2:1)#igmp-authority1 2 access C8000(config-if-onu-12/2:1)#igmp-authority 1 3 preview C8000(config-if-onu-12/2:1)#igmp-authority 1 4 de ny $ Configure the downlink Multicast data of ONU to be Tag-strip C8000(config-if-onu-12/2:1)#port multicast-tag-strip 1 enable

Note:

227

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

The igmp mode set only refers to the Multicast working mode of the local C8000 and the default igmp mode of the ONU is igmp snooping. The router port set must be on the SLU plate, otherwise, the configuration will fail. If the expect black deleted has been provided with the router port of the SLU plate, after it is deleted, the router port configuration will be cleared and all service network interfaces will be restored into the router port by default. Under the igmp controllable mode, the distinction between users (the corresponding ONU port) uses the VLAN tag of the uplink igmp protocol packet (generally vid 1 refers to port 1, vid 2 refers to port 2, and so forth). When the ONU is set to be multicast-protocol ctc, it will add the valn tag independently in accordance with the inputted port of the packet, and the configuration relevant to the vlan on the port of ONU is not needed. Under the igmp controllable mode, the distinction between users (the corresponding ONU port) uses the VLAN tag of the uplink igmp protocol packet. In order to forward the uplink igmp protocol packet in the main switcher, it needs to add the corresponding PON port (BCM Terminal) into the VLAN filed representing the ONU port. All PONs belong to vlan 1 of untagged type. Therefore, if the user is connected to the ONU uniid = 1, the default vlan configuration can be used to transmit the uplink IGMP protocol packets. When the OLT receives the igmp join message sent by the ONU connected and passes through the permission inspection, the PON port connected with the ONU will be automatically added into the MulticastVlan. After the ONU restarts, the igmp snooping function ten is enabled, at this time, the multicast-protocol command can be used to switch between igmp snooping and igmp ctc. If the igmp snooping function is disabled, the multicast-protocol igmp-snooping can only set the igmp mode into the igmp snooping, but it cannot enable the igmp snooping. See 17.2.2 for the ONU igmp snooping state enable switch. Select the igmp of ONU to be CTC controllable mode, so as to forbid the igmp snooping function of ONU. The users default permission (ie, no configuration permission for a channel) is DENY".

228

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.4 IGMP Proxy Multicast Configuration


The igmp proxy multicast needs to consider the realization of Multicast protocol, needs to configure the Multicast Channel Table, opens the enable state of the igmp proxy of the local device and the enable state of igmp snooping of the ONU.

18.5 OLT IGMP Proxy Multicast Configuration


The section provides the key configuration procedures of the OLT igm pproxy Multicast. See section 17.2.1 for the basic configuration of OLT and See section 17.2.3 for the igmp proxy protocol parameter configuration. Table 17-12 OLT igmp proxy Multicast Configuration Item Command Description Step1. Enter config config terminal view Step2. Enable the proxy working mode Mandatory igmp mode proxy of the IGMP proxy of local device. Mandatory, add the system multicast address, the multicast channel can be used to restrict the system in Multicast group address that can be requested. igmp groupaddr channelid: channel number, ranging of 1-255. channelid Step3. Add system ip-begin ip-end ip-begin initial ip address of multicast channel vlan-id channels description ip-end: last ip address of channels vlan-idcorresponding to Multicast vlan id of the channel with the range of 2-4094. Note: channel description (up to 20 bytes) Step4. Configure igmp router-port Optional, configure Multicast router Multicast router port slotid port port

229

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Step5. Enter VLAN View, or the view that vlan vlan-id is created when the VLAN does not exist

Mandatory, Create VLAN vlan-id, and enter the view. vlan-idwith the range of 2-4094. Mandatory, add the designated Multicast router port to the Multicast VLAN interface-num: ge interface, in the form of (<1-6>|<9-14>)/(<1-4>), refers to the number of the port in the numbered slot, such as 11/3. xe interface: with the range of 1-3, indicating the numbered xe interface with the order from the top to the bottom on the switch control unit. 1 for the 10GBASE-R (XFP) optical interface, 2 and 3 for the 10GBASE-CX4 copper interface. tagged;tag is reserved when the packet of the specified VLAN ID is outputted from the port.

Step6. Add Multicast port router port to the interface-number MulticastVLAN tagged

18.5.1 ONU IGMP Proxy Multicast Configuration The section provides the key configuration procedures of the OLT igmp proxymulticast. See section 17.2.2 for the basic configuration of ONU. Table 17-13 ONU IGMP Proxy Multicast Configuration Item Command Description Mandatory, for onu interface, in the form Step1. Enter ONU interface ONU of(<1-6>|<9-14>)/(<1-4>):(<1-6 view interface-num 4>) refers to the number of ONU of the numbered PON port in the numbered slot, such as 9/1:31. Mandatory. Set the Multicast Step2. Set the mode of ONU multicast-protocol Multicast protocol igmp-snoopingigmp-snooping igmp-snooping of ONU mode

230

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Step3. Set the Multicast tag of the port multicast-tag-strip port of ONU to the (all | uniid) (enable | stripping processing disable) state

Set the Multicast port multicast-vlan (all | Vlan for the port of uniid) (add | delete) ONU vlan-id

Optional, Set the Multicast tag of the port of ONU to the stripping processing state all: GE and FE port numbers of ONU. uniidGE or FE port number of ONU with the range of 1-26. enableon; disable: off Optional, Set the Multicast Vlan for the port of ONU allGE and FE port numbers of ONU. uniidGE or FE port number of ONU with the range of 1-26. addadd Multicast vlanto ONU port. delete delete Multicast vlanto ONUport. vlan-idMulticast vlan id, with the range of <1-4094>.

18.5.2 IGMP Proxy Multicast Configuration Example Configure to realize the igmp proxy multicast function. 18.5.2.1 Network Requirement To achieve the igmp proxy Multicast function of the C8000, it needs to start up the igmp proxy on the local device and start up the igmp snooping on the ONU device. Connect the router port of the C8000 with the router or Multicast server, start up the Multicast Routing Protocol on the router, connect the ONU port to user PC, and start up the igmp client on PC.

231

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

18.5.2.2 Network Diagram

Figure 17-7 igmp proxy Multicast Network Topology

18.5.2.3 Configuration Procedure $ Configure the igmp mode of OLT to the igmp proxy Multicast Mode C8000(config)# igmp mode proxy

232

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Configure 4 Multicast channels, the corresponding VIDs are 4001 ~ 4004 C8000(config) #i gmp gr oupaddr 1 C8000(config) #i gmp gr oupaddr 2 C8000(config) #i gmp gr oupaddr 3 C8000(config) #igmp groupaddr 4 224.1.1.1 224.1.1.2 224.1.1.3 224.1.1.4 224.1.1.1 4001IPTV1 224.1.1.2 4002IPTV2 224.1.1.3 4003IPTV3 224.1.1.4 4004 IPTV4

$ Configure the Multicast router port to be the first port of the slu board of No.6 slot. C8000(config)# igmp router- port 6 1 $ Create vlan4001, and add the router port6/1 to vlan4001, set the mode to the tagged mode. C8000(config)# vlan 4001 C8000(config-vlan-4001)# port 6/1 tagged $ Create vlan4002, and add the router port6/1 to vlan4002, set the mode to the tagged mode. C8000(config)# vlan 4002 C8000(config-vlan-4002)# port 6/1 tagged $ Create vlan4003, and add the router port6/1 to vlan4003, set the mode to the tagged mode. C8000(config)# vlan 4003 C8000(config-vlan-4003)# port 6/1 tagged $ Create vlan4004, and add the router port6/1 to vlan4004, set the mode to the tagged mode. C8000(config)# vlan 4004 C8000(config-vlan-4004)#port 6/1 tagged $Enter ONU View C8000(config)#interface onu 12/2:1

233

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

$ Configure the igmp mode of ONU to igmp-snooping C8000(config-if-onu-12/2:1)#multicast-protocol igmp-snooping $ Configure ONU Multicast vlan C8000(config-if-onu-12/2:1)#port multicast-vlan 1 add 4001 C8000(config-if-onu-12/2:1)#port multicast-vlan 2 add 4002 C8000(config-if-onu-12/2:1)#port multicast-vlan 3 add 4003 C8000(config-if-onu-12/2:1)#port multicast-vlan 4 add 4004 $ Configure downlink Multicast data of ONU to be Tag-strip C8000(config-if-onu-12/2:1)#port multicast-tag-strip 1 enable

Note: The igmp mode set only refers to the Multicast working mode of local C8000 and the default igmp mode of the ONU is igmp snooping. The router port set must be on the SLU plate, otherwise, the configuration will fail. If the expected SLU plate deleted has been provided with the router port, after it is deleted, the router port configuration will be cleared and all service network interfaces will be restored into the router port by default. When the OLT receives the igmp join message sent by the downlink ONU, the PON port connected with the ONU will be automatically added into the Multicast Vlan. After the ONU restarts, the igmp snooping function ten is enabled, at this time, the multicast-protocol command can be used to switch between igmp snooping and igmp ctc. If the igmp snooping function is disabled, the multicast-protocol igmp-snooping can only set the igmp mode into the igmp snooping, but it cannot enable the igmp snooping. See 17.2.2 for the ONU igmp snooping state enable switch. The users default permission (ie, no configuration permission for a channel) is DENY".

234

19 PERFORMANCE CONFIGURATION MANAGEMENT


19.1 Introduction to Performance Configuration
The device can realize the statistics and records on the data received/sent by each port of the OLT, the user can check the statistical information on the network data of each port of the OLT by command line and network management to facilitate the optimization of network and equipment and the problem diagnosis. The data in performance statistics contains two kinds: present 15-minute performance statistics and historic 15-minute performance statistics. The number of performance data contained in each port is as follows: 1 for present 15-minute performance statistics and 192 for historic 15-minute performance statistics. The statistical items of the OLT performance statistics data are as follows:
Table 19-1 of Performance Data Statistics No. Statistics Items of OLT Terminal Performance

Number of Octets of the Receiving Terminal of the Port Number of Packets of the Receiving Terminal of the Port Number of Unicast Packets of the Receiving Terminal of the Port Number of Multicast Packets of the Receiving Terminal of the Port Number of Broadcast Packets of the Receiving Terminal of the Port Number of Discards Packets of the Receiving Terminal of the Port Number of Errors Packets of the Receiving Terminal of the Port

235

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Number of Undersize Packets of the Receiving Terminal of the Port Number of Oversize Packets of the Receiving Terminal of the Port Number of Unknown Protocols Packets of the Receiving Terminal of the Port Number of CRC Errors Packets of the Receiving Terminal of the Port Number of Octets of the Transmitting Terminal of the Port Number of Frames of the Transmitting Terminal of the Port Number of Unicast Packets of the Transmitting Terminal of the Port Number of Multicast Packets of the Transmitting Terminal of the Port Number of Broadcast Packets of the Transmitting Terminal of the Port

10

11

12

13

14

15

16

The sample time of the device performance data of the OLT is configurable; the performance data can be collected once every sample time. The present 15-minute performance statistics and the historic 15-minute performance statistics need to be updated every 15 minutes.

19.2 Performance Configuration


19.2.1 OLT Performance Configuration
Table 18-2 OLT Performance Enable/Disable/Clear/Display

236

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item Enter config View Enter port View

Command config terminal interface gigabit-ethernet interface-num interface pon interface-num interface x-ethernet (xe1|xe2|xe3)

Description -

Enable performance switch Disable performance switch Clear the performance data of current 15 minutes and current 24 hours Show the historical15-minute performance data

perf enable

perf disable

perf clear

Only when the performance switch is enabled, the command can be effective Only when the performance switch is enabled, the historical 15-minute data can be saved and the historical data can be shown. Only when the performance switch is enabled, the performance data can be saved and shown.

show perf history15 [counts]

Show the performance data of current 15 minutes/current 24 show perf (current15 | hours/historical 24 current24 | history24) hours

Table 18-3 Basic Configuration of OLT Performance Item Command Description Enter config View config terminal

237

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Configure the OLT perf olt performance seconds acquisition time

sample-time

perf (uplink | pon) Configure the OLT threshold OutDis-th performance OutErr-th InDis-th threshold InDis-th InDis-th Show performance configuration information the show perf config

Optional The default of the OLT performance acquisition time is 30s. Optional The default values of output packet loss, output error packet, inputted packet loss, inputted error packet and inputted CRC error packets are 20000 Show the configuration information of OLT and ONU

19.2.2 ONU Performance Configuration Table 18-4 ONU Performance Enable/Disable/Clear/Display Item Command Description Enter config View config terminal Enter onu View interface onu interface-number interface-numberrefers to the ONU number Enable performance perf enable switch Disable performance perf disable switch Clear the Only when the performance data of performance switch is perf clear current 15 minutes enabled, the command can and current 24 hours be effective Only when the performance switch is Show the enabled, the historical show perf history15 [counts] historical15-minute 15-minute data can be performance data saved and the historical data can be shown.

238

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Show the performance data of current 15 show perf (current15 | minutes/current 24 current24 | history24) hours/historical 24 hours

Only when the performance switch is enabled, the performance data can be saved and shown.

Table 18-5 Basic Configuration of ONU Performance Item Command Description Enter config View config terminal Optional Configure the ONU perf onu sample-time The default of the ONU performance seconds performance acquisition time is acquisition time 30s. Optional The default values of outputted Configure the ONU perf (onupon | onuuni) CRC error frames, total inputted performance threshold OutCRC-th error bytes and inputted CRC32 threshold InBad-th InCRC-th checksum error of ONU are 20000. Show the performance Show the configuration show perf config configuration information of OLT and ONU information Optional Configure the system Configure the system time of perf onu time systime time of onu ONU and systime refers to the system time 19.3 Performance Configuration Example 19.3.1 Network Requirement Enable the performance switch of pon 3/1 and show the performance data.

239

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

19.3.2 Network Diagram


PON3/1 ONU GE10/1

Figure 18-1 Performance Configuration Example 19.3.3 Configuration Procedure C8000(config)# interface pon 3/1 C8000(config-if-pon-3/1)# perf enable C8000(config-if-pon-3/1)# show perf current15 C8000(config-if-pon-3/1)# show perf current24 C8000(config-if-pon-3/1)# show perf history24 C8000(config-if-pon-3/1)# show perf history15

240

20 ALARM CONFIGURATION MANAGEMENT


20.1 Introduction to Alarm Configuration
After enabling the alarm, if the system has errors or implements some important operations, the OLT alarm event will be triggered, and then the OLT will save the alarm information into the alarm buffer. By the show alarm active or show alarm history command, the current active alarm and the historical alarm of the system can be checked. All alarm information can be sent to the server by the snmp trap and can also be shielded. The alarm is the notice of the system when it detects failure, including failure alarm and recovery alarm, of which, the failure alarm lasts until the failure is corrected. Not every alarm has the alarm recovery. The event is the notice generated under normal operation and taking the initiative to prompt the user, including running event and security event. The difference between event and alarms is that: the alarm is the notice reported when the system is abnormal or when the exceptional circumstances may happen, while the event is the notice reported when the system is normal. Without special remarks, the alarm includes the alarm and the event. Under the default configuration, all alarms can be automatically printed in the user interface.

20.2 Introduction to Alarm Configuration Task


Table 19-1 Alarm Configuration Tasks Configuration Tasks Description Detailed Configuration See section 19.3

Configure snmp trap Optional server Configure shield Alarmtrap Optional

See section 19.4

241

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

20.3 Configure snmp trap Server


Prerequisites

Before the configuration, connect the server with OLT Outband network management port and set the IP addresses of OLT Outband and server into the same network segment. Configure snmp trap server Table 19-2 Configure snmp trap Server Item Enter config View Command config terminal Description

Configure snmp trap snmp trap server community Configure the group name, (v1 | v2c) ipaddress Server IP address and version number of snmp trap server

Note: You can configure multiple snmp trap servers, C8000 support a maximum of eight servers.

20.4 Configure Alarm Information Shield


Prerequisites

Before configuring, bind the authorization of ONU. See Chapter 10 ONU Configuration Management for the specific operation. table. The configuration items of all alarm information are shown in the following

Table 19-3 Alarm Configuration Items Item Command Description

Shield the Alarm TRAP alarm trap slot slotid After the alarm TRAP of the

242

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

of a slot (config View)

(enable | disable)

slot is shielded, any alarms of the slot cannot send the TRAP messages

Shield the specified alarm trap alarmid After the TRAP of the specified Alarm TRAP (config alarmid (enable | Alarm ID is shielded, the alarm View) disable) will not send any TRAP messages Shield the Alarm TRAP trap (enable | disable) of PON port (pon View) After the alarm TRAP of the PON port is shielded, any alarms of the PON port cannot send the TRAP messages After the alarm TRAP of the ONU port is shielded, any alarms of the ONU port cannot send the TRAP messages

Shield the Alarm TRAP trap (enable | disable) of ONU port (onu View)

Clear active or no alarm (active | Clear the active and historical historical alarm history) (alarmid | all) alarm message of the specified information (config alarm ID View) Clear all active and historical alarm messages

20.5 Alarm Configuration Example


Network Requirement

Configure the SNMP server and shield all alarm information of No.1 PON port of LPU4 board of No. 4# slot. Configuration Procedure

If the OLT is connected with snmp server (Both Inband and Outband are OK), as shown in the figure, the IP address of the OLT and the IP address of snmp server must be in the same network segment.

243

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 19-1 Alarm Configuration Topology $Enter config mode C8000#config terminal $ Configure the SNMP group attribute to public, the version to v2c and the server address to 192.168.7.111. C8000(config)#snmp trap server public v2c 192.168.7.111 $Enter PON 4/1interface mode C8000(config)#interface pon 4/1 $ Disable all alarm TRAPs of the PON C8000(config-if-pon-4/1)#alarm trap disable

20.6 Alarm Configuration Display and Maintenance


Table 19-4 Alarm Configuration Display and Maintenance

244

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Item Enter enable View enable

Command

Description

Show SNMP TRAP show snmp trap server server configuration information Show configuration information alarm show alarm config

Show SNMP TRAP server configuration information Show the alarm TRAP shielding information of the system

21 NETWORK MANAGEMENT CONFIGURATION


21.1 Introduction to Network Management Mode
C8000 OLT device supports the access control of three management means at the same time: Table 20-1 C8000 Network Management Approach Management Protocol Description Approach The serial port supports Console port control CLI management approach

the

CLI

245

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Inband Management

CLI(telnet) SNMP

Inband at the same time supports the CLI mode an Snmp network managemen mode of Telnet By the snmp management, it can connect with the network management server to manage the C8000 by the graphical network management Outbandat the same time supports the CLI mode an Snmp network managemen mode of Telnet By the snmp management, it can connect with the network management server to manage the C8000 by the graphical network management

Outband Management

CLI(telnet) SNMP

The outband management is to provide the management interface by the special physical channel, for the C8000 device, it can realize the management and maintenance by the FE port on the SHM. Generally, the network management can be realized by the direct connection with PC or by the network management channel (The management network separately formed) to separate the network management data from the service data and to establish an independent channel for network management data. In the network management channel, only the important management data, sensitive statistical information, real-time billing information and others can be forwarded. The separation of network management data from service data can improve the efficiency and reliability of network management and help to improve the security of network management data. For the smaller network structure, the inband management method is appreciated. The inband management can transmit the network management data and service data in the same physical link, when there are many management data (including SNMP data, Netflow data, Radius data, billing data, etc.), the performance of the entire network may be affected, the service data stream may also affect the management data stream; but for smaller networks, the stream of the management data is smaller, then the impact on the performance of the entire network is not obvious, that is to say, the inband management is suitable for smaller network structure. The inband network management channel of the C8000 is realized mainly by service network interface, in the ordinary manner, to maintain the security, a special vlan is used to separate the management channel from other service channels.

246

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: For the same gateway, the IP address of the inband cannot be in the same network segment to the IP address of the outband.

Table 20-2 Configuration Command Relevant to the Network Management Item Command Description first-id, last-id: the range of the VLAN creation of 1 ~ 4094. If last-id is not designated, then create the Create Enter vlan vlan first-id [last-id] no vlan first-id [last-id] VLAN first-id and enter the View view or directly enter the view of the vlan that has already existed. ip-address: Inband network management interface IP address, in dotted-decimal format ip-address Configure the inband inband corresponding netmask netmask: network management ip-address subnet mask, in mac-address IP address dotted-decimal format no inband ip-address mac-address: hardware address of Inband network management interface: 00:00:01:03:04: AB Back to the configured Outband outband IP address of gateway ipaddress in the config view ipaddress ip address, in A.B.C.D nemask subnet mask, in A.B.C.D

ip-address nemask

Configure the inband gateway ipaddress no gateway gateway IP address show gateway

The default gateway address of the system, in A.B.C.D

247

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Figure 20-1Management Network Diagram

21.2 Default Network Management Configuration


When the OLT device of C8000 is not in the same network segment to the network gateway server, that is to say, when the equipment maintenance needs to cover different network segments, the gateway setup must be made. The role of the default gateway is that when C8000 devices are not in a network segment, all data will be forwarded to the default gateway and then will be forwarded by the default gateway. Configure the default gateway C8000(config)# gateway 10.10.2.1 C8000(config)# s how gateway %Gateway:10.10.2.1. C8000(config)#

248

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: After the completion of default gateway configuration, no modification is allowed. For the modification, it needs to use the no gateway command to delete the default gateway and then use the gateway command for adding. At the time when configuring the default gateway, it needs to ensure the IP address of the default gateway is in the same network segment to the local outband or inband IP addresses.

21.3 Outband Network Management Configuration


The configuration of the outband network only requires the configuration of IP address and subnet mask. The configuration of the IP address of the outband network management is as follows: C8000(config)# outband ip-address 10.10.1.100 255.255.0.0

Note: After the completion of the IP address of the outband gateway, it needs to connect the FE port of the C8000 with the PC by a direct cable, and to use the ping mode to check whether the network port is normal.

21.4 Inband Network Management Configuration


The C8000 device provides the function of inband network management by the service network interface or the ONU connected with the PON port, which requires the configuration of IP address, subnet mask, mac address and items relevant to vlan. Step I: Create the VLAN for inband network management to 1000 C8000(config)#vlan 1000

249

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Step II: Add the service network interface 3/1 to the VLAN 1000, set the VLAN to the untagged mode C8000(config-vlan-1000)#port 3/1 tagged C8000(config-vlan-1000)#show vlan 1000 --------------------------------------------------VLAN ID: 1000 Description: VLAN 1000 Tagged por ts: 3/1 Untagged ports: none Multicast f lood m ode: Flood-none (Discard if mcast addr is not found) C8000(config-vlan-1000)# Step III: Set the IP address of the inband network management to 10.10.2.100, the mask to 255.255.255.0 and MAC address to 00:00:03:01:02:03 C8000(config-vlan-1000)#inband 00:00:03:01:02:03 ip-address 10.10.2.100 255.255.0.0

C8000(config-vlan-1000)#show inband-info Current s tate VLAN i nterface MAC a ddress IP address IP n etmask : up : 1000 : 00: 00:03:01:02:03 : 10.10.2.100 : 255.255.0.0

250

Wuhan Yangtze Optical Technology Co., Ltd.

OpticalLink C8000 EPON OLT Operation Manual

Note: Ensure the VLAN of the inband management channel is separated from the service VLAN to prevent the service broadcast data from entering the CPU of SCU. In configuring the MAC address of the inband network management, more attention should be paid to configuing the MAC address into the MAC address of Multicast.

251

Você também pode gostar