H3C S7503基本操作命令
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
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 Deregist ration 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-interface4 001: link status is UP
[H3C -Vlan-interface4] ip address 24 %Oct 14 14:19:08:283 2009 H3C IF NET/4/UPDOWN: Line protocol on the interface Vlan-interface4 is UP [H3 C -Vlan-interface4] quit
[H3C] ip route-static
19. 配置DHCP [H3C] dhcp enable
[H3C] dhcp server ip-pool 1
[Abiao-dhcp-pool-1] network 24
[Abiao-dhcp-pool-1] gateway-list [Abiao-dhcp-pool-1] dns [Abiao-dhcp-pool-1] quit [H3C] interface Vlan-interface 1
[H3C -Vlan-interface4] ip address
20. 配置OSPF [H3C] ospf
[Abiao-ospf-1] area
[Abiao-ospf-1-area- network [Abiao-ospf-1-area- area
[Abiao-ospf-1-area- network [Abiao-ospf-1-area- quit [Abiao-ospf-1] qui t
21. 配置telnet登陆账号及telnet服
务 [H3C_OLT_LCGY] telnet server enable % Start Telnet server [H3C_OLT _LCGY]
[H3C_OLT_LCGY] local-user admin (管理员户) New local user added. [H3C_OLT_LCGY-luser-admin] password simple h3c [H3C_OLT_LCGY-luse r-admin] service-type telnet
[H3C_OLT_LCGY-luser-admin] authorization-attribute level 3 [H3C_OLT_L