阿尔卡特AK7750业务配置总结

更新时间:2023-06-27 19:40:07 阅读: 评论:0

===================================================前提说明===============================================================================================
现在苏州移动的城域网架构是NE5000E做地市双核心,为二级备份反射器组,省为一级,接入设备OLT双上行
链路聚合的形式上行到俩个同种BRAS的,这样对BRAS节点和业务都有保护作用。
<<<<<<<<<<<<<<<<<<<<<<;下面对城域网BRAS-阿尔卡特AK7750承载的城域网业务做下学习总结,便于以后城域网维护>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-------------------1:OLT管理业务:-----------------------------------------------
说明:这个是主备BRAS都承载的,原则是VLAN区分主为2,备用侧为3.
端口配置:
port 1/1/9     
description "YuXi_ZX_OLT"
ethernet
mode access    // 配置端口模式
encap-type qinq  //配置端口qinq模式
egress-scheduler-policy "egress"  //业务接入接口引用接口队列调度策略
access
egress    //业务接入接口 出方向 引用”pppoe”BRAS业务调度策略
queue-group "pppoe" create
host-match dest "pppoe" create
exit
exit
exit
南宁旅游no autonegotiate
exit
no shutdown
exit
LAG配置,将端口加入到LAG中:
lag 9
description "YuXi_ZX_OLT"
mode access    // 设置access模式
encap-type qinq  //设置qinq模式
access
adapt-qos link ////修改链路模式为adapt-qos,所有LAG都需要设置此链路模式,OLT新上线时,
配置LAG需配置此条命令。
exit
port 1/1/9 // 将需捆绑的端口放入
.... lacp active administrative-key 32770 //扩容时需要再加入一个端口,并起LACP协议,设置lacp协议key
no shutdown 
exit
业务对应的customer ID设置:
rvice
 customer 10 create             
