9806查询命令:
【查看宽带】
show patch 查看设备运行的时间
show running-config interface 3/1-12 查看第三槽位板子的第一到十二端口配置的带宽
show interface 3/1-24 port-status 查看第三槽位板子的第一到二十四端口的状态
show ip route 查看路由的配置
show ip subnet 查看窄带是否配置上
show mac-address-table slot 2 查看第三块板子学到的mac地址
show mac-address-table port 2/13 查看该端口下学到的mac地址
show adsl line-info 3/1 查看端口状态数据
关闭/打开端口
9806(config)#interface adsl 3/1
9806(config-if)#shutdown(关闭)/no shutdown(打开)
【查看语音】
9806# ag (进入ag模式)
9806(ag)#
9806(ag)# h248state 查看语音协议是否正常
正常显示为:H248-SS link status(H248Trkplink) : OK. MGCid is 1
9806(ag)# get-voip-config 查看窄带数据的的配置
mgid: 1
type: media
ipaddr: 10.182.245.122 (窄带ip)
submask: 255.255.255.128 (窄带的掩码)
nexthop: 10.182.245.1 (窄带的网关)
9806(ag)# get-slcstatus beginslot 1 查看第一槽位语音端口的状态
circuit status
1-0 IDLE(正常状态)
1-1 IDLE
1-2 IDLE
1-3 IDLE
1-4 IDLE
1-5 IDLE
9806(ag)# get-slctermid slot 1 查看第一槽位语音的termid值
----------------------------------------------------------------------
F822 查询命令
宽带查询命令:
show int fei_0/2/1 port 查看端口状态
show run int fei_0/2/1 查看端口的带宽配置
show mac eth fei_0/2/1 查看该端口下学到的mac地址
show mac 查看学到的所有的mac地址
show mac vlan ** 查看该vlan是否学到了上下联mac地址
show ip rout 查看路由表
窄带查询命令:
ZXAN# ag 进入ag模式
h248status 查看语音协议是否开启 ( 正常显示为:H248-SS link status(H248Trkplink) : OK. MGCid is 1)
get-mgc mgcid 1 查看配置的主mgc地址
get-voip-config 查看窄带语音的配置
get-slcstatus beginslot 1 查看第一槽位语音端口的状态
circuit status
1-0 IDLE(正常状态)
1-1 IDLE
1-2 IDLE
1-3 IDLE
1-4 IDLE
1-5 IDLE
get-slctermid slot 1 查看第一槽位语音的termid值
-----------------------------------------------------------------------
F820查新命令
宽带查询命令:
show interface fei_0/1/1 查看端口状态
show running-config interface fei_0/1/1 查看端口的配置
show mac ethernet fei_0/1/1 查看该端口下学到的mac地址
show mac 查看上线的用户mac地址
show mac vlan *** 查看该vlan是否学到了上下联mac地址
show vlan *** 查看vlan是否在上联口透传
show ip rout 查看路由表
窄带查询命令:
#con t
(config)#voip 5
(config-voip)#show voip in 查看语音协议
mgid 1
protocol-type h248
lines-number 16
line0 in service
line1 in service(正常,不正常时是 out service)
(config-voip)# show mg net 查看语音的配置
(config-voip)#show mgc h248tid 查看line值
rtp-tid-prefix RTP/
rtp-tid-length 5
link-kept-flag 0
link-kept-time 4000
test-link-flag 2
h248-inter-ctrl 0
1 line1
2 line2
3 line3
4 line4
config-voip)# show voip portconfig 1 查看语音端口的状态
PortType fxs
PortRole idle
PortStatus idle(正常)
----------------------------------------------------------------------
光猫查询命令:
宽带查询:
查看光猫的状态:show onu all epon-olt
查看光猫设备的下发数据以及端口是否打开:show onu run con epon-onu_0/1/1:1
查看光猫的loid值 show run inter epon-olt_0/1/1
查看未注册的光猫的loid值和sn码和mac地址:show onu unauth
查看光猫用户的语音状态:show remote epon pots status epon-onu_0/1/1:1
窄带查询:
show remote epon pots sta epon-onu_1/1/1:1