栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

华为GPON-MA5680T开局配置

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

华为GPON-MA5680T开局配置

基本配置:
enable
config
 board confirm 0 //确认板卡
 display board 0 
//待所有单板状态Normal后再进行后续配置,备用主控板因同步需要时间稍长
switch language-mode       //设置语言模式
sysname    XXX   //修改设备名称
terminal user name      
//添加操作用户,按要求输入密码
level       //用户基本,一般2级,管理员3级
Permitted Reenter Number(0-4): 4     //设置用户名可重复登录次数,一般选择4
 snmp-agent community read  JLR_U2000
 snmp-agent community write JLW_U2000
 snmp-agent target-host trap-hostname U2000 address 172.x.x.x udp-port 162 trap-paramsname U2000
 snmp-agent target-host trap-paramsname U2000 v2c securityname  public 
 snmp-agent trap enable standard
//SNMP参数配置
 ring check enable
 autosave interval on
打开ONT自动迁移功能、全局环路检查和自动保存
protect-group  protect-target  as-mainboard  workmode  portstate
protect-group  member  board 0/8 role work
protect-group member board 0/7 role  protect
protect-group  enable
quit
//主控板做上行时,设置8槽位主控板一直为主用

1、创建vlan,定义属性,透传至上联口
 vlan 45 standard
  //网管VLAN
 vlan 1300 to 1340 smart
 //业务VLAN,双层qinq
 vlan attrib 1300 to 1340 q-in-q
 port vlan 45 0/17 0
 port vlan 1300 to 1340 0/17 0  
  //上联口透传业务和网管vlan
interface vlanif45
 ip address 10.10.10.1 255.255.255.0
ip route-static 0.0.0.0 0.0.0.0 10.10.10.254 preference 50

2、创建线路模板并绑定DBA模板
 dba-profile add profile-id 10 type3 assure 10240 max  1024000
 ont auto-migration enable
//DBA有五种类型:type1固定带宽,type2保证带宽,type3保证带宽+最大带宽值
type4仅设定最大带宽模式,type5为3种模式的综合即在保证带宽的同时采用固定带宽模式。
 ont-lineprofile gpon profile-id 10 
  tr069-management enable
  tcont 0 dba-profile-id 10
  gem add 0 eth tcont 0 encrypt on
  gem mapping 0 1 vlan 1
  gem mapping 0 2 vlan 2
  gem mapping 0 3 vlan 3
  gem mapping 0 4 vlan 4
  commit
  quit        

 ont-lineprofile gpon profile-id 3 
  tcont 1 dba-profile-id 11
  gem add 1 eth tcont 1
//gem port 1 绑定tcont 1
  gem mapping 1 0 vlan 8
  gem mapping 1 1 vlan 45
//gemport的第0个索引号与vlan 8映射
//gemport的第1个索引号与vlan 45映射
  commit
  quit

3、创建业务模板
 ont-srvprofile gpon profile-id 2 
  ont-port eth 4 catv adaptive 8 
  commit

4、ONT自动发现注册
 interface gpon 0/1
 port 0 ont-auto-find enable
 auto-service-port port 0 vlan 1300 double-vlan from-vlan 2001 onu-vlan-num 4 
inbound traffic-table index 6 outbound traffic-table index 6

//从onu上来的vlan经过转换后再加上外层vlan

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/511236.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号