description "to-ies"
exit
创建一个IES并关联customer ID:
ies 101102 customer 10 create       
interface "WangFuGe OLT"  create  //创建一个interface或者subscriber interface
address 10.35.6.29/30  //OLT网关地址
sap lag-2:2.0 create //定义一个SAP(SAP是用户业务接入点,)把lag-2:2.0 放入
exit
exit
no shutdown  //启用业务
exit
***********
通过black_hole汇聚路由:
router# static-route 2.2.2.0/24 black-hole preference 240(做静态黑洞路由,并进行汇聚后导入BGP。减少由于端口UP/DOWN引起路由震荡)
《路由策略:》
策略原则:1、路由策略编辑以begin开始commit结束。
2、业务路由导入优先选择汇聚路由,可先用静态黑洞
路由进行汇聚。
3、业务路由导入采用精确发布的方式,所有不在精确路由的IP前缀列表中的路由将默认拒绝发布。
配置思路:1、配置一组前缀列表,名称以业务导入路由命名。如ies2bgp,是将专线业务
的路由 发布你要淡定
2、前缀列表中包含发布的精确路由。
3、配置一个策略,名称和前缀列表一致
4、策略的条目以10开始,并以10为步长以便后期插入策略。
5、明确配置路由的from和要导入的目标路由协议,并明确动作。
6、设置默认的拒绝策略。
通过策略对路由进行发布:
router
policy-options
begin
prefix-list "ies2bgp"
prefix 112.4.10.112/30 exact
exit
commit
exit
router
policy-statement "ies2bgp" // 创建策略
entry 10
艺术爱好
from
prefix-list "ies2bgp"
exit
to
protocol bgp  //导入BGP
exit
action accept  //明确动作
next-hop-lf
exit
exit
default-action reject  //默认不匹配的拒绝
exit
commit
exit       
在BGP路由协议中使用export命令将编辑的策略进行应用;
router
汉宣帝陵bgp 
bgp group "PgRR_L2"
export "ies2bgp"
-
----------------2:ONU管理NMS业务:-----------------------------------------------------------------
《说明:NMS业务本次不作为备份业务,在主用侧配置就行了。》
ies 101102 customer 10 create
subscriber-interface "LiShu-OLT-ONU-nms" create //subscriber-interface情况,名称为ip_IP地址,如ip_1.1.1.1/24,
此配置为多个vlan提供同一个网关,并对每vlan所使用的IP进行限制
description "LiShu-OLT-ONU-management"
address 10.1.96.1/24  //ONU管理网段的网关地址     
group-interface "LiShu-OLT-ONU-0/3/0" create
description "TianYunHuaYuan-ONU-0/3/0"
sap lag-2:1030.10 create
anti-spoof nh-mac
static-host ip 10.1.96.2 create
no shutdown
exit
static-host ip 10.1.96.3 create
no shutdown
exit
static-host ip 10.1.96.4 create
no shutdown
exit
exit
exit
group-interface "LiShu-OLT-ONU-0/3/1" create
description "TianYiYuan-ONU-0/3/1"
sap lag-2:1031.10 create
anti-spoo
f nh-mac
static-host ip 10.1.96.23 create
no shutdown
exit
static-host ip 10.1.96.24 create
no shutdown
有哪些古诗
exit
static-host ip 10.1.96.25 create
no shutdown
exit
static-host ip 10.1.96.26 create
no shutdown
exit
exit
通过策略对路由进行发布:
static-route 10.1.96.0/24 black-hole
router
policy-options
begin
prefix-list "ies2bgp"
prefix 10.1.96.0/24 exact
exit
commit
exit 
-----------------3:语音业务VOIP配置:------------------------------------------------------------
《说明:VOIP业务不做业务备份只在主用侧配置》
ies 101102 customer 10 create
subscriber-interface "YJL-HW-OLT-ONU-voip" create
description "YJL-HW-OLT-ONU-voip"
address 10.35.189.1/25
group-interface "YangJinLi-HW-OLT-0/4/2" create
description "DingChangLvYou"
sap lag-2:1042.4001 create //规范为语音业务为单层(4001)配置,后期会结合客响班完成全部整改
anti-spoof nh-mac
static-host ip 10.35.189.2 create
no shutdown
exit
exit
exit
group-interface "YangJinLi-HW-OLT-voip" create
sap lag-2:4001.0 create
ingress
qos 152 //所有voip的SAP接口引用入方向QoS策略
exit
egress
qos 152 //所有voip的SAP接口引用出方向QoS策略
鹅用英语怎么说
exit
anti-spoof nh-mac
static-host ip 10.35.189.3 create  //静态地址绑定
no shutdown
exit
static-host ip 10.35.189.4 create
no shutdown
exit
static-host ip 10.35.189.5 create
no shutdown
exit
static-host ip 10.35.189.6 create
no shutdown
exit
static-host ip 10.35.189.7 create
no shutdown
exit
exit
exit
exit
通过策略对路由进行发布:
static-route 10.35.189.0/25 black-hole
router
policy-options
begin
毕业了prefix-list "ies2bgp"
prefix 10.35.189.0/25 exact
exit
commit
exit 
--
----------------4:专线业务配置:-------------------------------------------------
《说明:专线业务双归后是冷备份,原则是:主备BRAS都配置,但是备用侧子接口下shutdown,业务路由不
发布,待出现主brass节点和主链路故障时,手动切换到备用侧。》
ies 101102 customer 10 create 
interface "SJ-OLT-0/2/2-vlan501" create
description "WeiGeGaoChunQiTi"
address 112.4.81.153/30
condary address 112.25.156.201/29
sap lag-2:1022.501 create  / /若是备用侧需要将业务接口shutdown掉
shutdown
exit
urpf-check
exit
exit
通过策略对路由进行发布:
static-route 112.4.81.152/30 black-hole //防止路由震荡
router
policy-options
begin
prefix-list "ies2bgp"
prefix 112.4.81.152/30 exact
exit
commit
exit 
------------------5:自建用户pppoe业务配置相关信息:---------------------------------------------
《说明:pppoe业务是按照域的方式开通的,也是此次双归热备的业务。原理就是对pppoe业务的5种报文中的PADO
报文延迟时间进行设置来实现,规范配置就是根据用户外层VLAN的奇偶性来区分,奇数VLAN在主用侧不延
迟,但是在备用侧pado delay 30 ;偶数VLAN刚好相反。》
相关策略设置:
***********
1:authentication policy:认证策略,同时定义与radius rver通讯参数
(认证策略相关的参数大致可以分为两类,一类是BAS与radius rver通信所需参数,包括 radius rver
的IP地址,通信密码,udp端口号等。另一类是BAS在认证时上送的属性,以及pppoe认证的方式等。)
config
subscriber-mgmt 
authentication-policy "auth-policy-1" create  //定义radius认证策略
radius-authentication-rver
source-address 221.178.235.50  //与radius通讯源地址,一般system地址
        rver 1 address 221.131.129.184 cret "XXX" hash2//设置用于认证的radius服务器地址
