H3C S7503基本操作命令

1. 配置OLT接口vlan [H3C]interface Olt 2/0/1

[H3C -Olt2/0/1] port hybrid vlan 1 to 4094 tagged (或untagged) 2. 创建ONU逻辑接口 [H3C]interface Olt 2/0/1

[H3C -Olt2/0/1]using onu 1 to 32 (假设此OLT接口使用了1分32的分光器,)

Please wait...Done. [H3C -Olt2/0/1]

3. 配置ONU设备MAC地址和ONU逻辑接口绑定 [H3C] interface onu 2/0/1:1

[H3C-Onu2/0/1:1] bind onuid 00e0-fc70-2d6d

4. 配置ONU逻辑接口为trunk模式 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] port link-type trunk

5. 配置ONU逻辑接口PVID (ONU上行PON口打vlan标签) [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] port trunk pvid vlan 2

6.配置ONU PON接口的上行带宽 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] upstream-sla maximum-bandwidth 1600 7. 配置ONU PON接口的下行带宽 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] bandwidth downstream max-bandwidth 2000 8. 配置ONU以太网uni接口的上行带宽 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] uni 1 port-policy inbound cir 1024

9. 配置ONU以太网uni接口的上行带宽 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] uni 1 port-policy inbound cir 1024

10. 配置ONU以太网uni接口端口隔

离 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] uni 1 port-isolate 11. 配置ONU以太网uni接口打vlan标签 [H3C] interface onu 2/0/1:1 [H3C-Onu2/0/1:1] uni 1 vlan-mode tag pvid 101 12. 配置上行GE接口协商模

式 [H3C] interface G 2/1/1 [H3C-Gigabit 2/1/1] speed 1000 [H3C-Gigabit 2/1/1] duplex full

13. ONU注册信息显示 [H3C] display onuinfo slot 2 14. 查询ONU注册、注销命令

[H3C] display onu-event interface onu 2/0/8:1 Date Time ONU Event ONU Status 2006/06/28 13:57:03 Registration Up 2006/06/28 13:57:06 Deregistration Down 15. 重启ONU

[H3C] interface onu 2/0/8:1 [H3C-Onu2/0/8:1] reboot onu 16. 配置设备名称 [H3C]sysname HTSM [HTSM] 17. 配置管理接口,管理vlan

[H3C]vlan 4 (假设vlan 4 为管理vlan) H3C-vlan3]quit

[H3C] interface GigabitEthernet 1/1/1 [H3C –Giga1/1/1]port link-type trunk [H3C –

Giga1/1/1]port trunk permit vlan 4 [H3C –Giga1/1/1]quit [H3C] 上行接口如果直接接电脑,需要配置上行接口为access模

式 [H3C] interface GigabitEthernet 1/1/1 [H3C –Giga1/1/1]port link-type access [H3C –

Giga1/1/1]port access vlan 4 [H3C –Giga1/1/1]quit 18. 配置设备管理IP地址,网

关 [H3C] interface Vlan-interface 4 [H3C -Vlan-interface4]

%Oct 14 14:18:59:276 2009 H3C IFNET/4/LINK UPDOWN: Vlan-interface4001: link status is UP

[H3C -Vlan-interface4] ip address 10.164.0.2 24 %Oct 14 14:19:08:283 2009 H3C IFNET/4/UPDOWN: Line protocol on the interface Vlan-interface4 is UP [H3C -Vlan-interface4] quit

[H3C] ip route-static 0.0.0.0 0.0.0.0 10.164.0.1 19. 配置DHCP [H3C] dhcp enable [H3C] dhcp server ip-pool 1

[Abiao-dhcp-pool-1] network 192.168.1.0 24

[Abiao-dhcp-pool-1] gateway-list 192.168.1.1 [Abiao-dhcp-pool-1] dns 202.99.96.68 [Abiao-dhcp-pool-1] quit [H3C] interface Vlan-interface 1 [H3C -Vlan-interface4] ip address 192.168.1.1 20. 配置OSPF [H3C] ospf [Abiao-ospf-1] area 0.0.0.0

[Abiao-ospf-1-area-0.0.0.0] network 192.168.1.1 0.0.0.255 [Abiao-ospf-1-area-0.0.0.0] area 0.0.0.1

[Abiao-ospf-1-area-0.0.0.0] network 192.168.1.2 0.0.0.255 [Abiao-ospf-1

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4