Log Configure OLT
Log Configure OLT
Welcome to ISAM
last login : 26/07/24 14:02:52
typ:isadmin>#
typ:isadmin>#
exit all
configure
#--------------------------------------------------
echo "System Configuration"
#--------------------------------------------------
system
user-user-hairpin
time
ntp
shutdown
polling-rate 6
server 10.147.101.10
server 10.147.101.11
exit
exit
exit
#--------------------------------------------------
echo "System Security Configuration"
#--------------------------------------------------
system
exit
#--------------------------------------------------
echo "Log Configuration"
#--------------------------------------------------
log
exit
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port nt:vp:1
no shutdown
exit
port nt-a:ieee1588:1
shutdown
ethernet
exit
exit
port nt-b:ieee1588:1
shutdown
ethernet
exit
exit
port nt-a:ieee1588:2
shutdown
ethernet
exit
exit
port nt-b:ieee1588:2
shutdown
ethernet
exit
exit
port nt-a:eth:1
ethernet
exit
no shutdown
exit
port nt-a:xfp:1
description "uplink to switch"
ethernet
speed 1000
exit
no shutdown
exit
port nt-a:xfp:2
ethernet
speed 1000
exit
no shutdown
exit
port nt-a:xfp:3
ethernet
exit
no shutdown
exit
port nt-a:xfp:4
ethernet
exit
no shutdown
exit
port nt-a:cfp:1
shutdown
ethernet
exit
exit
port nt-b:eth:1
shutdown
ethernet
exit
exit
port nt-b:xfp:1
ethernet
speed 1000
exit
no shutdown
exit
port nt-b:xfp:2
shutdown
ethernet
exit
exit
port nt-b:xfp:3
shutdown
ethernet
exit
exit
port nt-b:xfp:4
shutdown
ethernet
exit
exit
port nt-b:cfp:1
shutdown
ethernet
exit
exit
port lt:1/1/1
ethernet
exit
no shutdown
exit
port lt:1/1/2
ethernet
exit
no shutdown
exit
port lt:1/1/3
ethernet
exit
no shutdown
exit
port lt:1/1/4
ethernet
exit
no shutdown
exit
port lt:1/1/5
ethernet
exit
no shutdown
exit
port lt:1/1/6
ethernet
exit
no shutdown
exit
port lt:1/1/7
ethernet
exit
no shutdown
exit
port lt:1/1/8
ethernet
exit
no shutdown
exit
port nt-a:AI:1
shutdown
ethernet
exit
exit
port nt-b:AI:1
shutdown
ethernet
exit
exit
port nt-a:AI:2
shutdown
ethernet
exit
exit
port nt-b:AI:2
shutdown
ethernet
exit
exit
#--------------------------------------------------
echo "LAG Configuration"
#--------------------------------------------------
lag 1
description "TEST"
port nt-a:xfp:1
port nt-b:xfp:1
lacp active administrative-key 32768
no shutdown
exit
#--------------------------------------------------
echo "Ihub-QoS Policy Configuration"
#--------------------------------------------------
qos-servicerouter
lsr-ingress-network 1 create
default-action fc "be" profile in
description "Default Policy"
lsp-exp 0 fc "be" profile "in"
lsp-exp 1 fc "l2" profile "in"
lsp-exp 2 fc "af" profile "in"
lsp-exp 3 fc "l1" profile "in"
lsp-exp 4 fc "h2" profile "in"
lsp-exp 5 fc "ef" profile "in"
lsp-exp 6 fc "h1" profile "in"
lsp-exp 7 fc "nc" profile "in"
exit
system
egress
remark
exit
exit
ingress
rate-limit-input-profile
exit
exit
ingress-storm-ctrl
exit
egress-storm-ctrl
exit
exit
exit
#--------------------------------------------------
echo "Filter Configuration"
#--------------------------------------------------
filter
ip-filter 1 create
description "Inband Management Filter"
entry 1 create
description "IP-Filter-Test"
match
src-ip 192.168.10.0/24
exit
action forward
exit
exit
exit
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
router Base
interface "system"
no shutdown
exit
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
static-route 0.0.0.0/0 next-hop 10.1.130.1
static-route 10.10.10.0/24 next-hop 172.10.10.1
static-route 10.28.88.0/22 next-hop 10.31.10.97
static-route 10.147.101.0/28 next-hop 10.1.130.1
static-route 10.149.247.128/26 next-hop 10.254.1.1
static-route 10.155.8.0/24 next-hop 10.155.133.129
static-route 10.155.46.128/25 next-hop 10.31.10.97
static-route 10.165.0.0/16 next-hop 10.254.1.1
static-route 172.10.10.0/24 next-hop 10.10.10.1
exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 1 create
description "Default customer"
exit
vprn 3 customer 1 create
interface "TR069" create
exit
exit
ies 4083 customer 1 create
interface "OOB" create
exit
interface "VPN-L2" create
exit
interface "VPN-L3" create
exit
interface "vlan3991" create
exit
interface "vlan1000" create
exit
interface "vlan4001" create
exit
interface "vlan100" create
exit
interface "outband" create
exit
interface "vlan3001" create
exit
interface "vlan 4000" create
exit
interface "vlan2224" create
exit
interface "vlan2225" create
exit
interface "tr069" create
exit
interface "vlan3987" create
exit
interface "vlan887 " create
exit
interface "vlan149" create
exit
interface "vl" create
exit
exit
vprn 5000 customer 1 create
interface "test" create
exit
exit
vprn 3 customer 1 create
shutdown
route-distinguisher 100:0
interface "TR069" create
address 10.254.1.5/27
exit
exit
vpls 9 customer 1 v-vpls vlan 9 create
description "Mcast"
stp
shutdown
exit
sap lt:1/1/1:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/2:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/3:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/4:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/5:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/6:9 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lag-1:9 create
no shutdown
exit
no shutdown
exit
vpls 10 customer 1 v-vpls vlan 10 create
description "testLACP"
stp
shutdown
exit
no shutdown
exit
vpls 11 customer 1 v-vpls vlan 11 create
description "IPTV"
stp
shutdown
exit
igmp-snooping
no shutdown
exit
sap lt:1/1/1:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lt:1/1/2:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lt:1/1/3:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lt:1/1/4:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lt:1/1/5:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lt:1/1/6:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
sap lag-1:11 create
igmp-snooping
version 2
send-queries
exit
no shutdown
exit
no shutdown
exit
vpls 20 customer 1 v-vpls vlan 20 create
stp
shutdown
exit
sap lt:1/1/2:20 create
no shutdown
exit
sap lag-1:20 create
no shutdown
exit
no shutdown
exit
vpls 30 customer 1 v-vpls vlan 30 create
shutdown
stp
shutdown
exit
exit
vpls 35 customer 1 v-vpls vlan 35 create
shutdown
stp
shutdown
exit
sap lt:1/1/2:35 create
no shutdown
exit
sap lag-1:35 create
no shutdown
exit
exit
vpls 36 customer 1 v-vpls vlan 36 create
stp
shutdown
exit
sap lt:1/1/2:36 create
no shutdown
exit
sap lag-1:36 create
no shutdown
exit
no shutdown
exit
vpls 37 customer 1 v-vpls vlan 37 create
stp
shutdown
exit
sap lt:1/1/2:37 create
no shutdown
exit
sap lag-1:37 create
no shutdown
exit
no shutdown
exit
vpls 38 customer 1 v-vpls vlan 38 create
stp
shutdown
exit
sap lt:1/1/2:38 create
no shutdown
exit
sap lag-1:38 create
no shutdown
exit
no shutdown
exit
vpls 39 customer 1 v-vpls vlan 39 create
stp
shutdown
exit
sap lt:1/1/2:39 create
no shutdown
exit
sap lag-1:39 create
no shutdown
exit
no shutdown
exit
vpls 55 customer 1 v-vpls vlan 55 create
stp
shutdown
exit
sap lt:1/1/2:55 create
no shutdown
exit
no shutdown
exit
vpls 63 customer 1 v-vpls vlan 63 create
stp
shutdown
exit
sap lt:1/1/1:63 create
no shutdown
exit
sap lt:1/1/2:63 create
no shutdown
exit
sap lt:1/1/4:63 create
no shutdown
exit
sap lt:1/1/5:63 create
no shutdown
exit
sap lag-1:63 create
no shutdown
exit
no shutdown
exit
vpls 70 customer 1 v-vpls vlan 70 create
description "VPN-L2"
user-user-com
stp
shutdown
exit
sap lt:1/1/2:70 create
no shutdown
exit
sap lag-1:70 create
no shutdown
exit
no shutdown
exit
vpls 85 customer 1 v-vpls vlan 85 create
stp
shutdown
exit
sap lt:1/1/1:85 create
no shutdown
exit
sap lt:1/1/2:85 create
no shutdown
exit
sap lt:1/1/4:85 create
no shutdown
exit
sap lag-1:85 create
no shutdown
exit
no shutdown
exit
vpls 86 customer 1 v-vpls vlan 86 create
description "VLAN GNMS"
stp
shutdown
exit
sap lt:1/1/1:86 create
no shutdown
exit
sap lt:1/1/2:86 create
no shutdown
exit
sap lt:1/1/4:86 create
no shutdown
exit
sap lt:1/1/5:86 create
no shutdown
exit
sap lag-1:86 create
no shutdown
exit
no shutdown
exit
vpls 99 customer 1 v-vpls vlan 99 create
description "IPTV"
user-user-com
stp
shutdown
exit
sap nt-a:xfp:2:99 create
no shutdown
exit
sap lt:1/1/4:99 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lt:1/1/5:99 create
igmp-snooping
send-queries
exit
no shutdown
exit
sap lag-1:99 create
no shutdown
exit
no shutdown
exit
vpls 120 customer 1 v-vpls vlan 120 create
shutdown
stp
shutdown
exit
exit
vpls 123 customer 1 v-vpls vlan 123 create
shutdown
stp
shutdown
exit
exit
vpls 149 customer 1 v-vpls vlan 149 create
stp
shutdown
exit
sap lag-1:149 create
no shutdown
exit
no shutdown
exit
vpls 399 customer 1 v-vpls vlan 399 create
stp
shutdown
exit
sap nt-a:eth:1:0 create
no shutdown
exit
no shutdown
exit
vpls 601 customer 1 v-vpls vlan 601 create
user-user-com
stp
shutdown
exit
sap lt:1/1/2:601 create
no shutdown
exit
sap lag-1:601 create
no shutdown
exit
no shutdown
exit
vpls 602 customer 1 v-vpls vlan 602 create
user-user-com
stp
shutdown
exit
sap lt:1/1/2:602 create
no shutdown
exit
sap lag-1:602 create
no shutdown
exit
no shutdown
exit
vpls 800 customer 1 create
disable-learning
stp
shutdown
exit
sap nt-a:eth:1:800 create
no shutdown
exit
sap lt:1/1/3:800 create
no shutdown
exit
no shutdown
exit
vpls 887 customer 1 v-vpls vlan 887 create
stp
shutdown
exit
sap lt:1/1/3:887 create
no shutdown
exit
sap lt:1/1/5:887 create
no shutdown
exit
sap lt:1/1/6:887 create
no shutdown
exit
sap lag-1:887 create
no shutdown
exit
no shutdown
exit
vpls 999 customer 1 create
disable-learning
stp
shutdown
exit
sap nt-a:eth:1:999 create
no shutdown
exit
sap lt:1/1/2:999 create
no shutdown
exit
sap lt:1/1/5:999 create
no shutdown
exit
no shutdown
exit
vpls 1000 customer 1 v-vpls vlan 1000 create
stp
shutdown
exit
sap lt:1/1/5:1000 create
no shutdown
exit
sap lag-1:1000 create
no shutdown
exit
no shutdown
exit
vpls 1005 customer 1 v-vpls vlan 1005 create
stp
shutdown
exit
sap lt:1/1/2:1005 create
no shutdown
exit
sap lag-1:1005 create
no shutdown
exit
no shutdown
exit
vpls 1705 customer 1 v-vpls vlan 1705 create
stp
shutdown
exit
sap lt:1/1/1:1705 create
no shutdown
exit
sap lt:1/1/2:1705 create
no shutdown
exit
sap lt:1/1/3:1705 create
no shutdown
exit
sap lt:1/1/5:1705 create
no shutdown
exit
sap lag-1:1705 create
no shutdown
exit
no shutdown
exit
vpls 2003 customer 1 v-vpls vlan 2003 create
stp
shutdown
exit
sap lt:1/1/1:2003 create
no shutdown
exit
sap lt:1/1/2:2003 create
no shutdown
exit
sap lt:1/1/3:2003 create
no shutdown
exit
sap lt:1/1/4:2003 create
no shutdown
exit
sap lt:1/1/5:2003 create
no shutdown
exit
sap lt:1/1/6:2003 create
no shutdown
exit
sap lag-1:2003 create
no shutdown
exit
no shutdown
exit
vpls 2005 customer 1 v-vpls vlan 2005 create
stp
shutdown
exit
sap lt:1/1/1:2005 create
no shutdown
exit
sap lt:1/1/2:2005 create
no shutdown
exit
sap lt:1/1/4:2005 create
no shutdown
exit
sap lt:1/1/5:2005 create
no shutdown
exit
sap lag-1:2005 create
no shutdown
exit
no shutdown
exit
vpls 2006 customer 1 v-vpls vlan 2006 create
stp
shutdown
exit
sap lt:1/1/1:2006 create
no shutdown
exit
sap lt:1/1/2:2006 create
no shutdown
exit
sap lt:1/1/5:2006 create
no shutdown
exit
sap lag-1:2006 create
no shutdown
exit
no shutdown
exit
vpls 2007 customer 1 v-vpls vlan 2007 create
stp
shutdown
exit
sap lt:1/1/1:2007 create
no shutdown
exit
sap lt:1/1/2:2007 create
no shutdown
exit
sap lt:1/1/3:2007 create
no shutdown
exit
sap lt:1/1/4:2007 create
no shutdown
exit
sap lt:1/1/5:2007 create
no shutdown
exit
sap lt:1/1/6:2007 create
no shutdown
exit
sap lag-1:2007 create
no shutdown
exit
no shutdown
exit
vpls 2008 customer 1 v-vpls vlan 2008 create
stp
shutdown
exit
sap lt:1/1/1:2008 create
no shutdown
exit
sap lt:1/1/4:2008 create
no shutdown
exit
sap lt:1/1/5:2008 create
no shutdown
exit
sap lag-1:2008 create
no shutdown
exit
no shutdown
exit
vpls 2220 customer 1 v-vpls vlan 2220 create
stp
shutdown
exit
sap lt:1/1/1:2220 create
no shutdown
exit
sap lt:1/1/2:2220 create
no shutdown
exit
sap lt:1/1/4:2220 create
no shutdown
exit
sap lt:1/1/5:2220 create
no shutdown
exit
sap lag-1:2220 create
no shutdown
exit
no shutdown
exit
vpls 2221 customer 1 v-vpls vlan 2221 create
stp
shutdown
exit
sap lt:1/1/1:2221 create
no shutdown
exit
sap lt:1/1/2:2221 create
no shutdown
exit
sap lt:1/1/4:2221 create
no shutdown
exit
sap lt:1/1/5:2221 create
no shutdown
exit
sap lag-1:2221 create
no shutdown
exit
no shutdown
exit
vpls 2222 customer 1 v-vpls vlan 2222 create
user-user-com
stp
shutdown
exit
sap lt:1/1/1:2222 create
no shutdown
exit
sap lt:1/1/2:2222 create
no shutdown
exit
sap lt:1/1/4:2222 create
no shutdown
exit
sap lag-1:2222 create
no shutdown
exit
no shutdown
exit
vpls 2224 customer 1 v-vpls vlan 2224 create
stp
shutdown
exit
sap lt:1/1/1:2224 create
no shutdown
exit
sap lt:1/1/2:2224 create
no shutdown
exit
sap lt:1/1/4:2224 create
no shutdown
exit
sap lt:1/1/5:2224 create
no shutdown
exit
sap lag-1:2224 create
no shutdown
exit
no shutdown
exit
vpls 2225 customer 1 v-vpls vlan 2225 create
stp
shutdown
exit
sap lt:1/1/1:2225 create
no shutdown
exit
sap lt:1/1/2:2225 create
no shutdown
exit
sap lt:1/1/4:2225 create
no shutdown
exit
sap lt:1/1/5:2225 create
no shutdown
exit
sap lag-1:2225 create
no shutdown
exit
no shutdown
exit
vpls 2229 customer 1 v-vpls vlan 2229 create
stp
shutdown
exit
sap lt:1/1/2:2229 create
no shutdown
exit
sap lag-1:2229 create
no shutdown
exit
no shutdown
exit
vpls 2240 customer 1 v-vpls vlan 2240 create
stp
shutdown
exit
sap lt:1/1/3:2240 create
no shutdown
exit
sap lag-1:2240 create
no shutdown
exit
no shutdown
exit
vpls 3000 customer 1 v-vpls vlan 3000 create
stp
shutdown
exit
sap lt:1/1/4:3000 create
no shutdown
exit
sap lag-1:3000 create
no shutdown
exit
no shutdown
exit
vpls 3987 customer 1 v-vpls vlan 3987 create
stp
shutdown
exit
sap lag-1:3987 create
no shutdown
exit
no shutdown
exit
vpls 3991 customer 1 v-vpls vlan 3991 create
description "Managenment vlan"
stp
shutdown
exit
sap lag-1:3991 create
no shutdown
exit
no shutdown
exit
vpls 3999 customer 1 v-vpls vlan 3999 create
stp
shutdown
exit
no shutdown
exit
vpls 4000 customer 1 v-vpls vlan 4000 create
stp
shutdown
exit
sap lt:1/1/5:4000 create
no shutdown
exit
sap lag-1:4000 create
no shutdown
exit
no shutdown
exit
vpls 4019 customer 1 v-vpls vlan 4019 create
description "dhcp option82"
stp
shutdown
exit
sap lt:1/1/1:4019 create
no shutdown
exit
sap lt:1/1/5:4019 create
no shutdown
exit
sap lag-1:4019 create
no shutdown
exit
no shutdown
exit
ies 4083 customer 1 create
interface "OOB" create
shutdown
address 192.168.0.239/24
exit
interface "VPN-L2" create
sap nt:vp:1:1111 create
exit
exit
interface "VPN-L3" create
address 172.10.10.1/24
exit
interface "vlan3991" create
address 10.1.130.5/29
sap nt:vp:1:3991 create
exit
exit
interface "vlan1000" create
address 10.254.1.2/27
sap nt:vp:1:1000 create
exit
exit
interface "vlan4001" create
address 10.254.0.5/24
sap nt:vp:1:4001 create
exit
exit
interface "vlan100" create
exit
interface "outband" create
address 192.168.2.156/24
sap nt:vp:1:399 create
exit
exit
interface "vlan3001" create
address 10.10.100.11/24
sap nt:vp:1:3001 create
exit
exit
interface "vlan 4000" create
description " quan ly olt"
address 192.168.147.130/29
sap nt:vp:1:4000 create
exit
exit
interface "vlan2224" create
shutdown
address 192.168.10.11/24
sap nt:vp:1:2224 create
exit
exit
interface "vlan2225" create
exit
interface "tr069" create
address 10.28.88.1/22
sap nt:vp:1:86 create
exit
exit
interface "vlan3987" create
address 10.31.10.109/28
sap nt:vp:1:3987 create
exit
exit
interface "vlan887 " create
description "ket noi ANM"
address 10.155.133.193/26
sap nt:vp:1:887 create
exit
exit
interface "vlan149" create
description "quan ly OLT"
address 192.168.147.152/28
sap nt:vp:1:149 create
exit
exit
interface "vl" create
exit
interface "vlan4001" create
dhcp
description "test"
server 10.149.247.148
lease-query enable
gi-address 10.254.0.5
no shutdown
exit
exit
interface "tr069" create
dhcp
server 10.149.247.153
gi-address 10.28.88.1 src-ip-addr
no shutdown
exit
exit
interface "vlan887 " create
dhcp
server 10.149.247.153
lease-query enable
gi-address 10.155.133.193 src-ip-addr
no shutdown
exit
exit
no shutdown
exit
vprn 5000 customer 1 create
route-distinguisher 2019:0
interface "test" create
address 172.16.0.6/30
sap nt:vp:1:2019 create
exit
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "System Security Cpm Hw Filters Configuration"
#--------------------------------------------------
system
security
cpu-filter
ip-filter
shutdown
entry 1 create
action accept
match protocol tcp
exit
exit
exit
exit
exit
exit
#--------------------------------------------------
echo "CPM Filter Router and Svc-id Match Configuration"
#--------------------------------------------------
system
security
cpu-filter
ip-filter
exit
exit
exit
exit
#--------------------------------------------------
echo "Router (Service Side) Configuration"
#--------------------------------------------------
router Base
exit
exit all