rver 2 address 211.138.200.18 cret " XXX " hash2
exit
pppoe-access-method pap-chap      //设置pppoe认证模式为 pap-chap模式
include-radius-attribute            // 定义BAS发送认证报文携带的属性
circuit-id
remote-id
nas-port-id prefix-string "hsi -"  //  增加前缀
nas-identifier
mac-address
exit
exit
说明:认证策略在rvice的ies300下的俩个group-interace中引用。
*********
2:radius accounting policy:计费策略,同时定义与radius accounting rver通
讯参数
(计费策略配置内容与认证策略类似,相关参数也大致分为两类,一类是BAS与radius rver通信所需参数,
包括radius rver的IP地址,通信密码,udp端口号等。另一类是BAS在计费时上送的属性等。)
config
subscriber-mgmt
radius-accounting-policy "acc-policy-1" create //定义radius accounting计费策略
radius-accounting-rver            // 指定用于计费的服务器
source-address 221.178.235.50  //与radius通讯源地址,一般system地址
        rver 1 address 221.131.129.184 cret "XXX" hash2
rver 2 address 211.138.200.18 cret " XXX " hash2
exit
include-radius-attribute              // 指定用于accounting报文的属性
framed-ip-addr
framed-ip-netmask
mac-address
黑人总统奥巴马
nas-identifier
nas-port-id prefix-string "hsi -"
ur-name
exit
ssion-id-format number  //  定义ssion-id的格式
u-std-acct-attributes              //指定使用标准属性上传承载流量信息
exit     
说明:计费策略由Sub-profile调用。
*******
3:sub-ident-policy:用户识别策略, 与sla-profile,sub-profile绑定
(定义了用户的带宽,计费策略。)
config
subscriber-mgmt
sub-ident-policy "sub-ident-local" create  // 定义默认sub-ident-policy
sla-profile-map  //定义从radius返回的sub-profile-string与本地模板对应关系
u-direct-map-as-default //直接映射本地profile模板方式
exit
sub-profile-map //定义从radius返回的sub-profile-string与本地模板对应关系
u-direct-map-as-default ////直接映射本地profile模板方式
exit
exit
说明:sub-ident-profile策略在msap-policy中调用。
*3.1 Sub-profile:用户策略,定义H-qos和计费策略。
(sub-profile主要定义两项内容,radius accounting policy和H-Qos policy,在
每用户多业务的情况下,总带宽通常被限定,各个业务需要根据优先级动态调整带  宽,
这时会用到H-Qos policy。H-Qos policy需要预先配置,sub-profile通过名字引用。
config
subscriber-mgmt
sub-profile "sub-pppoe-2M" create        # 定义sub-profile用户所有用户
radius-accounting-policy "acc-policy-1"//引用前面定义的计费策略模板
exit 
说明:调用sub-profile通过radius返回同名的subscriber-prof-string完成。国内PPPOE业务大都每用户
一个ssion,运营商基于ssion进行带宽限制,在这种情况下,H-Qos policy不用配置,radius

本文发布于:2023-06-27 19:40:07,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1057660.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:业务   策略   路由
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图