You are on page 1of 172

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 or distributor for any help needed by one
of the following methods.
Fiberhome Telecommunication Technologies Co., Ltd.
Address: #88 Youkeyuan Rd., Wuhan, China
Zip code: 430074
Tel: +86-27-87691549
Fax: +86-27-87691755
Website: 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 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
2 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
3 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

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
4 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
5 Uplink Port Configuration and Management ............................................................................. 5-1
5.1 Overview.......................................................................................................................... 5-1
5.2 List of Commands............................................................................................................ 5-1
5.3 Display Uplink Ports Configuration, Link State or Statistical Information......................... 5-2
5.4 Set Uplink Ports Properties ............................................................................................. 5-2
5.4.1 Enable/Disable an Uplink Port ......................................................................... 5-2
5.4.2 Enable/Disable Uplink Ports Auto-negotiation Mode....................................... 5-3
5.4.3 Set Uplink Ports Speed and Duplex Mode...................................................... 5-3
5.4.4 Enable/Disable Uplink Ports Flow Control Function........................................ 5-3
5.4.5 Enable/Disable Uplink Ports Learning Function.............................................. 5-4
5.4.6 Set Uplink Ports Priority .................................................................................. 5-4
5.5 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
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

5.6.3 Disable Current Port Mirroring ......................................................................... 5-8
5.6.4 Display Current Port Mirroring Settings............................................................ 5-8
6 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 Ports Bandwidth Parameters ........................................................... 6-2
6.3.2 Set PON Ports 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 Ports Bandwidth Settings........................................................... 6-6
6.3.7 Display PON ports SLA settings ..................................................................... 6-6
7 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 Ports 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 Ports Auto-negotiation Function.................................... 7-4
7.3.5 Enable/Disable ONU Ports Error Frame Discard Function.............................. 7-5
7.3.6 Set ONU Ports Duplex Mode .......................................................................... 7-6
7.3.7 Set ONU Ports Speed..................................................................................... 7-7
7.3.8 Set ONU Ports Address Learning Limit........................................................... 7-8
7.3.9 Enable/Disable ONU Ports Flow Control Function.......................................... 7-9
7.3.10 Display ONU Ports Properties....................................................................... 7-10
7.3.11 Enable/Disable ONUs CATV Function.......................................................... 7-11
7.3.12 Display ONUs IGMP Settings ....................................................................... 7-11
8 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 LLIDs DBA Weight Parameters ................................................................ 8-2
8.3.2 Set LLIDs SLA Bandwidth Parameters ........................................................... 8-3
8.3.3 Display LLIDs SLA Bandwidth Settings........................................................... 8-4
8.3.4 Display LLIDs DBA Weight Settings................................................................ 8-5



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual

8.3.5 Perform LLID Loopback Test ........................................................................... 8-6
9 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
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
11 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 Equipments Priority Mode....................................................................... 13-7
13.2.11 Display Equipments Priority Mode ................................................................ 13-7
13.3 EPON Rule Profile and LLID Number ............................................................................ 13-8
13.3.1 Set ONUs LLID Number................................................................................ 13-9
13.3.2 Display ONUs 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
I
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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
II
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
Symbol Meaning
/ Or
X\Y X is the parent menu item of Y and Y is the submenu item of X



Operation Safety Rules
III
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.
Dont exit the network management system when it is working
normally. To exit the network management system doesnt 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. Its forbidden to connect an unidentified
memory device with network management computer so as to avoid
computer virus.
Dont delete any file in the network management system randomly or
copy any irrelevant file into the network management computer.
Dont 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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
IV

No access to Internet !
WS/OS

Figure 1 No access to Internet
Dont use network management system to perform circuit dispatching
or expansion setting in service rush hours.
Dont modify network management computers 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)



Operation Safety Rules
V


No modification !

Figure 3 Not permitted to modify protocol setting randomly (2)



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
VI


No modification !

Figure 4 Not permitted to modify LAN setting randomly




Abbreviations
VII
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



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 Overview
1-1
1 Overview
1.1 Overview of AN5116-02
AN5116-02 is a carrier-class EPON Optical Line Terminal of high performance
and high port-density. Its 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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-2
1.3 How to Establish CLI Session via Console Port
To establish a CLI session via AN5116-02s Console port (on GSWC cards 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).
AN5116-02
Local management terminal
Console port
(on GSWC
cards front panel
RS-232
serial-port
Serial cable

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 Hyper Terminal startup



1 Overview
1-3

Figure 1-3 Hyper Terminal Connection Description
2) 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 Hyper Terminal Connect To
3) 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).



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-4

Figure 1-5 Hyper Terminal COM1 Properties
4) Configure COM1 properties as follows: 9600 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 Successful establishment of a Hyper Terminal CLI session



1 Overview
1-5
5) Save the session configuration before exit, 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 \Communications \Hyper Terminal.

Figure 1-7 Save FiberHome CLI 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.
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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-6
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 in band or out of band.
The outband connection can be realized via LAN or WAN:
LAN outband connection: Connect local Telnet computers network port and
GUP7/GUPE7 cards FE port via a Hub or layer 2 switch (see Figure 1-8).

AN5116-02
FE port on
GUP7/GUPE7 card
Workstation
Local Telnet computer

Figure 1-8 Outband Telnet connection via LAN



1 Overview
1-7
WAN outband connection: Connect local Telnet computers network port and
GUP7/GUPE7 cards FE port remotely via WAN (see Figure 1-9).
Local Telnet computer
AN5116-02
FE port on
GUP7/GUPE7 card
Local office
Local router
Remote LAN
WAN
Remote router

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
AN5116-02
GE uplink port
on GUP7/GUPE7 card

Figure 1-10 Inband Telnet connection



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-8
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 Overview
1-9
4) 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-10
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-02s 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 Overview
1-11
1.5 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-12
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 #
For equipment and uplink ports configuration and
management
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
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 Overview
1-13
1.7 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-14
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 Overview
1-15
1.8 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 then 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 [<portlist> | all ]
priority <0-255>:
Firstly type command name set stpd default port. [<portlist> | all ] indicates that
either <portlist> or all must be chosed to specify the object ports. To use
parameter <portlist> 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-16
Port representation
For commands with parameter portlist in the syntax, enter one 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 mentioned above wont be displayed on the screen.



1 Overview
1-17
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, <cr> will
occurindicating 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 Enter into appointed dir.
clear Clear screen.
download Download file for software upgrade or load user config.
erase Erase info from flash.
exit Exit current mode and down to previous mode.
help Description of the interactive help system.
hostname Set system's network name.
list Print command list.
quit Disconnect from switch and quit.
reboot Reboot the IP_xdsl.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
1-18
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] <A.B.C.D> <username> <password> <filename>
3. erase {startup-config}*1
4. exit
5. help
6. hostname <hostname>
7. list
8. quit
9. reboot {[<slotlist>|smu]}*1
10. save {configuration}*1
11. set time <1970-2100> <1-12> <1-31> <HH:MM:SS>
12. show history
13. show running-config
14. show startup-config
15. show time
16. synchronize {configuration}*1
17. upload ftp [system|config] <A.B.C.D> <username> <password> <filename>
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 <cr> will occur,
indicating that pressing key Enter will execute this command. In this manual, <cr> is
omitted in command examples.




2 Common Configuration and Management
2-1
2 Common Configuration and Management
2.1 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
list
Display history commands show history




AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
2-2

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 ports 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 Common Configuration and Management
2-3
[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 the 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
2-4
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 <name>
3. delete manage vlan
4. delete vlan <name>
5. help
6. list
7. set manage ip <A.B.C.D/M> {<A.B.C.D>}*1
8. set manage vlan inputport <vid> <portlist> [untagged|tagged]
9. set vlan <name> [add|delete] port <portlist> [tagged|untagged]
10. set vlan <name> tag <value>
11. show history
12. show manage vlan
13. show vlan {<name>}*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 the 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




3 System Configuration and Management
3-1
3 System Configuration and Management
3.1 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 directory "User.
3.2 System Configuration and Management Commands
Table 3-1 Commands for system
Operation Command Syntax
Upload system software or configuration
file by FTP
upload ftp [system|config] <A.B.C.D>
<username> <password> <filename>
Download system software or
configuration file by FTP
download ftp [system|config] <A.B.C.D>
<username> <password> <filename>
Erase the startup configuration erase {startup-config}*1
Exit from the administrator mode exit
Set the host name hostname <hostname>
Log off quit
Reboot the system or an EC2 card reboot {[<slotlist>|system]}*1
Save the current configuration save {configuration}*1
Set system time
set time <1970-2100> <1-12> <1-31>
<HH:MM:SS>
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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3-2
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] <A.B.C.D> <username> <password> <filename>
To download system software or configuration file by FTP, use the following
command syntax:
download ftp [system|config] <A.B.C.D> <username> <password> <filename>
Command parameters
[system]: System software
[config]: Configuration file
<A.B.C.D>: IP address of the FTP server
<username>: Username of the FTP server
<password>: Password of the FTP server
<filename>: 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 System Configuration and Management
3-3
3.3.2 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3-4
3.3.5 Set the Host Name
Command syntax
hostname <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 {[<slotlist>|system]}*1
Command parameters
{[<slotlist>|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 means the current
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 System Configuration and Management
3-5
3.3.8 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3-6
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 System Configuration and Management
3-7
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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3-8
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 System Configuration and Management
3-9
3.3.10 Set System Time
Command syntax
set time <1970-2100> <1-12> <1-31> <HH:MM:SS>
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
<HH:MM:SS>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
3-10
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#



4 Equipment Configuration and Management
4-1
4 Equipment Configuration and Management
4.1 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 ports 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
packet suppression limit
set [broadcast|multicast|unknown|all] control enable
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 <A.B.C.D> <username> <password>
<filename> <slotlist>
Upgrade PON/ONU firmware of EC2
card
upgrade [pon|onu] <id> <A.B.C.D> <username>
<password> <filename> <slotlist



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4-2
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 Equipment Configuration and Management
4-3
4.3.3 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 Hardware Version
SMU R1.21.02.09 V 1.0
2 EPON R1.22.01.04 V 1.0
Admin\device#
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
-------------------------------------------------------------------------------



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4-4
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 hasnt. 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 Equipment Configuration and Management
4-5
4.3.6 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 limit :100
multicast packet control :enable limit :1000
unknown packet control:disable
Admin\device#
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 end time
hot pull out 6 0 19700101000025 19700101000251
code start-up 9 0 19700101000009 19700101000309
code start-up 6 0 19700101000014 19700101000309
hot pull out 6 0 19700101000340 19700101000559
hot pull out 6 0 19700101000753 19700101001012
hot pull out 6 0 19700101001052 19700101001318
hot pull out 6 0 19700101001407 19700101001625
hot pull out 6 0 19700101001716 19700101001941
hot pull out 6 0 19700101002033 19700101002259
hot pull out 6 0 19700101002311 19700101002530
hot pull out 6 0 19700101002622 19700101002841
Admin\device#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
4-6
4.3.8 Upgrade the Line Card Software
Command syntax
upgrade xdu <A.B.C.D> <username> <password> <filename> <slotlist>
Command parameters
<A.B.C.D>: IP address of the file server
<username>: Username of the file server
<password>: Password of the file server
<filename>: Name of the file for upgrading
<slotlist>: 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 servers 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 servers 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 Equipment Configuration and Management
4-7
4.3.9 Upgrade PON/ONU Firmware
Command syntax
upgrade [pon|onu] <id> <A.B.C.D> <username> <password> <filename>
<slotlist>
Command parameters
[pon|onu]: PON or ONU firmware
<id>: ID of PON or ONU: PON ID is between 1 and 2; ONU ID is between 1 and
128
<A.B.C.D>: IP address of the file server
<username>: Username of the file server
<password>: Password of the file server
<filename>: Name of the file for upgrading
<slotlist>: 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.




5 Uplink Port Configuration and Management
5-1
5 Uplink Port Configuration and Management
5.1 Overview
Configuration and management commands for uplink ports are mainly
implemented under the directory Admin\device#. These commands can be used
to set uplink ports 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 Command Syntax
Display uplink ports configuration,
link state or statistical information
show port [<portlist>|all] {[configuration|linelink|stats]}*1
Enable/Disable an uplink port set uplink port <portlist> [enable|disable]
Enable/Disable uplink ports
auto-negotiation mode
set uplink port <portlist> auto [enable|disable]
Set uplink ports speed and duplex
mode
set uplink port <portlist> speed [10|100] duplex [full|half]
Enable/Disable uplink ports flow
control function
set uplink port <portlist> flowcontrol [enable|disable]
Enable/Disable uplink ports
learning function
set uplink port <portlist> learning [enable|disable]
Enable/Disable uplink ports
priority function
set uplink port <portlist> priority [enable|disable]
Create a port trunking group set trunking <portmasteno> grouping <portlist>
Delete a port trunking group delete trunking <portmasteno>
Display port trunking settings show trunking
Designate the destination port of
mirroring
set mirror to <portno>
Designate the source port of
mirroring
set mirror add <portno>
Disable current port mirroring set mirror disable
Display current port mirroring
settings
show mirror




AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5-2
5.3 Display Uplink Ports Configuration, Link State or Statistical
Information
Command syntax
show port [<portlist>|all] {[configuration|linelink|stats]}*1
Command parameters
[<portlist>]: A number of ports
[all]: All ports
{[configuration|linelink|stats]}*1: configuration stands for ports configuration;
linelink stands for link state; and stats stands for statistical information.
5.4 Set Uplink Ports Properties
Uplink ports 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 <portlist> [enable|disable]
Command parameters
<portlist>: A number of ports
[enable|disable]: Enable or disable these ports



5 Uplink Port Configuration and Management
5-3
5.4.2 Enable/Disable Uplink Ports Auto-negotiation Mode
Command syntax
set uplink port <portlist> auto [enable|disable]
Command parameters
<portlist>: A number of ports
[enable|disable]: Enable or disable this function
5.4.3 Set Uplink Ports Speed and Duplex Mode
Command syntax
set uplink port <portlist> speed [10|100|] duplex [full|half]
Command parameters
<portlist>: 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 Ports Flow Control Function
Command syntax
set uplink port <portlist> flowcontrol [enable|disable]
Command parameters
<portlist>: A number of ports
[enable|disable]: Enable or disable this function



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5-4
5.4.5 Enable/Disable Uplink Ports Learning Function
Command syntax
set uplink port <portlist> learning [enable|disable]
Command parameters
<portlist>: A number of ports
[enable|disable]: Enable or disable this function
5.4.6 Set Uplink Ports Priority
Command syntax
To enable/disable uplink ports priority function, use the following command
syntax:
set uplink port <portlist> priority [enable|disable]
To set uplink ports priority level, use the following command syntax:
set uplink port <portlist> privalue <0-7>
Command parameters
<portlist>: 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 uplink port 29:1 priority enable
Admin\device# set uplink port 29:1 privalue 3
Admin\device# 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 Uplink Port Configuration and Management
5-5
The following example is to disable the priority function of uplink port 29:2, and
display its status.
Admin\device# set uplink port 29:2 disable
Admin\device# 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 binding 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 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 ports 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 equipment 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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5-6
5.5.1 Create a Trunking Group
Command syntax
To create a trunking group, use the following command syntax:
set trunking <portmasteno> grouping <portlist>
Command parameters
<portmasteno>: Designate the master port
<portlist>: 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 <portmasteno>
Command parameters
<portmasteno>: 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
Admin\device# show trunking
Sharing port group 1 information:
Master Port: 29:1 Group Ports: 29:1 29:2 29:3 29:4
Admin\device#



5 Uplink Port Configuration and Management
5-7
5.6 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 <portno> to designate the destination port of
mirroring
2. Use the command set mirror add <portno> 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 <portno>
Command parameters
<portno>: 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 <portno>
Command parameters
<portno>: No. of the source port of mirroring; data flow on this port will be copied
to the destination port of mirroring.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
5-8
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#




6 PON Port Configuration and Management
6-1
6 PON Port Configuration and Management
6.1 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 ports 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 Command Syntax
Add all unauthorized ONUs of a PON
port into its authorized table
set slot <1-18> pon [1|2] authenticated table
Set PON ports bandwidth parameters
set slot <1-18> pon [1|2|all] [upstream|downstream]
bandwidth <0-1000000> burst <0-256>
Set PON ports SLA parameters
set slot <1-18> pon [1|2|all] sla max_linknum
<pri0_linknum> <pri1_linknum><pri2_linknum>
Display the table of authorized ONUs
MAC addresses of a PON port
show slot <1-18> pon [1|2] authenticated table
Display PON ports bandwidth settings show slot <1-18> pon-bandwidth
Display PON ports 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6-2
6.3 Description of Commands
6.3.1 Set PON Ports 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 PON Port Configuration and Management
6-3
6.3.2 Set PON Ports SLA Parameters
Command syntax
set slot <1-18> pon [1|2|all] sla max_linknum <pri0_linknum> <pri1_linknum>
<pri2_linknum>
Command parameters
<1-18>: Slot no.
[1]: PON port 1
[2]: PON port 2
[all]: PON ports 1 and 2
<pri0_linknum>: The maximum link number of prioriry level 0
<pri1_linknum>: The maximum link number of prioriry level 1
<pri2_linknum>: 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 mustnt exceed 224.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6-4
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 PON Port Configuration and Management
6-5
6.3.5 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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
6-6
6.3.6 Display PON Ports 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 ponbandwidth
up-bandwidth down-bandwidth up-burst down-burst
pon1 950000 0 100 0
pon2 950000 0 100 0
Admin\device#
6.3.7 Display PON ports 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#




7 ONU Port Configuration and Management
7-1
7 ONU Port Configuration and Management
7.1 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 ports 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
ONU into the authorized table
set slot <1-18> sequence <1-128> mac <addr>
authenticated table
Set ONUs IGMP parameters
set slot <1-18> onu <onulist> robust <0-12>
last-member-query-count <0-12> max_group
port1 <0-32> port2 <0-32>
Enable/Disable ONU ports
auto-negotiation function
set slot <1-18> onu <onulist> port [1|2|all] auto
[enable|disable]
Enable/Disable ONU ports error frame
discard function
set slot <1-18> onu <onulist> port [1|2|all]
drop-errorframe [enable|disable]
Set ONU ports duplex mode
set slot <1-18> onu <onulist> port [1|2|all] duplex
[full|half]
Enable/Disable ONU ports flow control
function
set slot <1-18> onu <onulist> port [1|2|all]
flow-control [enable|disable]
Set ONU ports address learning limit
set slot <1-18> onu <onulist> port [1|2|all]
leraning-number <1-64>
Set ONU ports speed
set slot <1-18> onu <onulist> port [1|2|all] speed
[10|100]
Remove an authorized ONU from the
authorized table
set slot <1-18> sequence <sequence_list>
un-authenticat
Display ONU ports IGMP settings show slot <1-18> onu <onulist> igmp-info
Display ONU ports properties show slot <1-18> onu <onulist> port [1|2|all]
Enable/Disable ONUs CATV function
set slot <1-18> onu <onulist> catv
[enable|disable]



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7-2
7.3 Description of Commands
7.3.1 Set ONU Ports IGMP Parameters
Command syntax
set slot <1-18> onu <onulist> robust <0-12> last-member-query-count <0-12>
max_group port1 <0-32> port2 <0-32>
Command parameters
<1-18>: Slot no.
<onulist>: 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 slot 3 onu 1-128 robust 5 last 6 max_group port1 5 port2 10
Admin\device#
Note: The sum of the maximum number of IGMP snooping groups supported by port 1
and port 2 of ONU mustnt exceed 32.



7 ONU Port Configuration and Management
7-3
7.3.2 Add an Unauthorized ONU into the Authorized Table
Command syntax
set slot <1-18> sequence <1-128> mac <addr> 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
<addr>: 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 slot 3 sequence 5 mac 544b034c13 au table
Admin\device#
7.3.3 Remove an Authorized ONU from the Authorized Table
Command syntax
set slot <1-18> sequence <sequence_list> 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
<sequence_list>: 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 slot 3 sequence 1-5 un-authenticate
Admin\device#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7-4
7.3.4 Enable/Disable ONU Ports Auto-negotiation Function
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] auto [enable|disable]
Command parameters
<1-18>: Slot no.
<onulist>: 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
Admin\device#



7 ONU Port Configuration and Management
7-5
7.3.5 Enable/Disable ONU Ports Error Frame Discard Function
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] drop-errorframe [enable|disable]
Command parameters
<1-18>: Slot no.
<onulist>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7-6
7.3.6 Set ONU Ports Duplex Mode
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] duplex [full|half]
Command parameters
<1-18>: Slot no.
<onulist>: 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 ONU Port Configuration and Management
7-7
7.3.7 Set ONU Ports Speed
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] speed [10|100]
Command parameters
<1-18>: Slot no.
<onulist>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7-8
7.3.8 Set ONU Ports Address Learning Limit
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] learning <1-64>
Command parameters
<1-18>: Slot no.
<onulist>: ONU list
[1]: ONU port 1
[2]: ONU port 2
[all]: ONU ports 1 and 2
<1-64>: The number limit of the learning addresses
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 ONU Port Configuration and Management
7-9
7.3.9 Enable/Disable ONU Ports Flow Control Function
Command syntax
set slot <1-18> onu <onulist> port [1|2|all] flowcontrol [enable|disable]
Command parameters
<1-18>: Slot no.
<onulist>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
7-10
7.3.10 Display ONU Ports Properties
Command syntax
show slot <1-18> onu <onulist> port [1|2|all]
Command parameters
<1-18>: Slot no.
<onulist>: 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 duplex:full
flowcontrol:disable drop overlength error:enable learninglimit:64
---------------------------3:2:2-------------------------------------------
speed:100M auto:enable duplex:full
flowcontrol:disable drop overlength error:enable learninglimit:64
---------------------------3:3:2-------------------------------------------
speed:100M auto:enable duplex:full
flowcontrol:disable drop overlength error:enable learninglimit:64
---------------------------3:4:2-------------------------------------------
speed:100M auto:enable duplex:full
flowcontrol:disable drop overlength error:enable learninglimit:64
---------------------------3:5:2-------------------------------------------
speed:100M auto:enable duplex:full
flowcontrol:disable drop overlength error:enable learninglimit:64
Admin\device#



