登陆OLT
telnet XXX.XXX.XXX.XXX
>>User name:root
>>User password:admin
Huawei Integrated Access Software.
Copyright(C) Huawei Technologies Co., Ltd. 2002-2008. All rights reserved.
CY_MA5680T>enable
CY_MA5680T# switch language-mode(转换成汉语)
CY_MA5680T#config
CY_MA5680T(config)#display ont autofind all epon(自动发现新增的ONU)
---------------------------------------------------
Number F/S/P MAC Password
---------------------------------------------------
1 0/ 1/ 0 0018-82EC-7082 ---
2 0/ 1/ 0 0025-9E15-3CD1 ---
3 0/ 1/ 0 0025-9E15-1337 ---
4 0/ 1/ 1 0025-9E15-3CFF ---
5 0/ 1/ 1 0025-9E15-1341 ---
6 0/ 1/ 1 0025-9E15-133D ---
7 0/ 1/ 1 0018-82EC-7070 ---
8 0/ 1/ 1 0018-82EC-709E ---
9 0/ 1/ 1 0018-82EC-702C ---
10 0/ 1/ 1 0025-9E04-87E7 ---
11 0/ 1/ 2 0025-9E15-1335 ---
12 0/ 1/ 2 0018-82EC-7116 ---
13 0/ 1/ 2 0025-9E15-3CEF ---发现目的ONU
14 0/ 1/ 2 0025-9E14-C48F ---
15 0/ 1/ 3 0025-9E15-3CC7 ---
16 0/ 1/ 3 0025-9E15-134B ---
17 0/ 1/ 3 0025-9E15-1293 ---
18 0/ 1/ 3 0025-9E15-3CED ---
---------------------------------------------------
CY_MA5680T(config)#display current-configuration(查看配置)
0025-9E15-3CED
CY_MA5680T(config)#interface epon 0/1(进入OLT单板)
CY_MA5680T(config-if-epon-0/1)#display ont info (查看单板1下的ONU)
{ portid<U><0,3>|remote<K> }:2(单板下的PON口)
{ ontid<U><0,63>|all<K> }:all(0/1/2下的所有ONU)
Command:
display ont info 2 all
In port 2, the total of ONTs are: 0 (PON口2下目前没有ONU,故这次的ONU编号为0)
CY_MA5680T(config-if-epon-0/1)#ont confirm(绑定新增ONU的MAC地址)
{ portid<U><0,3> }:2
{ ontid<K>|all<K> }:ontid
{ ontid<U><0,63> }:0(ONU的编号)
{ password-auth<K>|mac-auth<K> }:mac-auth
{ mac<S><14,14> }:025-9E15-3CEF
{ profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><1,128> }:12
{ <cr>|multicast-mode<K>|multicast-fast-leave<K>|description<K>|fec<K>|dba-profile<K>|encrypt<K>|cir<K> }:description CPN-ShengJiJu(对新增加ONU注明--审计局小区)
{ <cr>|multicast-mode<K>|multicast-fast-leave<K>|fec<K>|dba-profile<K>|encrypt<K>|cir<K> }
Command:
ont confirm 2 ontid 0 mac-auth 0025-9E15-3CEF profile-id 12
description CPN-ShengJiJu
CY_MA5680T(config-if-epon-0/1)#ont ipconfig(配IP)
{ portid<U><0,3> }:2(PON口)
{ ontid<U><0,63> }:0(ONU的编号)
{ ip-address<K> }:ip-address
{ ip-address<I><X.X.X.X> }:192.168.100.7(带语音的配公网IP,不带语音的配私网IP)
{ mask<K> }:mask
{ mask<I><X.X.X.X> }:255.255.255.0
{ gateway<K> }:gateway
{ gateway<I><X.X.X.X> }:192.168.100.1
{ manage-vlan<K> }:manage-vlan(网管VLAN)
{ managevlan<U><1,4093> }:100
Command:
ont ipconfig 2 0 ip-address 192.168.100.7 mask 255.255.255.0 gateway 192.168.100.1 manage-vlan 100
negotiation autoCY_MA5680T(config-if-epon-0/1)#
The ONT IP is configured successfully
CY_MA5680T(config-if-epon-0/1)#quit
CY_MA5680T(config)#service-port vlan 100 epon 网管VLAN
{ frameid/slotid/portid<S><1,15> }:0/1/2
{ ont<K> }:ont
{ ontid<U><0,63>|all<K> }:0(ONU编号)
{ <cr>|multi-service<K> }:multi-service
{ user-vlan<K>|user-encap<K> }:user-vlan
{ untagged<K>|user-vlanid<U><1,4094> }:100(网管VLAN)
{ <cr>|to<K> }:
Command:
service-port vlan 100 epon 0/1/2 ont 0 multi-service user-vlan 100
CY_MA5680T(config)#service-port vlan 1406 epon 0/1/2 ont 0(ONU编号) multi-service user-vlan 1406(业务VLAN)
{ <cr>|to<K> }:
Command:
service-port vlan 1406 epon 0/1/2 ont 0 multi-service user-vlan 1406
CY_MA5680T(config)#ping 192.168.100.7
PING 192.168.100.7: 56 data bytes, press CTRL_C to break
Reply from 192.168.100.7: bytes=56 Sequence=0 ttl=63 time = 65 ms
Reply from 192.168.100.7: bytes=56 Sequence=1 ttl=63 time = 6 ms
Reply from 192.168.100.7: bytes=56 Sequence=2 ttl=63 time = 6 ms
Reply from 192.168.100.7: bytes=56 Sequence=3 ttl=63 time = 6 ms
Reply from 192.168.100.7: bytes=56 Sequence=4 ttl=63 time = 7 ms
--- 192.168.100.7 Ping statistics ---
5 packets transmitted
5 packets received
0.00% packet loss
Round-trip min/avg/max = 6/18/65 ms
CY_MA5680T(config)#telnet 192.168.100.7(远程登录到ONU是上)
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论