最详细的C300开局脚本.doc_第1页
最详细的C300开局脚本.doc_第2页
最详细的C300开局脚本.doc_第3页
最详细的C300开局脚本.doc_第4页
最详细的C300开局脚本.doc_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

en(密码zxr10)进入特权模式ZXAN#dir cfg查看是否有过配置如果看到startrun.savstartrun.dat那么表示有配置,需要删除配置,然后重启设备ZXAN#:delete cfg startrun.sav ZXAN#:delete cfg startrun.dat 删除配置Reboot重启设备重启完之后en(密码zxr10)进入特权模式oconfigure terminal进入全局模式add-rack rackno 1 racktype IEC19添加机架add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF添加框add-card rackno 1 shelfno 1 slotno 0 PRWGadd-card rackno 1 shelfno 1 slotno 1 PRWGadd-card rackno 1 shelfno 1 slotno 2 ETGOadd-card rackno 1 shelfno 1 slotno 3 ETGOadd-card rackno 1 shelfno 1 slotno 4 ETGOadd-card rackno 1 shelfno 1 slotno 5 ETGOadd-card rackno 1 shelfno 1 slotno 6 ETGOadd-card rackno 1 shelfno 1 slotno 7 ETGOadd-card rackno 1 shelfno 1 slotno 8 ETGOadd-card rackno 1 shelfno 1 slotno 9 ETGOadd-card rackno 1 shelfno 1 slotno 12 ETGOadd-card rackno 1 shelfno 1 slotno 13 ETGOadd-card rackno 1 shelfno 1 slotno 14 ETGOadd-card rackno 1 shelfno 1 slotno 15 ETGOadd-card rackno 1 shelfno 1 slotno 16 ETGOadd-card rackno 1 shelfno 1 slotno 17 ETGOadd-card rackno 1 shelfno 1 slotno 18 CICGadd-card rackno 1 shelfno 1 slotno 19 GUSQadd-card rackno 1 shelfno 1 slotno 20 GUSQ添加板卡,如果当前插槽上没有板卡的话,就不要添加hostname MXYQQ-C300-16设备命名命名规则为:局名缩写+分区缩写-设备名称-序列号vlan database vlan 1,6,9-39,2010-2039,2500-2699,3991-3992 vlan 3997,4000ex创建VLANinterface vlan 9ip address 10.169.104.41 255.255.255.0ex进入VLAN 9(OLT管理vlan)添加IP地址和子网掩码interface vlan 3997ip proxy-arp Ex进入VLAN 3997(VLAN 3997 为语音)开启代理ARPinterface vlan 6ip address 172.16.0.1 255.255.224.0 ex进入VLAN 6(ONU管理VLAN)添加IP地址mpnat onu-mng-vlan 6 定义VLAN 6为ONU管理VLANip route 123.124.120.0 255.255.255.0 10.169.104.1ntp server 123.124.120.66 ntp source 10.169.104.41ntp enable添加静态路由添加时间同步服务器开启时间同步clock timezone BJT 8 0时区为北京时间interface vlan 3991ip address 10.100.60.154 255.255.255.252ip ospf hello-interval 3ip ospf network point-to-point ex进入VLAN 3991(VLAN 3991为OSPF通讯VLAN)添加ip地址ospf每三秒发送一次hello报文osfp为点对点模式interface gei_1/19/1switchport mode hybridswitchport default vlan 3991no negotiation autoduplex fullspeed 100ex进入1筐19槽1口接口模式为混合模式对VLAN 3991进行剥离标签关闭接口自动协商全双工模式速率为100M?interface vlan 3992ip address 10.100.60.158 255.255.255.252ip ospf cost 10000ip ospf hello-interval 3 ip ospf network point-to-point ex进入VLAN 3992(VLAN 3992为OSPF通讯VLAN)添加ip地址OSPF-COST值设定10000ospf每三秒发送一次hello报文osfp为点对点模式interface gei_1/20/1switchport mode hybridswitchport default vlan 3992no negotiation autoduplex fullspeed 100ex进入1筐20槽1口接口模式为混合模式对VLAN 3991进行剥离标签关闭接口自动协商全双工模式速率为100M?router ospf 900 network 10.100.60.152 0.0.0.3 area 20network 10.100.60.156 0.0.0.3 area 20ex创建ospf进程900发布IP地址 并且划分区域20interface smartgroup1port-protect disableswitchport mode hybridswitchport vlan 9-39,2500-2599 tagex进入聚合组1关闭用户隔离(端口保护)功能模式为混合模式定义打标记的VLANinterface smartgroup2port-protect disableswitchport mode hybridswitchport vlan 2010-2039,2600-2699,4000 tagex进入聚合组2关闭用户隔离(端口保护)功能模式为混合模式定义打标记的VLAN?interface gei_1/19/3 hybrid-attribute fiber no negotiation auto Speed 1000 duplex full flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport vlan 9-39,2500-2599 tag smartgroup 1 mode activeex进入1筐19槽3口混合模式为光纤关闭接口自动协商速率为1000M全双工模式关闭流量控制关闭用户隔离(端口保护)功能混合模式定义打标记的VLAN属于聚合组1interface gei_1/19/4 hybrid-attribute fiber no negotiation auto Speed 1000 duplex full flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport vlan 2010-2039,2600-2699,4000 tag smartgroup 2 mode activeex进入1筐19槽4口混合模式为光纤关闭接口自动协商速率为1000M?全双工模式关闭流量控制关闭用户隔离(端口保护)功能混合模式定义打标记的VLAN属于聚合组2interface gei_1/20/3 hybrid-attribute fiber no negotiation auto Speed 1000 duplex full flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport vlan 9-39,2500-2599 tag smartgroup 1 mode activeex进入1筐20槽3口混合模式为光纤关闭接口自动协商速率为1000M全双工模式关闭流量控制关闭用户隔离(端口保护)功能混合模式定义打标记的VLAN属于聚合组1interface gei_1/20/4 hybrid-attribute fiber no negotiation auto Speed 1000 duplex full flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport vlan 2010-2039,2600-2699,4000 tag smartgroup 2 mode activeex进入1筐20槽4口混合模式为光纤关闭接口自动协商速率为1000M全双工模式关闭流量控制关闭用户隔离(端口保护)功能混合模式定义打标记的VLAN属于聚合组2snmp-server community public view allview rwsnmp-server host 123.124.120.66 trap version 2c public enable NOTIFICATIONS isnmsserver server-index 1 udp-port 162 snmp-server host 123.124.120.70 trap version 2c public enable NOTIFICATIONS isnmsserver server-index 2 udp-port 162 创建SNMP并且设置服务器IP地址eponems-report 1/2 unauthonu enableems-report 1/3 unauthonu enableems-report 1/4 unauthonu enableems-report 1/5 unauthonu enableems-report 1/6 unauthonu enableems-report 1/7 unauthonu enableems-report 1/8 unauthonu enableems-report 1/9 unauthonu enableems-report 1/12 unauthonu enableems-report 1/13 unauthonu enableems-report 1/14 unauthonu enableems-report 1/15 unauthonu enableems-report 1/16 unauthonu enableems-report 1/17 unauthonu enable设备PON板卡用户自动认证voip-vlan profile CNCRMS tag-mode tag cvlan 3997 priority 7h248-profile CNCRMS register-server ip 10.0.98.2 port 2944h248-profile CNCRMS backup-register-server ip 10.0.98.66 port 2944h248-profile CNCRMS heartbeat-mode h248ctc rtp-link-test disable cycle 120 count 2h248-profile CNCRMS mg register-mode ip port 2944 onu-sla-profile profile-name create publiconu-sla-profile profile-set public downstream maximum 999994 maxburst 16777215onu-sla-profile profile-set public upstream assured 10000 maximum 25000创建语音IP、VLAN、软交换协议模板、带宽模板auto-dispatch-set ZTE-F821 disable 关闭ZTE-F821Exponip-pool p1 begin 172.16.0.2 end 172.16.31.254 255.255.224.0 vlan 6 priority 5 route 123.124.120.0 255.255.255.0 172.16.0.1 ip-pool-bind epon-olt_1/2/1 p1 ip-pool-bind epon-olt_1/2/2 p1 ip-pool-bind epon-olt_1/2/3 p1 ip-pool-bind epon-olt_1/2/4 p1 ip-pool-bind epon-olt_1/2/5 p1 ip-pool-bind epon-olt_1/2/6 p1 ip-pool-bind epon-olt_1/2/7 p1 ip-pool-bind epon-olt_1/2/8 p1 ip-pool-bind epon-olt_1/3/1 p1 ip-pool-bind epon-olt_1/3/2 p1 ip-pool-bind epon-olt_1/3/3 p1 ip-pool-bind epon-olt_1/3/4 p1 ip-pool-bind epon-olt_1/3/5 p1 ip-pool-bind epon-olt_1/3/6 p1 ip-pool-bind epon-olt_1/3/7 p1 ip-pool-bind epon-olt_1/3/8 p1 ip-pool-bind epon-olt_1/4/1 p1 ip-pool-bind epon-olt_1/4/2 p1 ip-pool-bind epon-olt_1/4/3 p1 ip-pool-bind epon-olt_1/4/4 p1 ip-pool-bind epon-olt_1/4/5 p1 ip-pool-bind epon-olt_1/4/6 p1 ip-pool-bind epon-olt_1/4/7 p1 ip-pool-bind epon-olt_1/4/8 p1 ip-pool-bind epon-olt_1/5/1 p1 ip-pool-bind epon-olt_1/5/2 p1 ip-pool-bind epon-olt_1/5/3 p1 ip-pool-bind epon-olt_1/5/4 p1 ip-pool-bind epon-olt_1/5/5 p1 ip-pool-bind epon-olt_1/5/6 p1 ip-pool-bind epon-olt_1/5/7 p1 ip-pool-bind epon-olt_1/5/8 p1 ip-pool-bind epon-olt_1/6/1 p1 ip-pool-bind epon-olt_1/6/2 p1 ip-pool-bind epon-olt_1/6/3 p1 ip-pool-bind epon-olt_1/6/4 p1 ip-pool-bind epon-olt_1/6/5 p1 ip-pool-bind epon-olt_1/6/6 p1 ip-pool-bind epon-olt_1/6/7 p1 ip-pool-bind epon-olt_1/6/8 p1 ip-pool-bind epon-olt_1/7/1 p1 ip-pool-bind epon-olt_1/7/2 p1 ip-pool-bind epon-olt_1/7/3 p1 ip-pool-bind epon-olt_1/7/4 p1 ip-pool-bind epon-olt_1/7/5 p1 ip-pool-bind epon-olt_1/7/6 p1 ip-pool-bind epon-olt_1/7/7 p1 ip-pool-bind epon-olt_1/7/8 p1 ip-pool-bind epon-olt_1/8/1 p1 ip-pool-bind epon-olt_1/8/2 p1 ip-pool-bind epon-olt_1/8/3 p1 ip-pool-bind epon-olt_1/8/4 p1 ip-pool-bind epon-olt_1/8/5 p1 ip-pool-bind epon-olt_1/8/6 p1 ip-pool-bind epon-olt_1/8/7 p1 ip-pool-bind epon-olt_1/8/8 p1 ip-pool-bind epon-olt_1/9/1 p1 ip-pool-bind epon-olt_1/9/2 p1 ip-pool-bind epon-olt_1/9/3 p1 ip-pool-bind epon-olt_1/9/4 p1 ip-pool-bind epon-olt_1/9/5 p1 ip-pool-bind epon-olt_1/9/6 p1 ip-pool-bind epon-olt_1/9/7 p1 ip-pool-bind epon-olt_1/9/8 p1 ip-pool-bind epon-olt_1/12/1 p1 ip-pool-bind epon-olt_1/12/2 p1 ip-pool-bind epon-olt_1/12/3 p1 ip-pool-bind epon-olt_1/12/4 p1 ip-pool-bind epon-olt_1/12/5 p1 ip-pool-bind epon-olt_1/12/6 p1 ip-pool-bind epon-olt_1/12/7 p1 ip-pool-bind epon-olt_1/12/8 p1 ip-pool-bind epon-olt_1/13/1 p1 ip-pool-bind epon-olt_1/13/2 p1 ip-pool-bind epon-olt_1/13/3 p1 ip-pool-bind epon-olt_1/13/4 p1 ip-pool-bind epon-olt_1/13/5 p1 ip-pool-bind epon-olt_1/13/6 p1 ip-pool-bind epon-olt_1/13/7 p1 ip-pool-bind epon-olt_1/13/8 p1 ip-pool-bind epon-olt_1/14/1 p1 ip-pool-bind epon-olt_1/14/2 p1 ip-pool-bind epon-olt_1/14/3 p1 ip-pool-bind epon-olt_1/14/4 p1 ip-pool-bind epon-olt_1/14/5 p1 ip-pool-bind epon-olt_1/14/6 p1 ip-pool-bind epon-olt_1/14/7 p1 ip-pool-bind epon-olt_1/14/8 p1 ip-pool-bind epon-olt_1/15/1 p1 ip-pool-bind epon-olt_1/15/2 p1 ip-pool-bind epon-olt_1/15/3 p1 ip-pool-bind epon-olt_1/15/4 p1 ip-pool-bind epon-olt_1/15/5 p1 ip-pool-bind epon-olt_1/15/6 p1 ip-pool-bind epon-olt_1/15/7 p1 ip-pool-bind epon-olt_1/15/8 p1 ip-pool-bind epon-olt_1/16/1 p1 ip-pool-bind epon-olt_1/16/2 p1 ip-pool-bind epon-olt_1/16/3 p1 ip-pool-bind epon-olt_1/16/4 p1 ip-pool-bind epon-olt_1/16/5 p1 ip-pool-bind epon-olt_1/16/6 p1 ip-pool-bind epon-olt_1/16/7 p1 ip-pool-bind epon-olt_1/16/8 p1 ip-pool-bind epon-olt_1/17/1 p1 ip-pool-bind epon-olt_1/17/2 p1 ip-pool-bind epon-olt_1/17/3 p1 ip-pool-bind epon-olt_1/17/4 p1 ip-pool-bind epon-olt_1/17/5 p1 ip-pool-bind epon-olt_1/17/6 p1 ip-pool-bind epon-olt_1/17/7 p1 ip-pool-bind epon-olt_1/17/8 p1 向ONU下发IPonu-type ZTE-F400 epon description 4FEonu-type-if ZTE-F400 eth_0/1onu-type-if ZTE-F400 eth_0/2onu-type-if ZTE-F400 eth_0/3onu-type-if ZTE-F400 eth_0/4onu-type F407 epon description 2FE,1POTSonu-type-if F407 eth_0/1onu-type-if F407 eth_0/2onu-type-if F407 pots_1/1onu-type F417 epon description 4FE,2POTSonu-type-if F417 eth_0/1onu-type-if F417 eth_0/2onu-type-if F417 eth_0/3onu-type-if F417 eth_0/4onu-type-if F417 pots_1/1onu-type-if F417 pots_1/2onu-type F427 epon description 4FE,2POTS,WIFIonu-type-if F427 eth_0/1onu-type-if F427 eth_0/2onu-type-if F427 eth_0/3onu-type-if F427 eth_0/4onu-type-if F427 pots_1/1onu-type-if F427 pots_1/2onu-type 220G epon description 4FE,2POTS,WIFIonu-type-if 220G eth_0/1onu-type-if 220G eth_0/2onu-type-if 220G eth_0/3onu-type-if 220G eth_0/4onu-type-if 220G pots_1/1onu-type-if 220G pots_1/2onu-type 221G epon description 2FE,1POTSonu-type-if 221G eth_0/1onu-type-if 221G eth_0/2onu-type-if 221G pots_1/1onu-type 226G epon description 4FE,2POTSonu-type-if 226G eth_0/1onu-type-if 226G eth_0/2onu-type-if 226G eth_0/3onu-type-if 226G eth_0/4onu-type-if 226G pots_1/1onu-type-if 226G pots_1/2onu-type 321R epon description 2FE,1POTSonu-type-if 321R eth_0/1onu-type-if 321R eth_0/2onu-type-if 321R pots_1/1onu-type 342R epon description 4FE,2POTSonu-type-if 342R eth_0/1onu-type-if 342R eth_0/2onu-type-if 342R eth_0/3onu-type-if 342R eth_0/4onu-type-if 342R pots_1/1onu-type-if 342R pots_1/2onu-type 346R epon description 4FE,2POTS,WIFIonu-type-if 346R eth_0/1onu-type-if 346R eth_0/2onu-type-if 346R eth_0/3onu-type-if 346R eth_0/4onu-type-if 346R pots_1/1onu-type-if 346R pots_1/2onu-type P800 epon description 4FE,2POTS,WIFIonu-type-if P800 eth_0/1onu-type-if P800 eth_0/2onu-type-if P800 eth_0/3onu-type-if P800 eth_0/4onu-type-if P800 pots_1/1onu-type-if P800 pots_1/2onu-type R200 epon description 4FE,2POTS,WIFIonu-type-if R200 eth_0/1onu-type-if R200 eth_0/2onu-type-if R200 eth_0/3onu-type-if R200 eth_0/4onu-type-if R200 pots_1/1onu-type-if R200 pots_1/2onu-type R201 epon description 4FE,2POTSonu-type-if R201 eth_0/1onu-type-if R201 eth_0/2onu-type-if R201 eth_0/3onu-type-if R201 eth_0/4onu-type-if R201 pots_1/1onu-type-if R201 pots_1/2ex新增ONU类型acl standard number 1 rule 10 permit 123.124.120.64 0.0.0.31exacl standard number 99 rule 10 permit 123.124.120.64 0.0.0.31 rule 20 permit 10.169.104.0 0.0.0.255访问控制列表exline telnet access-class 99line telnet idle-timeout 5snmp-server access-list 1 Telnet 允许的最大数和失联时间访问列表加在SNMP里igmp enableigmp mvlan 4000igmp mvlan 4000 enableigmp mvlan 4000 work-mode proxyigmp mvlan 4000 host-ip 0.0.0.0igmp mvlan 4000 max-group 1024igmp mvlan 4000 group-filter enableigmp mvlan 4000 group 239.1.1.1 to 239.1.1.255igmp mvlan 4000 group 239.2.1.1 to 239.2.1.255igmp mvlan 4000 group 239.3.1.1 to 239.3.1.255igmp mvlan 4000 source-port smartgroup2 mvlan-translate 4000 to 3996配置IPTV组播数据mpnat onu-telnet idle-time 5ONU远程登录的空闲时间为5fan speed-percent-set 75 80 85 90风扇转速分75808590Auto-write enableAuto-write 00:00:00 everyday自动保存snmp-server packetsize 3000security port-protect enableSNMP保护cpe task V2P2T2Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T2Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T6DG_Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T6DG_Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T6Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T6Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T7BJ_Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T7BJ_Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T7Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T7Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T7HG_Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T7HG_Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T7ZY_Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T7ZY_Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V2P2T8Haction Update-reonline equipment-type F420match-vertag Equal V2.0.0P2T8Hparallel-limitation 16mode Bothrange neservice-type EPONvendor-name ZTEversion-file V2P2T7CP.bintask addexitcpe task V3P1T4Haction Update-reonline equipment-type F420match-vertag Equal V3.30.00P1T4Hparallel-limitation 16mode Bothrange

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论