ONT(OMCIv1)
show equipment ont interface 1/1/3/5/1
configure equipment ont interface 1/1/3/5/1 sernum ALCL:F8612E96 voip-allowed enable sw-ver-pland disabled
# admin state up
admin state up
exit .. 5 times
configure vlan id 40 mode residential-bridge new-broadcast enable new-secure-fwd enable in-qos-prof-name name:Default_TC1
configure vlan id 30 mode residential-bridge new-broadcast enable new-secure-fwd enable in-qos-prof-name name:Default_TC1
configure vlan id 30
no vlan id 30
configure qos profiles bandwidth us_prof_voip_2pots_bw committed-info-rate 600 assured-info-rate 600 excessive-info-rate 600 delay-tolerance 8
configure qos interface 1/1/3/5/1/voip upstream-queue [0...7] bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue [0...7] bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 0 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 1 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 2 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 3 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 4 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 5 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 6 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 7 bandwidth-profile name:us_prof_voip_2pots_bw
typ:isadmin>#
configure bridge port 1/1/3/5/1/voip
typ:isadmin>configure>bridge>port>1/1/3/5/1/voip#
typ:isadmin>configure>bridge>port>1/1/3/5/1/voip# vlan-id 70
typ:isadmin>configure>bridge>port>1/1/3/5/1/voip>vlan-id>70$
vlan-id 30
no vlan-id 40
configure equipment ont slot 1/1/3/5/1/2 admin-state up planned-card-type pots plndnumdataports 0 plndnumvoiceports 2
configure voice ont service 1/1/3/5/1/1 vlan 70 dhcp enabled voip-mode sip2 mgc-udp-port 5060 conf-file-name temp_temp1.xml ftp-user-name automation ftp-passwd plain:hdr53atc
configure voice ont service 1/1/3/5/1/1 vlan 40 dhcp enabled voip-mode sip2 mgc-udp-port 5060 conf-file-name ranna_ansi_v2.xml ftp-user-name automation ftp-passwd plain:hdr53atc
configure voice ont service 1/1/3/5/1/1 vlan 40 dhcp enabled voip-mode sip2 mgc-udp-port 5060 conf-file-name temp_temp1.xml ftp-user-name automation ftp-passwd plain:hdr53atc
configure voice ont service 1/1/3/5/1/1 vlan 40 dhcp enabled voip-mode sip2 mgc-udp-port 5060 conf-file-name ranna_ansi_v2.xml ip-address 135.249.193.89 net-mask 255.255.255.192 default-router 135.249.193.65 conf-method omci
configure voice ont service 1/1/3/5/1/1 vlan 30 dhcp enabled voip-mode sip2 mgc-udp-port 5060 conf-file-name dp_ansi.xml ip-address 135.249.193.89 net-mask 255.255.255.192 default-router 135.249.193.65 conf-method omci
configure voice ont voice-port 1/1/3/5/1/2/[1...2] admin-state unlocked
typ:isadmin># configure voice ont voice-port 1/1/3/5/1/2/[1...2] admin-state unlocked
typ:isadmin># configure voice ont voice-port 1/1/3/5/1/2/1 admin-state unlocked
typ:isadmin># configure voice ont voice-port 1/1/3/5/1/2/2 admin-state unlocked
typ:isadmin>#
CONFIGURATION Removal
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1# info
configure equipment ont
#------------------------------------------------------------------------------------------------------------------------------------------------------------
echo "equipment"
#------------------------------------------------------------------------------------------------------------------------------------------------------------
interface 1/1/3/5/1 sw-ver-pland disabled
sernum ALCL:F8612E96
subslocid WILDCARD
fec-up disable
sw-dnload-version disabled
voip-allowed enable
log-auth-pwd plain:******
planned-us-rate nominal-line-rate
admin-state up
exit
#------------------------------------------------------------------------------------------------------------------------------------------------------------
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1# admin-state down
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1#
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1#
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1#
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1#
70/01/06 04:19:15 major alarm cleared for ont-card 1/1/3/5/1/2 (service affecting) : OLT or ONT did not accept the configuration request for the Card
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1#
70/01/06 04:19:15 minor alarm cleared for ontpots 1/1/3/5/1/2/1 (service affecting) : POTS service provisioning Mismatch.ONT did not accept the configuration requests for POTS service
70/01/06 04:19:15 minor alarm cleared for ontpots 1/1/3/5/1/2/2 (service affecting) : POTS service provisioning Mismatch.ONT did not accept the configuration requests for POTS service
typ:isadmin>configure>equipment>ont>interface>1/1/3/5/1# exit
typ:isadmin>configure>equipment>ont# no interface 1/1/3/5/1
OMCIv2
--------
Deleting entire config(using TL1 CLI)
----------------------
SSH
userid: SUPERUSER
pwd: ANS#150
port: 1022
ED-ONT::ONT-1-1-3-4-1:::::OOS;
DLT-ONT::ONT-1-1-3-4-1;
configure equipment ont interface 1/1/3/4/1 sernum ALCL:F870ED34 voip-allowed iphost sw-ver-pland disabled
admin-state up
configure qos interface 1/1/3/4/1/voip upstream-queue [0...7] bandwidth-profile name:us_prof_voip_2pots_bw2
configure bridge port 1/1/3/4/1/voip
vlan-id 30
configure iphost ont ont:1/1/3/4/1/1 vlan 30
configure iphost ont ont:1/1/3/4/1/1 dhcp enabled
configure equipment ont slot 1/1/3/4/1/2 admin-state up planned-card-type pots plndnumdataports 0 plndnumvoiceports 2
configure voice ont uri-prof 50 name ftp_50 address <ftp://135.249.193.67/>
configure voice ont auth-sec-prof 20 name ftp_authsecprof20 user-name anonymous password plain:anonymous
configure voice ont sec-uri-profile 50 name ftp_securiprof50 auth-securi-prof 20 uri-prof 50
configure voice ont voip-config ont:1/1/3/4/1/1 protocol sip
configure voice ont uri-prof 51 name uri_proxy51 address 135.249.193.67:5070
configure voice ont uri-prof 52 name uri_inea52 address 135.249.193.67:5070
configure voice ont auth-sec-prof 9 name authsec_inea9 user-name anonymous password plain:anonymous
configure voice ont sec-uri-profile 15 name securi_sswinea15 uri-prof 51 auth-securi-prof 9
configure voice ont sip-config ont:1/1/3/4/1/1 proxyserv-prof 51 outproxyserv-prof 51 aor-host-prt-prof 51 registrar-prof 15 uri-format sip-uri
configure voice ont rtp-profile 10 name rtp_tone-dtmf10 tone-event enabled dtmf-event enabled
configure voice ont voip-media-prof 10 name Media_10__dtmf-tone voiceserviceprof 10 rtp-prof 10 codec1st pcma pkt-period1st 10 codec2nd pcma pkt-period2nd 10 codec3rd pcma pkt-period3rd 10 codec4th pcma pkt-period4th 10
configure voice ont voip-app-service 2 name Voip_Appl_Service_2 calling-number enable call-waiting enable callerid-announce enable three-way-calling enable call-transfer enable call-hold enable call-park enable mwi-spl-dialtone enable mwi-visual-indi enable dir-conn-prof none bridge-prof none conf-prof none
1 is Already present as below so used 2:-
voip-app-service 1 name voipappserv_prof_1
calling-number enable
calling-name enable
caller-id-number private
caller-id-name private
call-waiting enable
three-way-calling enable
call-transfer enable
call-hold enable
call-park enable
mwi-spl-dialtone enable
mwi-visual-indi enable
call-fwd-indicate enable
dir-conn-prof none
bridge-prof none
conf-prof none
exit
configure voice ont voice-sip-port 1/1/3/4/1/2/1 user-aor guru12 display-name guru12 val-scheme md5-digest user-name guru12 password plain:guru12 voice-mail-prof none app-serv-prof 2
configure voice ont voice-port 1/1/3/4/1/2/1 custinfo User1 voipconfig sip pots-pwr-timer 300 rx-gain -7.000000 voip-media-prof 10 ne-file-name dp_test.xml admin-state unlocked
configure voice ont voice-sip-port 1/1/3/4/1/2/2 user-aor guru13 display-name guru13 val-scheme md5-digest user-name guru13 password plain:guru13 voice-mail-prof none app-serv-prof 2
configure voice ont voice-port 1/1/3/4/1/2/2 custinfo User2 voipconfig sip pots-pwr-timer 300 rx-gain -7.000000 voip-media-prof 10 ne-file-name dp_test.xml admin-state unlocked
to delete voice-sip-port
-------------------------
configure voice ont voice-port 1/1/3/4/1/2/1 admin-state locked
configure voice ont voice-port 1/1/3/4/1/2/2 admin-state locked
for making call
---------------
admin voice ont pots sip-dial-tone 1/1/3/4/1/2/1 sip-phone-number 9994004 diagnostic test_initiated
admin voice ont pots sip-dial-tone 1/1/3/4/1/2/2 sip-phone-number 9994004 diagnostic test_initiated
OR
admin voice ont pots sip-dial-tone 1/1/3/4/1/2/2 sip-phone-number 9994003 diagnostic test_initiated
To check for it is working or not
---------------------------
show voice ont pots sip-dial-tone
show voice ont pots operational-data
for overwriting voice-port & sip port
-----------------
configure voice ont voice-port 1/1/3/4/1/2/1 admin-state locked
configure voice ont voice-port 1/1/3/4/1/2/2 admin-state locked
configure voice ont voice-sip-port 1/1/3/4/1/2/1 user-aor guru12 display-name guru12 val-scheme md5-digest user-name guru12 password plain:guru12 voice-mail-prof none app-serv-prof 2
FTP
----
tftp -i 135.249.23.36 PUT G240GA_OMCIV2.xml /ONT/G240GA_OMCIV2.xml
Comments
Post a Comment