7 ONU Port Configuration and Management
7-11
7.3.11 Enable/Disable ONUs CATV Function
Command syntax
set slot <1-18> onu <onulist> catv [enable|disable]
Command parameters
<1-18>: Slot no.
<onulist>: ONU list
[enable]: Enable this function
[disable]: Disable this function
Configuration example
The following example is to disable slot 3, ONU-1s CATV function:
Admin\device# set slot 3 onu 1 catv disable
Admin\device#
7.3.12 Display ONUs IGMP Settings
Command syntax
show slot <1-18> onu <onulist> igmp-info
Command parameters
<1-18>: Slot no.
<onulist>: 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#




8 LLID Configuration and Management
8-1
8 LLID Configuration and Management
8.1 Overview
Configuration and management commands for LLIDs are implemented under
directory Admin\device#. These commands can be used to set LLIDs 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 LLIDs DBA weight paramaters
set slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] dba_tokens <0-255>
min_tokens <0-511> max_tokens <0-511>
Set LLIDs SLA bandwidth
parameters
set slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] minband <0-1000000>
maxband <0-1000000> burst <1-256> priority <0-2>
Display LLIDs SLA bandwidth
settings
show slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] band-information
Display LLIDs DBA weight settings
show slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] tokens-information
Perform LLID loopback test
set slot <1-18> onu <1-128> llid <0-2> location
[mac|phy] framesnum <1-800> payloadlength
<64-1500> payloadtype [increment|random|1|0]
VLANtag <0-4094> loopback



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8-2
8.3 Description of Commands
8.3.1 Set LLIDs DBA Weight Parameters
Command syntax
set slot <1-18> onu <onulist> llid <0-2> [upstream|downstream] dba_tokens
<0-255> min_tokens <0-511> max_tokens <0-511>
Command parameters
<1-18>: Slot no.
<onulist>: 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 1128 llid 0 upstream dba_tokens 10 min_tokens 111 maxtokens
234
Admin\device#



8 LLID Configuration and Management
8-3
8.3.2 Set LLIDs SLA Bandwidth Parameters
Command syntax
set slot <1-18> onu <onulist> llid <0-2> [upstream|downstream] minband
<0-1000000> maxband <0-1000000> burst <1-256> priority <0-2>
Command parameters
<1-18>: Slot no.
<onulist>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8-4
8.3.3 Display LLIDs SLA Bandwidth Settings
Command syntax
show slot <1-18> onu <onulist> llid <0-2> [upstream|downstream] band-information
Command parameters
<1-18>: Slot no.
<onulist>: 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 LLID Configuration and Management
8-5
8.3.4 Display LLIDs DBA Weight Settings
Command syntax
show slot <1-18> onu <onulist> llid <0-2> [upstream|downstream]
tokens-information
Command parameters
<1-18>: Slot no.
<onulist>: 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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
8-6
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.




9 IGMP Profile Configuration and Management
9-1
9 IGMP Profile Configuration and Management
9.1 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 <name>
Delete a profile delete profile <profilename>
Attach a PON port to an OLT IGMP
profile
set slot <1-18> pon [1|2|all] attach olt-igmp profile
<profilename>
Detach a PON port from an OLT IGMP
profile
set slot <1-18> pon [1|2|all] dettach olt-igmp profile
<profilename>
Modify a profile set profile <profilename>
Flush a profile flush profile <profilename>
Display the settings of a profile show profile {<profilename>}*1
Configure an OLT IGMP profile
Note: An OLT IGMP profile has many parameters;
please refer to Section 9.3.2 for details



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
9-2
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
<profilename> 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
<profilename> to enter the subdirectory and modify its configuration.
6. Exit this subdirectory after the configuration and use command flush profile
<profilename> to make the modified profile take effect.
9.3 Description of Commands
9.3.1 Create a Profile
Command syntax
add [olt-igmp] profile <name>
Command parameters
[olt-igmp]: Profile of IGMP properties for PON ports of EC2 card
<name>: 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 IGMP Profile Configuration and Management
9-3
9.3.2 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 <A.B.C.D>
<A.B.C.D>: 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 and 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
9-4
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 IGMP Profile Configuration and Management
9-5
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 frames 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 <profilename>
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 <profilename>
Command parameters
[<1-18>]: Slot no.
[1|2|all]: PON port 1, 2 or both of them
<profilename>: Profile name



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
9-6
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 <profilename>
Note: This command is only used to modify an existing profile.
Command parameters
<profilename>: 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 <profilename>
Command parameters
<profilename>: 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 <profilename>
Command parameters
<profilename>: Profile name



9 IGMP Profile Configuration and Management
9-7
9.3.7 Display Profile Settings
Command syntax
show profile {<profilename>}*1
Command parameters
{<profilename>}*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




10 FDB Configuration and Management
10-1
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 <value>
Display current FDB ageing time setting
show fdb agingtime
Display FDB information of a slot
show fdb slot <slotno>

Note: AN5116-02 can operate normally with default FDB settings and changes are only
needed for special requirement.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
10-2
10.3 Description of Commands
10.3.1 Set FDB Entry Ageing time
Command syntax
set fdb agingtime <value>
Command parameters
<value>: The ageing time, ranging between 0 and 630 seconds. The default
setting is 80 seconds; and the value 0 indicates FDB entries wont 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 <slotno>
Command parameters
<slotno>: No. of a slot
Configuration example
The following example is to display slot-29s FDB information:
Admin\fdb# show fdb slot 29
Mac address Port/TrkIndex Vlan ID Flags
00:13:d3:29:46:58 29:2 4000 Age
00:c0:9f:35:0b:c2 29:2 4000 Age
Admin\fdb#




