AN5116-02 AN5116-02 Equipment Command Line Interface Network Management System
Operation Manual Version No.: FH/WGSC0102049-6AUEN
FiberHome Telecommunication Technologies Co., Ltd. December 2006
Thanks for choosing our products!
Thank you very much for choosing our products! Your satisfaction is our target. We will provide you with comprehensive technical support and after service. Please contact your local sales representative, service representative representative or distributor distributor for any help help needed by one one of the following methods. Fiberhome Telecommunication Technologies Co., Ltd.
Address: #88 Youkeyuan Youkeyuan Rd., Wuhan, China Zip code: 430074 Tel:
+86-27-87691549
Fax:
+86-27-87691755
Website: http://www.fiberhomegroup.com http://www.fiberhomegroup.com
All Rights Reserved
No part of this document (including the electronic version) may be reproduced or disseminated in any form or by any means without prior written permission of FiberHome Telecommunication Technologies Co., Ltd. (Hereinafter referred to as FiberHome) Information in this document is subject to change without notice.
Trademarks
are trademarks of FiberHome Telecommunication Technologies Co., Ltd. All other trademarks mentioned in this document are the property of their respective owners.
Contents
Contents Foreword.............................................................................................................................................. I Operation Safety Rules ...................................................................................................................... III Abbreviations ............................................................................................................................. .......VII 1
2
3
Overview................................................................................................................................... 1-1 1.1
Overview of AN5116-02 ................................................................................................... 1-1
1.2
Overview of AN5116-02 CLI NMS ................................................................................... 1-1
1.3
How to Establish CLI Session via Console Port............................................................... 1-2
1.4
How to Establish CLI Session via Telnet ......................................................................... 1-6
1.5
Management Authority................................................................................................... 1-11
1.6
CLI Command Directories.............................................................................................. 1-12
1.7
Features of CLI NMS for AN5116-02 ............................................................................. 1-13
1.8
How to Understand CLI Command Syntax .................................................................... 1-15
Common Configuration and Management ................................................................................ 2-1 2.1
Overview.......................................................................................................................... 2-1
2.2
List of Commands ............................................................................................................ 2-1
2.3
Description of Commands................................................................................................ 2-2 2.3.1
Switch between Directories................... ........................................................... 2-2
2.3.2
Clear Screen .................................................................................................... 2-3
2.3.3
Display System Help Information ..................................................................... 2-3
2.3.4
Display All Commands under Current Directory .............................................. 2-4
2.3.5
Display History Commands.............................................................................. 2-4
System Configuration and Management................................................................................... 3-1 3.1
Overview.......................................................................................................................... 3-1
3.2
System Configuration and Management Commands...................... ................................. 3-1
3.3
Description of Commands................................................................................................ 3-2 3.3.1
Upload/Download System Software or Configuration File by FTP........................ ......................................................................................................................... 3-2
3.3.2
Erase Configuration ......................................................................................... 3-3
3.3.3
Exit from Administrator Mode........................................................................... 3-3
3.3.4
Log off.............................................................................................................. 3-3
3.3.5
Set the Host Name ..........................................................................................3-4
3.3.6
Reboot the System or an EC2 Card ................................................................3-4
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4
5
3.3.7
Save Current Configuration ............................................................................. 3-4
3.3.8
Display Current Configuration .......................................................................... 3-5
3.3.9
Display the Startup Configuration .................................................................... 3-7
3.3.10
Set System Time ............................................................................................. 3-9
3.3.11
Display System Time ....................................................................................... 3-9
3.3.12
Synchronize Configuration ............................................................................. 3-10
Equipment Configuration and Management.............................................................................. 4-1 4.1
Overview.......................................................................................................................... 4-1
4.2
List of Commands ............................................................................................................ 4-1
4.3
Description of Commands................................................................................................ 4-2 4.3.1
Disable Broadcast/Multicast/Unknown Packet Suppression ............................ 4-2
4.3.2
Set Broadcast/Multicast/Unknown Packet Suppression Limit .......................... 4-2
4.3.3
Perform Forced Switch .................................................................................... 4-3
4.3.4
Display Card Version of the Equipment ........................................................... 4-3
4.3.5
Display Slot Information ................................................................................... 4-3
4.3.6
Display Broadcast/Multicast/Unknown/All Packet Suppression Settings ......... 4-5
4.3.7
Display History Alarms..................................................................................... 4-5
4.3.8
Upgrade the Line Card Software ..................................................................... 4-6
4.3.9
Upgrade PON/ONU Firmware ......................................................................... 4-7
Uplink Port Configuration and Management ............................................................................. 5-1 5.1
Overview.......................................................................................................................... 5-1
5.2
List of Commands ............................................................................................................ 5-1
5.3
Display Uplink Port’s Configuration, Link State or Statistical Information................. ........ 5-2
5.4
Set Uplink Port’s Properties ............................................................................................. 5-2
5.5
5.6
5.4.1
Enable/Disable an Uplink Port ......................................................................... 5-2
5.4.2
Enable/Disable Uplink Port’s Auto-negotiation Mode....................................... 5-3
5.4.3
Set Uplink Port’s Speed and Duplex Mode ...................................................... 5-3
5.4.4
Enable/Disable Uplink Port’s Flow Control Function ........................................ 5-3
5.4.5
Enable/Disable Uplink Port’s Learning Function .............................................. 5-4
5.4.6
Set Uplink Port’s Priority .................................................................................. 5-4
Configure Uplink Port Trunking ........................................................................................ 5-5 5.5.1
Create a Trunking Group ................................................................................. 5-6
5.5.2
Delete a Trunking Group.................................................................................. 5-6
5.5.3
Display Port Trunking Settings......................................................................... 5-6
Configure Uplink Port Mirroring........................................................................................ 5-7 5.6.1
Designate the Destination Port of Mirroring ..................................................... 5-7
5.6.2
Designate the Source Port of Mirroring............................................................ 5-7
Contents
6
7
8
5.6.3
Disable Current Port Mirroring ......................................................................... 5-8
5.6.4
Display Current Port Mirroring Settings............................................................ 5-8
PON Port Configuration and Management ............................................................................... 6-1 6.1
Overview.......................................................................................................................... 6-1
6.2
List of Commands ............................................................................................................ 6-1
6.3
Description of Commands................................................................................................ 6-2 6.3.1
Set PON Port’s Bandwidth Parameters ........................................................... 6-2
6.3.2
Set PON Port’s SLA Parameters ..................................................................... 6-3
6.3.3
Add All Unauthorized ONUs of a PON Port into its Authorized Table .............. 6-4
6.3.4
Display the Table of Unauthorized ONUs’ MAC Addresses of a PON Port ..... 6-4
6.3.5
Display the Table of Authorized ONUs’ MAC Addresses of a PON Port.......... 6-5
6.3.6
Display PON Port’s Bandwidth Settings........................................................... 6-6
6.3.7
Display PON port’s SLA settings ..................................................................... 6-6
ONU Port Configuration and Management ............................................................................... 7-1 7.1
Overview.......................................................................................................................... 7-1
7.2
List of Commands ............................................................................................................ 7-1
7.3
Description of Commands................................................................................................ 7-2 7.3.1
Set ONU Port’s IGMP Parameters................................................................... 7-2
7.3.2
Add an Unauthorized ONU into the Authorized Table ..................................... 7-3
7.3.3
Remove an Authorized ONU from the Authorized Table ................................. 7-3
7.3.4
Enable/Disable ONU Port’s Auto-negotiation Function .................................... 7-4
7.3.5
Enable/Disable ONU Port’s Error Frame Discard Function.............................. 7-5
7.3.6
Set ONU Port’s Duplex Mode .......................................................................... 7-6
7.3.7
Set ONU Port’s Speed ..................................................................................... 7-7
7.3.8
Set ONU Port’s Address Learning Limit........................................................... 7-8
7.3.9
Enable/Disable ONU Port’s Flow Control Function .......................................... 7-9
7.3.10
Display ONU Port’s Properties....................................................................... 7-10
7.3.11
Enable/Disable ONU’s CATV Function .......................................................... 7-11
7.3.12
Display ONU’s IGMP Settings ....................................................................... 7-11
LLID Configuration and Management ....................................................................................... 8-1 8.1
Overview.......................................................................................................................... 8-1
8.2
List of Commands ............................................................................................................ 8-1
8.3
Description of Commands................................................................................................ 8-2 8.3.1
Set LLID’s DBA Weight Parameters ................................................................ 8-2
8.3.2
Set LLID’s SLA Bandwidth Parameters ........................................................... 8-3
8.3.3
Display LLID’s SLA Bandwidth Settings........................................................... 8-4
8.3.4
Display LLID’s DBA Weight Settings................................................................ 8-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8.3.5 9
Perform LLID Loopback Test ........................................................................... 8-6
IGMP Profile Configuration and Management .......................................................................... 9-1 9.1
Overview.......................................................................................................................... 9-1
9.2
List of Commands ............................................................................................................ 9-1
9.3
Description of Commands................................................................................................ 9-2 9.3.1
Create a Profile ................................................................................................ 9-2
9.3.2
Configure an OLT IGMP Profile ....................................................................... 9-3
9.3.3
Attach/Detach a PON Port to/from a Profile..................................................... 9-5
9.3.4
Modify a Profile ................................................................................................ 9-6
9.3.5
Flush a Profile.................................................................................................. 9-6
9.3.6
Delete a Profile ................................................................................................ 9-6
9.3.7
Display Profile Settings .................................................................................... 9-7
10 FDB Configuration and Management ..................................................................................... 10-1 10.1 Overview........................................................................................................................ 10-1 10.2 List of Commands .......................................................................................................... 10-1 10.3 Description of Commands.............................................................................................. 10-2
11
10.3.1
Set FDB Entry Ageing time ............................................................................ 10-2
10.3.2
Display Current FDB Ageing Time Setting..................................................... 10-2
10.3.3
Display FDB Information of a Slot .................................................................. 10-2
STP Configuration and Management...................................................................................... 11-1 11.1 Overview........................................................................................................................ 11-1 11.2 List of Commands .......................................................................................................... 11-2 11.3 Description of Commands.............................................................................................. 11-3 11.3.1
Configure STP Parameters of the Default VLAN ........................................... 11-3
11.3.2
Configure STP Port of the Default VLAN ....................................................... 11-4
11.3.3
Display STP Settings of the Default VLAN..................................................... 11-5
11.3.4
Display STP Port Settings of the Default VLAN ............................................. 11-6
12 VLAN Configuration and Management ................................................................................... 12-1 12.1 Overview........................................................................................................................ 12-1 12.2 Common VLAN .............................................................................................................. 12-2 12.2.1
Create a VLAN............................................................................................... 12-2
12.2.2
Set the Tag of a VLAN ................................................................................... 12-3
12.2.3
Add/Delete Ports/LLIDs into/from a VLAN ..................................................... 12-3
12.2.4
Display VLAN Settings................................................................................... 12-4
12.2.5
Delete a VLAN ............................................................................................... 12-4
12.3 Single VLAN ..................................................................................................................12-5 12.3.1
Create Single VLAN of LLID in Batches......................................................... 12-5
Contents
12.3.2
Create Single VLAN of PON Port in Batches................................................. 12-6
12.3.3
Delete Single VLAN of LLID in Batches ......................................................... 12-6
12.3.4
Delete Single VLAN of PON Port in Batches ................................................. 12-7
12.4 Shared VLAN ................................................................................................................. 12-8 12.4.1
Create Shared VLAN of PON Port ................................................................. 12-8
12.5 NGN VLAN .................................................................................................................... 12-8 12.5.1
Set NGN VLAN .............................................................................................. 12-9
12.5.2
Delete NGN VLAN ......................................................................................... 12-9
12.5.3
Display NGN VLAN........................................................................................ 12-9
12.6 Management VLAN...................................................................................................... 12-10 12.6.1
Create Management VLAN.......................................................................... 12-10
12.6.2
Set the IP Address of Management VLAN................................................... 12-11
12.6.3
Display the Settings of Management VLAN ................................................. 12-11
12.6.4
Delete Management VLAN .......................................................................... 12-11
13 QoS Configuration and Management ..................................................................................... 13-1 13.1 Overview........................................................................................................................ 13-1 13.2 Access Profile and Priority Mode ................................................................................... 13-2 13.2.1
Create a QoS Access Profile ......................................................................... 13-3
13.2.2
Set the Parameters of a QoS Access Profile ................................................. 13-3
13.2.3
Set the Routing Strategy of a QoS Access Profile ......................................... 13-4
13.2.4
Delete a QoS Access Profile.......................................................................... 13-5
13.2.5
Display the Settings of a QoS Access Profile ................................................ 13-5
13.2.6
Attach/Detach a Port to/from a QoS Access Profile ....................................... 13-6
13.2.7
Attach/Detach an Uplink Port to/from a QoS Access Profile .......................... 13-6
13.2.8
Display All QoS Access Profiles .................................................................... 13-6
13.2.9
Flush a QoS Access Profile ........................................................................... 13-7
13.2.10
Set Equipment’s Priority Mode....................................................................... 13-7
13.2.11
Display Equipment’s Priority Mode ................................................................ 13-7
13.3 EPON Rule Profile and LLID Number ............................................................................ 13-8 13.3.1
Set ONU’s LLID Number................................................................................ 13-9
13.3.2
Display ONU’s LLID Number ......................................................................... 13-9
13.3.3
Create an OLT Rule Profile............................................................................ 13-9
13.3.4
Set the Parameters of an OLT Rule Profile.................................................. 13-10
13.3.5
Attach a LLID to an OLT Rule Profile........................................................... 13-11
13.3.6
Detach a LLID from an OLT Rule Profile ..................................................... 13-11
13.3.7
Delete an OLT Rule Profile .......................................................................... 13-12
13.3.8
Display the Settings of an OLT Rule Profile................................................. 13-12
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13.3.9
Display the LLIDs Attached to an OLT Rule Profile ..................................... 13-13
13.3.10
Flush an OLT Rule Profile............................................................................ 13-13
14 Service Configuration and Management................................................................................. 14-1 14.1 Overview........................................................................................................................ 14-1 14.2 Common Services.......................................................................................................... 14-2 14.2.1
Set Idle Timeout............................................................................................. 14-3
14.2.2
Kill a User Session......................................................................................... 14-3
14.2.3
Perform Ping .................................................................................................. 14-4
14.2.4
Enable/Disable Telnet Service....................................................................... 14-5
14.2.5
Set ACL Parameters ...................................................................................... 14-5
14.2.6
Set Telnet ACL Parameters ........................................................................... 14-6
14.2.7
Enable/Disable the Alarm Hummer................................................................ 14-6
14.2.8
Display ACL Settings ..................................................................................... 14-7
14.2.9
Display the Idle Timeout ................................................................................ 14-7
14.2.10
Display Current Service Status ...................................................................... 14-7
14.2.11
Display Telnet ACL Settings .......................................................................... 14-8
14.2.12
Display the Status of the Alarm Hummer ....................................................... 14-8
14.2.13
Telnet............................................................................................................. 14-8
14.2.14
Configure a User............................................................................................ 14-9
14.2.15
Display User Settings................................................................................... 14-10
14.2.16
Display Information of the User Who Establishes a Session with the Host.. 14-11
14.2.17
Display Information of the Current User....................................................... 14-11
14.3 SNMP Service.............................................................................................................. 14-12 14.3.1
Enable/Disable SNMP Service .................................................................... 14-12
14.3.2
Enable/Disable SNMP Trap ......................................................................... 14-13
14.3.3
Set SNMP Read-only/Read-write Community Name................................... 14-13
14.3.4
Add a SNMP Trap Message Receiver ......................................................... 14-14
14.3.5
Delete a SNMP Trap Message Receiver ..................................................... 14-14
14.3.6
Set SNMP System Contact.......................................................................... 14-15
14.3.7
Set SNMP System Location......................................................................... 14-15
14.3.8
Display SNMP Community Name ................................................................ 14-15
14.3.9
Display SNMP Trap Message Receivers ..................................................... 14-16
14.3.10
Display SNMP System Contact String ......................................................... 14-16
14.3.11
Display SNMP System Location String ........................................................ 14-16
Appendix A Command Index .........................................................................................................A-1 A.1
Commands under Root Directory “Admin” .......................................................................A-1
A.2
Commands under Subdirectory “device”.............. ............................................................A-2
Contents
A.3
Commands under Subdirectory “fdb” ...............................................................................A-4
A.4
Commands under Subdirectory “profile” ..........................................................................A-5
A.5
Commands under Subdirectory “qos” ..............................................................................A-6
A.6
Commands under Subdirectory “service”................. ........................................................A-8
A.7
Commands under Subdirectory “stp” .............................................................................A-10
A.8
Commands under Subdirectory “vlan” ...........................................................................A-11
A.9
Commands under Root Directory “User”....................... .................................................A-12
Contents
Figures Figure 1-1
Connect AN5116-02 with the local management terminal via Console port ........ 1-2
Figure 1-2
Hyper Terminal startup ........................................................................................ 1-2
Figure 1-3
Hyper Terminal “Connection Description” ............................................................ 1-3
Figure 1-4
Hyper Terminal “Connect To” ............................................................................... 1-3
Figure 1-5
Hyper Terminal “COM1 Properties” ..................................................................... 1-4
Figure 1-6
Successful establishment of a Hyper Terminal CLI session ................................ 1-4
Figure 1-7
Save “FiberHome CLI Terminal” session ............................................................. 1-5
Figure 1-8
Outband Telnet connection via LAN .................................................................... 1-6
Figure 1-9
Outband Telnet connection via WAN ................................................................... 1-7
Figure 1-10 Inband Telnet connection..................................................................................... 1-7 Figure 1-11
“Run” window ...................................................................................................... 1-8
Figure 1-12 Type the management VLAN IP address ............................................................ 1-8 Figure 1-13 Telnet welcome window....................................................................................... 1-8 Figure 1-14 Enter the username and password...................................................................... 1-9 Figure 1-15 Enter configuration mode .................................................................................... 1-9
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Tables Table 1-1
CLI command directories................... ................................................................ 1-12
Table 2-1
Common commands ........................................................................................... 2-1
Table 3-1
Commands for system......................................................................................... 3-1
Table 4-1
Commands for equipment ................................................................................... 4-1
Table 5-1
Commands for uplink port ...................................................................................5-1
Table 6-1
Commands for PON port ..................................................................................... 6-1
Table 7-1
Commands for ONU port..................................................................................... 7-1
Table 8-1
Commands for LLID ............................................................................................ 8-1
Table 9-1
Commands for IGMP profile ................................................................................ 9-1
Table 10-1
Commands for FDB........................................................................................... 10-1
Table 11-1
Commands for STP ........................................................................................... 11-2
Table 12-1
Common commands for VLAN.......................................................................... 12-2
Table 12-2
Commands for single VLAN .............................................................................. 12-5
Table 12-3
Commands for shared VLAN............................................................................. 12-8
Table 12-4
Commands for NGN VLAN................................................................................ 12-8
Table 12-5
Commands for management VLAN................................................................. 12-10
Table 13-1
Commands for access profile and priority mode ............................................... 13-2
Table 13-2
Commands for EPON rule profile and LLID number .........................................13-8
Table 14-1
Commands for common services ...................................................................... 14-2
Table 14-2
Commands for SNMP service ......................................................................... 14-12
Table A-1
Commands under root directory “Admin”.............................................................A-1
Table A-2
Commands under subdirectory “device”..............................................................A-2
Table A-3
Commands under subdirectory “fdb” ...................................................................A-4
Table A-4
Commands under subdirectory “profile” .............................................................. A-5
Table A-5
Commands under subdirectory “qos” ..................................................................A-6
Table A-6
Commands under subdirectory “service”.............................................................A-8
Table A-7
Commands under subdirectory “stp” .................................................................A-10
Table A-8
Commands under subdirectory “vlan” ............................................................... A-11
Table A-9
Commands under root directory “User” ............................................................. A-12
Foreword
Foreword AN5116-02 EPON Office-end equipment (hereinafter referred to as AN5116-02) supports two types of management interfaces: GUI interface (when managed through FiberHome e-Fim ANM2000 broadband access network management system) and CLI interface. CLI interface is a device-oriented management interface. It is easy to use, especially for the user with professional knowledge of programming. This manual gives a detailed introduction of how to configure and manage AN5116-02 with CLI commands. Main contents of this manual
♦
Overview
♦
Common configuration and management
♦
System configuration and management
♦
Equipment configuration and management
♦
Uplink port configuration and management
♦
PON port configuration and management
♦
ONU port configuration and management
♦
LLID configuration and management
♦
IGMP Profile configuration and management
♦
FDB configuration and management
♦
STP configuration and management
♦
VLAN configuration and management
♦
QoS configuration and management
♦
Service configuration and management
I
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Intended reader
♦
Commissioning engineers
♦
Operation and maintenance engineers
Related software version
♦
GSWC card software version: R1.21.02.33 and R1.21.03.02
♦
EC2 card software version: R1.22.01.36
Symbol conventions
II
Symbol
Meaning
/
“Or”
X\Y
X is the parent menu item of Y and Y is the submenu item of X
Operation Safety Rules
Operation Safety Rules Network management computer should be placed away from direct sunlight, electromagnetic interference, heat source, humidity and dust, and with at least 8-cm distance from other objects in order to keep good ventilation. Use UPS power supply to avoid loss of network management data caused by accidental power failure. The computer crust, UPS power supply and switch (or hub) should be connected to protection ground. To shut down the network management computer, first exit the operation system normally and then shut off the power supply. Don’t exit the network management system when it is working normally. To exit the network management system doesn’t interrupt traffic in the network, but makes equipments out of control of the network management system. Network management computer cannot be used for purposes other than network management. It’s forbidden to connect an unidentified memory device with network management computer so as to avoid computer virus. Don’t delete any file in the network management system randomly or copy any irrelevant file into the network management computer. Don’t visit Internet via network management computer. Otherwise, it may increase data flow in the net card and hence affects normal network management data transmission or results in other accidents.
III
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
WS/OS No access to Internet !
Figure 1
No access to Internet
Don’t use network management system to perform circuit dispatching or expansion setting in service rush hours. Don’t modify network management computer’s protocol setting or LAN setting randomly. Otherwise, it may result in abnormal operation of network management system.
No modification !
Figure 2 Not permitted to modify protocol setting randomly (1)
IV
Operation Safety Rules
No modification !
Figure 3 Not permitted to modify protocol setting randomly (2)
V
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
No modification !
Figure 4 Not permitted to modify LAN setting randomly
VI
Abbreviations
Abbreviations ACL
Access Control List
CATV
Cable Television
CLI
Command Line Interface
CoS
Class of Service
DBA
Dynamic Bandwidth Assignment
EPON
Ethernet Passive Optical Network
FDB
Forwarding DataBase
FE
Fast Ethernet
FTP
File Transfer Protocol
GE
Gigabit Ethernet
GUI
Graphical User Interface
ICMP
Internet Control Message Protocol
ID
Identifier
IGMP
Internet Group Management Protocol
IP
Internet Protocol
LAN
Local Area Network
LLID
Logical Link Identifier
MAC
Medium Access Control
NGN
Next Generation Network
OLT
Optical Line Terminal
ONU
Optical Network Unit
OS
Operating System
PON
Passive Optical Network
QoS
Quality of Service
VII
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
VIII
SLA
Service Level Agreement
SNMP
Simple Network Management Protocol
STP
Spanning Tree Protocol
TCP
Transmission Control Protocol
ToS
Type of Service
UDP
User Datagram Protocol
UPS
Uninterruptable Power Supply
VC
Virtual Channel
VLAN
Virtual Local Area Network
VoIP
Voice over Internet Protocol
WAN
Wide Area Network
WS
Work Station
1
1 1.1
Overview
Overview
Overview of AN5116-02 AN5116-02 is a carrier-class EPON Optical Line Terminal of high performance and high port-density. It’s developed independently by FiberHome to provide a good solution of optical fiber system for triple-play network (Internet, PSTN and CATV). It is featured with various functions, stable performance and easy installation and management, which may well satisfy telecommunication operators’ requirement for integrated (broadband and narrowband) service access.
1.2
Overview of AN5116-02 CLI NMS AN5116-02 supports CLI interface (AN5116-02 CLI NMS). Via this interface, command lines are used to implement configuration and management of this equipment. AN5116-02 CLI NMS has the following features:
♦
Two types of CLI control platforms: serial-port HyperTerminal and Telnet terminal.
♦
Comprehensive real-time help system: it provides real-time help by various means.
♦
Command memorization and reproduction: it can redisplay and switch to execute a certain history command.
♦ Abbreviated command syntax: to execute a command, only a few unambiguous key words need to be typed.
♦
Management authority: all commands support management authority protection. Only the user with the corresponding management authority can access and execute a certain command. This guarantees the security of equipment access.
♦
Hierarchical command directories: the directories are divided into root directory and subdirectory; and commands related to a certain function are set under the same directory.
1-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1.3
How to Establish CLI Session via Console Port To establish a CLI session via AN5116-02’s Console port (on GSWC card’s front panel), firstly connect this port and the RS-232 serial-port of the local management terminal through the serial cable supplied with the equipment (see Figure 1-1). Console port (on GSWC card’s front panel
RS-232 serial-port
Serial cable Local management terminal AN5116-02
Figure 1-1
Connect AN5116-02 with the local management terminal via Console port
Then establish the session via HyperTerminal under Windows9x, Windows2000 or Windows NT operating system. The following takes Windows2000 as an example to introduce the detailed steps. To establish a new HyperTerminal CLI session, do as follows: 1)
Click
desktop
menu
item
“Start”
and
select
submenu
item
“Program\Accessories \Communications \Hyper Terminal”. Hyper Terminal startup window will appear (see Figure 1-2), followed by “Connection Description” window (see Figure 1-3).
Figure 1-2
1-2
Hyper Terminal startup
1
Figure 1-3
2)
Overview
Hyper Terminal “Connection Description”
In this window (Figure 1-3), name the connection to be established in the “Name” field, for example, “FiberHome CLI Terminal”. Click “OK” and Hyper Terminal “Connect To” window will appear (see Figure 1-4).
Figure 1-4
3)
Hyper Terminal “Connect To”
Select the serial-port in the “Connect using” field according to the actual connection. In this example, “COM1” (serial-port 1) is selected. Click “OK” and “COM1 Properties” window will appear (see Figure 1-5).
1-3
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
Figure 1-5
4)
Hyper Terminal “COM1 Properties” Propertie s”
Configure COM1 properties as follows: follows: 9600 bits bits per second, 8 data bits, 1 stop bit, none parity and none flow control. Click “OK” and the window below will appear, indicating that the session has been established successfully (see Figure 1-6).
Figure 1-6
1-4
Successful establishment establishment of a Hyper Terminal Terminal CLI session
1
5)
Overview
Save the session configuration before exit, so so that it can be directly started next time. Click the close button at the top right corner of the window (Figure 1-6) and a dialogue box will appear (see Figure 1-7). Click “OK” to save the session, and a new submenu item “FiberHome CLI Terminal” will occur under “Start\Program\Accessories “Start\Program\Accessori es \Communications \Hyper Terminal”. Terminal”.
Figure 1-7
Save “FiberHome CLI Terminal” Terminal” session
To start an existing Hyper Terminal CLI session, for example, “FiberHome CLI Terminal”, just select the corresponding menu item “Start\Program\Accessories \Communications \Hyper Terminal \FiberHome CLI Terminal”. Terminal”. Note: Drag and drop “FiberHome CLI Terminal” to the desktop, its shortcut will be established.
Caution: Operation of serial-port with power on is strictly prohibited to avoid damage to it.
1-5
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
1.4
How to Establish CLI Session via Telnet The management terminal connected with AN5116-02 in band or out of band can be used for remote maintenance via Telnet. The following takes Windows2000 as an example to introduce the detailed steps for establishing a CLI session via Telnet. Before establishing the session, connect the management terminal with AN5116-02 AN5116-02 in band or out of band. The outband connection can be realized via LAN or WAN:
♦
LAN outband connection: Connect local Telnet computer’s network port and GUP7/GUPE7 card’s FE port via a Hub or layer 2 switch (see Figure 1-8). AN5116-02 AN5116-02 FE port on GUP7/GUPE7 card Local Telnet computer
Workstation
Figure 1-8
1-6
Outband Telnet Telnet connection via LAN
1
♦
Overview
WAN outband connection: Connect local Telnet computer’s network port and GUP7/GUPE7 card’s FE port remotely via WAN (see Figure 1-9). AN5116-02
Local Telnet computer
FE port on GUP7/GUPE7 card
Local router WAN
Remote router
Local office Remote LAN
Figure 1-9
Outband Telnet connection via WAN
In inband Telnet connection, the workstation is connected with AN5116-02 via its GE uplink optical or electrical port (see Figure 1-10).
WAN
Workstation
GE uplink port on GUP7/GUPE7 card
AN5116-02
Figure 1-10 Inband Telnet connection
1-7
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Usually, inband Telnet connection is preferred. The following presents the steps for establishing an inband Telnet CLI session. 1)
Click on desktop menu item “Start” and select “Run”, and a window will appear (see Figure 1-11):
Figure 1-11 “Run” window
2)
Type the management VLAN IP address in “Open” field, for example, “10.25.104.104”, (see Figure 1-12). For how to configure management VLAN and its IP address, please refer to Section 12.3.
Figure 1-12 Type the management VLAN IP address
3)
Click “OK” and the window below will appear (see Figure 1-13).
Figure 1-13 Telnet welcome window
1-8
1
4)
Overview
Enter the username “wri” and password “an3400”. Press key “Enter” and the window below will appear (see Figure 1-14), indicating that the Telnet CLI session is established successfully.
Figure 1-14 Enter the username and password
5)
Type the default administrator name “admin” and press key “Enter”; and then type the password “an3400” and press key “Enter”. The Telnet CLI session will go into configuration mode. In this mode, the administrator can use all commands to configure and manage this equipment.
Figure 1-15 Enter configuration mode
1-9
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual Note: Before access the equipment via Telnet, make sure that Telnet service has been enabled and relevant IP address and management VLAN have been set properly. Please refer to command “Telnet” in Chapter 14 for details. The following example is to set AN5116-02’s IP address to 10.22.1.1, subnet mask to 255.255.0.0, gateway to 10.22.1.254, and set AN5116-02 to be accessed via uplink port 29:1. Admin\VLAN# set manage VLAN inputport 4000 29:1 untagged Admin\VLAN# set manage ip 10.22.1.1/16 10.22.1.254 Admin\VLAN# show manage VLAN VLAN ID: 4000 Name: manage IP Address: 10.22.1.1/16 Gateway: 10.22.1.254 Mac address: 00:0a:c2:00:00:55 Tagged Ports: Untagged Ports: 29:1 Admin\VLAN#cd service Admin\service# show services Service telnet is up. Service snmp agent is up. Note: When the configuration above is completed, AN5116-02 can be accessed via Telnet.
1-10
1
1.5
Overview
Management Authority ♦ AN5116-02 supports two management authorities: common user and administrator. Corresponding to them are two management modes: read-only and configuration. In read-only mode, only query on system information is permitted. While in configuration mode, the user can configure the equipment.
♦ A valid username and password must be entered before successfully accessing the console and entering the corresponding mode.
♦
To enter read-only mode common user authority is needed; and to enter configuration mode, administrator authority is required. An administrator can use command “admin” to enter the configuration mode.
♦
The command prompt of read-only mode is “User>”; and that of configuration mode is “Admin#”.
♦
Each valid user has a password and can change it.
♦
The default common user is “wri”, with password “an3400”. The default administrator is “admin”, with password “an3400”. Note: The username is not case sensitive, and the password is case sensitive. It is recommended that the password be well remembered, kept in privacy and changed periodically.
The following example shows how an administrator logs in the CLI NMS: Login: wri Password: ****** (Note: Type the common user password) User> admin Password: ****** (Note: Type the administrator password) Admin#
1-11
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1.6
CLI Command Directories AN5116-02 has hierarchical CLI command directories, including root directory and subdirectory (see Table 1-1). These directories are set in terms of functionality; that is, commands related to a certain function are set under the same directory. Some common commands, such as “list”, are under all directories. Table 1-1
CLI command directories
Directories
Prompt
Functions
User
User >
Root directory for common user
Admin
Admin #
Root directory for administrator
device
Admin\ device #
fdb
Admin\ fdb #
For FDB configuration and management
profile
Admin\ profile #
For profile configuration and management
qos
Admin\qos#
For QoS configuration and management
service
Admin\ service #
For service configuration and management
stp
Admin\ stp #
For STP configuration and management
vlan
Admin\ vlan #
For VLAN configuration and management
For equipment and uplink ports configuration and management
Note: ♦
Appendix A of this manual lists all commands under each directory and their operation in alphabetic order.
♦
The command prompt has root directory name as its prefix, followed by symbol “\” and the current directory. Its postfix symbol “>” indicates read-only mode (for common user) and “#” indicates configuration mode (for administrator).
♦
To switch between directories, use command “cd”. To return to the boot directory, enter command “cd ..”.
♦
To switch from administrator mode to common user mode, enter command “exit” at the boot directory.
♦
To log off from current management session, enter command “quit” at the boot directory in either administrator mode or common user mode.
1-12
1
1.7
Overview
Features of CLI NMS for AN5116-02 Comprehensive command syntax real-time help
♦
Entering command “help” at any prompt presents a brief description about the system help. See the following example. Admin# help AN5116-02 provides help feature as described blow. 1. Anytime you need help, just press "?" and don't press Enter,you can see each possible command argument and its description. 2. You can also input "list" and then press Enter to execute this helpful command to view the list of commands you can use. Admin#
♦
Typing command “list” at any prompt displays the details of all commands under it.
♦
Pressing key “?” at any prompt displays all commands under it and their explanation.
♦
Pressing key “?” at a partial command syntax displays all matchable command names.
♦
While entering command, pressing key “Space” and then key “?” displays its next command name.
Command completion While entering a command, pressing key “Space” and then key “Tab” at any time can complete it with the next parameter automatically, or display a list of available options. See the following example. To enter command syntax “show startup-config”, firstly type “show s”, and then press key “Tab” to complete it automatically. Admin# show s Admin# show startup-config
1-13
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Abbreviated command syntax Abbreviated command syntax allows typing only the first one or more letters of a command if they are unambiguous and distinguishable. Command history Pressing keys “Ctrl” and “P” simultaneously will display the previous command in the command history buffer. Go on pressing the two keys, and the commands even more previous will appear one by one. When the command needed appears, pressing key “Enter” will perform it. To display all commands in the command history buffer, use command “show history”.
1-14
1
1.8
Overview
How to Understand CLI Command Syntax Command syntax structure In the CLI NMS of AN5116-02, a complete command is composed of command name and related parameters. A valid command contains one or more command names. Command parameters consist of two parts: the name and the value. For the parameter with a name, input the parameter name firstly and th en its value. As for the parameter without a name, just type the value. Parameter symbols
♦
Square brackets [ ]: Enclose one or a list of required arguments. For instance, “[a | b | ...]” means one of “a”, “b” and so on must be specified for the command.
♦
Braces { } *n: Enclose an optional value or a list of optional arguments. Input nothing or a number of arguments. This number is defined by number “n” after the symbol “*”.
♦ Angle brackets < >: Enclose a required variable or value. For example, to enter command syntax “set stpd default port [
| all ] priority <0-255>”: Firstly type command name “set stpd defa ult port”. “[ | all ]” indicates tha t either “” or “all” must be chosed to specify the object ports. To use parameter “” to choose one or a number of ports as the object port(s), enter the relevant port no. (nos.) directly. To use parameter “all” to choose all ports, enter string “all”. And then input command name “priority”. The required parameter “<0-255>” means that a value ranging between 0 and 255 must be entered for the port STP priority. The following example is to set STP priority of port 1:1 to 16: Admin\stp# set stpd default port 1:1 priority 16
1-15
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Port representation For commands with parameter “portlist” in the syntax, enter o ne or more port nos. by the following means:
♦
Enumerate one or a number of ports separated by a comma between each two, for example, “1: 1, 1: 2, 1: 3”.
♦
Specify a range of numbers connected by a hyphen, for example, “2:1-2: 4”.
♦
Compound the above two methods, for example, “1:1, 2:3-2:7”.
Consecution of commands AN5116-02 CLI commands have definite consecution. Usually, a function or port must be enabled before further operation on it. For example, to display STP settings, firstly enable STP. The following example is to enable STP and then set the priority of port 1: 1 to 16. Admin\stp# set stpd default enable Admin\stp# set stpd default port 1:1 priority 16
Syntax help with function keys
♦ After typing a partial command name, typing “?” will display its complete form and its action. For example, at prompt “Admin\device#”, after typing partial command name “show bro”, typing “?” will display the complete form of “bro” in this command syntax and its action: Admin\device# show bro broadcast Show broadcast packet.
♦
When typing a command syntax, pressing key “Space” and then “?” will display the next command name and its action. For example, at prompt “Admin\device#”, typing command name “show”, pressing key “Space” and then “?” will display all “show” command names and their action: Admin\device# show broadcast Show broadcast packet. multicast Show multicast packet. unknown Show unknown packet. all Show broadcast/multicast/unknown packet. current Show board or port alarm. history Show the session command history. mirror Show mirroring information. port Show port information. slot Show slot information. trunking Show load-sharing group of ports information. version Show EPON version.
Note: The “
1-16
” mentioned above won’t be displayed on the screen.
1
Overview
Abbreviated command syntax Abbreviated command syntax allows typing only the first one or more letters of a command if they are unambiguous and distinguishable. For example, to input command syntax “show stpd default port all”, “show stpd d port a” or “show s d p a” can be typed. After pressing key “Enter”, “” will occur ,indicating that pressing key “Enter” will execute this command. Admin\stp# show s d p a ---------------------------------------------------------------Port 29:1 's Spanning Tree Protocol Information Port Join STP Domain default 's Calculate -- Port Info -Port id: 29 Priority: 128 State: Disable Path Cost: 19 …
Command history Pressing keys “Ctrl” and “P” simultaneously will display the previous command in the command history buffer. Go on pressing the two keys, and the commands even more previous will appear. When the command needed appears, pressing key “Enter” will perform it. Other characteristics
♦
The CLI commands are not case sensitive (except the password).
♦
Command name “cd” can be used to switch between command directories. To switch to the root directory, use command syntax “cd ..”.
♦
Command “list” or key “?” can be used to display the available commands: “?” displays all available command names and their functions shortly; while “list” displays the details of all commands set under current directory. The following example is to display all available command names under the root directory by pressing key “?” at the root directory prompt: Admin# cd clear download erase exit help hostname list quit reboot
Enter into appointed dir. Clear screen. Download file for software upgrade or load user config. Erase info from flash. Exit current mode and down to previous mode. Description of the interactive help system. Set system's network name. Print command list. Disconnect from switch and quit. Reboot the IP_xdsl.
1-17
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual save Save system info to flash. set Config system's setting. Show Show running system information. synchronize Synchronize configuration to peer. upload Upload file for software upgrade or load user config. The following example is to display the details of all commands set under the root directory by entering command “list” at the root directory prompt. Admin# list 0. cd [..|device|fdb|profile|qos|service|stp|vlan] 1. clear 2. download ftp [system|config] 3. erase {startup-config}*1 4. exit 5. help 6. hostname 7. list 8. quit 9. reboot {[|smu]}*1 10. save {configuration}*1 11. set time <1970-2100> <1-12> <1-31> 12. show history 13. show running-config 14. show startup-config 15. show time 16. synchronize {configuration}*1 17. upload ftp [system|config]
♦ Abbreviated syntax with the same initial characters may be ambiguous, for which relevant prompt message will occur. For example, there is more than one directory named with initial “s”. Therefore, if “cd s” is entered at the prompt, prompt message will occur, indicating that this command is ambiguous. Admin\device# cd s % Ambiguous command. Admin\device#
♦
Prompt message also occurs for unknown commands. For example, there is no directory named with initial “a”. Therefore, if “cd a” is entered at the prompt, prompt message will occur, indicating that this command unknown to the system. Admin\service# cd a % Unknown command. Admin\service# % There is no matched command.
Note: When the typing of a command at the prompt is completed, a “” will occur, indicating that pressing key “Enter” will execute this command. In this manual, “” is omitted in command examples.
1-18
2
2 2.1
Common Configuration and Management
Common Configuration and Management
Overview CLI NMS of this equipment has some common configuration and management commands under almost all directories (command “cd [..device|fdb|profile|qos |service|stp|vlan]” is unavailable for directory of common user). This chapter introduces these commands. Note: All commands presented in this manual are only available for GSWC card.
2.2
List of Commands Table 2-1
Common commands
Operation
Command Syntax
Switch between directories
cd [..device|fdb|profile|qos|service|stp|vlan]
Clear the screen of the control console
clear
Display system help information
help
Display all the commands under current directory Display history commands
list show history
2-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
2.3
Description of Commands
2.3.1
Switch between Directories Command syntax To switch from current directory to root directories or other subdirectories, use the following command syntax: cd [..|device|fdb|profile|qos|service|stp|vlan] Command parameters [..]: Root directory. [device]: Device configuration and management subdirectory. It is used for configuration and management of the equipment and uplink ports, such as setting uplink port’s properties, mirroring and trunking, system time, packet suppression, etc. It also involves some EC2 card related commands. [fdb]: FDB configuration and management subdirectory. It is used for FDB configuration and management, such as displaying FDB settings and creating static MAC address entries. [profile]: Subscriber profile configuration and management subdirectory. It is used for subscriber profile configuration and management, such as creating a profile and displaying profile settings. [qos]: QoS configuration and management subdirectory. It is used for ACL configuration and management. [service]: Service configuration and management subdirectory. It is used for service
configuration
and
management,
including
ping,
Telnet
service,
enabling/disabling SNMP, setting SNMP community string, and setting SNMP Trap message receiver. [stp]: STP configuration and management subdirectory. It is used for STP configuration and management, such as enabling/disabling STP, displaying port STP settings, and configuring port priority.
2-2
2
Common Configuration and Management
[vlan]: VLAN configuration and management subdirectory. It is used for VLAN configuration and management, such as setting port-based VLAN and 802.1Q -based VLAN. Configuration example The following example is to switch from the current “stp” subdirectory to the “device” subdirectory: Admin\stp# cd device Admin\device
2.3.2
Clear Screen Command syntax clear Configuration example Admin\stp# clear
2.3.3
Display System Help Information Command syntax help Note: Other system help commands include “?”, “list”, “Space” key and “Tab” key.
Configuration example The following example is to display t he system help information: Admin\VLAN# help AN5116-02 provides help feature as described blow. 1. Anytime you need help, just press "?" and don't press Enter,you can see each possible command argument and its description. 2. You can also input "list" and then press Enter to execute this helpful command to view the list of commands you can use
2-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
2.3.4
Display All Commands under Current Directory Command syntax list Note: Other system help commands include “?”, “help”, “Space” key and “Tab” key.
Configuration example The following example is to display all commands set under current directory: Admin\VLAN# list 0. cd [..|device|fdb| profile| service|snmp|stp|VLAN] 1. clear 2. create vlan 3. delete manage vlan 4. delete vlan 5. help 6. list 7. set manage ip {}*1 8. set manage vlan inputport [untagged|tagged] 9. set vlan [add|delete] port [tagged|untagged] 10. set vlan tag 11. show history 12. show manage vlan 13. show vlan {}*1
2.3.5
Display History Commands Command syntax show history Note: To display the last command that has been performed, press keys “Ctrl” and “P” simultaneously.
Configuration example The following example is to display th e history commands: Admin\vlan# show history create shared vlan aaa help list set vlan aaa add port 1:1 untagged set vlan aaaa add port 2:2 untagged set vlan aaaa add port 4:1 untagged set vlan aaaa add port 4:14 tagged show vlan
2-4
3
3 3.1
System Configuration and Management
System Configuration and Management
Overview System configuration and management commands are implemented under root directory. AN5116-02 CLI NMS has two root directories: "User” for common user and “Admin” for administrator. They mean different management authorities. All commands under root directory "User” are included in root directory “Admin” or its
subdirectories.
This
chapter
explains
the
system
configuration
and
management commands under root directory “Admin” in detail. And Appendix A.9 lists all the commands under root d irectory "User”.
3.2
System Configuration and Management Commands Table 3-1
Commands for system
Operation
Command Syntax
Upload system software or configuration
upload ftp [system|config]
file by FTP
Download system software or
download ftp [system|config]
configuration file by FTP
Erase the startup configuration
erase {startup-config}*1
Exit from the administrator mode
exit
Set the host name
hostname
Log off
quit
Reboot the system or an EC2 card
reboot {[|system]}*1
Save the current configuration
save {configuration}*1
Set system time
set time <1970-2100> <1-12> <1-31>
Display the current configuration
show running-config
Display the startup configuration
show startup-config
Display the system time
show time
Synchronize the configuration
synchronize {configuration}*1
3-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3.3
Description of Commands
3.3.1
Upload/Download System Software or Configuration File by FTP Command syntax To upload system software or configuration file by FTP, use the following command syntax: upload ftp [system|config] To download system software or configuration file by FTP, use the following command syntax: download ftp [system|config] Command parameters [system]: System software [config]: Configuration file : IP address of the FTP server : Username of the FTP server : Password of the FTP server : Name of the file for upgrading Configuration example The following example is to download configuration file “AN5116-02 config” from FTP server “10.22.18.55”: Admin# download ftp config 10.22.18.55 test2 drv AN5116-02 config Trying download file from ftp server, please wait... Successfully finished receiving file. Trying write file to flash...... Finished. You've successfully download new config file Now you can type reboot command to reboot system. Admin#
The following example is to upload configuration file “AN5116-02 config” to FTP server “10.22.18.55”: Admin# upload ftp config 10.22.18.55 test2 drv AN5116-02 config Trying upload file to ftp server, please wait... Successfully finished upload file. Finished. You've successfully upload config file. Admin#
3-2
3
3.3.2
System Configuration and Management
Erase Configuration Command syntax erase {startup-config}*1 Command parameters {startup-config}*1: startup configuration; no input means all configurations. Note: This command will erase user-defined configuration and resume factory default configuration. In this course, the whole system will be reset.
Configuration example The following example is to erase the startup configuration: Admin# erase startup-config Are you sure want to erase startup-config? This needs seconds of time to reboot system! [Y/N]y Trying erase all configuration from flash, please wait ...... finished. Successfully erase all configuration info from flash.
3.3.3
Exit from Administrator Mode Command syntax exit Configuration example The following example is to exit from the administrator mode: Admin# exit User>
3.3.4
Log off Command syntax quit
3-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3.3.5
Set the Host Name Command syntax hostname Configuration example The following example is to set the host name to AN5116: Admin# hostname AN5116 Host name is set to: AN5116 AN5116#
3.3.6
Reboot the System or an EC2 Card Command syntax reboot {[|system]}*1 Command parameters {[|system]}*1: The whole system or a number of EC2 cards; no input means the whole system. Configuration example The following example is to reboot the system: Admin# reboot Are you sure to reboot the whole system? [Y/N]Y
3.3.7
Save Current Configuration Command syntax save {configuration}*1 Command parameters {configuration}*1:
A
certain
configuration;
no
input
configuration. Configuration example The following example is to save the current configuration: Admin# save Trying save configuration to flash, please wait ...... Preparing configuration data to save...Done. Starting write configuration data to flash...Done. Configuration save to flash successfully.
3-4
means
the
current
3
3.3.8
System Configuration and Management
Display Current Configuration Command syntax show running-config Configuration example The following example is to display the current configuration: Admin# show running-config ! !WOS system config file---------------------------------------set acl 1 ip 192.167.1.1 mask 255.0.0.0 enable !Device config ------------------------------------------------set uplink port 29:1 flowcontrol disable set temperature thresh max 40.00 min 10.00 set humidity thresh max 80.00 set acv thresh max 280.00 min 170.00 set dcv thresh max 60.00 min 45.00 set battery thresh 43.00 set broadcast control enable limit 1000 set multicast control enable limit 1000 set unknown control enable limit 1000 !Profile config ----------------------------------------------add olt-igmp profile gfw_1 max group supported 0 query interval 12500 timeout vlaue of response 1001 max query time 100 query start count 2 query start interval 3125 query last count 2 query last interval 101 max time of response last 10 resend count 0 resend interval 1000 vlan tag 0 queue number 4 add olt-igmp profile gfw_2 max group supported 0 query interval 12500 timeout vlaue of response 1001 max query time 100 query start count 2 query start interval 3125 query last count 2 query last interval 101 max time of response last 10 resend count 0 resend interval 1000 vlan tag 0 queue number 4 add olt-igmp profile zn max group supported 0 query interval 12500 timeout vlaue of response 1001 max query time 100 query start count 2 query start interval 3125
3-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual query last count 2 query last interval 101 max time of response last 10 resend count 0 resend interval 1000 vlan tag 0 queue number 4 set slot 3 1 mac 544b50000614 sequence 1 authenticated table. set slot 3 1 mac 544b50006710 sequence 10 authenticated table. set slot 3 1 mac 544b50006608 sequence 11 authenticated table. set slot 6 1 mac 544b50006608 sequence 1 authenticated table. set slot 6 1 mac 544b50006710 sequence 2 authenticated table. set slot 6 1 mac 544b500065ac sequence 3 authenticated table. set slot 6 1 mac 544b50006040 sequence 4 authenticated table. !vlan config ------------------------------------------------set ngn vlan uplink port 29:1 untagged vid default !FDB entry config --------------------------------------------!STPD config -------------------------------------------------!BAS config --------------------------------------------------set bas vlanprocessmode cutvid !Qos config ------------------------------------------------create qos access_profile kkk set qos access_profile kkk action set priority mode wrr set epon slot 2 onu 1-7 llidnum 3 set epon slot 3 onu 11 llidnum 3 set epon slot 6 onu 1-4 llidnum 3 set epon slot 12 onu 1-3 llidnum 3 create epon rule profile onu set epon rule profile onu parameter da null 5 set epon slot 2 onu 1-7 userport 1 llid 0 attach rule profile onu priority 4 set epon slot 2 onu 1-7 userport 2 llid 1 attach rule profile onu priority 6 create epon rule profile onu1 set epon rule profile onu1 parameter sa 08003e030217 1 set epon slot 2 onu 1 userport 2 llid 2 attach rule profile onu1 priority 4 create epon rule profile onu2 set epon rule profile onu2 parameter sa 08003e03021f 1 set epon slot 2 onu 2 userport 2 llid 2 attach rule profile onu2 priority 4 create epon rule profile a set epon rule profile a parameter da null 5 create epon rule profile a1 set epon rule profile a1 parameter sa 000e54015ad2 2 create epon rule profile a2 set epon rule profile a2 parameter sa 000e54015ad2 1 create epon rule profile b set epon rule profile b parameter da null 5 set epon slot 3 onu 11 userport 1 llid 0 attach rule profile b priority 5 create epon rule profile b1 set epon rule profile b1 parameter sa 000eb4015ad2 2 set epon slot 3 onu 11 userport 2 llid 1 attach rule profile b1 priority 4 create epon rule profile b2 set epon rule profile b2 parameter sa 000eb4015ad2 1 set epon slot 3 onu 11 userport 2 llid 2 attach rule profile b2 priority 5 create epon rule profile z set epon rule profile z parameter da null 5 set epon slot 12 onu 1 userport 1 llid 0 attach rule profile z priority 5 create epon rule profile z1 set epon rule profile z1 parameter sa 000ac2100001 2 set epon slot 12 onu 1 userport 2 llid 1 attach rule profile z1 priority 4 create epon rule profile z2 set epon rule profile z2 parameter sa 000eb4015486 1 set epon slot 12 onu 1 userport 2 llid 2 attach rule profile z2 priority 5 3-6
3
System Configuration and Management
create epon rule profile w set epon rule profile w parameter da null 5 set epon slot 12 onu 2 userport 1 llid 0 attach rule profile w priority 5 create epon rule profile w1 set epon rule profile w1 parameter sa 000eb4015ad2 2 set epon slot 12 onu 2 userport 2 llid 1 attach rule profile w1 priority 4 create epon rule profile w2 set epon rule profile w2 parameter sa 000eb4015ad2 1 set epon slot 12 onu 2 userport 2 llid 2 attach rule profile w2 priority 5 create epon rule profile wb set epon rule profile wb parameter da null 5 set epon slot 12 onu 3 userport 1 llid 0 attach rule profile wb priority 4 user add wri login-password c11d09c7009e2efa9d68468ce7029794 user role wri ADMIN enable-password c11d09c7009e2efa9d68468ce7029794 !snmp config -------------------------------------------------set syscontact service snmp enable service snmp trap enable !end of config -----------------------------------------------
3.3.9
Display the Startup Configuration Command syntax show startup-config Configuration example The following example is to display the startup configuration: Admin# show startup-config !WOS system config file---------------------------------------!Device config ------------------------------------------------set uplink port 29:1 flowcontrol disable set temperature thresh max 40.00 min 10.00 set humidity thresh max 80.00 set acv thresh max 280.00 min 170.00 set dcv thresh max 60.00 min 45.00 set battery thresh 43.00 set broadcast control enable limit 1000 set multicast control enable limit 1000 set unknown control enable limit 1000 !Profile config ----------------------------------------------set slot 3 1 mac 544b50000614 sequence 1 authenticated table. set slot 3 1 mac 544b50006710 sequence 10 authenticated table. set slot 3 1 mac 544b50006608 sequence 11 authenticated table. set slot 6 1 mac 544b50006608 sequence 1 authenticated table. set slot 6 1 mac 544b50006710 sequence 2 authenticated table. set slot 6 1 mac 544b500065ac sequence 3 authenticated table. set slot 6 1 mac 544b50006040 sequence 4 authenticated table. !vlan config ------------------------------------------------set ngn vlan uplink port 29:1 untagged vid default !FDB entry config ------------------------------------------!STPD config ------------------------------------------------!BAS config --------------------------------------------------set bas vlanprocessmode cutvid !Qos config ------------------------------------------------set priority mode wrr 3-7
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual set epon slot 2 onu 1-7 llidnum 3 set epon slot 3 onu 11 llidnum 3 set epon slot 6 onu 1-4 llidnum 3 create epon rule profile onu set epon rule profile onu parameter da null 5 set epon slot 2 onu 1-7 userport 1 llid 0 attach rule profile onu priority 4 set epon slot 2 onu 1-7 userport 2 llid 1 attach rule profile onu priority 6 create epon rule profile onu1 set epon rule profile onu1 parameter sa 08003e030217 1 set epon slot 2 onu 1 userport 2 llid 2 attach rule profile onu1 priority 4 create epon rule profile onu2 set epon rule profile onu2 parameter sa 08003e03021f 1 set epon slot 2 onu 2 userport 2 llid 2 attach rule profile onu2 priority 4 create epon rule profile onu3 set epon rule profile onu3 parameter sa 08003e030220 1 set epon slot 2 onu 3 userport 2 llid 2 attach rule profile onu3 priority 4 create epon rule profile onu4 set epon rule profile onu4 parameter sa 08003e030215 1 set epon slot 2 onu 4 userport 2 llid 2 attach rule profile onu4 priority 4 create epon rule profile onu5 set epon rule profile onu5 parameter sa 08003e03021c 1 set epon slot 2 onu 5 userport 2 llid 2 attach rule profile onu5 priority 4 create epon rule profile onu6 set epon rule profile onu6 parameter sa 00055d010008 1 set epon slot 2 onu 6 userport 2 llid 2 attach rule profile onu6 priority 4 create epon rule profile onu7 set epon rule profile onu7 parameter sa 00055d010203 1 set epon slot 2 onu 7 userport 2 llid 2 attach rule profile onu7 priority 4 create epon rule profile a set epon rule profile a parameter da null 5 create epon rule profile a1 set epon rule profile a1 parameter sa 000e54015ad2 2 create epon rule profile a2 set epon rule profile a2 parameter sa 000e54015ad2 1 create epon rule profile b set epon rule profile b parameter da null 5 set epon slot 3 onu 11 userport 1 llid 0 attach rule profile b priority 5 create epon rule profile b1 set epon rule profile b1 parameter sa 000eb4015ad2 2 set epon slot 3 onu 11 userport 2 llid 1 attach rule profile b1 priority 4 create epon rule profile b2 set epon rule profile b2 parameter sa 000eb4015ad2 1 set epon slot 3 onu 11 userport 2 llid 2 attach rule profile b2 priority 5 create epon rule profile w2 set epon rule profile w2 parameter sa 000eb4015ad2 1 set epon slot 6 onu 4 userport 2 llid 2 attach rule profile web2 priority 5 !usermanage config--------------------------------------user add wri login-password c11d09c7009e2efa9d68468ce7029794 user role wri ADMIN enable-password c11d09c7009e2efa9d68468ce7029794 !snmp config -----------------------------------------------set syscontact service snmp enable service snmp trap enable !end of config ----------------------------------------------!AN5116 configuration saved from-!User Name : wri !Address : console !Through : Cli !End-----------------------------------------------------------
3-8
3
3.3.10
System Configuration and Management
Set System Time Command syntax set time <1970-2100> <1-12> <1-31> Command parameters <1970-2100>: A year between 1970 and 2100 <1-12>: A month between 1 and 12 <1-31>: A date between 1 and 31 : The hour, minute and second Configuration example The following example is to set the system time to 10:24:24 A.M. on August 16, 2006: Admin# set time 2006 8 16 10:24:24 New time is: Mon Aug 16 10:24:24 CST 2006 Admin#
3.3.11
Display System Time Command syntax show time Configuration example The following example is to display the system time: Admin# show time Now time is: Wed May 17 10:00:03 CST 2006 Admin#
3-9
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3.3.12
Synchronize Configuration Command syntax synchronize {configuration}*1 Command parameters {configuration}*1: Configuration Note: Before synchronizing the configuration to the slave card, use command “save” to save the current configuration.
Configuration example The following example is to synchronize the configuration: Admin# synchronize configuration Admin#
3-10
4
4 4.1
Equipment Configuration and Management
Equipment Configuration and Management Overview Configuration and management commands for AN5116-02 equipment are implemented under the directory “Admin\device#”. Under this directory are also some commands for uplink ports, PON ports, ONU po rts and LLIDs. This chapter only introduces the equipment related commands under this directory,
such
as
configuring
environment
parameters,
setting
packet
suppression, displaying various equipment settings. For uplink ports related commands under this directory, please refer to Chapter 5 of this manual; for PON ports related commands, please refer to Chapter 6; for ONU ports related commands, please refer to Chapter 7; and for LLIDs related commands, please refer to Chapter 8.
4.2
List of Commands Table 4-1
Commands for equipment
Operation
Command Syntax
Perform forced switch
force switch
Disable broadcast/multicast/unknown packet suppression
set [broadcast|multicast|unknown|all] control disable
Set broadcast/multicast/unknown
set [broadcast|multicast|unknown|all] control enable
packet suppression limit
limit <1-131071>
Display broadcast/multicast/ unknown packet suppression settings
show [broadcast|multicast|unknown|all] control
Display history alarms
show history alarm
Display slot information
show slot
Display card version of the equipment
show version
Upgrade the line card software
upgrade xdu
Upgrade PON/ONU firmware of EC2
upgrade [pon|onu]
card
4-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4.3
Description of Commands
4.3.1
Disable Broadcast/Multicast/Unknown Packet Suppression Command syntax set [broadcast|multicast|unknown|all] control disable Command parameters [broadcast]: Broadcast packets [multicast]: Multicast packets [unknown]: Unknown packets [all]: All the forementioned packets
4.3.2
Set Broadcast/Multicast/Unknown Packet Suppression Limit Command syntax set [broadcast|multicast|unknown|all] control enable limit <1-131071> Command parameters [broadcast]: Broadcast packets [multicast]: Multicast packets [unknown]: Unknown packets [all]: All the forementioned packets <1-131071>: Packet suppression limit (packets per second), ranging between 1 and 131071 Configuration example The following example is to disable multicast packet suppression and set broadcast packet suppression limit to 100 packets per second. Admin\device# set multicast control disable Admin\device# set broadcast control enable limit 100 Admin\device#
4-2
4
4.3.3
Equipment Configuration and Management
Perform Forced Switch Command syntax force switch Configuration example The following example is to perform manual forced switch: Admin\device# force switch Note: This command is implemented on current GSWC card, which will be rebooted when the switch is completed.
4.3.4
Display Card Version of the Equipment Command syntax show version Configuration example The following example is to display the card version of the equipment: Admin\device# show version Slot Type Software Version SMU R1.21.02.09 2 EPON R1.22.01.04 Admin\device#
Hardware Version V 1.0 V 1.0
Note: “SMU” indicates GSWC card; “EPON” indicates EC2 card.
4.3.5
Display Slot Information Command syntax show slot Configuration example Admin\device# show slot SlotNum Create SocketNum BoardType 1 down unconnected N/A ------------------------------------------------------------------------------2 up connected EPON ------------------------------------------------------------------------------3 down unconnected N/A ------------------------------------------------------------------------------4 down unconnected N/A ------------------------------------------------------------------------------5 down unconnected N/A ------------------------------------------------------------------------------4-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual 6 down unconnected N/A ------------------------------------------------------------------------------7 down unconnected N/A ------------------------------------------------------------------------------8 down unconnected N/A ------------------------------------------------------------------------------9 up connected SMU_master ------------------------------------------------------------------------------10 down unconnected N/A ------------------------------------------------------------------------------11 down unconnected N/A ------------------------------------------------------------------------------12 down unconnected N/A ------------------------------------------------------------------------------13 down unconnected N/A ------------------------------------------------------------------------------14 down unconnected N/A ------------------------------------------------------------------------------15 down unconnected N/A ------------------------------------------------------------------------------16 down unconnected N/A ------------------------------------------------------------------------------17 down unconnected N/A ------------------------------------------------------------------------------18 down unconnected N/A ------------------------------------------------------------------------------19 up connected VOIP ------------------------------------------------------------------------------20 up connected VOIP ------------------------------------------------------------------------------29 up connected GUPE7 ------------------------------------------------------------------------------Note: “SlotNum” indicates the slot number. “Create” indicates whether a line card is configured at the slot: “down” means there is no line card configured at the slot and “up”
means
there
is
one.
“SocketNum”
indicates
whether
the
master-slave
communication has been established between GSWC card and line card: “connected” means the master-slave communication has been established and “unconnected” means it hasn’t. “BroadType” indicates the card type: “EPON” is EC2 card; “SMU_master” is GSWC card; “VoIP” is VoIP card; and “GUPE” is GUPE7 card (one type of uplink card).
4-4
4
4.3.6
Equipment Configuration and Management
Display Broadcast/Multicast/Unknown/All Packet Suppression Settings Command syntax show [broadcast|multicast|unknown|all] control Command parameters [broadcast]: Broadcast packets [multicast]: Multicast packets [unknown]: Unknown packets [all]: All the forementioned packets Configuration example The following example is to display all packet suppression settings: Admin\device# show all control packet control status broadcast packet control :enable multicast packet control :enable unknown packet control:disable Admin\device#
limit :100 limit :1000
In this example, it displays that: the broadcast packet suppression limit is 100 packets per second; the multicast packet suppression limit is 1000 packets per second; and the unknown packet suppression is disabled.
4.3.7
Display History Alarms Command syntax show history alarm Configuration example Admin\device# show history alarm --------------------------history alarm list----------------------type slot port begin time hot pull out 6 0 19700101000025 code start-up 9 0 19700101000009 code start-up 6 0 19700101000014 hot pull out 6 0 19700101000340 hot pull out 6 0 19700101000753 hot pull out 6 0 19700101001052 hot pull out 6 0 19700101001407 hot pull out 6 0 19700101001716 hot pull out 6 0 19700101002033 hot pull out 6 0 19700101002311 hot pull out 6 0 19700101002622 Admin\device#
end time 19700101000251 19700101000309 19700101000309 19700101000559 19700101001012 19700101001318 19700101001625 19700101001941 19700101002259 19700101002530 19700101002841
4-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4.3.8
Upgrade the Line Card Software Command syntax upgrade xdu Command parameters : IP address of the file server : Username of the file server : Password of the file server : Name of the file for upgrading : No. of the slot to be upgraded Configuration example The following example is to upgrade the software of line cards 1 and 11: Admin\device# upgrade xdu 10.22.18.55 test2 drv xv24nos.bin 1,11 It will take a few minutes, just waiting please ...... xdu at slot 1 upgrade successfully ! xdu at slot 11 upgrade successfully ! After upgrade successfully, you should reboot the line card to take effect!
To upgrade line card software, follow the steps below: 1) Perform connection according to Figure 1-10. 2) Check whether the management VLAN IP address has been configured. If not, configure it according to Section 8.3. 3) Set an IP address for the file server. Note: The file server’s IP address and the management VLAN IP address must be within the same network segment. For example, if the management VLAN IP address is 10.22.100.1, then the file server’s IP address can be set to 10.22.100.2.
4) Start the FTP server and designate the username, password, and the path of the file for upgrading. 5) Perform this command.
4-6
4
4.3.9
Equipment Configuration and Management
Upgrade PON/ONU Firmware Command syntax upgrade [pon|onu] Command parameters [pon|onu]: PON or ONU firmware : ID of PON or ONU: PON ID is between 1 and 2; ONU ID is between 1 and 128 : IP address of the file server : Username of the file server : Password of the file server : Name of the file for upgrading : No. of the slot to be upgraded Configuration example The following example is to upgrade the firmware of slots 1 and 11, PON-1s: Admin\device# upgrade pon 1 10.22.18.55 test2 drv nos.bin 1,11 Note: Please refer to Section 4.3.8 for the upgrade steps.
4-7
5
5 5.1
Uplink Port Configuration and Management
Uplink Port Configuration and Management Overview Configuration and management commands for uplink ports are mainly implemented under the directory “Admin\device#”. These commands can be used to set uplink port’s properties such as work mode and work speed, as well as uplink port related functions such as mirroring and trunking.
5.2
List of Commands Table 5-1
Commands for uplink port
Operation Display uplink port’s configuration, link state or statistical information Enable/Disable an uplink port Enable/Disable uplink port’s auto-negotiation mode Set uplink port’s speed and duplex mode Enable/Disable uplink port’s flow control function Enable/Disable uplink port’s learning function Enable/Disable uplink port’s priority function
Command Syntax show port [|all] {[configuration|linelink|stats]}*1 set uplink port [enable|disable] set uplink port auto [enable|disable] set uplink port speed [10|100] duplex [full |half] set uplink port flowcontrol [enable|disable] set uplink port learning [enable|disable] set uplink port priority [enable|disable]
Create a port trunking group
set trunking grouping
Delete a port trunking group
delete trunking
Display port trunking settings
show trunking
Designate the destination port of mirroring Designate the source port of mirroring Disable current port mirroring Display current port mirroring settings
set mirror to set mirror add set mirror disable show mirror
5-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5.3
Display Uplink Port’s Configuration, Link State or Statistical Information Command syntax show port [|all] {[configuration|linelink|stats]}*1 Command parameters []: A number of ports [all]: All ports {[configuration|linelink|stats]}*1: “configuration” stands for port’s configuration; “linelink” stands for link state; and “stats” stands for statistical information.
5.4
Set Uplink Port’s Properties Uplink port’s properties mainly include its auto-negotiation, flow control, learning and priority functions, as well as its speed and duplex mode. Note: Generally, uplink ports can operate normally with default settings, and changes are needed only for special requirement.
5.4.1
Enable/Disable an Uplink Port Command syntax set uplink port [enable|disable] Command parameters : A number of ports [enable|disable]: Enable or disable these ports
5-2
5
5.4.2
Uplink Port Configuration and Management
Enable/Disable Uplink Port’s Auto-negotiation Mode Command syntax set uplink port auto [enable|disable] Command parameters : A number of ports [enable|disable]: Enable or disable this function
5.4.3
Set Uplink Port’s Speed and Duplex Mode Command syntax set uplink port speed [10|100|] duplex [full|half] Command parameters : A number of ports [10|100]: “10” stands for 10 Mbps; “100” stands for 100 Mbps [full|half]: “full” stands for full-duplex mode; “half” stands for half-duplex mode
5.4.4
Enable/Disable Uplink Port’s Flow Control Function Command syntax set uplink port flowcontrol [enable|disable] Command parameters : A number of ports [enable|disable]: Enable or disable this function
5-3
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
5.4.5
Enable/Disable Uplink Port’s Learning Function Command syntax set uplink port learning [enable|disable] Command parameters : A number of ports [enable|disable]: Enable or disable this function
5.4.6
Set Uplink Port’s Priority Command syntax To enable/disable uplink port’s priority function, use the following command syntax: set uplink port priority [enable|disable] To set uplink port’s priority level, use the following command syntax: set uplink port privalue <0-7> Command parameters : A number of ports [enable|disable]: Enable or disable this function <0-7>: Port priority level, ranging between 0 and 7. “0” stands for the lowest priority level; “7” stands for the highest priority level. Configuration example The following example is to enable the priority function of uplink port 29:1, and set its priority level to 3. Admin\device# set set uplink port 29:1 priority enable Admin\device# set set uplink port 29:1 privalue 3 Admin\device# show show port 29:1 ------------------------------------------------Port:<29:1> 's Configuration Information Link state: Up Port state:Enabled AutoNegotiation: On Speed: 100M Learning: Enabled Duplex: Full FlowControl: On Port VLAN ID: 3800 Port VLAN name: default PriEn: On PriValue: 3 ------------------------------------------------
5-4
5
Uplink Port Configuration Configuration and and Management Management
The following example is to disable the priority function of uplink port 29:2, and display its status. Admin\device# set set uplink port 29:2 disable Admin\device# show show port 29:2 -----------------------------------------------Port:<29:2> 's Configuration Information Link state: Down Port state: Disabled AutoNegotiation: On Speed: 100M Learning: Enabled Duplex: Full FlowControl: On Port VLAN ID: 3800 Port VLAN name: default PriEn: Off PriValue: 0 ------------------------------------------------
5.5
Configure Uplink Port Trunking Port trunking is a method of b inding multiple ports of lower bandwidth to achieve a single logical port of higher bandwidth. It provides higher bandwidth so as to enhance the reliability of equipment connection. Note:
♦
Port trunking is only available on uplink ports of this equipment.
♦
Port trunking must be set on both connected equipments.
♦
All the th e ports in a trunking group must have the same properties. Thus, they can operate in just the same state for the purpose of load balance and fault tolerance. These properties include port’s auto-negotiation mode, speed, duplex mode, flow control and its STP properties.
♦
Mirroring function must be disabled on these ports because extra bandwidth occupation weakens wire-speed forwarding and causes eq uipment failure.
♦
All the ports in a trunking group must belong to the same VLAN, with the same Untagged/Tagged setting.
♦
To configure a trunking group, firstly designate a master port. The port in up state (linked) is preferred. If all the ports in a trunking group are down (unlinked), choose anyone of them.
5-5
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
5.5.1
Create a Trunking Group Command syntax To create a trunking group, use the following command syntax: set trunking grouping Command parameters : Designate the master port : Designate the member port(s)
5.5.2
Delete a Trunking Group Command syntax To delete a trunking group, use the following command syntax: delete trunking Command parameters : No. of the master port
5.5.3
Display Port Trunking Settings Command syntax show trunking Configuration example The following example is to create a trunking group with uplink ports 29:1 to 29:4, and then display the port trunking settings after this operation. Admin\device# set trunking 29:1 grouping 29:1-29:4 29:1-29:4 Admin\device# show show trunking Sharing port group 1 information: Master Port: 29:1 Group Ports: 29:1 29:2 29:3 29:4 Admin\device#
5-6
5
5.6
Uplink Port Configuration and Management
Configure Uplink Port Mirroring Port mirroring is a method of data reproduction from one or more ports to a designated port. In this way, real-time traffic analysis and fault diagnosis on the network can be implemented. General steps for port mirroring configuration are listed below: 1. Use the command “set mirror to ” to designate the destination port of mirroring 2. Use the command “set mirror add ” to designate the source port of mirroring Note: ♦
This function is only available on uplink ports of this equipment.
♦
To configure port mirroring, first designate the destination port of mirroring, and then designate the source port. To change the destination or source port, first disable this port mirroring, and then reconfigure it.
5.6.1
Designate the Destination Port of Mirroring Command syntax set mirror to Command parameters : No. of the destination port of mirroring; data flow on the source port of mirroring will be copied to this port.
5.6.2
Designate the Source Port of Mirroring Command syntax set mirror add Command parameters : No. of the source port of mirroring; data flow on this port will be copied to the destination port of mirroring.
5-7
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5.6.3
Disable Current Port Mirroring Command syntax To disable current port mirroring, use the following command syntax: set mirror disable
5.6.4
Display Current Port Mirroring Settings Command syntax To display current port mirroring settings, use the following command syntax: show mirror Configuration example In the following example, uplink port 29: 1 is designated as the destination port of mirroring to monitor all traffic coming into or out of port 29: 2. Then it displays the port mirroring settings. Admin\device# set mirror to 29:1 Admin\device# set mirror add 29:2 Admin\device# show mirror Mirroring information: The port which traffic mirror to: 29:1 The ports which traffic mirror from: 29:2 Admin\device#
5-8
6
6 6.1
PON Port Configuration and Management
PON Port Configuration and Management
Overview Configuration and management commands for PON ports of EC2 card are mainly implemented under directories “Admin\device#”. These commands can be used to set PON port’s bandwidth and SLA parameters, and manage its authorized table of ONU MAC addresses.
6.2
List of Commands Table 6-1
Commands for PON port
Operation Add all unauthorized ONUs of a PON port into its authorized table Set PON port’s bandwidth parameters Set PON port’s SLA parameters Display the table of authorized ONUs’ MAC addresses of a PON port
Command Syntax set slot <1-18> pon [1|2] authenticated table set slot <1-18> pon [1|2|all] [upstream|downstream] bandwidth <0-1000000> burst <0-256> set slot <1-18> pon [1|2|all] sla max_linknum show slot <1-18> pon [1|2] authenticated table
Display PON port’s bandwidth settings
show slot <1-18> pon-bandwidth
Display PON port’s SLA settings
show slot <1-18> sla-priority-max_linknum
Display the table of unauthorized ONUs’ MAC addresses of a PON port
show slot <1-18> pon [1|2] un-authenticated table
6-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6.3
Description of Commands
6.3.1
Set PON Port’s Bandwidth Parameters Command syntax set slot <1-18> pon [1|2|all] [upstream|downstream] bandwidth <0-1000000> burst <0-256> Command parameters <1-18>: Slot no. [1]: PON port 1 [2]: PON port 2 [all]: PON ports 1 and 2 [upstream]: Upstream [downstream]: Downstream <0-1000000>: Bandwidth in kbit/s <0-256>: Burst permitted in kbit/s Configuration example The following example is to set slot 3, both PON ports’ upstream bandwidth to 920 Mbit/s, and the burst permitted to 100 kbit/s. Admin\device# set slot 3 pon all upstream bandwidth 920000 burst 100 Admin\device# Note: If both bandwidth and burst permitted are set to 0, it means default settings are applied.
6-2
6
6.3.2
PON Port Configuration and Management
Set PON Port’s SLA Parameters Command syntax set slot <1-18> pon [1|2|all] sla max_linknum Command parameters <1-18>: Slot no. [1]: PON port 1 [2]: PON port 2 [all]: PON ports 1 and 2 : The maximum link number of prioriry level 0 : The maximum link number of prioriry level 1 : The maximum link number of prioriry level 2 Configuration example The following example is to set slot 3, both PON ports’ SLA parameters. Set the maximum link number of prioriry level 0 to 32, that of prioriry level 1 to 64, and that of prioriry level 1 to 128. Admin\device# set slot 3 pon all sla max_linknum 32 64 128 Admin\device# Note: For each PON port, the sum of the maximum link numbers of the three prioriry levels mustn’t exceed 224.
6-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6.3.3
Add All Unauthorized ONUs of a PON Port into its Authorized Table Command syntax set slot <1-18> pon [1|2] authenticated table Command parameters <1-18>: Slot no. [1|2]: PON port 1 or 2 Configuration example The following example is to add the MAC addresses of all unauthorized ONUs of slot 3, PON port 1 into its authorized table: Admin\device# set slot 3 pon 1 au table Admin\device#
6.3.4
Display the Table of Unauthorized ONUs’ MAC Addresses of a PON Port Command syntax show slot <1-18> pon [1|2] un-authenticated table Command parameters <1-18>: Slot no. [1|2]: PON port no. Configuration example The following example is to display the table of unauthorized ONUs’ MAC addresses of slot 3, PON port 1: Admin\device# show slot 3 pon 1 un-authenticated table ---------------------------un-authenticated mac------------------------54:4b:20:00:01:1c 54:4b:20:00:01:64 54:4b:20:00:01:08 54:4b:20:00:01:f8 54:4b:20:00:01:e0 54:4b:20:00:01:2c 54:4b:20:00:01:6c 54:4b:20:00:01:0c Admin\device#
6-4
6
6.3.5
PON Port Configuration and Management
Display the Table of Authorized ONUs’ MAC Addresses of a PON Port Command syntax show slot <1-18> pon [1|2] authenticated table Command parameters <1-18>: Slot no. [1|2]: PON port no. Configuration example The following example is to display the table of authorized ONUs’ MAC addresses of slot 3, PON port 1: Admin\device# show slot 1 pon 1 authenticated ---------authenticated mac--------------------------------1 54:4b:20:00:01:1c registered 2 54:4b:20:00:01:64 registered 3 54:4b:20:00:01:08 loss 4 54:4b:20:00:01:f8 registered 5 54:4b:20:00:01:e0 registered 6 54:4b:20:00:01:2c loss 7 54:4b:20:00:01:6c power off 8 54:4b:20:00:01:0c power off Admin\device# Note: “registered”, “loss” and “power off” are ONU statuses. “registered” indicates this ONU has been registered; “loss” indicates this ONU has no fiber connected or the fiber is broken; and “power off” indicates this ONU is power off.
6-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6.3.6
Display PON Port’s Bandwidth Settings Command syntax show slot <1-18> pon-bandwidth Command parameters <1-18>: Slot no. Configuration example The following example is to display slot 3, both PON ports’ bandwidth settings: Admin\device#show slot 3 pon-bandwidth up-bandwidth down-bandwidth pon1 950000 0 pon2 950000 0 Admin\device#
6.3.7
up-burst 100 100
down-burst 0 0
Display PON port’s SLA settings Command syntax show slot <1-18> sla-priority-max_linknum Command parameters <1-18>: Slot no. Configuration example The following example is to display slot 3, both PON ports’ SLA settings: Admin\device#show slot 3 sla-priority-max_linknum priority0 priority1 priority2 pon1 32 128 64 pon2 32 128 64 Admin\device#
6-6
7
7 7.1
ONU Port Configuration and Management
ONU Port Configuration and Management
Overview Configuration and management commands for PON ports of EC2 card are mainly implemented under directories “Admin\device#”. These commands can be used to set ONU port’s properties and manage its authorization property.
7.2
List of Commands Table 7-1
Commands for ONU port
Operation
Command Syntax
Add the MAC address of an unauthorized
set slot <1-18> sequence <1-128> mac
ONU into the authorized table
authenticated table set slot <1-18> onu robust <0-12>
Set ONU’s IGMP parameters
last-member-query-count <0-12> max_group port1 <0-32> port2 <0-32>
Enable/Disable ONU port’s
set slot <1-18> onu port [1|2|all] auto
auto-negotiation function
[enable|disable]
Enable/Disable ONU port’s error frame
set slot <1-18> onu port [1|2|all]
discard function
drop-errorframe [enable|disable]
Set ONU port’s duplex mode
set slot <1-18> onu port [1|2|all] duplex [full|half]
Enable/Disable ONU port’s flow control
set slot <1-18> onu port [1|2|all]
function
flow-control [enable|disable]
Set ONU port’s address learning limit Set ONU port’s speed
set slot <1-18> onu port [1|2|all] leraning-number <1-64> set slot <1-18> onu port [1|2|all] speed [10|100]
Remove an authorized ONU from the
set slot <1-18> sequence
authorized table
un-authenticat
Display ONU port’s IGMP settings
show slot <1-18> onu igmp-info
Display ONU port’s properties
show slot <1-18> onu port [1|2|all]
Enable/Disable ONU’s CATV function
set slot <1-18> onu catv [enable|disable]
7-1
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
7.3
Description of Commands
7.3.1
Set ONU Port’s IGMP Parameters Command syntax set slot <1-18> onu robust <0-12> last-member-query-count <0-12> max_group port1 <0-32> port2 <0-32> Command parameters <1-18>: Slot no. : ONU list <0-12>: Robust count <0-12>: The last member query count <0-32>: The maximum number of IGMP snooping groups supported by port 1 <0-32>: The maximum number of IGMP snooping groups supported by port 2 Configuration example The following example is to set slot 3, all ONUs, FE ports’ IGMP parameters. Set the robust count to 5, the last member query count to 6, the maximum number of IGMP snooping groups supported by port 1 to 5, and that of port 2 to 10. Admin\device# set set slot 3 onu 1-128 robust 5 last last 6 max_group port1 5 port2 port2 10 Admin\device# Note: The sum of the maximum number of IGMP snooping groups supported by port 1 and port 2 of ONU mustn’t exceed 32.
7-2
7
7.3.2
ONU Port Configuration Configuration and and Management Management
Add an Unauthorized ONU into the Authorized Table Command syntax set slot <1-18> sequence <1-128> mac authenticated table Command parameters <1-18>: Slot no. <1-128>: ONU sequence number: 1 - 64 are used for ONUs of PON port 1; 65 128 for ONUs of PON port 2 : MAC address of the ONU Configuration example The following example is to add the ONU with MAC address of 544b034c13 into the authorized table of slot 3, PON port 1 and assign sequence number 5 for this ONU: Admin\device# set set slot 3 sequence 5 mac mac 544b034c13 au table table Admin\device#
7.3.3
Remove an Authorized ONU from the Authorized Table Command syntax set slot <1-18> sequence un-authenticate Command parameters <1-18>: Slot no. <1-128>: ONU sequence number: 1 - 64 are used for ONUs of PON port 1; 65 – 128 for ONUs of PON port 2 : ONU sequence number list; it can be used to remove authorized ONUs in batches. Configuration example The following example is to remove the ONUs with sequence numbers 1 to 5 of slot 3, PON port 1 from the authorized table: Admin\device# set set slot 3 sequence 1-5 1-5 un-authenticate Admin\device#
7-3
AN5116-02 AN5116-02 Equipment Command Line Interface Interface Network Management Management System System Operation Manual
7.3.4
Enable/Disable ONU Port’s Auto-negotiation Function Command syntax set slot <1-18> onu port [1|2|all] auto [enable|disable] Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 [enable]: Enable this function [disable]: Disable this function Configuration example The following example is to enable slot 3, all ONUs, both ports’ auto-negotiation function: Admin\device# set slot 3 onu 1-128 port all auto enable enable Admin\device#
7-4
7
7.3.5
ONU Port Configuration and Management
Enable/Disable ONU Port’s Error Frame Discard Function Command syntax set slot <1-18> onu port [1|2|all] drop-errorframe [enable|disable] Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 [enable]: Enable this function [disable]: Disable this function Configuration example The following example is to enable slot 3, all ONUs, both ports’ error frame discard function: Admin\device# set slot 3 onu 1-128 port all drop enable Admin\device#
7-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7.3.6
Set ONU Port’s Duplex Mode Command syntax set slot <1-18> onu port [1|2|all] duplex [full|half] Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 [full]: Full-duplex mode [half]: Half-duplex mode Configuration example The following example is to set full-duplex mode for slot 3, all ONUs, both ports: Admin\device# set slot 3 onu 1-128 port all duplex full Admin\device#
7-6
7
7.3.7
ONU Port Configuration and Management
Set ONU Port’s Speed Command syntax set slot <1-18> onu port [1|2|all] speed [10|100] Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 [10]: 10 Mbit/s [100]: 100 Mbit/s Configuration example The following example is to set slot 3, all ONUs, both ports’ speed to 10 Mbit/s: Admin\device# set slot 3 onu 1-128 port all speed 10 Admin\device#
7-7
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7.3.8
Set ONU Port’s Address Learning Limit Command syntax set slot <1-18> onu port [1|2|all] learning <1-64> Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 <1-64>: The number limit of the learning ad dresses Configuration example The following example is to set 40 for the number limit of the learning addresses for slot 3, all ONUs, port-1s: Admin\device# set slot 3 onu 1-128 port 1 learnig-number 40 Admin\device#
7-8
7
7.3.9
ONU Port Configuration and Management
Enable/Disable ONU Port’s Flow Control Function Command syntax set slot <1-18> onu port [1|2|all] flowcontrol [enable|disable] Command parameters <1-18>: Slot no. : ONU list [1]: ONU port 1 [2]: ONU port 2 [all]: ONU ports 1 and 2 [enable]: Enable this function [disable]: Disable this function Configuration example The following example is to enable slot 3, all ONUs, both ports’ flow control function: Admin\device# set slot 3 onu 1-128 port all flowcontrol enable Admin\device#
7-9
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7.3.10
Display ONU Port’s Properties Command syntax show slot <1-18> onu port [1|2|all] Command parameters <1-18>: Slot no. : ONU list <1|2|all>: ONU port no. Configuration example The following example is to display slot 3, PON 1, ONUs 1 to 5, port-2s’ properties: Admin\device#show slot 3 onu 1-5 port 2 ---------------------------3:1:2------------------------------------------speed:100M auto:enable flowcontrol:disable drop overlength error:enable ---------------------------3:2:2------------------------------------------speed:100M auto:enable flowcontrol:disable drop overlength error:enable ---------------------------3:3:2------------------------------------------speed:100M auto:enable flowcontrol:disable drop overlength error:enable ---------------------------3:4:2------------------------------------------speed:100M auto:enable flowcontrol:disable drop overlength error:enable ---------------------------3:5:2------------------------------------------speed:100M auto:enable flowcontrol:disable drop overlength error:enable Admin\device#
7-10
duplex:full learninglimit:64 duplex:full learninglimit:64 duplex:full learninglimit:64 duplex:full learninglimit:64 duplex:full learninglimit:64
7
7.3.11
ONU Port Configuration and Management
Enable/Disable ONU’s CATV Function Command syntax set slot <1-18> onu catv [enable|disable] Command parameters <1-18>: Slot no. : ONU list [enable]: Enable this function [disable]: Disable this function Configuration example The following example is to disable slot 3, ONU-1’s CATV function: Admin\device# set slot 3 onu 1 catv disable Admin\device#
7.3.12
Display ONU’s IGMP Settings Command syntax show slot <1-18> onu igmp-info Command parameters <1-18>: Slot no. : ONU list Configuration example The following example is to display the IGMP settings of slot 3, ONUs 1 to 5: Admin\device# show slot 3 onu 1-5 igmp-info Robust last-query port1 port2 1 2 0 32 32 2 2 0 32 32 3 2 0 32 32 4 2 0 32 32 5 2 0 32 32 Admin\device#
7-11
8
8 8.1
LLID Configuration and Management
LLID Configuration and Management
Overview Configuration and management commands for LLIDs are implemented under directory “Admin\device#”. These commands can be used to set LLID’s DBA weight parameters and SLA bandwidth parameters, and perform LLID loopback test.
8.2
List of Commands Table 8-1
Commands for LLID
Operation
Command Syntax set slot <1-18> onu llid <0-2>
Set LLID’s DBA weight paramaters
[upstream|downstream] dba_tokens <0-255> min_tokens <0-511> max_tokens <0-511>
Set LLID’s SLA bandwidth parameters
set slot <1-18> onu llid <0-2> [upstream|downstream] minband <0-1000000> maxband <0-1000000> burst <1-256> priority <0-2>
Display LLID’s SLA bandwidth
show slot <1-18> onu llid <0-2>
settings
[upstream|downstream] band-information
Display LLID’s DBA weight settings
show slot <1-18> onu llid <0-2> [upstream|downstream] tokens-information set slot <1-18> onu <1-128> llid <0-2> location
Perform LLID loopback test
[mac|phy] framesnum <1-800> payloadlength <64-1500> payloadtype [increment|random|1|0] VLANtag <0-4094> loopback
8-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8.3
Description of Commands
8.3.1
Set LLID’s DBA Weight Parameters Command syntax set slot <1-18> onu llid <0-2> [upstream|downstream] dba_tokens <0-255> min_tokens <0-511> max_tokens <0-511> Command parameters <1-18>: Slot no. : ONU list <0-2>: LLID no. [upstream]: Upstream [downstream]: Downstream <0-255>: The number of DBA tokens <0-511>: The minimum number of scheduler tokens <0-511>: The maximum number of scheduler tokens Configuration example The following example is to set slot 6, all ONUs, LLID-0s’ upstream DBA weight parameters. Set the number of DBA tokens to 10, the minimum number of scheduler tokens to 111, and the maximum number of scheduler tokens to 234 Admin\device# set slot 6 onu 1-128 llid 0 upstream dba_tokens 10 min_tokens 111 maxtokens 234 Admin\device#
8-2
8
8.3.2
LLID Configuration and Management
Set LLID’s SLA Bandwidth Parameters Command syntax set slot <1-18> onu llid <0-2> [upstream|downstream] minband <0-1000000> maxband <0-1000000> burst <1-256> priority <0-2> Command parameters <1-18>: Slot no. : ONU list <0-2>: LLID no. [upstream]: Upstream [downstream]: Downstream <0-1000000>: The miminum bandwidth in kbit/s <0-1000000>: The maxinum bandwidth in kbit/s <1-256>: The maxinum burst permitted in kbyte/s. <0-2>: Priority level; value 0 indicates the highest priority level, value 2 the lowest Note: If the priority level is set to 0, the miminum bandwidth must be equal to the maxinum bandwidth. If the priority level is set to 2, the miminum bandwidth must be 0.
Configuration example The following example is to set slot 3, ONUs 3 to 5, LLID-0s’ upstream SLA bandwidth parameters. Set the miminum bandwidth to 2 Mbit/s, the maxinum bandwidth to 10 Mbit/s, the maxinum burst permitted to 100 kbyte/s, and the priority level to 1. Admin\device# set slot 3 onu 3-5 llid 0 upstream minband 2000 maxband 10000 burst 100 priority 1 Admin\device#
8-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8.3.3
Display LLID’s SLA Bandwidth Settings Command syntax show slot <1-18> onu llid <0-2> [upstream|downstream] band-information Command parameters <1-18>: Slot no. : ONU list <0-2>: LLID no. [upstream]: Upstream [downstream]: Downstream Configuration example The following example is to display slot 3, PON 1, ONUs 1 to 5, LLID-2s’ upstream SLA bandwidth settings: Admin\device# show slot 3 onu 1-5 llid 2 up band onu minimum bandwidth maximum bandwidth burst priority ----------------------------------------------------------------------------------------------------1 10000 10000 100 0 2 10000 100000 100 1 3 10000 100000 100 1 4 10000 100000 100 1 5 10000 100000 100 1 Admin\device#
8-4
8
8.3.4
LLID Configuration and Management
Display LLID’s DBA Weight Settings Command syntax show slot <1-18> tokens-information
onu
llid
<0-2>
[upstream|downstream]
Command parameters <1-18>: Slot no. : ONU list <0-2>: LLID no. [upstream]: Upstream [downstream]: Downstream Configuration example The following example is to display slot 3, PON 1, ONUs 1 to 5, LLID-2s’ upstream DBA weight settings: Admin\device# show slot 3 onu 1-5 llid 2 up token dba token minimum token maximum token -------------------------------------------------------------------------------------------------------1 2 2 2 2 2 2 2 3 2 2 2 4 2 2 2 5 2 2 2 Admin\device#
8-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8.3.5
Perform LLID Loopback Test Command syntax set slot <1-18> onu <1-128> llid <0-2> location [mac|phy] framesnum <1-3000> payloadlength
<64-1500>
payloadtype
[increment|random|1|0]
VLANtag
<0-4096> loopback Command parameters <1-18>: Slot no. <1-128>: ONU no. <0-2>: LLID no. [mac|phy]: MAC layer or PHY layer <1-3000>: The number of test frames <64-1500>: Payload length [increment|random|1|0]: Packet form: increment, random, all 1s or all 0s. <0-4096>: VLAN tag Configuration example The following example is to perform MAC layer loopback test to slot 3, PON 1, ONU 1, LLID-2. Five test frames will be used: the payload length is 1000 bytes, the packet form is increment, and the VLAN tag is 2000. Admin\device# set slot 3 onu 1 llid 2 location mac framesnum 5 payloadlength 1000 payloadtype increment VLANtag 2000 loopback
The test result is as follows: llid loop back finished. send frame 5,ok is 5,corrupt is 0,minimum delay is 3900,maximum delay is 5900,av erage delay is 4660.
8-6
9
9 9.1
IGMP Profile Configuration and Management
IGMP Profile Configuration and Management Overview Configuration and management commands for IGMP profile of EC2 card (OLT IGMP
profile)
are implemented
under directory “Admin\profile#”. These
commands can be used to set and display OLT IGMP parameters, such as the maximum number of IGMP groups, the minimum or maximum IGMP bandwidth. An existing profile can be applied to several PON ports with the same properties. This batch configuration reduces repetitive operations and improves the operability. This chapter presents these commands in detail.
9.2
List of Commands Table 9-1
Commands for IGMP profile
Operation
Command Syntax
Create a profile
add [olt-igmp] profile
Delete a profile
delete profile
Attach a PON port to an OLT IGMP
set slot <1-18> pon [1|2|all] attach olt-igmp profile
profile
Detach a PON port from an OLT IGMP
set slot <1-18> pon [1|2|all] dettach olt-igmp profile
profile
Modify a profile
set profile
Flush a profile
flush profile
Display the settings of a profile
show profile {}*1
Configure an OLT IGMP profile
Note: An OLT IGMP profile has many parameters; please refer to Section 9.3.2 for details
9-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
General steps for OLT IGMP profile are as follows: 1.
Use command “add olt profile” to create an OLT IGMP profile and enter subdirectory “Admin\profile (OLT-Igmp) #”.
2.
Configure this profile under this subdirectory.
3.
Use command “exit” to exit this subdirectory after the configuration.
4.
Use command “set slot <1-18> pon [1|2|all] attach olt-igmp profile ” to attach an OLT port to this profile. Thus, configuration for this profile is completed.
5.
If an existing profile cannot meet the requirement, use command “set profile ” to enter the subdirectory and modify its configuration.
6.
Exit this subdirectory after the configuration and use command “flush profile ” to make the modified profile take effect.
9.3
Description of Commands
9.3.1
Create a Profile Command syntax add [olt-igmp] profile Command parameters [olt-igmp]: Profile of IGMP properties for PON ports of EC2 card : Profile name with 1 to 29 characters Note: This command consists of two phases: firstly use this command to create an OLT IGMP profile and enter its subdirectory; and then perform further configuration under this subdirectory. The command prompt of OLT IGMP profile is “Admin\profile (OLT-Igmp) #”. For details about the further configuration, please refer to Section 9.3.2 .
9-2
9
9.3.2
IGMP Profile Configuration and Management
Configure an OLT IGMP Profile After an OLT IGMP profile is created, further configuration can be implemented at its command prompt “Admin\profile(OLT-Igmp)#”. It includes the following operations: Enable/Disable delay-sensitive function Delay-Sensitive [enable|disable] [enable]: Enable this function [disable]: Disable this function Set the IP address of IGMP frame Frame-ip : IP address of IGMP frame; when an IGMP frame is sent out, this address will replace its source IP address. Set the maximum IGMP bandwidth max-allowed-bandwidth <0-1000000> <0-1000000>: The maximum bandwidth size, ranging between 0 and 1000000 kbit/s Set the maximum IGMP burst max-burst <1-256> <1-256>: The maximum burst size, ranging between 1 an d 256 kbyte/s Set the maximum number of IGMP groups maxgroup <0-4096> <0-4096>: The maximum number of IGMP groups, ranging between 0 and 4096 Set the minimum IGMP bandwidth min-guaranteed-bandwidth <0-1000000> <0-1000000>: The minimum bandwidth size, ranging between 0 and 1000000 kbit/s
9-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Set query interval queryinterval <11-65535> <11-65535>: Query interval value, ranging between 11 and 65535 (unit: 10 ms) Set query count of the last group member querylastcount <0-16> <0-16>: Query count, ranging between 0 and 16 Set query interval of the last group member querylastinterval <11-65535> <11-65535>: Query interval value, ranging between 11 and 65535 (unit: 10 ms) Set start query count querystartcount <0-16> <0-16>: Query count, ranging between 0 and 16 Set start query interval querystartinterval <11-65535> <11-65535>: Query interval value, ranging between 11 and 65535 (unit: 10 ms) Set queue number queue <1-10> <1-10>: Queue number, ranging between 1 and 10 Set resend count resendcount <0-3> <0-3>: Resend count, ranging between 0 and 3. Set resend interval resendinterval <1-65535> <1-65535>: Resend interval value, ranging between 1 and 65535 (unit: 10 ms)
9-4
9
IGMP Profile Configuration and Management
Set the maximum response time to the query frame from the last group member responselastmaxtime <1-255> <1-255>: The maximum response time, ranging between 1 and 255 (unit: 100 ms) Set the maximum response time towords the query message responsemaxtime <1-255> <1-255>: The maximum response time, ranging between 1 and 255 (unit: 100 ms) Set query response timeout responsetimeout <11-65535> <11-65535>: Timeout value, ranging between 11 and 65535 (unit: 10 ms) Set robust count robustness <1-16> <1-16>: Robustness count, ranging between 1 and 16 Set IGMP frame’s VLAN tag VLANtag <1-65535> <1-65535>: VLAN tag, ranging between 1 and 65535
9.3.3
Attach/Detach a PON Port to/from a Profile Command syntax To attach a PON port to an OLT IGMP profile, use the following command syntax: set slot <1-18> pon [1|2|all] attach olt-igmp profile To detach a PON port from an OLT IGMP profile, use the following command syntax: set slot <1-18> pon [1|2|all] dettach olt-igmp profile Command parameters [<1-18>]: Slot no. [1|2|all]: PON port 1, 2 or both of them : Profile name
9-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
Configuration example The following example is to attach slot 10, PON ports 1 and 2 to OLT IGMP profile “ddd”: Admin\profile# set slot 10 pon all attach olt-igmp profile ddd Admin\profile#
9.3.4
Modify a Profile Command syntax set profile Note: This command is only used to modify an existing profile.
Command parameters : Profile name Configuration example The following example is to modify profile “ddd”: Admin\profile# set profile ddd Admin\profile(OLT-Igmp)#
9.3.5
Flush a Profile Command syntax flush profile Command parameters : Profile name Note: If a profile attached to a certain number of ports has been modified, this command must be used to make the modification take effect on these ports.
9.3.6
Delete a Profile Command syntax delete profile Command parameters : Profile name
9-6
9
9.3.7
IGMP Profile Configuration and Management
Display Profile Settings Command syntax show profile {}*1 Command parameters {}*1: Profile name Configuration example The following example is to create an OLT IGMP profile named “abc”, set its maximum group number to 32, and attach it to slot 1, PON port 1. Admin\profile# add olt-igmp profile abc Add profile success. Admin\profile(OLT-Igmp)# maxgroup 32 Admin\profile(OLT-Igmp)# exit Admin\profile# set slot 1 pon 1 attach olt-igmp profile abc Admin\profile#
The following example is to modify the maximum group number of profile “abc” from 32 to 10, and make this modification take effect on the ports attatched with this profile. Admin\profile# set profile abc Admin\profile(OLT-Igmp)# maxgroup 10 Admin\profile(OLT-Igmp)# exit Admin\profile# flush profile abc Admin\profile#
The following example is to detach PON port 1 of slot 1 from profile “abc”. Admin\profile# set slot 1 pon 1dettach olt-igmp profile abc
9-7
10
FDB Configuration and Management
10 FDB Configuration and Management 10.1
Overview FDB configuration and management commands are implemented under the directory “Admin\fdb#”. These commands can be used to set FDB ageing time, display FDB setting or information.
10.2
List of Commands Table 10-1
Commands for FDB
Operation
Command Syntax
Set ageing time for FDB entries
set fdb agingtime
Display current FDB ageing time setting
show fdb agingtime
Display FDB information of a slot
show fdb slot
Note: AN5116-02 can operate normally with default FDB settings and changes are only needed for special requirement.
10-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
10.3
Description of Commands
10.3.1
Set FDB Entry Ageing time Command syntax set fdb agingtime Command parameters : The ageing time, ranging between 0 and 630 seconds. The default setting is 80 seconds; and the value 0 indicates FDB entries won’t be aged.
10.3.2
Display Current FDB Ageing Time Setting Command syntax show fdb agingtime Configuration example The following example is to display current FDB address entry ageing time: Admin\fdb# show fdb agingtime MAC address agetime: 80 seconds Admin\fdb#
10.3.3
Display FDB Information of a Slot Command syntax show fdb slot Command parameters : No. of a slot Configuration example The following example is to display slot-29’s FDB information: Admin\fdb# show fdb slot 29 Mac address 00:13:d3:29:46:58 00:c0:9f:35:0b:c2 Admin\fdb#
10-2
Port/TrkIndex 29:2 29:2
Vlan ID 4000 4000
Flags Age Age
11 STP Configuration and Management
11 STP Configuration and Management 11.1
Overview The protocol for message exchange between bridges is referred to as Spanning Tree Protocol (STP). With its algorithm, bridges can dynamically discover a loop-free subset of the topology (a tree). At the same time, enough connectivity is ensured so that if physically possible, only one path exists between each two LANs. STP reconfigures the network and reroutes data paths by activating the appropriate standby paths. STP configuration and management commands are implemented under the directory “Admin\stp#”. Note: STP function is only available for uplink ports of this equipment.
11-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11.2
List of Commands Table 11-1
Commands for STP
Operation
Command Syntax
Enable/Disable STP function
set stpd default [enable | disable]
Set STP Forward delay time
set stpd default forwarddelay <4-30>
Set STP Hello time
set stpd default hellotime <1-10>
Set STP Maximum age time
set stpd default maxage <6-40>
Set STP Bridge priority
set stpd default priority <0-65535>
Set STP port path cost Set STP port priority Enable/Disable the STP function of a port (i.e., to specify whether a port to be included in the STP algorithm)
set stpd default port [ | all ] cost <1-65535> set stpd default port [ | all ] priority <0-255> set stpd default port [|all] [enable|disable]
Display STP settings of the default VLAN
show stpd default
Display STP port settings of the default VLAN
show stpd default port [ |all ]
Note: Generally, AN5116-02 can operate normally with default STP settings. To apply this function, just enable it by using the command “set stpd enable”.
11-2
11 STP Configuration and Management
11.3
Description of Commands
11.3.1
Configure STP Parameters of the Default VLAN Command syntax To enable/disable STP function, use the following command syntax: set stpd default [enable | disable] To set STP Forward delay time, use the following command syntax: set stpd default forwarddelay <4-30> To set STP Hello time, use the following command syntax: set stpd default hellotime <1-10> To set STP Maximum age time, use the following command syntax: set stpd default maxage <6-40> To set STP Bridge priority, use the following command syntax: set stpd default priority <0-65535> Command parameters [enable/disable]: Enable or disable this function <4-30>: The Forward delay <1-10>: The Hello time <6-40>: The Max. ageing time <0-65535>: The Bridge priority Configuration example The following example is to configure STP parameters of the default VLAN: Admin\stp# set stpd default enable Admin\stp# set stpd default forwarddelay 25 Set Bridge's STP ForwardDelay = 25 seconds. Admin\stp# set stpd default hellotime 5 Set Bridge's STP Hello Time = 5 seconds. Admin\stp# set stpd default maxage 30 Set Bridge's STP Max Age = 30 seconds. Admin\stp# set stpd default priority 333 Set Bridge's STP priority = 333. Admin\stp#
11-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11.3.2
Configure STP Port of the Default VLAN Command syntax To set STP ports’ path cost, use the following command syntax: set stpd default port [ | all ] cost <1-65535> To set STP ports’ priority, use the following command syntax: set stpd default port [ | all ] priority <0-255> To enable/disable the STP function of a port (i.e., to specify whether a port to be included in the STP algorithm), use th e following command syntax: set stpd default port [|all] [enable|disable] Command parameters []: One or a number of ports [all]: All ports [enable]: Enable this function [disable]: Disable this function <1-65535>: Path cost <0-255>: Port priority level Configuration example The following example is to configure the STP ports of the default VLAN: Admin\stp# set stpd default enable Admin\stp# set stpd default port all cost 12345 Admin\stp# set stpd default port all priority 200 Admin\stp#
11-4
11 STP Configuration and Management
11.3.3
Display STP Settings of the Default VLAN Command syntax show stpd default Configuration example The following example is to display STP settings of the default VLAN: Admin\stp# show stpd default STP Domain default information ------------------------------------------------------ Designated Root Info -Priority: 333 Mac address: 00:0a:c2:00:00:55 Max Age: 30 Hello Time: 5 Forward Delay: 25 -- STP Domain Config Info -Priority: 333 Mac address: 00:0a:c2:00:00:55 Root Path Cost: 0 Root Port: 0 Bridge Max Age: 30 Bridge Hello Time: 5 Bridge Forward Delay: 25 ---------------------------------------------------- Admin\stp#
11-5
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11.3.4
Display STP Port Settings of the Default VLAN Command syntax show stpd default port [ |all ] Command parameters []: One or a number of ports [all]: All ports Configuration example The following example is to display STP port settings of the default VLAN: Admin\stp# show stpd default port 29:1 ---------------------------------------------------------------Port 29:1 's Spanning Tree Protocol Information Port Join STP Domain default 's Calculate -- Port Info -Port id: 29 Priority: 200 State: Forwarding Path Cost: 12345 Designated Cost: 0 -- Designated Port -Port id: 29 Priority: 200 -- Designated Root -Priority: 333 Mac address: 00:0a:c2:00:00:55 -- Designated Bridge -Priority: 333 Mac address: 00:0a:c2:00:00:55 --------------------------------------------------------------- Admin\stp#
11-6
12
VLAN Configuration and Management
12 VLAN Configuration and Management 12.1
Overview Setting VLANs on networks helps form safety and independent broadcast domains so as to decrease the congestion due to broadcast traffic. All Ethernet packets such as unicast packets, multicast packets, broadcast packets and unknown packets are forwarded within a single VLAN. Thus VLANs provide extra security to a certain extent. In addition, VLANs can change the network topology without moving devices or changing network connection. VLAN configuration and management commands are implemented under the directory “Admin\vlan#”, mainly for port-based and 802.1Q -based VLAN configuration and management. Before configuring VLAN, use command “show vlan” to display the default VLAN settings of AN5116-02: Admin\ vlan# show vlan VLAN ID: 4088 Name: default Mac address: 00:0a:c2:00:00:55 Tagged Ports Untagged Ports: 29:1-29:7 Admin\ vlan # Note: By default, all ports of AN5116-02 belong to VLAN with VID of 4088 in untagged mode.
12-1
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12.2
Common VLAN Table 12-1
Common commands for VLAN
Operation
Command Syntax
Create a VLAN
Create [single|shared|double] vlan
Delete a VLAN
Delete vlan
Add/Delete ports/LLIDs
set vlan [add|delete] port
into/from a VLAN
[tagged|untagged]
Set the tag of a VLAN
set vlan tag
Display VLAN settings
show vlan {}*1
Note: Common VLAN commands (see the table above) are a vailable for single, shared or double-labelled VLAN.
General steps for common VLAN configuration are as follows: 1. Use command “create [single|shared|double] vlan ” to create a VLAN; 2. Use command “set vlan [add|delete] port [tagged |untagged]” to add or delete tagged or untagged ports into or from a VLAN.
12.2.1
Create a VLAN Command syntax create [single|shared|double] vlan
Command parameters [single|shared|double]: VLAN mode: single, shared or double-labeled. : VLAN name Configuration example The following example is to create single VLAN named “v1”: Admin\VLAN# create single vlan v1
12-2
12
12.2.2
VLAN Configuration and Management
Set the Tag of a VLAN Command syntax set VLAN tag Command parameters : VLAN name : Tag value Configuration example The following example is to set 1000 for the tag of VLAN “v1”: Admin\ vlan# set VLAN v1 tag 1000
12.2.3
Add/Delete Ports/LLIDs into/from a VLAN Command syntax set vlan [add|delete] port [tagged|untagged] Command parameters : VLAN name [add|delete]: Add or delete one or a number of ports to or from this VLAN : Port list (or LLID list) [tagged|untagged]: Port’s “tagged” or “untagged” property Configuration example The following example is to add LLIDs 1:1 - 1:256 in untagged mode into VLAN “v1”: Admin\ vlan# set VLAN v1 add port 1:1-1:256 untagged
The following example is to delete untagged LLIDs 1:1 - 1:64 from VLAN “v1”: Admin\ vlan# set VLAN v1 delete port 1:1-1:64 untagged
12-3
AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12.2.4
Display VLAN Settings Command syntax show vlan {}*1 Command parameters