TP-Link P1200-08 CLI User Manual

8PON Port GPON OLT Equipment
CLI User Manual
VersionV1.0
Catalog
CATALOG ............................................................................................................................................ 2
THE CLI MANUAL CONVENTIONS .................................................................................................................. 7
Command Conventions .................................................................................................................... 7
Keyword Operation Conventions ...................................................................................................... 7
Symbol Conventions ......................................................................................................................... 7
Terms Conventions ........................................................................................................................... 8
Prompt .............................................................................................................................................. 8
1. CONFIGURATION MODE .......................................................................................................................... 9
1.1 enable ....................................................................................................................................... 11
1.2 config ........................................................................................................................................ 11
1.3 interface ................................................................................................................................... 11
1.4 dba-profile ................................................................................................................................ 12
1.5 ont-lineprofile ........................................................................................................................... 12
1.6 ont-srvprofile ............................................................................................................................ 12
1.7 multicast-vlan ........................................................................................................................... 12
1.8 exit ............................................................................................................................................ 13
2. EQUIPMENT UPGRADE .......................................................................................................................... 13
2.1 load........................................................................................................................................... 13
2.2 show version ............................................................................................................................. 14
2.3 show progress ........................................................................................................................... 14
3. EQUIPMENT MANAGEMENT ................................................................................................................... 15
3.1 reboot ....................................................................................................................................... 15
3.2 ip address ................................................................................................................................. 15
3.3 show interface mgmt................................................................................................................ 16
3.4 show interface vlanif ................................................................................................................ 16
3.5 show device info ....................................................................................................................... 17
4. OPERATION STATUS MONITOR ............................................................................................................... 17
4.1 show fan ................................................................................................................................... 17
4.2 show temperature .................................................................................................................... 18
4.3 show memory ........................................................................................................................... 18
4.4 show version ............................................................................................................................. 18
4.5 time .......................................................................................................................................... 19
4.6 show time ................................................................................................................................. 19
4.7 show uptime ............................................................................................................................. 19
5. CONFIGURATION MANAGEMENT ............................................................................................................ 20
5.1 backup ...................................................................................................................................... 20
5.2 load configuration .................................................................................................................... 20
5.3 show current-config .................................................................................................................. 21
5.4 save .......................................................................................................................................... 21
5.5 erase saved-config .................................................................................................................... 22
5.6 show saved-config .................................................................................................................... 22
6.ACCOUNT MANAGEMENT ...................................................................................................................... 23
6.1 user add .................................................................................................................................... 23
6.2 user delete ................................................................................................................................ 23
6.3 user group ................................................................................................................................ 23
6.4 user password........................................................................................................................... 24
6.5 show user ................................................................................................................................. 24
7. PORT CONFIGURATION ......................................................................................................................... 24
7.1 shutdown .................................................................................................................................. 24
7.2 no shutdown ............................................................................................................................. 25
7.3 show port state ......................................................................................................................... 25
7.4 show port ddm-info .................................................................................................................. 27
7.5 show port vlan .......................................................................................................................... 27
7.6 auto-neg ................................................................................................................................... 28
7.7 duplex ....................................................................................................................................... 28
7.8 speed ........................................................................................................................................ 28
7.9 flow-control .............................................................................................................................. 28
7.10 mirror ..................................................................................................................................... 29
7.11 show mirror ............................................................................................................................ 29
7.12 mtu ......................................................................................................................................... 30
7.13 reset port statistic ................................................................................................................... 30
7.14 show port statistics ................................................................................................................. 30
7.15 show mac-address .................................................................................................................. 31
7.16 show location ......................................................................................................................... 32
7.17 mac-address limit port ........................................................................................................... 32
7.18 mac-address static .................................................................................................................. 33
7.19 mac-address timer .................................................................................................................. 33
7.20 mac-address learning ............................................................................................................. 34
7.21 mac-address black-hole .......................................................................................................... 34
7.22 mac-address flush................................................................................................................... 35
7.23 traffic-suppress ....................................................................................................................... 35
8. VLAN ............................................................................................................................................... 36
8.1 vlan ........................................................................................................................................... 36
8.2 show vlan ................................................................................................................................. 37
8.3 vlan mode ................................................................................................................................. 37
8.4 vlan access ................................................................................................................................ 38
8.5 vlan trunk ................................................................................................................................. 38
8.6 vlan hybrid ................................................................................................................................ 39
8.7 vlan native-vlan ........................................................................................................................ 39
8.8 show port vlan .......................................................................................................................... 39
8.9 interface vlanif .......................................................................................................................... 40
8.10 show interface vlanif .............................................................................................................. 40
9. MULTICAST MODULE ........................................................................................................................... 41
9.1 igmp-snooping.......................................................................................................................... 41
9.2 igmp-snooping fast-leave ......................................................................................................... 41
9.3 igmp-snooping host-aging-time ............................................................................................... 42
9.4 igmp-snooping router-aging-time ............................................................................................ 42
9.5 igmp-snooping querier ............................................................................................................. 43
9.6 igmp-snooping querier interval ................................................................................................ 43
9.7 igmp-snooping querier max-response-time.............................................................................. 44
9.8 igmp-snooping querier source-ip .............................................................................................. 44
9.9 show igmp-snooping config ..................................................................................................... 44
9.10 show igmp-snooping group .................................................................................................... 45
9.11 multicast-vlan ......................................................................................................................... 46
9.12 show multicast-vlan ................................................................................................................ 46
9.13 port ......................................................................................................................................... 47
9.14 multicast-unknown ................................................................................................................. 47
10.RSTP ............................................................................................................................................... 47
10.1 spanning-tree ......................................................................................................................... 47
10.2 spanning-tree priority ............................................................................................................. 48
10.3 spanning-tree timer forward-delay ........................................................................................ 48
10.4 spanning-tree timer hello ....................................................................................................... 49
10.5 spanning-tree timer max-age ................................................................................................. 49
10.6 spanning-tree edged-port ....................................................................................................... 49
10.7 spanning-tree cost .................................................................................................................. 50
10.8 spanning-tree mcheck ............................................................................................................ 50
10.9 spanning-tree point-to-point .................................................................................................. 51
10.10 spanning-tree priority ........................................................................................................... 51
11.DBA PROFILE CONFIGURATION ............................................................................................................. 52
11.1 dba-profile .............................................................................................................................. 52
11.2 type......................................................................................................................................... 52
11.3 show dba-profile .................................................................................................................... 53
11.4 commit ................................................................................................................................... 54
12. ONT LINEPROFIEL CONFIGURATION ...................................................................................................... 54
12.1 ont-lineprofile ......................................................................................................................... 55
12.2 tcont ....................................................................................................................................... 55
12.3 gem add ................................................................................................................................. 56
12.4 gem delete .............................................................................................................................. 56
12.5 mapping-mode ....................................................................................................................... 56
12.6 gem mapping ......................................................................................................................... 57
12.7 show ont-lineprofile ................................................................................................................ 57
12.8 show ont-lineprofile current ................................................................................................... 58
13.ONT-SRVPROFILE CONFIGURATION ........................................................................................................ 58
13.1 ont-srvprofile .......................................................................................................................... 58
13.2 ont-port .................................................................................................................................. 59
13.3 port vlan ................................................................................................................................. 59
13.4 show ont-srvprofile ................................................................................................................. 60
13.5 show ont-srvprofile current .................................................................................................... 61
13.6 mac-learning .......................................................................................................................... 62
13.7 mac-aging .............................................................................................................................. 62
13.8 commit ................................................................................................................................... 63
14.ONT MANAGEMENT .......................................................................................................................... 63
14.1 ont add ................................................................................................................................... 63
14.2 ont confirm ............................................................................................................................. 64
14.3 ont cancel ............................................................................................................................... 64
14.4 ont delete ............................................................................................................................... 65
14.5 ont description ........................................................................................................................ 65
14.6 ont autofind ............................................................................................................................ 66
14.7 ont active ................................................................................................................................ 66
14.8 ont deactive ............................................................................................................................ 66
14.9 ont modify .............................................................................................................................. 67
14.10 ont reboot ............................................................................................................................. 67
14.11 show ont info ........................................................................................................................ 68
14.12 show ont autofind ................................................................................................................ 70
14.13 show ont capability .............................................................................................................. 70
14.14 show ont config-capability ................................................................................................... 71
14.15 show ont optical-info ............................................................................................................ 71
14.16 show ont version .................................................................................................................. 72
15. LOG MANAGEMENT ............................................................................................................................ 72
15.1 loghost add ............................................................................................................................. 72
15.2 loghost delete ......................................................................................................................... 73
15.3 loghost activate ...................................................................................................................... 73
15.4 loghost deactivate .................................................................................................................. 74
15.5 show loghost list ..................................................................................................................... 74
15.6 syslog priority ......................................................................................................................... 74
15.7 show syslog priority severity................................................................................................... 75
15.8 backup log .............................................................................................................................. 75
15.9 terminal alarm-event severity ................................................................................................ 76
15.10 show terminal alarm-event severity ..................................................................................... 76
15.11 terminal debugging .............................................................................................................. 76
15.12 show terminal debugging ..................................................................................................... 77
16 DHCP-SNOOPING CONFIG...................................................................................................................... 77
16.1 dhcp-snooping arp-detect ...................................................................................................... 77
16.2 dhcp-snooping arp-reply-fast ................................................................................................. 78
16.3 dhcp-snooping bind-table clear .............................................................................................. 78
16.4 dhcp-snooping bind-table write-delay ................................................................................... 78
16.5 dhcp-snooping bind-table delete-time ................................................................................... 79
16.6 dhcp-snooping bind-table write-to-flash ................................................................................ 79
16.7 dhcp-snooping bind-table save-to-tftp ................................................................................... 79
16.8 show dhcp-snooping bind-table ............................................................................................. 80
16.9 dhcp-snooping binding ........................................................................................................... 80
16.10 dhcp-snooping chaddr-check ................................................................................................ 81
16.11 dhcp-snooping enable .......................................................................................................... 81
16.12 dhcp-snooping disable.......................................................................................................... 81
16.13 dhcp-snooping limit-rate ...................................................................................................... 82
16.14 dhcp-snooping opton82 .................................................................................................... 82
16.15 dhcp-snooping option82 policy ............................................................................................ 82
16.16 (no) dhcp-snooping trust port .............................................................................................. 83
16.17 dhcp-snooping vlan ........................................................................................................ 83
16.18 show dhcp-snooping configuration ...................................................................................... 83
17 TRAFFIC PROFILE CONFIGURATION .......................................................................................................... 84
17.1 traffic-profile .......................................................................................................................... 84
17.2 modify .................................................................................................................................... 85
INCLUDING REMARKS ...................................................................................................................... 85
The CLI manual conventions
Convention
Description
Boldface
The keywords of a command line are in boldface.
Italic
Command arguments are in italics.
[ ]
Items (keywords or arguments) in brackets [ ] are optional.
( x | y | ... )
Optional items are grouped in braces and separated by vertical bars. One item is selected.
[ x | y | ... ]
Optional items are grouped in brackets and separated by vertical bars. One item is selected or no item is selected.
<x-y>
One number from x to y can be selected
$
A line starting with the $ sign is comments.
Convention
Description
String with < >
It is key name. For example, <Enter>, <Tab>, <Backspace>, <a>, <?> etc, it means to press the key button
<Key 1 + Key 2>
It means to press the key at same time. For example < Ctrl+Alt+A> means to press “Ctrl”, “Alt”, “A” button together.
<Key 1 , Key 2>
It means to press the first button, then release, and presss the
second button. For example < Alt, F> means to press “Alt” first, then release “Alt” buttion, and then press “A” button.
Command Conventions
The command conventions that may be found in this document are defined as follows.
Keyword Operation Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows.
This warning symbol means danger. You are in a situation that could cause bodily injury
or broke the equipment. Before you work on any equipment, be aware of the hazards involved with electrical circuitry and be familiar with standard practices for preventing accidents by making quick guide based on this guide.
Indicates a hazard with a high level of risk, which if not avoided, it will result in death or
serious injury on human body.
Provides additional information to emphasize or supplement important points of the
main text.
Terms Conventions
OLT It is the 8PON port Optical Line Terminal, included the switch and uplink port. PON It
stand for PON protocol process module and PON port to connect with ONU side.
Prompt
CLI is case – sensitive.
1. Configuration Mode
You can configure and manage the OLT with the CLI via a management network environment or the console. The The The CLI provides the following command modes User EXEC Mode, when you log in the OLT, the CLI will start with User ECEC Mode.
Ther are some basic command on this EXEC mode. The system prompt as OLT>
Privileged EXEC Mode, it called Enabble View Mode or Privileged EXEC Mode. You can enter
into privileged EXEC Mode with the enable comman. The system prompt will changes from OLT> to OLT#
Configuration Mode, it called Configuration Mode or Global Configuration Mode. You can
enter in Configuration Mode with the conf terminal command. The system prompt will changes from OLT# to OLT(config)#
GE interface Mode, enter the interface ge command, the system prompt will be changed
from OLT(config)# to OLT(interface-ge)#
XGE interface Mode, enter the interface xge command, the system prompt will be
changed from OLT(config)# to OLT(interface-xge)#
GPON interface Mode, enter the interface gpon command, the system prompt will be
changed from OLT(config)# to OLT(interface-gpon)#
VLANIF interface Mode, enter the interface vlanif vlanID command, the system prompt
will be changed from OLT(config)# to OLT(interface-vlanif-20)# (VLAN 20 is an example)
MGMT interface Mode, enter the interface mgmt command, the system prompt will be
changed from OLT(config)# to OLT(interface-mgmt)#
Dba-profile Mode, enter the dba-profile profile-id id command, the system prompt will be
changed from OLT(config)# to OLT(dba-profile-1)#
Lineprofile Mode, enter the ont-lineprofile profile-id id command, the system prompt
will be changed from OLT(config)# to OLT(ont-lineprofile-1)#
Srvprofile Mode, enter the ont-srvprofile profile-id id command, the system prompt will
be changed from OLT(config)# to OLT(ont-srvprofile-1)#
Multicast-vlan Mode, enter the multicast-vlan vlanid command, the system prompt will be
changed from OLT(config)# to OLT(multicast-vlan-100)# (VLAN 100 is an example)
Command Modes Overview
Connect User name: User password:
Serial interface
(Bits per second: 9600 Data bits: 8 Parity: none Stop bits: 1 Flow control: none)
PuTTY
(telnet)
User EXEC mode
OLT>
enable
Privileged EXEC
mode
config
Dba-profile mode
OLT(dba-profile-1)#
dba-profile profile-id id profile-id id:1-128
Gpon interface mode
OLT(interface-gpon)#
interface gpon
Mgmt interface mode
OLT(interface-mgmt)#
interface mgmt
Multicast vlan mode
OLT(multicast-vlan-100)#
multicast-vlan vlanid vlanID:1-4094
Configuration mode
OLT(config)#
Ge interface mode
OLT(interface-ge)#
interface ge
Xge interface mode
OLT(interface-xge)#
interface xge
Vlanif interface mode
OLT(interface-vlanif-100)
interface vlanif vlanID vlanID:1-4094
Lineprofile mode
OLT(ont-lineprofile-1)#
ont-lineprofile profile-id id profile-id id:1-512
Srvprofile mode
OLT(ont-srvprofile-1)#
ont-srvprofile profile-id id profile-id id:1-512
1.1 enable
Command
enable
View Mode
User EXEC mode
Parameter
No
Description
From User EXEC mode to Privileged EXEC Mode
Example
OLT > enable OLT #
Command
config
View Mode
Privileged EXEC Mode
Parameter
No
Description
From Privileged EXEC Mode to Configuration mode
Example
OLT # config OLT (config)#
Command
interface ge interface xge interface gpon interface vlanif vlanid interface mgmt
View Mode
Configuration mode
Parameter
Vlanid: VLAN ID. <U><1~4094>
Description
From Configuration mode to Interface Mode (Included XGE, GE, GPON, VLAN If, Mgnt
Example
OLT(config)# interface ge OLT(interface-ge)# OLT(config)# interface xge OLT(interface-xge)# OLT(config)# interface gpon OLT(interface-gpon)# OLT(config)# interface vlanif 100 OLT(interface-vlanif-100)# OLT(config)# interface mgmt OLT(interface-mgmt)#
1.2 config
1.3 interface
1.4 dba-profile
Command
dba-profile profile-id id
View Mode
Configuration mode
Parameter
Id: Profile ID. <U><1~128>
Description
From Configuration mode to DBA Mode
Example
OLT(config)# dba-profile profile-id 1 OLT(dba-profile-1)#
Command
ont-lineprofile profile-id id
View Mode
Configuration mode
Parameter
Id: Profile ID. <U><1~128>
Description
From Configuration mode to Ont-lineprofile Mode
Example
OLT(config)# ont-lineprofile profile-id 1 OLT(ont-lineprofile-1)#
Command
ont-srvprofile profile-id id
View Mode
Configuration mode
Parameter
Id: Profile ID. <U><1~128>
Description
From Configuration mode to Ont-srvprofile Mode
Example
OLT(config)# ont-srvprofile profile-id 1 OLT(ont-srvprofile-1)#
Command
multicast-vlan vlanid
View Mode
Configuration mode
Parameter
vlanID <U><1~4094>
Description
From Configuration mode to multicast-vlan Mode
Example
OLT(config)# multicast-vlan 100 OLT(multicast-vlan-100)#
1.5 ont-lineprofile
1.6 ont-srvprofile
1.7 multicast-vlan
1.8 exit
Command
exit
View Mode
Any Mode
Parameter
None
Description
Exit from current mode, return to up level mode
Example
OLT(multicast-vlan-100)# exit OLT(config)#
Command
load packetfile ftp server-ip-address user-name user-password filename
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
server-ip-address:ip address of the ftp Server user-nameUser Name of login ftp user-password:Password of login ftp filename:The filename to use for OLT upgrade
Description
The command is used for upgrade the OLT to new version, root account is necessary.
Example
OLT Application Software Upgrade: File name is 8pon port_FW_V1.0.2_150914_1603.img,ftp Server IP Address is 192.168.1.16 ftp user name is amdinpassword is admin. Reboot the OLT after the OLT display ‘upgrade OK’. OLT(config)# load packetfile ftp 192.168.1.16 admin admin 8pon port _FW_V1.0.2_150914_1603.img Broadcast message from root: Upgrade is in process.
File [8pon port _FW_V1.0.2_150914_1603.img] download .......... OK
File [8pon port _FW_V1.0.2_150914_1603.img] upgrade .......... OK
OLT Kernel Software Upgrade: Filename is 8pon port_Kernel_150914_1605.imgftp Server IP Address is 192.168.1.16ftp
2. Equipment upgrade
For the system enhancement and stability, new software may be released. Using this software, OLT can be upgraded without any hardware change. You can simply upgrade your system software with the provided functionality via CLI.
2.1 load
User Name is amdinpassword is admin. Reboot the OLT after the OLT display ‘upgrade OK’. OLT(config)# load packetfile ftp 192.168.1.16 admin admin 8pon port_Kernel_150914 _1605.img Broadcast message from root: Upgrade is in process.
File [8pon port_Kernel_150914_1605.img] download ............. OK
File [8pon port_Kernel_150914_1605.img] upgrade ............. OK
Command
show version
View Mode
Configuration mode
Parameter
None
Description
The command is used for check information of the OLT hardware, software and kernel.
Example
Show information of OLT OLT(config)# show version
----------------------------------------------------------------------------- Local Configuration Command
----------------------------------------------------------------------------- <cr> - Please press ENTER to execute command
OLT(config)# show version Hardware version : V1.1 Firmware version : V1.0.2 (Oct 8 2015 13:35:52) Kernel version : V539 (Mon Sep 14 16:05:47 CST 2015) Command
show progress load
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
The command is used check the process of the OLT load, copy, and backup.
Example
OLT(config)# show progress load
2.2 show version
2.3 show progress
----------------------------------------------------------------------------- Transmit Protocal : FTP FTP Server : 192.168.1.16 FTP User Name : admin FTP Password : admin Transmit FileName : config Transmit Action : Put Transmit Status : Success Transmit Progress : 100%
----------------------------------------------------------------------------- Load Operation : Null Load FileName : config
-----------------------------------------------------------------------------
Command
reboot
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To reboot the OLT, need root account for this operation.
Example
Reboot OLT OLT# reboot Please check whether data has saved, the unsaved data will lose if reboot syst em. Are you sure to reboot system? (y/n)[n]:y
Command
ip address ip-addr ip-mask no ip address
View Mode
Vlanif ModeMGMT Mode
Parameter
ip-addr:IP Address ip-mask:subnet mask
Description
ip address is used to configure the IP address and subnet mask of VLAN interface, to let the realize the layer3 message transfer.
Example
3. Equipment management
3.1 reboot
3.2 ip address
To configure an IP address 192.168.100.123 for VLAN 100 interface, subnet mask is
255.255.255.0 OLT(interface-vlanif-100)# ip address 192.168.100.123 255.255.255.0
To configure an IP address 192.1.105.123 for outband management interface, subnet mask is
255.255.255.0 OLT(interface-mgmt)# ip address 192.168.1.105 255.255.255.0 Command
show interface mgmt
View Mode
Configuration mode
Parameter
None
Description
It is used to check the outband management IP, MTU and MAC address.
Example
OLT(config)# show interface mgmt Description : mgmt interface The Maximum Transmit Unit is 1500 bytes Internet Address is 192.168.1.105, netmask 255.255.255.0 Hardware address is XX:XX:XX:00:00:01 Receive 4340 packets, 4479715 bytes Transmit 1539 packets, 101742 bytes Command
show interface vlanifall | vlan-id vlan-id)
View Mode
Configuration mode
Parameter
all: Show all VLAN interface informaion vlan-id: Show the information of that VALN iD , from 1~4094
Description
It is used to check the VLAN interface information.
Example
Show vlanif 10 information OLT(config)# show interface vlanif vlan-id 100 Description : vlan[100] management interface The Maximum Transmit Unit is 1500 bytes Internet Address is 192.168.100.123, netmask 255.255.255.0 Hardware address is XX:XX:XX:00:00:02 Recive 105 packets, 5292 bytes
3.3 show interface mgmt
3.4 show interface vlanif
Transmit 35 packets, 1866 bytes
Show all vlanif interface information OLT(config)# show interface vlanif all
Interface IP Address Netmask vlanif[100] 192.168.100.123 255.255.255.0 vlanif[200] 192.168.101.123 255.255.255.0 Command
show device info
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
Check the information of the OLT Device model Device MAC address Device serial-number Device vendor name
Example
OLT(config)# show device info
----------------------------------------------------------------------------- Device model : 8pon port Device MAC address : XX:XX:XX:00:00:01 Device serial-number : Device vendor name :
----------------------------------------------------------------------------- Command
show fan
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To show the status of the fan
3.5 show device info
4. Operation Status Monitor
4.1 show fan
Example
OLT# show fan
--------------------------------------------- FAN[1] status: Normal (7207RPM) FAN[2] status: Normal (7060RPM) FAN[3] status: Normal (7265RPM) FAN[4] status: Normal (7207RPM)
---------------------------------------------
4.2 show temperature
Command
show temperature
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To display the temperature of device
Example
OLT(config)# show temperature The temperature of the board: 36.5(C) Command
show memory
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To show the CPU load
Example
OLT# show memory
----------------------------------------------------------------------------- Total memory : 502MB Free memory : 435MB Used percent : 5%
----------------------------------------------------------------------------- Command
show version
View Mode
Privileged EXEC Mode, Configuration mode
4.3 show memory
4.4 show version
Parameter】
None
Description
To show the version of hardware and software
Example
OLT(config)# show version Hardware version : V1.1 Firmware version : V1.0.2 (Oct 8 2015 13:35:52) Kernel version : V539 (Mon Sep 14 16:05:47 CST 2015) Command
time time
View Mode
Configuration mode
Parameter
timeSystem time, format:YYYY/MM/DD-HH:MM:SS
Description
To set system time and date.
Example
OLT(config)# time 2015/10/10-17:12:00 Command
show time
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To show system time and date.
Example
OLT(config)# show time Sat Jan 1 08:28:31 2000 Command
show uptime
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
4.5 time
4.6 show time
4.7 show uptime
Description
To show system boot time and how long it have run
Example
OLT(config)# show uptime System up time : 0 day 0 hour 55 minute 14 second System boot time : Fri Oct 9 23:13:07 2015
Command
backup configuration ftp server-ip-address user-name user-password filename
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
server-ip-address:ip address of ftp server user-nameftp user name user-password:ftp password filename: A name for your backup file
Description
To back up the OLT configuration in a file
Example
File name is config, ftp Server IP is 192.168.1.16, ftp username is amdin, password is admin OLT(config)# backup configuration ftp 192.168.1.16 admin admin config Start backup configuration files The backup is successful
Command
load configuration ftp server-ip-address user-name user-password filename
View Mode
Configuration mode
Parameter
server-ip-address:ip address of ftp server user-nameftp user name user-password:ftp password filename: The file name of the configuration you want load to the OLT
Description
To load the configuration file to the OLT
Example
Configuration file name is ‘config’, ftp Server IP is 192.168.1.16, ftp username is amdin,
password is admin
5. Configuration Management
5.1 backup
5.2 load configuration
OLT(config)# load configuration ftp 192.168.1.16 admin admin config The new configuration file will overwrite the old one Are you sure to load new configuration file? (y/n)[n]:y Broadcast message from root: Start loading configuration The loading is successful Note: The configuration file will take effect after reboot Command
show current-config
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To check the running configuration. When you do some configuration, you can use this command to check if the command have come into operation.
Example
Command
save
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To save the current configuration.
Example
OLT(config)# save Save configuration starting ... The percentage of saved data is: 0% The percentage of saved data is: 14% The percentage of saved data is: 28% The percentage of saved data is: 42% The percentage of saved data is: 57% The percentage of saved data is: 71% The percentage of saved data is: 85% The percentage of saved data is: 100% Save configuration completed!
5.3 show current-config
5.4 save
5.5 erase saved-config
Command
erase saved-config
View Mode
Privileged EXEC Mode, Configuration mode
Parameter
None
Description
To erase the configuration file, the OLT will beboot after the configuration be delete.
Example
OLT# erase saved-config This command will clear the active board data that has been saved Please rememb er to backup the system configuration data Are you sure to continue? (y/n)[n]: y
Successfully restored factory configuration! Command
show saved-config
View Mode
Configuration mode
Parameter
None
Description
To check the saved configuration.
Example
OLT(config)# show saved-config #Saving user: root #Saving time: 2000-01-01 05:33:19+0000 # No DBA profile configurations # No line profile configurations # No service profile configurations
# No ONT authenticated interface mgmt ip address 192.168.1.105 255.255.255.0 exit
5.6 show saved-config
6.Account Management
Command
user add name group
View Mode
Configuration mode
Parameter
name:User name for a new user groupThe group of the new user, there are rootadmin and guest for
choice.
Description
The command is used to creates a system account. There are root admin and guest level for choice. Root: Full right. Admin: Right except reboot and upgrade. Guest: Only check the configuration and do configuration back up.
Example
Create a new guest account, user name is admin, password is admin OLT(config)# user add admin guest Enter new password for user admin: Confirm new password for user admin:
Command
user delete name
View Mode
Configuration mode
Parameter
name:User name will be delete
Description
The command is used to delete a system account. The root account can’t be deleted.
Example
To delete an exist account named admin. OLT(config)# user delete admin Command
user group name group
View Mode
Configuration mode
Parameter
Name: The account need to change group.
6.1 user add
6.2 user delete
6.3 user group
group:The group for that account
Description
The command is used to change the account to another group.
Example
Change xxxxxx accout to admin group. OLT(config)# user group XXXXX admin
Command
user password name
View Mode
Configuration mode
Parameter
Name: The accounat need to change password.
Description
The command is used to change the account password
Example
Change account admin password to admin OLT(config)# user password admin Enter new password for user admin: Confirm new password for user admin:
Command
show user
View Mode
Configuration mode
Parameter
None
Description
The command is used to show all account
Example
OLT(config)# show user
----------------------------------------------------------------------------- User Group
---------------------------------------------------------------------------- root root admin admin admin admin
-----------------------------------------------------------------------------
6.4 user password
6.5 show user
7. Port Configuration
7.1 shutdown
Command
shutdown port-list
View Mode
GE Mode, GPON Mode, XGE Mode
Parameter
port-listThe port number that you want to configure.
Description
The command is used to shut down the specified port
Example
Shut down the ge1 port OLT(interface-ge)# shutdown 1
Command
no shutdown port-list
View Mode
GE Mode, GPON Mode, XGE Mode
Parameter
port-list: The port number that you want to configure.
Description
The command is used to open the specified port
Example
Enable the ge1 port OLT(interface-ge)# no shutdown 1
Command
show port state all show port state port-id
View Mode
GE Mode, GPON Mode, XGE Mode
Parameter
port-idSpecified port number
Description
The command is used to show port information of the specified port.
Example
Check the information of the OLT ge1 OLT(interface-ge)# show port state 1 ge1 information summary : current port state : enable current link state : DOWN The Maximum Transmit Unit is 1500 Link speed is autonegotiation(1000 MBps) link duplex is autonegotiation(FULL) Flow-control is supported broadcasts stormcontrol 0(pps)
7.2 no shutdown
7.3 show port state
multicasts stormcontrol 0(pps) unicasts stormcontrol 0(pps) native-vlan is 300 Port link-type: Access Tagged VLAN ID : none Untagged VLAN ID : 300, statistics from last clean(maybe the statistics would overflow): Input(total):0 bytes Input:unicast 0, broadcasts 0, multicasts 0, errors 0 Output(total):0 bytes Output:unicast 0, broadcasts 0, multicasts 0, errors 0
Check the all GE port OLT(interface-ge)# show port state all
----------------------------------------------------------------------------- Port Optic Pvid Auto Speed Dup Flow Learn Enable Link Mtu Status Nego /Mbps lex Ctrl
---------------------------------------------------------------------------- ge1 normal 100 enable 1000 full off enable enable on 1500 ge2 normal 1 enable 1000 full on enable enable off 1500 ge3 normal 1 enable 1000 full off enable enable on 1500 ge4 absence 1 enable 1000 full on enable enable off 1500 ge5 absence 1 enable 1000 full on enable enable off 1500 ge6 absence 1 enable 1000 full on enable enable off 1500 ge7 absence 1 enable 1000 full on enable enable off 1500 ge8 absence 1 enable 1000 full on enable enable off 1500 ge9 - 1 enable 1000 full on enable enable off 1500 ge10 - 1 enable 1000 full on enable enable off 1500 ge11 - 1 enable 1000 full on enable enable off 1500 ge12 - 1 enable 1000 full on enable enable off 1500 ge13 - 1 enable 1000 full on enable enable off 1500 ge14 - 1 enable 1000 full on enable enable off 1500 ge15 - 1 enable 1000 full on enable enable off 1500 ge16 - 1 enable 1000 full on enable enable off 1500
-----------------------------------------------------------------------------
Loading...
+ 60 hidden pages