11 STP Configuration and Management
11-1
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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11-2
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 stpd default port [<portlist> | all ] cost
<1-65535>
Set STP port priority
set stpd default port [<portlist> | all ]
priority <0-255>
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 [<portlist>|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 [<portlist> |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 STP Configuration and Management
11-3
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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11-4
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 [<portlist> | all ] cost <1-65535>
To set STP ports priority, use the following command syntax:
set stpd default port [<portlist> | 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 the following command syntax:
set stpd default port [<portlist>|all] [enable|disable]
Command parameters
[<portlist>]: 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 STP Configuration and Management
11-5
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#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
11-6
11.3.4 Display STP Port Settings of the Default VLAN
Command syntax
show stpd default port [<portlist> |all ]
Command parameters
[<portlist>]: 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#



12 VLAN Configuration and Management
12-1
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.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12-2
12.2 Common VLAN
Table 12-1 Common commands for VLAN
Operation Command Syntax
Create a VLAN Create [single|shared|double] vlan <name>
Delete a VLAN Delete vlan <name>
Add/Delete ports/LLIDs
into/from a VLAN
set vlan <name> [add|delete] port <portlist>
[tagged|untagged]
Set the tag of a VLAN set vlan <name> tag <value>
Display VLAN settings show vlan {<name>}*1
Note: Common VLAN commands (see the table above) are available for single, shared or
double-labelled VLAN.
General steps for common VLAN configuration are as follows:
1. Use command create [single|shared|double] vlan <name> to create a VLAN;
2. Use command set vlan <name> [add|delete] port <portlist> [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 <name>
Command parameters
[single|shared|double]: VLAN mode: single, shared or double-labeled.
<name>: VLAN name
Configuration example
The following example is to create single VLAN named v1:
Admin\VLAN# create single vlan v1



12 VLAN Configuration and Management
12-3
12.2.2 Set the Tag of a VLAN
Command syntax
set VLAN <name> tag <value>
Command parameters
<name>: VLAN name
<value>: 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 <name> [add|delete] port <portlist> [tagged|untagged]
Command parameters
<name>: VLAN name
[add|delete]: Add or delete one or a number of ports to or from this VLAN
<portlist>: Port list (or LLID list)
[tagged|untagged]: Ports 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



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12-4
12.2.4 Display VLAN Settings
Command syntax
show vlan {<name>}*1
Command parameters
<name>: VLAN name (no input means all VLANs)
Configuration example
The following example is to display the settings of VLAN default:
Admin\VLAN# show vlan default
12.2.5 Delete a VLAN
Command syntax
delete vlan <name>
Command parameters
<name>: VLAN name
Configuration example
The following example is to delete VLAN v1:
Admin\ vlan# delete vlan v1



12 VLAN Configuration and Management
12-5
12.3 Single VLAN
Table 12-2 Commands for single VLAN
Operation Command Syntax
Create single VLAN of LLID in
batches
create epon single vlan llid <llidlist> vid <vidlist> uplink
<portlist>
Create single VLAN of PON
port in batches
create epon single vlan slot <slotno> llid [0|1] llid_base
<llidno> llid_end <llidno> vid_base <vid> uplink <portlist>
Delete single VLAN of LLID in
batches
delete epon single vlan llid <llidlist>
Delete single VLAN of PON
port in batches
delete epon single vlan slot <slotno> llid [0|1] llid_base
<llidno> llid_end <llidno>
12.3.1 Create Single VLAN of LLID in Batches
Command syntax
Create epon single vlan llid <llidlist> vid <vidlist> uplink <portlist>
Command parameters
<llidlist>: LLID list (continuous LLID nos. are separated by -, and discontinuous
LLID nos. by ,)
<vidlist>: VID list; the number of the VIDs must be equal to that of LLIDs
<portlist>: Uplink port list
Configuration example
The following example is to create single VLANs for LLIDs 1:1 to 1:32, with 1 to 32
as the VIDs, and port 29:1 as the uplink port.
Admin\ vlan# create epon single vlan llid 1:1-1:32 vid 1-32 uplink 29:1
The following example is to create single VLANs for LLIDs 1:1, 2:1 and 3:1, with
100 to 102 as the VIDs, and port 29:1 as the uplink port.
Admin\ vlan# create epon single vlan llid 1:1,2:1,3:1 vid 100-102 uplink 29:1



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12-6
12.3.2 Create Single VLAN of PON Port in Batches
Command syntax
Create epon single vlan slot <slotno> llid [0|1] llid_base <llidno> llid_end <llidno>
vid_base <vid> uplink <portlist>
Command parameters
<slotno>: Slot no.
[0|1]: LLID 0 or LLID 1 of ONU
<llidno>: Start no. of LLID (1 - 256)
<llidno>: End no. of LLID (1 - 256)
<vid>: Start VID
<portlist>: Uplink port list
Configuration example
The following example is to create single VLANs for LLIDs 1:1, 1:3, 1:5, 1:7 and
1:9, i.e. slot 1, ONUs 1 to 5, LLID-0s. The VIDs are from 100 to 104; and the
uplink port is port 29:1.
Admin\ vlan# create epon single vlan slot 1 llid 0 llid_base 1 llid_end 10 vid_base 100 uplink
29:1
12.3.3 Delete Single VLAN of LLID in Batches
Command syntax
delete epon single vlan llid <llidlist>
Command parameters
<llidlist>: LLID list
Configuration example
The following example is to delete single VLANs of LLIDs 1:1 to 1:256:
Admin\ vlan# delete epon single VLAN llid 1:1-1:256



12 VLAN Configuration and Management
12-7
12.3.4 Delete Single VLAN of PON Port in Batches
Command syntax
delete epon single vlan slot <slotno> llid [0|1] llid_base <llidno> llid_end <llidno>
Command parameters
<slotno>: Slot no.
[0|1]: LLID 0 or LLID 1 of ONU
<llidno>: Start no. of LLID (1 - 256)
<llidno>: End no. of LLID (1 - 256)
Configuration example
The following example is to delete single VLANs for LLIDs 1:1, 1:3, 1:5, 1:7 and
1:9, i.e. slot 1, ONUs 1 to 5, LLID-0s:
Admin\ vlan# delete epon single vlan slot 1 llid 0 llid_base 1 llid_end 9



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12-8
12.4 Shared VLAN
Table 12-3 Commands for shared VLAN
Operation Command Syntax
Create shared VLAN of PON port
create epon share vlan <name> slot <slotlist> llid [0|1]
uplink <portlist> vid <vid>
12.4.1 Create Shared VLAN of PON Port
Command syntax
create epon share vlan <name> slot <slotlist> llid [0|1] uplink <portlist> vid <vid>
Command parameters
<name>: VLAN name
<slotlist>: Slot list
[0|1]: LLID 0 or LLID 1 of all ONUs of the designated slot
<portlist>: Uplink port list
<vid>: VLAN ID
Configuration example
The following example is to create a shared VLAN named v1: it consists of
uplink port 29:1, and LLID-0s of all ONUs of slots 1 and 2; and its VID is 100.
Admin\ vlan# create epon share vlan v1 slot 1,2 llid 0 uplink 29:1 vid 100
12.5 NGN VLAN
Table 12-4 Commands for NGN VLAN
Operation Command Syntax
Set NGN VLAN set ngn vlan uplink port <portlist> [untagged|tagged] vid [default|<vid>]
Display NGN VLAN show ngn vlan
Delete NGN VLAN delete ngn vlan



12 VLAN Configuration and Management
12-9
12.5.1 Set NGN VLAN
Command syntax
set ngn vlan uplink port <portlist> [untagged|tagged] vid [default|<vid>]
Command parameters
<portlist>: Uplink port list
[untagged|tagged]: Uplink ports tag property: untagged or tagged
[default|<vid>]: Default or user-defined VLAN ID
Configuration example
The following example is to set 29:1 as untagged uplink port for NGN VLAN:
Admin\ vlan# set ngn vlan uplink port 29:1 untagged vid default
The following example is to set 29:1 as tagged uplink port for NGN VLAN, with
VID 1000:
Admin\ vlan# set ngn vlan uplink port 29:1 tagged vid 1000
12.5.2 Delete NGN VLAN
Command syntax
delete ngn vlan
12.5.3 Display NGN VLAN
Command syntax
show ngn vlan



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
12-10
12.6 Management VLAN
Before Telnet management, first set the IP address of the management VLAN.
The table below lists the configuration and management commands for
management VLAN of AN5116-02.
Table 12-5 Commands for management VLAN
Operation Command Syntax
Create management VLAN
set manage vlan inputport <vid> <portlist>
[untagged|tagged]
Set the IP Address of Management VLAN set manage ip <A.B.C.D/M> {<A.B.C.D>}*1
Display the settings of management VLAN show manage vlan
Delete management VLAN delete manage vlan
General steps for management VLAN configuration are as follows:
1. Use command set manage vlan inputport <vid> <portlist> [untagged|tagged]
to create a management VLAN.
2. Use command set manage ip <A.B.C.D/M> {<A.B.C.D>}*1 to set the IP
address of the management VLAN.
12.6.1 Create Management VLAN
Command syntax
set manage vlan inputport <vid> <portlist> [untagged|tagged]
Command parameters
<vid>: ID of management VLAN, ranging between 1 and 4085
<portlist>: Port list
[untagged|tagged]: Ports tagged or untagged property



12 VLAN Configuration and Management
12-11
12.6.2 Set the IP Address of Management VLAN
Command syntax
set manage ip <A.B.C.D/M> {<A.B.C.D>}*1
Command parameters
<A.B.C.D/M>: IP address of management VLAN; M indicates the number of bits
of subnet mask.
{<A.B.C.D>}*1: Gateway of the equipment, optional.
12.6.3 Display the Settings of Management VLAN
Command syntax
show manage vlan
Configuration example
The following example is to configure the management VLAN (set its IP address
to 10.22.1.1/16 and the gateway to 10.22.1.254; add untagged ports 29:1 and
29:2 into it) and then display its settings:
Admin\VLAN# set manage vlan inputport 4000 29:1-29:2 u
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 29:2
Admin\VLAN#
12.6.4 Delete Management VLAN
Command syntax
The following example is to delete the configured management VLAN:
delete manage vlan



13 QoS Configuration and Management
13-1
13 QoS Configuration and Management
13.1 Overview
QoS (Quality of Service) is a method with which the equipment provides services
of various levels for different types of users, so as to ensure their prospective
quality of service.
QoS configuration and management commands are implemented under the
directory Admin\qos#. These commands are related to QoS profile (access
profile and EPON rule profile), priority mode and LLID number of ONU.
Steps for QoS profile configuration are as follows:
1. Create a QoS profile;
2. Set the parameters or action of this profile;
3. Attach ports or LLIDs to this profile.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-2
13.2 Access Profile and Priority Mode
Table 13-1 Commands for access profile and priority mode
Operation Command Syntax
Create a QoS access profile create qos access_profile <name>
Set the parameters of a QoS access
profile
set qos access_profile <name> parameter {[vid]
[<vid>|null]}*1 {[sip] [<A.B.C.D>|null] [smask]
[<1-32>|null]}*1 {[dip] [<A.B.C.D>|null] [dmask]
[<1-32>|null]}*1 {[sa] [<sa>|null]}*1 {[da] [<da>|null]}*1
{[protocoltype] [<1-255>|null]}*1 {[tcpudpsrc]
[<1-65535>|null]}*1 {[tcpudpdes] [<1-65535>|null]}*1
{[tos] [<0-7>|null]}*1
Set the routing strategy of a QoS
access profile
set qos access_profile <name> action
{[cmd][0|1|2|null]}*1 {[ratelimit] [<0-1000>|null]}*1
{[queue] [<0-7>|null]}*1 {[newtos] [<0-7>|null]}*1
{[flowmirroring] [enable|disable] [port] <portlist>}*1
Delete a QoS access profile delete qos access_profile <name>
Display the settings of a QoS access
profile
show qos access_profile {<name>}*1
Attach/Detach a port to/from a QoS
access profile
set slot <slotno> [attach|detach] qos access_profile
<name>
Attach/Detach an uplink port to/from
a QoS access profile
set uplink port <portlist> [attach|detach] qos
access_profile <name>
Display all QoS access profiles show all qos-profile
Flush a QoS access profile set qos access_profile <name> flush
Set equipments priority mode set priority mode [sp|wrr|robin]
Display equipments priority mode show priority mode



13 QoS Configuration and Management
13-3
13.2.1 Create a QoS Access Profile
Command syntax
create qos access_profile <name>
Command parameters
<name>: Name of the QoS access profile
Configuration example
The following example is to create a QoS access profile maned aaa:
Admin\qos# create qos access_profile aaa
Admin\qos#
13.2.2 Set the Parameters of a QoS Access Profile
Command syntax
set qos access_profile <name> parameter {[vid] [<vid>|null]}*1 {[sip]
[<A.B.C.D>|null] [smask] [<1-32>|null]}*1 {[dip] [<A.B.C.D>|null] [dmask]
[<1-32>|null]}*1 {[sa] [<sa>|null]}*1 {[da] [<da>|null]}*1 {[protocoltype]
[<1-255>|null]}*1 {[tcpudpsrc] [<1-65535>|null]}*1 {[tcpudpdes]
[<1-65535>|null]}*1 {[tos] [<0-7>|null]}*1
Note: Access profile can be used to set control strategy for some given packets
(for example, packets with a given source or destination MAC, IP address or port),
including their priority, speed, etc.
Command parameters
<name>: Profile name
{[vid] [<vid>|null]}*1: VLAN ID (VID) (1 - 4095)
{[sip] [<A.B.C.D>|null] [smask] [<1-32>|null]}*1: Source IP address and mask (1 -
32, the default value is 32)
{[dip] [<A.B.C.D>|null] [dmask] [<1-32>|null]}*1: Destination IP address and mask
(1 - 32, the default value is 32)
{[sa] [<sa>|null]}*1: Source MAC address
{[da] [<da>|null]}*1: Destination MAC address
{[protocoltype] [<1-255>|null]}*1: Protocol type (1 - 255)



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-4
{[tcpudpsrc] [<1-65535>|null]}*1: TCP/UDP source port no. (1 - 65535)
{[tcpudpdes] [<1-65535>|null]}*1: TCP/UDP destination port no. (1 - 65535)
{[tos] [<0-7>|null]}*1: TOS value (0 - 7)
Note: null can be used to resume the default settings of the configured parameters.
Configuration example
The following example is to set the parameters of QoS access profile aaa:
Admin\qos# set qos access_profile aaa parameter vid 4000 sip 1.1.1.100 smask 16 da
000000000011 tcpudpsrc 21 tos 2
Admin\qos#
13.2.3 Set the Routing Strategy of a QoS Access Profile
Command syntax
set qos access_profile <name> action {[cmd][0|1|2|null]}*1 {[ratelimit]
[<0-1000>|null]}*1 {[queue] [<0-7>|null]}*1 {[newtos] [<0-7>|null]}*1 {[flowmirroring]
[enable|disable] [port] <portlist>}*1
Command parameters
<name>: Profile name
{[cmd][0|1|2|null]}*1: Specify the routing strategy: 0 (forward), 1 (discard) or 2
(preferred discard)
{[ratelimit] [<0-1000>|null]}*1: Specify the rate limit with step length of 1 Mbps.
{[queue] [<0-7>|null]}*1: Specify the priority level
{[newtos] [<0-7>|null]}*1: Modify TOS value
{[flowmirroring] [enable|disable] [port] <portlist>}*1: Enable or disable flow
mirroring and mirror the traffic of the source port (the port attached to this profile)
to a designated port
Note: null can be used to resume the default settings of the configured parameters.
Configuration example
The following example is to set the routing strategy of QoS access profile aaa:
Admin\qos# set qos access_profile aaa action cmd 0 ratelimit 100 queue 2 flowmirroring enable
port 17:2 new tos 7
Admin\qos#



13 QoS Configuration and Management
13-5
13.2.4 Delete a QoS Access Profile
Command syntax
delete qos access_profile <name>
Command parameters
<name>: QoS access profile name
Configuration example
The following example is to delete QoS access profile aaa:
Admin\qos# delete qos access_profile aaa
Admin\qos#
13.2.5 Display the Settings of a QoS Access Profile
Command syntax
show qos access_profile {<name>}*1
Command parameters
<name>: QoS access profile name; no input means all QoS access profiles.
Configuration example
The following example is to display the settings of QoS access profile aaa:
Admin\qos# show qos access_profile aaa
Admin\qos#
--------------Qos profile list--------------
index :1
name :a1
slot :
port :
macsa :N/A
macda :N/A
vid :N/A
sip :1.1.1.1
source ip mask :32
dip :N/A
destination ip mask :32
protocol type :N/A
tcp/udp des port :N/A
tcp/udp src port :N/A
TOS :N/A
Cmd :N/A
Ratelimitnum :N/A
Queue :N/A
new TOS :N/A
flowmirror :Disable
flowmirrorport :N/A



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-6
13.2.6 Attach/Detach a Port to/from a QoS Access Profile
Command syntax
set slot <slotno> [attach|dettach] qos access_profile <name>
Command parameters
<slotno>: Slot no.
[attach|dettach]: Attach or detach
<name>: QoS access profile name
Configuration example
The following example is to attach slot 1 to QoS access profile a1:
Admin\qos# Set slot 1 attach qos access_profile a1
13.2.7 Attach/Detach an Uplink Port to/from a QoS Access Profile
Command syntax
set uplink port <portlist> [attach|dettach] qos access_profile <name>
Command parameters
<portlist>: Uplink port no.
[attach|dettach]: Attach or detach
<name>: QoS access profile name
Configuration example
The following example is to attach uplink port 29:1 to QoS access profile aaa:
Admin\qos# set uplink port 29: 1 attach qos access_profile aaa
Admin\qos#
13.2.8 Display All QoS Access Profiles
Command syntax
show all qos-profile
Configuration example
Admin\qos# show all qos-profile
a1



13 QoS Configuration and Management
13-7
13.2.9 Flush a QoS Access Profile
Command syntax
set qos access_profile <name> flush
Command parameters
<name>: QoS access profile name
Configuration example
The following example is to flush QoS access profile aaa:
Admin\qos# set qos access_profile aaa flush
Admin\qos#
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 them.
13.2.10 Set Equipments Priority Mode
Command syntax
set priority mode [sp| round_robin| wrr]
Command parameters
sp: Strict priority mode
round_robin: Round robin priority mode
wrr: Weight round robin priority mode
Configuration example
The following example is to set the priority mode of the equipment:
Admin\qos# set priority mode wrr
Admin\qos#
13.2.11 Display Equipments Priority Mode
Command syntax
show priority mode
Configuration example
The following example is to display the priority mode of the equipment:
Admin\qos# show priority mode
qos priority mode:wrr
Admin\qos#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-8
13.3 EPON Rule Profile and LLID Number
Table 13-2 Commands for EPON rule profile and LLID number
Operation Command Syntax
Set ONUs LLID number set epon slot <slotno> onu <onulist> llidnum <1-3>
Display ONUs LLID
number
show epon slot <slotno> onu <onulist> llidnum
Create an OLT rule
profile
create epon rule profile <name>
Set the parameters of
an OLT rule profile
set epon rule profile <name> parameter {[da] [<da>|null]
[<operator>|null]}*1 {[sa] [<sa>|null] [<operator>|null]}*1 {[llid]
[<llidno>|null] [<operator>|null]}*1 {[ethertype] [<type>|null]
[<operator>|null]}*1 {[vid] [<vid>|null] [<operator>|null]}*1 {[iptype]
[<type>|null] [<operator>|null]}*1 {[dip] [<A.B.C.D>|null]
[<operator>|null]}*1 {[userdefine] [<filed_id>|null] [<val>|null]
[<operator>|null]}*1
Attach a LLID to an OLT
rule profile
set epon slot <slotno> onu <onulist> userport <portlist> llid
<llidno> attach rule profile <name> priority <val>
Detach a LLID from an
OLT rule profile
set epon slot <slotno> onu <onulist> userport <portlist> llid
<llidno> dettach rule profile <name>
Delete an OLT rule
profile
delete epon rule profile <name>
Display the settings of
an OLT rule profile
show epon rule profile {<name>}*1
Display the LLIDs
attached to an OLT rule
profile
show epon rule profile <name> attach
Flush an OLT rule profile set epon rule profile <name> flush



13 QoS Configuration and Management
13-9
13.3.1 Set ONUs LLID Number
Command syntax
set epon slot <slotno> onu <onulist> llidnum <1-3>
Command parameters
<slotno>: Slot no.
<onulist>: Sequence no. of ONU (1 - 128)
<1-3>: Number of LLIDs
Configuration example
The following example is to set 3 LLIDs for slot 1, ONUs 1 to 128:
Admin\qos# set epon slot 1 onu 1-128 llidnum 3
13.3.2 Display ONUs LLID Number
Command syntax
show epon slot <slotno> onu <onulist> llidnum
Command parameters
<slotno>: Slot no.
<onulist>: Sequence no. of ONU (1 - 128)
13.3.3 Create an OLT Rule Profile
Command syntax
create epon rule profile <name>
Command parameters
<name>: Profile name
Configuration example
The following example is to create an OLT rule profile named a1:
Admin\qos# create epon rule profile a1



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-10
13.3.4 Set the Parameters of an OLT Rule Profile
Command syntax
set epon rule profile <name> parameter {[da] [<da>|null] [<operator>|null]}*1 {[sa]
[<sa>|null] [<operator>|null]}*1 {[llid] [<llidno>|null] [<operator>|null]}*1 {[ethertype]
[<type>|null] [<operator>|null]}*1 {[vid] [<vid>|null] [<operator>|null]}*1 {[iptype]
[<type>|null] [<operator>|null]}*1 {[dip] [<A.B.C.D>|null] [<operator>|null]}*1
{[userdefine] [<filed_id>|null] [<val>|null] [<operator>|null]}*1
Command parameters
<name>: Profile name
{[da] [<da>|null] [<operator>|null]}: Specify the destination MAC address and the
operation code (0 - 7)
{[sa] [<sa>|null] [<operator>|null]}: Specify the source MAC address and the
operation code (0 - 7)
{[llid] [<llidno>|null] [<operator>|null]}: Specify the LLID no. and the operation code
(0 - 7)
{[ethertype] [<type>|null] [<operator>|null]}: Specify the Ethernet type and the
operation code (0 - 7)
{[vid] [<vid>|null] [<operator>|null]}: Specify the VID and the operation code (0 - 7)
{[iptype] [<type>|null] [<operator>|null]}: Specify the IP type and the operation
code (0 - 7)
{[dip] [<A.B.C.D>|null] [<operator>|null]}: Specify the destination IP address and
the operation code (0 - 7)
{[userdefine] [<filed_id>|null] [<val>|null] [<operator>|null]}: Specify the customing
field ID, value and the operation code (0 - 7). The customing field ID can be 5
(COS), 8 (source IP address), 9 (TCP/UDP source port no.), 10 (TCP/UDP
destination port no.) and 11 (TOS).
Configuration example
The following example is to set OLT rule profile a1. Set the destination MAC
address to 00:00:00:00:00:01, the operation code to 1; the destination IP
address to 1.1.1.1, and the operation code to 3.
Admin\qos# set epon rule profile <name> parameter da 000000000001 1 dip 1.1.1.1 3



13 QoS Configuration and Management
13-11
13.3.5 Attach a LLID to an OLT Rule Profile
Command syntax
set epon slot <slotno> onu <onulist> userport <portlist> llid <llidno> attach rule
profile <name> priority <val>
Command parameters
<slotno>: Slot no.
<onulist>: Sequence no. of ONU (1 - 128)
<portlist>: ONU port no. (1 or 2)
<llidno>: LLID no.: 0, 1 or 2
<name>: Profile name
<val>: Priority of the profile (4 - 6)
Configuration example
The following example is to attach slot 1, ONUs 1 to 128, port-1, LLID-0s to OLT
rule profile a1 and set 4 for the priority of this profile:
Admin\qos# set epon slot 1 onu 1-128 userport 1 llid 0 attach rule profile a1 priority 4
13.3.6 Detach a LLID from an OLT Rule Profile
Command syntax
set epon slot <slotno> onu <onulist> userport <portlist> llid <llidno> dettach rule
profile <name>
Command parameters
<slotno>: Slot no.
<onulist>: Sequence no. of ONU (1 - 128)
<portlist>: ONU port no. (1 or 2)
<llidno>: LLID no.: 0, 1 or 2
<name>: Profile name
Configuration example
The following example is to detach slot 1, ONUs 1 to 128, port-1, LLID-0s from
OLT rule profile a1:
Admin\qos# set epon slot 1 onu 1-128 userport 1 llid 0 dettach rule profile a1



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
13-12
13.3.7 Delete an OLT Rule Profile
Command syntax
delete epon rule profile <name>
Command parameters
<name>: Profile name
Configuration example
The following example is to delete OLT rule profile a1:
admin\qos# show epon rule profile a1
--------------------Up rule profile <a1> information--------------------
name a1
da :N/A operator :N/A
sa :00:0e:54:01:5a:d2 operator :no equal
llid :N/A operator :N/A
etherType :N/A operator :N/A
vid :N/A operator :N/A
ipType :N/A operator :N/A
dip :N/A operator :N/A
dip :N/A operator :N/A
admin\qos#
13.3.8 Display the Settings of an OLT Rule Profile
Command syntax
show epon rule profile {<name>}*1
Command parameters
<name>: Profile name; no input means all OLT rule profiles.
Configuration example
The following example is to display the settings of OLT rule profile a1:
admin\qos# show epon rule profile a1
--------------------Up rule profile <a1> information--------------------
name a1
da :N/A operator :N/A
sa :00:0e:54:01:5a:d2 operator :no equal
llid :N/A operator :N/A
etherType :N/A operator :N/A
vid :N/A operator :N/A
ipType :N/A operator :N/A
dip :N/A operator :N/A
dip :N/A operator :N/A
admin\qos#



13 QoS Configuration and Management
13-13
13.3.9 Display the LLIDs Attached to an OLT Rule Profile
Command syntax
show epon rule profile <name> attach
Command parameters
<name>: Profile name
Configuration example
The following example is to display the LLIDs attached to OLT rule profile a1:
admin\qos# show epon rule profile a1 attach
Slot onu port llid priority
1 1 1 0 4
1 2 1 0 4
1 3 1 0 4
1 4 1 0 4
1 5 1 0 4
admin\qos#
13.3.10 Flush an OLT Rule Profile
Command syntax
set epon rule profile <name> flush
Command parameters
<name>: Profile name
Configuration example
The following example is to flush OLT rule profile a1:
Admin\qos# set epon rule profile a1 flush
admin\qos#
Note: If a profile attached to a certain number of LLIDs has been modified, this command
must be used to make the modification take effect on them.





12 Service Configuration and Management
14-1
14 Service Configuration and Management
14.1 Overview
Service configuration and management commands are implemented under the
directory Admin\service#. They include SNMP configuration and management
commands, as well as some common service configuration and management
commands such as enabling/disabling Telnet service, ping, setting relevant
parameters, etc.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-2
14.2 Common Services
Table 14-1 Commands for common services
Operation Command Syntax
Set the idle timeout value idle-timeout <value>
Kill a user session kill session <1-99>
Perform ping
ping {[-t]}*1 {[-count] <1-65535>}*1 {[-size] <1-6400>}*1
{[-waittime] <1-255>}*1 {[-ttl] <1-255>}*1 {[-pattern]
<user_pattern>}*1 <A.B.C.D>
Enable/Disable Telnet service service telnet [enable|disable]
Set ACL parameters
set acl <1-6> {[ip] <A.B.C.D>}*1 {[mask] <A.B.C.D>}*1
{[enable|disable]}*1
Enable/Disable the alarm
hummer
set hummer [enable|disable]
Set Telnet ACL Parameters
set telnet acl <1-6> {[ip] <A.B.C.D>}*1 {[mask]
<A.B.C.D>}*1 {[enable|disable]}*1
Display ACL settings show acl
Display the idle timeout show idle-timeout
Display the status of the alarm
hummer
show hummer status
Display current service status show services
Display Telnet ACL settings show telnet acl
Telnet telnet <A.B.C.D>
Add a user user add <username> login-password <login_password>
Delete a user user delete <username>
Set the enable password of an
administrator,
user enable-password <username>
Display the user settings user list
Set the login password of a
user
user login-password <username>
Set a user as an administrator
user role <username> ADMIN enable-password
<enable_password>
Set a user as a common user user role <username> NORMAL
Display information of the user
who establishes a session with
the host
who
Display information of the
current user
who am i



12 Service Configuration and Management
14-3
14.2.1 Set Idle Timeout
Command syntax
idle-timeout <value>
Command parameters
<value>: Idle timeout value
Configuration example
The following example is to set the idle timeout to 120 minutes:
Admin\service# idle-timeout 120
Admin\service#
14.2.2 Kill a User Session
Command syntax
kill session <1-99>
Command parameters
<1-99>: User session no.
Configuration example
The following example is to kill user session 1:
Admin\service# kill session 1
No such session id [1].
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-4
14.2.3 Perform Ping
Command syntax
ping {[-t]}*1 {[-count] <1-65535>}*1 {[-size] <1-6400>}*1 {[-waittime] <1-255>}*1
{[-ttl] <1-255>}*1 {[-pattern] <user_pattern>}*1 <A.B.C.D>
Command parameters
{[-t]}*1: Holding on till manual stop
{[-count] <1-65535>}*1: Specify the response time
{[-size] <1-6400>}*1: Specify the size of the ICMP packets
{[-waittime] <1-255>}*1: Specify the response delay
{[-ttl] <1-255>}*1: Specify the TTL (Time To Live) time
{[-pattern] <user_pattern>}*1: Specify the user data to be added to the ICMP
packets
<A.B.C.D>: The target address
Configuration example
The following example is to ping IP address 10.22.100.1:
Admin\service# ping 10.22.100.1
PING 10.22.100.1 : 56 data bytes.
Press Ctrl-c to Stop.
Reply from 10.22.100.1 : bytes=56: icmp_seq=0 ttl=64 time=20 ms
Reply from 10.22.100.1 : bytes=56: icmp_seq=1 ttl=64 time<10 ms
Reply from 10.22.100.1 : bytes=56: icmp_seq=2 ttl=64 time=10 ms
Reply from 10.22.100.1 : bytes=56: icmp_seq=3 ttl=64 time<10 ms
Reply from 10.22.100.1 : bytes=56: icmp_seq=4 ttl=64 time=10 ms
----10.22.100.1 PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip(ms) min/avg/max = 0/8/20
Admin\service#



12 Service Configuration and Management
14-5
14.2.4 Enable/Disable Telnet Service
Command syntax
service telnet [enable|disable]
Command parameters
[enable]: Enable this service
[disable]: Disable this service
Configuration example
The following example is to disable Telnet service:
Admin\service# service telnet disable
Successfully changed telnet service to down.
Admin\service#
14.2.5 Set ACL Parameters
Command syntax
set acl <1-6> {[ip] <A.B.C.D>}*1 {[mask] <A.B.C.D>}*1 {[enable|disable]}*1
Command parameters
<1-6>: ACL no.
[ip] <A.B.C.D>: Specify the IP address
[mask] <A.B.C.D>: Specify the subnet mask address
[enable]: Enable this function
[disable]: Disable this function
Configuration example
The following example is to set the parameters of ACL 1:
Admin\service# set acl 1 ip 10.1.1.16 mask 10.1.1.1 enable
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-6
14.2.6 Set Telnet ACL Parameters
Command syntax
set telnet acl <1-6> {[ip] <A.B.C.D>}*1 {[mask] <A.B.C.D>}*1 {[enable|disable]}*1
Command parameters
<1-6>: ACL no.
[ip] <A.B.C.D>: Specify the IP address
[mask] <A.B.C.D>: Specify the subnet mask address
[enable]: Enable this function
[disable]: Disable this function
Configuration example
The following example is to set the parameters of Telnet ACL 1:
Admin\service# set telnet acl 1 ip 10.1.1.16 mask 10.1.1.1 enable
Admin\service#
14.2.7 Enable/Disable the Alarm Hummer
Command syntax
set hummer [enable|disable]
Command parameters
[enable]: Enable this function
[disable]: Disable this function
Configuration example
The following example is to disable the alarm hummer:
Admin\service# set hummer disable
Admin\service#



12 Service Configuration and Management
14-7
14.2.8 Display ACL Settings
Command syntax
show acl
Configuration example
The following example is to display ACL settings:
Admin\service# show acl
------------- Access Control Label ------------
No IP Mask Status
1 10.1.1.16 255.255.0.0 enable
2 0.0.0.0 0.0.0.0 disable
3 0.0.0.0 0.0.0.0 disable
4 0.0.0.0 0.0.0.0 disable
5 0.0.0.0 0.0.0.0 disable
6 0.0.0.0 0.0.0.0 disable
Admin\service#
14.2.9 Display the Idle Timeout
Command syntax
show idle-timeout
Configuration example
The following example is to display the idle timeout value:
Admin\service# show idle-timeout
Idle time out is set to 120 minutes.
Admin\service#
14.2.10 Display Current Service Status
Command syntax
show services
Configuration example
The following example is to display current service status:
Admin\service# show services
Service telnet is up.
Service snmp agent is up.
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-8
14.2.11 Display Telnet ACL Settings
Command syntax
show telnet acl
Configuration example
The following example is to display Telnet ACL settings:
Admin\service# show telnet acl
------------- Telnet Access Control Label ------------
No IP Mask Status
1 0.0.0.0 0.0.0.0 disable
2 10.22.1.100 255.255.0.0 enable
3 0.0.0.0 0.0.0.0 disable
4 0.0.0.0 0.0.0.0 disable
5 0.0.0.0 0.0.0.0 disable
6 0.0.0.0 0.0.0.0 disable
Admin\service#
14.2.12 Display the Status of the Alarm Hummer
Command syntax
show hummer status
Configuration example
The following example is to display the status of the alarm hummer:
Admin\service# show hummer status
Service hummer is down.
Admin\service#
14.2.13 Telnet
Command syntax
telnet <A.B.C.D>
Command parameters
<A.B.C.D>: IP address of the server
Configuration example
The following example is to access the server with IP address of 10.22.1.1 by
Telnet:
Admin\service# telnet 10.22.1.1
Trying 10.22.1.1...
Press Ctrl-Q to abort connect.
Failed to connect to10.22.1.1.
Maybe it's an unreached IP
Or destination IP's telnet server is not availible.
Admin\service#



12 Service Configuration and Management
14-9
14.2.14 Configure a User
Command syntax
To add a user, use the following command syntax:
user add <username> login-password <login_password>
To delete a user, use the following command syntax:
user delete <username>
To set a user as an administrator, use the following command syntax:
user role <username> ADMIN enable-password <enable_password>
To set a user as a common user, use the following command syntax:
user role <username> NORMAL
To set the enable password of an administrator, use the following command
syntax:
user enable-password <username>
To set the login password of a user, use the following command syntax:
user login-password <username>
Command parameters
<username>: User name
<login_password>: Login password
<enable_password>: Enable password
Note: Users can be configured with proper management authorities according to actual
requirement.
Configuration example
The following example is to add a user named hhh:
Admin\service# user add hhh login-password 1234
Enable Password too short.(should be >= 6 chars).
Admin\service# user add hhh login-password 123456
Successfully added user hhh as a NORMAL_USER ,
To change user role use "user role" command .
Admin\service#
Note: The login password must not be shorter than six characters. In this example, when
1234 is set as the login password, the system reminds that the password is too short.



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-10
The following example is to delete user hhh:
Admin\service# user delete hhh
Successfully delete user hhh .
Admin\service#
The following example is to set user dddd as an administrator, and set the
enable password to 12345678:
Admin\service# user role dddd admin enable-password 12345678
Successfully change user dddd to ADMIN mode.
Admin\service#
The following example is to set user dddd as a normal user:
Admin\service# user role dddd normal
Successfully change user dddd to NORMAL mode.
Admin\service#
The following example is to set the enable password of administrator wri:
Admin\service# user enable-password wri
Input new enable password for user wri please.
New Password:******
Confirm Password:******
Successfully changed password!.
The following example is to set the login password of user dddd:
Admin\service# user login-password dddd
Input new login password for user dddd please.
New Password:********
Confirm Password:********
Successfully changed password!.
Admin\service#
14.2.15 Display User Settings
Command syntax
user list
Configuration example
The following example is to display the user settings:
Admin\service# user list
UserName ---- User_role ----
Wri ADMIN_USER
Total 1 users in system.
Admin\service#



12 Service Configuration and Management
14-11
14.2.16 Display Information of the User Who Establishes a Session with the Host
Command syntax
who
Configuration example
The following example is to display information of user who establishes a session
with the host:
Admin\service# who
SessionID. ----- UserName ------ LOCATION ----- MODE --------------
6 wri console CONFIG (That's me.)
Total 1 sessions in current system
Admin\service#
14.2.17 Display Information of the Current User
Command syntax
who am i
Configuration example
The following example is to display information of the current user:
Admin\service# who am i
I am *Session [6] : user wri connected from console.
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-12
14.3 SNMP Service
Table 14-2 Commands for SNMP service
Operation Command Syntax
Enable/Disable SNMP service service snmp [enable|disable]
Enable/Disable SNMP trap service snmp trap [enable|disable]
Set SNMP read-only/read-write
community name
set snmp community [readonly|readwrite] <string>
Add a SNMP trap message receiver
set snmp trapreceiver add <A.B.C.D> version
[v1|v2c] {community <string>}*1
Delete a SNMP trap message receiver set snmp trapreceiver delete <A.B.C.D>
Set SNMP system contact set syscontact <.contact>
Set SNMP system location set syslocation <.location>
Display SNMP community name show snmp community
Display the SNMP trap message
receivers
show snmp trapreceiver
Display SNMP system contact string show syscontact
Display SNMP system location string show syslocation
Note: By default, AN5116-02s SNMP service is enabled. To apply this function, just enter
directory Admin\service# and use command set snmp trapreceiver add <A.B.C.D>
version [v1|v2c] {community <string>}*1 to send the configuration to the alarm
destination address.
14.3.1 Enable/Disable SNMP Service
Command syntax
service snmp [enable|disable]
Command parameters
[enable]: Enable this service
[disable]: Disable this service



12 Service Configuration and Management
14-13
14.3.2 Enable/Disable SNMP Trap
Command syntax
service snmp trap [enable|disable]
Command parameters
[enable]: Enable this function
[disable]: Disable this function
Configuration example
The following example is to enable SNMP trap:
Admin\service# service snmp trap enable
Successfully changed snmp agent to support trap
Admin\service#
14.3.3 Set SNMP Read-only/Read-write Community Name
Command syntax
set snmp community [readonly|readwrite] <string>
Command parameters
[readonly]: Read-only community name
[readwrite]: Read-write community name
<string>: Name string
Configuration example
The following example is to set SNMP read-write community name to bbbb:
Admin\service# set snmp community readwrite bbbb
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-14
14.3.4 Add a SNMP Trap Message Receiver
Command syntax
set snmp trapreceiver add <A.B.C.D> version [v1|v2c] {community <string>}*1
Command parameters
<A.B.C.D>: IP address of the trap message receiver
[v1|v2c]: Protocol version
{community <string>}*1: Community name
Configuration example
The following example is to add a SNMP trap message receiver: its IP address is
10.8.8.8; the version is v2c; and the community name is ssss.
Admin\service# set snmp trapreceiver add 10.8.8.8 version v2c community ssss
Successfully added trapreceiver IP address is 10.8.8.8
The trap version is v2c
The trap community is ssss
Admin\service#
14.3.5 Delete a SNMP Trap Message Receiver
Command syntax
set snmp trapreceiver delete <A.B.C.D>
Command parameters
<A.B.C.D>: IP address of the trap message receiver
Configuration example
The following example is to delete the SNMP trap message receiver with IP
address of 10.8.8.8:
Admin\service# set snmp trapreceiver delete 10.8.8.8
Successfully deleted trapreceiver IP address 10.8.8.8
Admin\service#



12 Service Configuration and Management
14-15
14.3.6 Set SNMP System Contact
Command syntax
set syscontact <contact>
Command parameters
<contact>: SNMP system contact string
Configuration example
The following example is to set SNMP system contact to 123:
Admin\service# set syscontact 123
System contact is set to:
123
Admin\service#
14.3.7 Set SNMP System Location
Command syntax
set syslocation <location>
Command parameters
<location>: SNMP system location string
Configuration example
The following example is to set SNMP system location to 321:
Admin\service# set syslocation 321
System contact is set to:
321
Admin\service#
14.3.8 Display SNMP Community Name
Command syntax
show snmp community
Configuration example
The following example is to display SNMP community name:
Admin\service# show snmp community
Read-only Community String is :[public]
Read-write Community String is :[public]
Admin\service#



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
14-16
14.3.9 Display SNMP Trap Message Receivers
Command syntax
show snmp trapreceiver
Configuration example
The following example is to display the SNMP trap message receivers:
Admin\service# show snmp trapreceiver
IP address Version Community
10.22.174.7 v1 public
10.8.8.8 v2c public
Total 0 trapreceiver IP address in system.
Admin\service#
14.3.10 Display SNMP System Contact String
Command syntax
show syscontact
Configuration example
The following example is to display the SNMP system contact string:
Admin\service# show syscontact
Fiberhome Technology
Admin\service#
14.3.11 Display SNMP System Location String
Command syntax
show syslocation
Configuration example
The following example is to display the SNMP system location string:
Admin\service# show syslocation
DefaultsysLocation
Admin\service#



Appendix A Command Index
A-1
Appendix A Command Index
A.1 Commands under Root Directory Admin
Table A-1 Commands under root directory Admin
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service|
stp|vlan]
Switch between directories
clear Clear the screen of the control console
download ftp [system|config]
<A.B.C.D> <username> <password>
<filename>
Download system software or configuration file by
FTP
erase {startup-config}*1 Erase the startup configuration
exit Exit from the administrator mode
help Display system help information
hostname <hostname> Set the host name
list Display all the commands under current directory
quit Log off
reboot {[<slotlist>|system]}*1 Reboot the system or an EC2 card
save {configuration}*1 Save the current configuration
set time <1970-2100> <1-12> <1-31>
<HH:MM:SS>
Set system time
show history Display history commands
show running-config Display the current configuration
show startup-config Display the startup configuration
show time Display the system time
synchronize {configuration}*1 Synchronize the configuration
upload ftp [system|config]
<A.B.C.D> <username> <password>
<filename>
Upload system software or configuration file by FTP



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-2
A.2 Commands under Subdirectory device
Table A-2 Commands under subdirectory device
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service|stp|vlan] Switch between directories
clear Clear the screen of the control console
delete trunking <portmasteno> Delete a port trunking group
force switch Perform forced switch
help Display system help information
list
Display all the commands under current
directory
set [broadcast|multicast|unknown|all] control
disable
Disable broadcast/multicast/unknown
packet suppression
set [broadcast|multicast|unknown|all] control
enable limit <1-131071>
Set broadcast/multicast/unknown packet
suppression limit
set mirror add <portno> Designate the source port of mirroring
set mirror disable Disable current port mirroring
set mirror to <portno> Designate the destination port of mirroring
set slot <1-18> onu <1-128> llid <0-2> location
[mac|phy] framesnum <1-800> payloadlength
<64-1500> payloadtype [increment|random|1|0]
VLANtag <0-4094> loopback
Perform LLID loopback test
set slot <1-18> onu <onulist> catv
[enable|disable]
Enable/Disable ONUs CATV function
set slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] dba_tokens <0-255>
min_tokens <0-511> max_tokens <0-511>
Set LLIDs DBA weight paramaters
set slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] minband <0-1000000>
maxband <0-1000000> burst <1-256> priority
<0-2>
Set LLIDs SLA bandwidth parameters
set slot <1-18> onu <onulist> port [1|2|all] auto
[enable|disable]
Enable/Disable ONU ports
auto-negotiation function
set slot <1-18> onu <onulist> port [1|2|all]
drop-errorframe [enable|disable]
Enable/Disable ONU ports error frame
discard function
set slot <1-18> onu <onulist> port [1|2|all] duplex
[full|half]
Set ONU ports duplex mode
set slot <1-18> onu <onulist> port [1|2|all]
flow-control [enable|disable]
Enable/Disable ONU ports flow control
function



