内容发布更新时间 : 2024/11/6 7:30:14星期一 下面是文章的全部内容请认真阅读。
中兴GPON常用的查询设备数据的命令
靳永伟18653162798
登陆OLT上查看1/2/1口下ONU的状态:
dafei-C300#show gpon onu state gpon-olt_1/2/1
OnuIndex Admin State OMCC State O7 State Phase State ----------------------------------------------------------------------------
gpon-onu_1/2/1:1 enable enable operation LOS,表示ONU和OLT之间的光纤链路有故障,导致ONU掉线;
gpon-onu_1/2/1:2 enable disable unknown DyingGasp,表示ONU断电了,可能是ONU正常被关电,也可能是ONU所在位置市电断了;
gpon-onu_1/2/1:3 enable enable unknown offline,表示该ONU属于离线配置,OLT没有搜索到这个ONU;
gpon-onu_1/2/1:4 enable enable sn logging,表示该ONU已经搜索到,正在测距;
gpon-onu_1/2/1:5 enable enable operation syncMib,表示该ONU已经测距完毕,正在同步数据;
gpon-onu_1/2/1:6 enable enable operation working,表示ONU同步结束,可以进行其他配置(working是正常状态);
查看OLT下光路已通未注册的ONU:
WuChengyidong-C300#show gpon onu uncfg gpon-olt_1/6/2OnuIndex Sn State
---------------------------------------------------------------------
gpon-onu_1/2/3:1 ZTEGB00167A0 unknown gpon-onu_1/3/4:1 HWTC6C195B04 unknown gpon-onu_1/6/2:1 ZTEGB0019A80 unknown gpon-onu_1/6/2:2 ZTEGB0016BA8 unknown gpon-onu_1/6/2:3 ZTEGB0016B9E unknown gpon-onu_1/6/2:4 ZTEGB0019F4C unknown gpon-onu_1/6/2:5 ZTEGB001A045 unknown gpon-onu_1/6/2:6 ZTEGB0016BAA unknown gpon-onu_1/6/2:7 ZTEGB001A06C unknown
查看某VLAN下学习到的MAC地址: dafei-C300#show mac vlan 10 Total mac address : 95
Mac address Vlan id Type Port Vc Time ----------------------------------------------------------------------------
0011.b560.2b76 10 Dynamic gei_1/20/3 226 0011.b526.4ad8 10 Dynamic gei_1/20/3 225
0011.b529.066c 10 Dynamic gei_1/20/3 226 0011.b527.5cbc 10 Dynamic gei_1/20/3 225 0003.7fff.fffe 10 Dynamic gei_1/20/3 300 0011.b527.444e 10 Dynamic gei_1/20/3 226 0011.b526.121e 10 Dynamic gei_1/20/3 223 0011.b527.7ad6 10 Dynamic gei_1/20/3 223 0003.7fff.ffff 10 Dynamic gei_1/20/3 223 0019.c601.2d91 10 Dynamic gei_1/20/3 300 0011.b51a.5b5e 10 Dynamic gei_1/20/3 300 0011.b560.2c04 10 Dynamic gei_1/20/3 0011.b527.7d7a 10 Dynamic gpon-onu_1/2/1:6 0011.b527.5b76 10 Dynamic gpon-onu_1/2/1:4 0011.b527.7d5e 10 Dynamic gpon-onu_1/2/1:5 0011.b527.7d04 10 Dynamic gpon-onu_1/2/1:6 0011.b529.0e0c 10 Dynamic gpon-onu_1/2/1:3 0011.b529.00c0 10 Dynamic gpon-onu_1/2/1:5 0011.b527.954c 10 Dynamic gpon-onu_1/2/1:5 0011.b527.9522 10 Dynamic gpon-onu_1/2/1:6
查看某个ONU下学习到的MAC地址:
wuchengyidong-2#show mac gpon onu gpon-onu_1/4/8:6 Total mac address : 5
Mac address Vlan id Type Port ----------------------------------------------------------------------------
8474.2aaa.96be 30 Dynamic gpon-onu_1/4/8:6 8474.2aaa.95c8 30 Dynamic gpon-onu_1/4/8:6 8474.2aaa.95c2 30 Dynamic gpon-onu_1/4/8:6 8474.2aaa.95ee 30 Dynamic gpon-onu_1/4/8:6 b075.d5f5.ec29 646 Dynamic gpon-onu_1/4/8:6
查看某ONU透传的vlan信息
WuChengyidong-C300#show vlan port gpon-onu_1/2/1:1 PortMode Pvid CPvid Tpid TLSStatus TLSVlan -------------------------------------------------
hybrid 1 0 0x8100 disable 0 UntaggedVlan:
TaggedVlan: 10,646,1567
查看某VLAN透传信息:
WuChengyidong-C300#show vlan 1567 vlanid :1567
225 vport 1 0 vport 1 0 vport 1 0 vport 1 0 vport 1 0 vport 1 0 vport 1 0 vport 1 0 Vc Time vport 1 0 vport 1 0 vport 1 0 vport 1 0 vport 1 0 name :VLAN1567 description :N/A
multicast-packet:flood-unknown port(untagged):
port(tagged): gei_1/19/3
gpon-onu_1/2/1:1-7:1;2:3:1 gpon-onu_1/2/2:4,6-10:1
查看某ONU透传VLAN的数据:
WuChengyidong-C300#show running-config interface gpon-onu_1/2/1:1 Building configuration... !
interface gpon-onu_1/2/1:1 name ONU-1:1
description ONU-1:1 sn-bind enable
vport-mode gemport def-map-type 1:1
tcont 2 name tcont2 allocid 256 profile T1-50M tcont 2 gap mode2
gemport 1 name gemport-1 portid 129 unicast tcont 2 dir both queue 1 gemport 1 traffic-limit upstream default downstream default switchport mode hybrid vport 1
service-port 1 vport 1 user-vlan 1567 vlan 1567 service-port 2 vport 1 user-vlan 10 vlan 10 service-port 3 vport 1 user-vlan 646 vlan 646
traffic-profile DOWN-100M vport 1 direction egress ! end
查看某ONU下发的ip地址数据:
WuChengyidong-C300#show onu running config gpon-onu_1/2/1:1 pon-onu-mng gpon-onu_1/2/1:1
mgmt-ip 172.31.142.147 255.255.255.128 vlan 646 priority 7 route 0.0.0.0 0.0.0.0 172.31.142.129 host 1 gemport 1 flow 1
switch switch_0/1 stp disable
switch switch_0/1 local-switch disable
查看某PON口下注册了哪些ONU:
WuChengyidong-C300#show running-config interface gpon-olt_1/2/1 Building configuration... !