Hi everybody!
Today I will show you more useful basic commands on OLT with examplers.
This is the fourth and last post about basic commands on OLT.
19. Command for display current configuration:
This is a very useful command for check and display current configuration.
TEST(config)#display current-configuration
{ <cr>|include-default<K>|interface<K>|ont<K>|port<K>|section<K>|service-port<K>||<K> }:
Command:
display current-configuration
[Active: H903MPLA; Standby: H903MPLA]
[Patch Info: SPH503]
[MA5800V100R018: 8100]
#
[pre-config]
<pre-config>
board add 0/1 H901GPHF
board add 0/2 H901GPHF
board add 0/3 H901GPHF
board add 0/10 H902PILA
board add 0/11 H902PILA
#
[sysmode]
<sysmode>
switch vdsl mode to tr129
xpon mode switch-to profile-mode
sysmode end
#
[global-config]
<global-config>
sysname TEST
terminal user name buildrun_new_password x *j$1b$DbmbF:d~!D$|^U1(1mp+E,+vV~4I`IG&}BsKj/;NF;r"$OiJ:8W$* 7 0000:00:00:00:00:00 20xx:xx:xx:xx:xx:xx xxxx 1
first-login-info 0 self-changed-password 1 "-----"
---- More ( Press 'Q' to break ) ----
…
20. The command for display saved configuration:
This is a similar command for display like #display current-configuration. When we finished the configuration, we have to save the configuration with command #save, after that, we can see all saved configurations on OLT.
TEST(config)#display saved-configuration
{ <cr>|section<K>||<K> }:
Command:
display saved-configuration
[Saving user: NMS]
[Saving time: 0x-0x-20xx 1x:5x:0x+0x:00]
[Active: H903MPLA; Standby: H903MPLA]
[Patch Info: SPH503]
[MA5800V100R018: 8100]
#
[pre-config]
<pre-config>
board add 0/1 H901GPHF
board add 0/2 H901GPHF
board add 0/3 H901GPHF
board add 0/10 H902PILA
board add 0/11 H902PILA
#
[sysmode]
<sysmode>
switch vdsl mode to tr129
xpon mode switch-to profile-mode
sysmode end
#
[global-config]
<global-config>
sysname TEST
terminal user name buildrun_new_password x *j$1b$DbmbF:d~!D$|^U1(1mp+E,+vV~4I`IG&}BsKj/;NF;r"$OiJ:8W$* 7 0000:00:00:00:00:00 20xx:1x:2x:2x:0x:4x xxxx 1
---- More ( Press 'Q' to break ) ----
21. Command for display logs:
TEST(config)#display log all
{ <cr>|start-date<D><yyyy-mm-dd>||<K> }:
Command:
display log all
------------------------------------------------------------------------------
No. UserName Domain IP-Address
37772 root -- x.x.x.x
Time: 0x-0x-20xx 1x:0x:4x+0x:00
Cmd: save logfile
------------------------------------------------------------------------------
No. UserName Domain IP-Address
37771 root -- x.x.x.x
Time: 0x-0x-20xx 1x:0x:4x+0x:00
Cmd: display current-configuration
------------------------------------------------------------------------------
No. UserName Domain IP-Address
37770 root -- x.x.x.x
Time: 0x-0x-20xx 1x:0x:4x+0x:00
Cmd: display current-configuration
------------------------------------------------------------------------------
No. UserName Domain IP-Address
37769 root -- x.x.x.x
Time: 0x-0x-20xx 1x:0x:2x+0x:00
Cmd: config
22. Command for display security configuration on OLT:
With this command, we can see or check security configuration on OLT.
TEST(config)#display security config
{ <cr>||<K> }:
Command:
display security config
Anti-ipspoofing function : enable
Anti-dos function : enable
Anti-macspoofing function : enable
Anti-ipattack function : disable
Anti-icmpattack function : disable
Source-route filter function : disable
Anti-macduplicate function : enable
PPPoE overall aging time(sec) : 360
PPPoE aging period(sec) : 90
ARP detect mode : dummy
Anti-dos control-packet policy : deny
Packet unaffected by anti-ipspoofing : --
Packet unaffected by anti-ipv6spoofing : --
NS-reply function : disable
NS-reply unknown-policy : forward
ARP-reply function : disable
ARP-reply unknown-policy : forward
Anti-ipv6spoofing function : disable
IPv6 DAD proxy function : disable
IPv6 bind route and ND : disable
Packet unaffected by anti-macspoofing : IGMP
DHCP client identifier : chaddr
Packet ignored by anti-macspoofing : --
Anti-illegal-arp function : enable
Anti-illegal-nd function : enable
User delete delay(sec) : 0
Anti-macduplicate alarm function : disable
Anti-ipv6attack function : disable
Anti-icmpv6attack function : disable
Anti-ipconflict refresh function : disable
Anti-illegal-hoplimit-nd function : disable
IP option packet-policy : to-cpu
DHCP packet anti-dos control-packet period(sec) : 1
Arp-detect max-user-count function : enable
23. Commands for display CPU on control board 0/8 and servise board 0/1:
TEST(config)#display cpu 0/8
{ <cr>||<K> }:
Command:
display cpu 0/8
CPU occupancy: 3%
TEST(config)#display cpu 0/1
{ <cr>||<K> }:
Command:
display cpu 0/1
Send message for inquiring board cpu occupancy successfully, board executing...
CPU occupancy: 10%
24. Command for display monitor uplink port traffic for all ports on control board:
TEST(config)#display monitor uplink-port traffic record all
{ <cr>||<K> }:
Command:
display monitor uplink-port traffic record all
----------------------------------------------------------------------------
Port Period End Time Traffic Last Current
Direction (kbps) (kbps)
----------------------------------------------------------------------------
0/8/0 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/8/1 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/8/2 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/8/3 1x-0x-20xx 2x:4x:2x+0x:00 Upstream(peak) - 12739
1x-0x-20xx 2x:4x:2x+0x:00 Downstream(peak) - 40412
----------------------------------------------------------------------------
0/9/0 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/9/1 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/9/2 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
0/9/3 0x-0x-20xx 1x:0x:5x+0x:00 Upstream(peak) - 0
0x-0x-20xx 1x:0x:5x+0x:00 Downstream(peak) - 0
----------------------------------------------------------------------------
25. Commands for check and display temperature for service board 0/1 and control board 0/8:
TEST(config)#display temperature 0/1
{ <cr>||<K> }:
Command:
display temperature 0/1
The temperature of the board: 40C( 104F)
TEST(config)#display temperature 0/8
{ <cr>||<K> }:
Command:
display temperature 0/8
The temperature of the board: 34C( 93F)
For more information about basic OLT operations, click:
Thank you!