Appendix A Command Index
A-3
Command Syntax Is Used to
set slot <1-18> onu <onulist> port [1|2|all]
leraning-number <1-64>
Set ONU ports address learning limit
set slot <1-18> onu <onulist> port [1|2|all] speed
[10|100]
Set ONU ports speed
set slot <1-18> onu <onulist> robust <0-12>
last-member-query-count <0-12> max_group
port1 <0-32> port2 <0-32>
Set ONUs IGMP parameters
set slot <1-18> pon [1|2] authenticated table
Add all unauthorized ONUs of a PON port
into its authorized table
set slot <1-18> pon [1|2|all]
[upstream|downstream] bandwidth <0-1000000>
burst <0-256>
Set PON ports bandwidth parameters
set slot <1-18> pon [1|2|all] sla max_linknum
<pri0_linknum> <pri1_linknum><pri2_linknum>
Set PON ports SLA parameters
set slot <1-18> sequence <1-128> mac <addr>
authenticated table
Add the MAC address of an unauthorized
ONU into the authorized table
set slot <1-18> sequence <sequence_list>
un-authenticat
Remove an authorized ONU from the
authorized table
set trunking <portmasteno> grouping <portlist> Create a port trunking group
set uplink port <portlist> [enable|disable] Enable/Disable an uplink port
set uplink port <portlist> auto [enable|disable]
Enable/Disable uplink ports
auto-negotiation mode
set uplink port <portlist> flowcontrol
[enable|disable]
Enable/Disable uplink ports flow control
function
set uplink port <portlist> learning [enable|disable]
Enable/Disable uplink ports learning
function
set uplink port <portlist> priority [enable|disable]
Enable/Disable uplink ports priority
function
set uplink port <portlist> speed [10|100] duplex
[full|half]
Set uplink ports speed and duplex mode
show [broadcast|multicast|unknown|all] control
Display broadcast/multicast/ unknown
packet suppression settings
show history Display history commands
show history alarm Display history alarms
show mirror Display current port mirroring settings
show port [<portlist>|all]
{[configuration|linelink|stats]}*1
Display uplink ports configuration, link
state or statistical information
show slot Display slot information
show slot <1-18> onu <onulist> igmp-info Display ONU ports IGMP settings
show slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] band-information
Display LLIDs SLA bandwidth settings



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-4
Command Syntax Is Used to
show slot <1-18> onu <onulist> llid <0-2>
[upstream|downstream] tokens-information
Display LLIDs DBA weight settings
show slot <1-18> onu <onulist> port [1|2|all] Display ONU ports properties
show slot <1-18> pon [1|2] authenticated table
Display the list of authorized ONUs MAC
addresses of a PON port
show slot <1-18> pon [1|2] un-authenticated
table
Display the list of unauthorized ONUs
MAC addresses of a PON port
show slot <1-18> pon-bandwidth Display PON ports bandwidth settings
show slot <1-18> sla-priority-max_linknum Display PON ports SLA settings
show trunking Display port trunking settings
show version Display card version of the equipment
upgrade [pon|onu] <id> <A.B.C.D> <username>
<password> <filename> <slotlist
Upgrade PON/ONU firmware of EC2 card
upgrade xdu <A.B.C.D> <username>
<password> <filename> <slotlist>
Upgrade line card software
A.3 Commands under Subdirectory fdb
Table A-3 Commands under subdirectory fdb
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service
|stp|vlan]
Switch between directories
clear Clear the screen of the control console
help Display system help information
list Display all the commands under current directory
set fdb agingtime <value> Set ageing time for FDB entries
show fdb agingtime Display current FDB ageing time setting
show fdb slot <slotno> Display FDB information of a slot
show history Display history commands



