欢迎来到天天文库
浏览记录
ID:48386076
大小:92.00 KB
页数:19页
时间:2019-07-24
《最详细的C300开局脚本.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、en(密码zxr10)进入特权模式ZXAN#dircfg查看是否有过配置如果看到startrun.savstartrun.dat那么表示有配置,需要删除配置,然后重启设备ZXAN#:deletecfgstartrun.savZXAN#:deletecfgstartrun.dat删除配置Reboot重启设备重启完之后en(密码zxr10)进入特权模式oconfigureterminal进入全局模式add-rackrackno1racktypeIEC19添加机架add-shelfrackno1shelfno1shelftypeIEC_SHELF添加框add-car
2、drackno1shelfno1slotno0PRWGadd-cardrackno1shelfno1slotno1PRWGadd-cardrackno1shelfno1slotno2ETGOadd-cardrackno1shelfno1slotno3ETGOadd-cardrackno1shelfno1slotno4ETGOadd-cardrackno1shelfno1slotno5ETGOadd-cardrackno1shelfno1slotno6ETGOadd-cardrackno1shelfno1slotno7ETGOadd-cardrackno1she
3、lfno1slotno8ETGOadd-cardrackno1shelfno1slotno9ETGOadd-cardrackno1shelfno1slotno12ETGOadd-cardrackno1shelfno1slotno13ETGOadd-cardrackno1shelfno1slotno14ETGOadd-cardrackno1shelfno1slotno15ETGOadd-cardrackno1shelfno1slotno16ETGOadd-cardrackno1shelfno1slotno17ETGOadd-cardrackno1shelfno1
4、slotno18CICGadd-cardrackno1shelfno1slotno19GUSQadd-cardrackno1shelfno1slotno20GUSQ添加板卡,如果当前插槽上没有板卡的话,就不要添加hostnameMXYQQ-C300-16设备命名命名规则为:局名缩写+分区缩写-设备名称-序列号vlandatabasevlan1,6,9-39,2010-2039,2500-2699,3991-3992vlan3997,4000ex创建VLANinterfacevlan9ipaddress10.169.104.41255.255.255.0ex进入
5、VLAN9(OLT管理vlan)添加IP地址和子网掩码interfacevlan3997ipproxy-arpEx进入VLAN3997(VLAN3997为语音)开启代理ARPinterfacevlan6ipaddress172.16.0.1255.255.224.0ex进入VLAN6(ONU管理VLAN)添加IP地址mpnatonu-mng-vlan6定义VLAN6为ONU管理VLANiproute123.124.120.0255.255.255.010.169.104.1ntpserver123.124.120.66ntpsource10.169.104.4
6、1ntpenable添加静态路由添加时间同步服务器开启时间同步clocktimezoneBJT80时区为北京时间interfacevlan3991ipaddress10.100.60.154255.255.255.252ipospfhello-interval3ipospfnetworkpoint-to-pointex进入VLAN3991(VLAN3991为OSPF通讯VLAN)添加ip地址ospf每三秒发送一次hello报文osfp为点对点模式interfacegei_1/19/1switchportmodehybridswitchportdefaultvl
7、an3991nonegotiationautoduplexfullspeed100ex进入1筐19槽1口接口模式为混合模式对VLAN3991进行剥离标签关闭接口自动协商全双工模式速率为100M?interfacevlan3992ipaddress10.100.60.158255.255.255.252ipospfcost10000ipospfhello-interval3ipospfnetworkpoint-to-pointex进入VLAN3992(VLAN3992为OSPF通讯VLAN)添加ip地址OSPF-COST值设定10000ospf每三秒发送一次he
8、llo报文osfp为点对点模式inte
此文档下载收益归作者所有