enable
//进入特权模式
configure terminal
//进入全局模式
show show running-config
//显示所有配置信息,此命令可用可不用
show onu unauthentication epon-olt_0/1/1
//显示0/1/1 PON口下未注册的设备
//然后依次查找各个pon口,直到找出未注册设备为止
show onu unauthentication epon-olt_0/1/2
show onu unauthentication epon-olt_0/1/3
show onu unauthentication epon-olt_0/1/4
show onu unauthentication epon-olt_0/2/1
```
```
show onu unauthentication epon-olt_0/3/4
//假如在0/3/4 pon口发现未注册的设备
show onu authentication epon-olt_0/3/4
//显示0/3/4 pon口下已经注册的设备,假设该pon口下已经注册了25个设备了,那么给要注册的设备编号26
interface epon-olt_0/3/4
进入0/3/4 pon口
onu 26 type ZTE-F822 mac 0026.ed0f.cdd7 ip-cfg static
//注册新发现的设备,设备编号“26”,设备型号“ZTE-F822”,设备MAC地址“0026.ed0f.cdd7”。
show onu authentication epon-olt_0/3/4
//显示已经注册设备,查看刚才的命令是否成功
interface epon-onu_0/3/4:26
//进入onu接口
authentication enable
//使onu处于认证状态
bandwidth upstream assured 30000 fixed 0 maximum 30000 maxburst 1800000
bandwidth downstream maximum 100000 maxburst 1800000
//配置ONU的下行带宽
switchport mode trunk vport 1
switchport vlan 47 tag vport 1
des
//添加设备的描述信息
pon-onu-mng epon-onu_0/3/4:26
//进入到ONU的远程管理接口
mgmt-ip onu-ip 61.191.89.173 255.255.255.0 7 13 mgm-ip 202.0.0.0 255.0.0.0 61.191.89.1 status enable
vlan port eth_0/1 mode tag vlan 1275 priority 4
vlan port eth_0/2 mode tag vlan 1276 priority 4
vlan port eth_0/3 mode tag vlan 1277 priority 4
vlan port eth_0/4 mode tag vlan 1278 priority 4
vlan port eth_0/5 mode tag vlan 1279 priority 4
vlan port eth_0/6 mode tag vlan 1280 priority 4
vlan port eth_0/7 mode tag vlan 1281 priority 4
vlan port eth_0/8 mode tag vlan 1282 priority 4
wrtie
configure
interface inband-vlan 1
exit
vlan 47
ex
interface inband-vlan 47
exit
ip route 0.0.0.0 0.0.0.0 10.28.198.1
hostname qspthxqBzt18#4
int gei_0/3/1
switchport vlan 47 tag
end
ag
mod-mgc mgcid 1 mgctype 2 mgcip 10.26.64.13
del-slctermid beginslot 1 num 24
add-slctermid beginslot 1 num 24 tmidfix A type 2 digitlen 3 mgid 1
del-ipstermid
add-ipstermid tmidfix RTP/ Type 2 Begno 0 Mgid 1
Mod-expar parid 1 dtmfrelaymode 1
Mod-mgcattr mgctype 2 dmlong 8
ex
write