Appendix A Command Index
A-5
A.4 Commands under Subdirectory profile
Table A-4 Commands under subdirectory profile
Command Syntax Is Used to
add [olt-igmp] profile <name> Create a profile
cd [..device|fdb|profile|qos|service
|stp|vlan]
Switch between directories
clear Clear the screen of the control console
delete profile <profilename> Delete a profile
flush profile <profilename> Flush a profile
help Display system help information
list Display all the commands under current directory
Note: Command syntax for parameters
of OLT IGMP profile are implemented
under the subdirectory OLT-Igmp of
profile; please refer to Section 9.3.2
for details
Configure an OLT IGMP profile
set profile <profilename> Modify a profile
set slot <1-18> pon [1|2|all] attach
olt-igmp profile <profilename>
Attach a PON port to an OLT IGMP profile
set slot <1-18> pon [1|2|all] dettach
olt-igmp profile <profilename>
Detach a PON port from an OLT IGMP profile
show history Display history commands
show profile {<profilename>}*1 Display the settings of a profile



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-6
A.5 Commands under Subdirectory qos
Table A-5 Commands under subdirectory qos
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service
|stp|vlan]
Switch between directories
clear Clear the screen of the control console
create epon rule profile <name> Create an OLT rule profile
create qos access_profile <name> Create a QoS access profile
delete epon rule profile <name> Delete an OLT rule profile
delete qos access_profile <name> Delete a QoS access profile
help Display system help information
list Display all the commands under current directory
set epon rule profile <name> flush Flush an OLT rule profile
set epon rule profile <name> parameter
{[da] [<da>|null] [<operator>|null]}*1
{[sa] [<sa>|null] [<operator>|null]}*1
{[llid] [<llidno>|null] [<operator>|null]}*1
{[ethertype] [<type>|null]
[<operator>|null]}*1 {[vid] [<vid>|null]
[<operator>|null]}*1 {[iptype]
[<type>|null] [<operator>|null]}*1 {[dip]
[<A.B.C.D>|null] [<operator>|null]}*1
{[userdefine] [<filed_id>|null] [<val>|null]
[<operator>|null]}*1
Set the parameters of an OLT rule profile
set epon slot <slotno> onu <onulist>
llidnum <1-3>
Set ONUs LLID number
set epon slot <slotno> onu <onulist>
userport <portlist> llid <llidno> attach
rule profile <name> priority <val>
Attach a LLID to an OLT rule profile
set epon slot <slotno> onu <onulist>
userport <portlist> llid <llidno> dettach
rule profile <name>
Detach a LLID from an OLT rule profile
set priority mode [sp|wrr|robin] Set equipments priority mode



