//修改上联端口的模式(必须修改)
详细开局脚本参考:https://t.zsxq.com/13akDSHjG 中兴9806H宽带及IPTV开局脚本
9806(config)# uplink-mode cascade master-port 5/1目前发货版本不需要。
//添加组播、点播、网管、PPPOE拨号VLAN
9806# user add添加用户名和账号
Please input username(len<=15):[]fznoc3
Please input password(len<=15):
Please input password again:
Please input access level(1-R,2-R/W):[2]2
9806# user modify修改账号和密码
Please input your password:
Do you need modify your username: yes[Y] or no[N] [N]y
Please input new username(len<=15): [admin]admin
Do you need modify your password: yes[Y] or no[N] [N]y
Please input new password(len<=15):
Please input new password again:
9806(config)#loop-check interval 20 开启环路检测功能时间间隔为20秒
9806(config)# add-vlan 60,3800,2000-2047,695
//把上联口5/1加入所有的业务VLAN里面
9806(config)#vlan 60 5/1 tag //组播VLAN/
9806(config)#vlan 3800 5/1 tag //点播VLAN
9806(config)#vlan 2000-2047 tag //宽带业务VLAN
9806(config)#vlan 695 5/1 tag //网管VLAN
//设置设备的本机管理IP地址及路由
9806(config)# ip subnet 10.*.*.2255.255.252.0 695
9806(config)# ip route 200.0.0.0 255.0.0.0 10.*.*.1
//把用户端口加入到点播和PPPOE拨号的VLAN里面
9806(config)# vlan 2000-2047 1- 2/1-24 untag one-to-one pvc1;(其中的1/1-24表示1槽位的1-24端口,也可以同时设置多个槽位,格式为1-4/1-24即可。one-to-one表示每个端口一个VLAN,顺序设置下去)
9806(config)# vlan3800untag pvc 2
//增加速率模板并修改速率模板的参数(根据局方要求建立和修改速率模板,要修改的地方已经用红色字体标出,只需要配置6M交织模板,其他模板在网管上通过离线模板下发。)