typ:isadmin># show interface port ont:1/1/1/6/9
port |admin-status|opr-status
---------------------------------------------------+------------+--------------------------------------------------------------------------------------------
ont:1/1/1/6/9 down down
opr-status 物理链路状态
admin-status 逻辑链路状态
info configure equipment ont interface 1/1/1/6/9
这是查看ONT的参数,SLID为 FYB00609 , sw-ver-pland(下发版本)为AUTO
#----------------------------------------------------------------
interface 1/1/1/6/9 sw-ver-pland auto
subslocid FYB00609
sw-dnload-version disabled
enable-aes enable
voip-allowed enable
log-auth-pwd *****
admin-state down
exit
#----------------------------------
二、查询ONU的网口状态
show interface port bridge-port:1/1/1/6/9/1/1
port |admin-status|opr-status
bridge-port:1/1/1/6/9/1/1 not-appl down
show interface port uni:1/1/1/6/9/1/1
port |admin-status|opr-status
uni:1/1/1/6/9/1/1 up down
info configure bridge port 1/1/1/6/9/1/1
这是查看网口的参数,外层VLAN2743,内层VLAN2604,允许MAC地址数为5
#------------------------------------------------------------------------------------------------------
echo "bridge"
#-------------------------------------------------------------------------------------------------------
port 1/1/1/6/9/1/1
max-unicast-mac 5
vlan-id 2604
network-vlan stacked:2743:2604
vlan-scope local
exit
pvid 2604
exit
#-------------------------------
四、查看语音状态
show interface port voip:1/1/1/6/9
opr-status为UP状态说明语音为注册激活状态
port |admin-status |opr-status
voip:1/1/1/6/9 up up
show interface port bridge-port:1/1/1/1/9/voip
查看语音状态 UP表示激活
=============================================================
port |admin-status |opr-status
---------------------------------------------------+------------+---------------------
bridge-port:1/1/1/1/9/vuni not-appl up
---------------------------------------------------------------------------
info configure voice ont service 1/1/1/6/9/1
查看语音参数,VLAN1999,IP地址10.183.12.166,掩码255.255.255.192,网关10.183.12.129,主用MGC10.181.233.83,备用MGC10.181.232.83
#-----------------------------------------------------------
pots 1/1/1/1/8/2/1
no custinfo # value=""
no voip-serv # value=1
termination-id P1
no pots-pwr-timer # value=0
no call-hist # value=disable
no pwr-override # value=false
no sip-msg-tot-th # value=0
no brr-pkt-loss-th # value=0
no excess-jitter-th # value=0
no rx-gain # value=0.000000
no tx-gain # value=0.000000
no pots-dscp # value=46
no veip-ptr # value=none
admin-state unlocked
oper-state enabled
exit
#--------------------------------------------
info configure voice ont service flat | match exact:10.183.12.166
查看语音IP是否重复
info configure bridge port flat | match exact:10.183.12.166
查看语音IP是否重复
五、删除ONU及ONU下的所有数据
打死ONT
configure equipment ont interface 1/1/1/6/9 admin-state down
删除ONT
configure equipment ont no interface 1/1/1/6/9
六、单独删除语音数据
删除
configure bridge no port 1/1/1/6/9/voip
删除ONT slot
configure equipment ont slot 1/1/1/6/9/2 admin-state down
configure equipment ont no slot 1/1/1/6/9/2