Appendix A Command Index
A-7
Command Syntax Is Used to
set qos access_profile <name> action
{[cmd][0|1|2|null]}*1 {[ratelimit]
[<0-1000>|null]}*1 {[queue]
[<0-7>|null]}*1 {[newtos] [<0-7>|null]}*1
{[flowmirroring] [enable|disable] [port]
<portlist>}*1
Set the routing strategy of a QoS access profile
set qos access_profile <name> flush Flush a QoS access profile
set qos access_profile <name>
parameter {[vid] [<vid>|null]}*1 {[sip]
[<A.B.C.D>|null] [smask]
[<1-32>|null]}*1 {[dip] [<A.B.C.D>|null]
[dmask] [<1-32>|null]}*1 {[sa]
[<sa>|null]}*1 {[da] [<da>|null]}*1
{[protocoltype] [<1-255>|null]}*1
{[tcpudpsrc] [<1-65535>|null]}*1
{[tcpudpdes] [<1-65535>|null]}*1 {[tos]
[<0-7>|null]}*1
Set the parameters of a QoS access profile
set slot <slotno> [attach|detach] qos
access_profile <name>
Attach/Detach a port to/from a QoS access profile
set uplink port <portlist> [attach|detach]
qos access_profile <name>
Attach/Detach an uplink port to/from a QoS access
profile
show all qos-profile Display all QoS access profiles
show epon rule profile {<name>}*1 Display the settings of an OLT rule profile
show epon rule profile <name> attach Display the LLIDs attached to an OLT rule profile
show epon slot <slotno> onu <onulist>
llidnum
Display ONUs LLID number
show history Display history commands
show priority mode Display equipments priority mode



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-8
A.6 Commands under Subdirectory service
Table A-6 Commands under subdirectory service
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service|
stp|vlan]
Switch between directories
clear Clear the screen of the control console
help Display system help information
idle-timeout <value> Set the idle timeout value
kill session <1-99> Kill a user session
list Display all the commands under current directory
ping {[-t]}*1 {[-count] <1-65535>}*1
{[-size] <1-6400>}*1 {[-waittime]
<1-255>}*1 {[-ttl] <1-255>}*1 {[-pattern]
<user_pattern>}*1 <A.B.C.D>
Perform ping
service snmp [enable|disable] Enable/Disable SNMP service
service snmp trap [enable|disable] Enable/Disable SNMP trap
service telnet [enable|disable] Enable/Disable Telnet service
set acl <1-6> {[ip] <A.B.C.D>}*1 {[mask]
<A.B.C.D>}*1 {[enable|disable]}*1
Set ACL parameters
set hummer [enable|disable] Enable/Disable the alarm hummer
set snmp community
[readonly|readwrite] <string>
Set SNMP read-only/read-write community name
set snmp trapreceiver add <A.B.C.D>
version [v1|v2c] {community <string>}*1
Add a SNMP trap message receiver
set snmp trapreceiver delete <A.B.C.D> Delete a SNMP trap message receiver
set syscontact <.contact> Set SNMP system contact
set syslocation <.location> Set SNMP system location
set telnet acl <1-6> {[ip] <A.B.C.D>}*1
{[mask] <A.B.C.D>}*1
{[enable|disable]}*1
Set Telnet ACL Parameters
show acl Display ACL settings
show history Display history commands
show hummer status Display the status of the alarm hummer
show idle-timeout Display the idle timeout
show services Display current service status
show snmp community Display SNMP community name



