接入网基础知识
文章目录
epon简介
- gpon: 更高的带宽上行1.25g下行2.5g与传输距离(20km)相对于xdsl.
- 分光比:两分光器一个接另一个的话做乘法算出分光比。
- DBA: 动态带宽分配olt的dba 算出相应的时隙分配个onu. 对onu设置在olt中通过oam通道会话进行管理。
gpon简介
- mdu: 路边光交
- 最大物理传输距离40kmolt 与onu 之间
- olt 下行采用广播方式给onu olt要用到加密技术广播中 onu解密 , onu上行通过olt时隙划分tdm(olt测距 确定时延 划分时隙 保证不分发送冲突 dba 动态带宽分配 优先级 提高带宽利用率)
- gpon sn认证与sn+password认证 合法的onu才能进入pon系统 运营商方便管理 网管通过snmp简单网络管理协议
- 组网保护 typeB/C
组播: 在发送者和每一接收者之间实现点对多点网络连接。如果一台发送者同时给多个接收者传输相同的数据,也只需复制一份相同的数据包。它提高了数据传送效率,减少了骨干网络出现拥塞的可能性。
gpon olt 基本操作
- 图形界面:u2000/esight. 命令行:cli系统超级终端或者第三方secure CRT , 远程登录或consolel.
- 串口 网口 (1. 通过olt主控板的etH带外管理ip 2. 带内管理ip通过olt上行板业务上行口登录olt 配vlan三层接口的ip地址)
命令行:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
telnet 192.168.48.148//管理ip远程登录olt enable//从用户进入特权模式 disable退出到用户 config//从特权进入全局配置模式 interface//进入接口配置 quit退出到全局配置 return退出到特权 //? tab键 查询命令 补全命令 display history-command history-command max-size//修改缓存命令行的大小 50 switch langunge-mode//中英文命令模式切换 terminal user-profile(个人资料) add //增加一个用户模板 terminal user name//增加一个用户 display terminal user all display client //查询当前在线用户 client kickoff //踢出用户 1//用户id undo terminal user name//删除用户 sysname olt_bazhong frame set//机架设置 display frame info 0//查询机框信息 display board 0/0/8 //查询指定槽位单板信息 框 槽 端口 board add //增加单板 0/4 board confirm 0//确认所有单板 board delete 删除单板 board reset 复位单板 board prohibt 禁用单板 undo board prohibt 解除禁用单板 //带外管理操作步骤如下: interface meth 0//进入维护网口模式 ip address 10.10.20.1 255.255.255.0//设置维护网口ip地址 quit ip route-static 10.10.21.0 24 10.10.20.254 //目的 掩码 下一跳 //带内管理操作步骤 valan 4000 smart //创建管理vlan smart vlan是所有业务板共用一个vlan port vlan 4000 0/19 0//添加上行端口 interface vlanif 4000//当交换机需要与网络层的设备通信时,可以在交换机上创建基于VLAN的逻辑接口,即VLANIF接口。VLANIF接口属于逻辑接口,逻辑接口是指物理上不存在且需要通过配置建立的接口。 ip address 10.10.30.1 255.255.255.0//设置管理vlann 接口ip地址 quit ip route-static 0.0.0.0 0.0.0.0 10.10.30.254 display ip interface brief //查询设备所有ip地址 display ip interface meth 0 //查询设备某个ip地址 display interface meth 0//查询硬件地址mac //配置安全策略 firewall enable //打开防火墙系统 acl 3000 rule 5 permit ip source 10.10.21.0 0.0.0.255 destination 10.10.20.1 0//允许远程管理终端10.10.21.0 /24 这个网段的可以访问设备 rule 10 deny ip source 10.10.21.1 0//禁止了一个网段内的ip最后一个0代表严格匹配 //应用安全策略 interface vlanif 4000 firewall packet-filter(包过滤器) 3000 inbound (入站) interface meth 0 firewall packet-filter(包过滤器) 3000 inbound (入站) telnet 安全策略 sysman ip-access telnet 10.10.21.1//起始 10.10.21.5//终止
用户通过绑定相应的用户模板来执行对账号的登录时间控制
gpon 终端基本操作
- CAR模板:保证带宽,最大带宽。
- dba模板: 定义上行流量参数,完成上行流量控制即带宽。不同t-cont绑定不同dba模板。
- 线路模板:定义了ont底层线路参数, 决定使用哪个t-cont
业务模板:定义了ont端口类型和数量,端口编号和vlan映射关系
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
display dba-profile all //查询已存在的dba资料 dba-profile add profile-id //增加一个新的dba模板 ont-lineprofile gpon profile-id //增加ont线路模板 tcont//在线路模板下tcont绑定dba模板 2 dba-profile-id 22 gem//增加gem port 绑定到对应的tcont mapping-mode //配置映射模式 vlan //选择vlan gem mapping //配置gem port 和vlna 映射关系 qos-mode //配置qos模式 priority-queue //选择优先级队列关键字 commit //提交生效 quit // 增加A类ont业务模板 ont-srvprofile//创建业务模板并进入 ont-port //配置ont端口能力 port //ont端口vlan 设置 multicast-forward//配置组播(多播)报文vlan 转发模式 utang//选择 imgp-forward//配置igmp报文转发模式 commit quit snmp-profile //ont 添加流程 #interface gpon 0/8 #port :0 :ont-auto-find//自动发现功能打开 :enable #display ont autofind 0 /0 pon 口//查询发现ont #ont confirm //确认已经发现的ont 且绑定线路模板与业务模板 #display ont info 0 all //查看已经添加的ont状态 //两个ont添加例子: //ont维护与查询: #display ont info 0 1
gpon 宽带业务开通与配置
vlan 三种类型
- standard valan只能包含以太网口不能包含gpon业务虚端口。主要用于级联,上行与下行都是以太网口
- smart valan 可以包含多个上行端口及多个业务虚端口。一个vlan对多业务虚端口。主要用于减少对系统vlan数量的占用
- mux valan 可以包含多个上行端口但只能包含一个业务虚端口。一个vlan对一个业务虚端口
vlan 三种属性
- common 只带有一个vlan标签 默认属性
- QinQ 私网的内层vlan在公网穿透 +huawei分配的外层vlan 通常用来开展专线业务,或对用户进行精确绑定。可以通过外层vlan在用户私网间形成二层vpn隧道,实现私网间业务透明传输。也可以通过vlan精确绑定用户或区分业务类型。宽带 onu为为报文加上私网的vlantag, 并上行发送到olt, olt为报文加上公网vlantag,并继续送到上行网络。
- stacking huawei分配的内外两层valan标签 应用于vlan数目的扩展,在上层网络二层工作模式中可以直接通过外层vlan 进行报文转发,提供批发业务能力。iptv
- 传统QinQ业务简单的说就是在原有的802.1Q的报文基础上,再增加一层802.1Q标签头,从而实现私网VLAN透传公网达到二层VPN的应用效果。另一方面它还具有不同私网用户之间相同VLAN不透传,与公网有效分离,最大限度节省VLAN等特点,VLAN Stacking具有QinQ这些优点外更克服了传统QinQ无选择(这里指传统QinQ不会理会报文属于哪个vlan,对所有进入QinQ的端口的带vlan tag标记的报文统一加上第二层tag标签)封装外层标签的缺点。克服了无选择封装qinq标签。
gpon上行复用结构
- 一个pon口可连接多个onu , 一个onu可包含多个t-cont , 一个t-cont包含多个gem port, 每个gem port承载一种业务流,上行带宽基于t-cont来划分。gem帧在olt 与onu之间传送。gem port与业务流映射 valan id 或者 优先级
A类onu的配置 宽带业务配置
B/C类onu配置 宽带业务配置
gpon 语音业务开通与配置
odn 链路检测
新增板卡规划数据__操作流程
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
一、 确定链路 1.display lldp neighbor brief / display current-configuration section port/ display current-configuration section port-config show running-config interface xgei_1/19/1 show vlan-smart-qinq show vlan 2191 show running-config interface xgei_1/20/1 //olt 多条链路确定走哪 2.display current-configuration section bbs/display current-configuration section vlan show running-config section | include vlan // olt确定主端口 3.show interface description | include uT // 查看bas的上联设备走 4.1 display current-configuration section vlan (olt去) show running-config section | include vlan 4.2display current-configuration interface GigabitEthernet 1/0/2 show running-config-interface gei-0/2/0/3 4.3 display vlan 2154 show vlan id 2191 show lldp neighbor|show/display interface description | include uT //dsw确定走哪个上联设备olt去找一个vlan id 或者直接再bas上进端口查看配置信息看vlan id 5. display current-configuration interface Eth-Trunk 9 display current-configuration interface GigabitEthernet 14/0/1 display interface Eth-Trunk 29 二、 规划vlan 1. 1display vlan summary //进bas下联第一个设备dsw 看vlan使用情况 1.2display vlan 2450 /display mac-addres vlan 2450 //查看该vlan创建了是否使用 display current-configuration interface Eth-Trunk 0 2. vlan batch 2150 2450 2550 2750 3250 //创建vlan 3. 上行口://dsw上vlan规划 interface Eth-Trunk 9 display this port trunk allow-pass vlan 2150 2450 2550 2750 3250 下行口: interface XGigabitEthernet 4/0/0 display this port hybrid tagged vlan2150 2450 2550 2750 3250 4.1 display current-configuration interface Eth-Trunk 29.45 //进bas配置 .45 .43 .46依次看 user-vlan 45 qinq 2450 //存在某个业务.45走其他链路的情况 4.2 display current-configuration | begin interface Eth-Trunk29.//不能有空格 5.show running-config interface xgei_2/25 //再进入交换机依次如上2步骤(要记得先创建vlan) switchport hybrid vlan 2133 tag 三、 Olt脚本导入config下 1. 替换vlan id 2. 替换链路主端口槽位号0/17 3. 替换新增板卡槽位号epon 0/3 4. 替换TEST03 四、 检查: show vlan-smart-qinq ingress-port epon-olt_1/15/3 show vlan 2113 display current-configuration section vl display vlan 2113 五、 回复: 数据已规划,请尽快录入资源。 |
文章作者 周军
上次更新 2020-06-25