Appendix A Command Index
A-9
Command Syntax Is Used to
show snmp trapreceiver Display the SNMP trap message receivers
show syscontact Display SNMP system contact string
show syslocation Display SNMP system location string
show telnet acl Display Telnet ACL settings
telnet <A.B.C.D> Telnet
user add <username> login-password
<login_password>
Add a user
user delete <username> Delete a user
user enable-password <username> Set the enable password of an administrator,
user list Display the user settings
user login-password <username> Set the login password of a user
user role <username> ADMIN
enable-password <enable_password>
Set a user as an administrator
user role <username> NORMAL Set a user as a common user
who
Display information of the user who establishes a
session with the host
who am i Display information of the current user



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-10
A.7 Commands under Subdirectory stp
Table A-7 Commands under subdirectory stp
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service
|stp|vlan]
Switch between directories
clear Clear the screen of the control console
help Display system help information
list Display all the commands under current directory
set stpd default [enable | disable] Enable/Disable STP function
set stpd default forwarddelay <4-30> Set STP Forward delay time
set stpd default hellotime <1-10> Set STP Hello time
set stpd default maxage <6-40> Set STP Maximum age time
set stpd default port [<portlist> | all ]
cost <1-65535>
Set STP port path cost
set stpd default port [<portlist> | all ]
priority <0-255>
Set STP port priority
set stpd default port [<portlist>|all]
[enable|disable]
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 priority <0-65535> Set STP Bridge priority
show history Display history commands
show stpd default Display STP settings of the default VLAN
show stpd default port [<portlist> |all ] Display STP port settings of the default VLAN



Appendix A Command Index
A-11
A.8 Commands under Subdirectory vlan
Table A-8 Commands under subdirectory vlan
Command Syntax Is Used to
cd [..device|fdb|profile|qos|service|stp|vlan] Switch between directories
clear Clear the screen of the control console
Create [single|shared|double] vlan <name> Create a VLAN
create epon share vlan <name> slot <slotlist>
llid [0|1] uplink <portlist> vid <vid>
Create shared VLAN of PON port
create epon single vlan llid <llidlist> vid
<vidlist> uplink <portlist>
Create single VLAN of LLID in batches
create epon single vlan slot <slotno> llid [0|1]
llid_base <llidno> llid_end <llidno> vid_base
<vid> uplink <portlist>
Create single VLAN of PON port in batches
delete epon single vlan llid <llidlist> Delete single VLAN of LLID in batches
delete epon single vlan slot <slotno> llid [0|1]
llid_base <llidno> llid_end <llidno>
Delete single VLAN of PON port in batches
delete manage vlan Delete management VLAN
delete ngn vlan Delete NGN VLAN
Delete vlan <name> Delete a VLAN
help Display system help information
list
Display all the commands under current
directory
set manage ip <A.B.C.D/M> {<A.B.C.D>}*1 Set the IP Address of Management VLAN
set manage vlan inputport <vid> <portlist>
[untagged|tagged]
Create management VLAN
set ngn vlan uplink port <portlist>
[untagged|tagged] vid [default|<vid>]
Set NGN VLAN
set vlan <name> [add|delete] port <portlist>
[tagged|untagged]
Add/Delete ports/LLIDs into/from a VLAN
set vlan <name> tag <value> Set the tag of a VLAN
show history Display history commands
show manage vlan Display the settings of management VLAN
show ngn vlan Display NGN VLAN
show vlan {<name>}*1 Display VLAN settings



AN5116-02 Equipment Command Line Interface Network Management System Operation Manual
A-12
A.9 Commands under Root Directory User
Table A-9 Commands under root directory User
Command Syntax Is Used to
admin Switch to the administrator mode
clear Clear the screen of the control console
help Display system help information
list Display all the commands under current directory
ping {[-t]}*1 {[-count] <1-65535>}*1
{[-size] <1-6400>}*1 {[-waittime]
<1-255>}*1 {[-ttl] <1-255>}*1
{[-pattern] <user_pattern>}*1
<A.B.C.D>
Perform ping
quit Log off
show fdb agingtime Display current FDB ageing time setting
show fdb slot <slotno> Display FDB information of a slot
show history Display history commands
show idle-timeout Display the idle timeout
show port [<portlist>|all]
{[configuration|linelink|stats]}*1
Display uplink ports configuration, link state or
statistical information
show services Display current service status
show snmp trapreceiver Display the SNMP trap message receivers
show stpd default port [<portlist> |all ] Display STP ports settings of the default VLAN
show time Display the system time
show trunking Display port trunking settings
show vlan {<name>}*1 Display VLAN settings
who
Display information of the user who establishes a
session with the host
who am i Display information of the current user




F Fe ee ed db ba ac ck k F Fo or rm m
Your feedback is an important way for us to receive questions, comments and
suggestions...ultimately providing you with enhanced manuals and services by FiberHome.
Please give your opinions on the items listed below about this manual by the symbol .
Items Excellent Good Normal Bad
Expression
Integrity
Exactitude
Structure
Illustration
Getup
General
Please give your advices on the items listed below about this manual by the symbol .
Adjust its structure Contents more detailed
Give more examples Expression more concise
Add more illustrations Operationality more ascensive
Please give more details of your advices on this manual:

Which part of this manual do you appreciate more?
Other advices for our manuals:
The personal information requested is used for no other purposes than to respond to your feedback.
Name Job/Position
Working Unit E-mail
Correspondence Phone Num
Correspondence Facsimile
Correspondence Address
Date








FiberHome Telecommunication Technologies Co., Ltd.
Address: #88 Youkeyuan Rd., Wuhan, China
Tel: +86-27-87691549
Fax: +86-27-87691755
Zip code: 430074
Website: http://www.fiberhomegroup.com

You might also like