ME60数据配置规范

更新时间:2023-10-10 23:17:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

ME60业务开展数据配置模板

BRAS数据配置流程:

1.ME60-PPPoEoVLAN业务(PPPOE)

PPPoEoVLAN业务组网,一台计算机通过一台支持802.1Q的交换机之后再接在ME60的端口上面,从计算机出来的报文首先到达交换机,打上相应的VLAN标记之后再送往ME60。用户采用PPP认证方式。

PPPoEoVLAN配置步骤: 创建VT接口

[ME60]interface Virtual-Template 1 设置PPP的验证方式

[ME60-Virtual-Template1]ppp authentication-mode pap 配置本地地址池

[ME60]ip pool huawei2 local

[ME60-ip-pool-huawei2]gateway 172.16.0.1 255.255.0.0 [ME60-ip-pool-huawei2]section 0 172.16.0.2 172.16.0.100 配置认证策略和计费策略为Radius认证 [ME60-aaa]authentication-scheme PPPOE

[ME60-aaa-authen- PPPOE]authentication-mode radius [ME60-aaa] accounting-scheme PPPOE

[ME60-aaa-authen- PPPOE] accounting-mode radius 配置Radius组

[ME60]radius-server group radius1

[ME60-radius-radius1]radius-server authentication 192.168.1.249 1812 [ME60-radius-radius1]radius-server accounting 192.168.1.249 1813 [ME60-radius-radius1]radius-server share-key hello 配置认证域

[ME60-aaa]domain PPPOE

[ME60-aaa-domain-PPPOE]authentication-scheme PPPOE [ME60-aaa-domain-PPPOE]accounting-scheme PPPOE [ME60-aaa-domain-PPPOE]ip-pool huawei2

[ME60-aaa-domain-PPPOE]radius-server group radius1

//以上是开局前的数据配置,以下是单个用户的数据配置

创建子接口

[ME60]interface GigabitEthernet 2/0/1.2 //创建子接口GigabitEthernet 2/0/1.2

将相应的VLAN绑定到子接口

[ME60-GigabitEthernet 2/0/1.2] user-vlan 23 QinQ 100 //S标签为100,C标签为23

绑定VT到子接口

[ME60-GigabitEthernet2/0/1.2]pppoe-server bind virtual-template 1 BAS接口配置

[ME60-GigabitEthernet 2/0/1.2]bas

[ME60-GigabitEthernet 2/0/1.2-bas]access-type layer2-subscriber //二层接入认证

[ME60-GigabitEthernet 2/0/1.2-bas] default-domain authentication PPPOE //认证后域为PPPOE

[ME60-GigabitEthernet 2/0/1.2-bas]authentication-method PPP //认证方式为PPP认证

2.ME60-静态IP业务

私网静态IP业务配置步骤: 创建VT接口

[ME60]interface Virtual-Template 1 设置PPP的验证方式

[ME60-Virtual-Template1]ppp authentication-mode pap 配置本地地址池

[ME60]ip pool huawei3 local

[ME60-ip-pool-huawei3]gateway 172.16.0.1 255.255.0.0 [ME60-ip-pool-huawei3]section 0 172.16.0.2 172.16.0.100 [ME60-ip-pool-huawei3]excluded-ip-address 172.16.0.2 172.16.0.100 配置认证策略和计费策略为Radius认证 [ME60-aaa]authentication-scheme nms

[ME60-aaa-authen- nms]authentication-mode none [ME60-aaa] accounting-scheme nms

[ME60-aaa-authen- nms] accounting-mode none 配置认证域

[ME60-aaa]domain nms

[ME60-aaa-domain-nms]authentication-scheme nms [ME60-aaa-domain-nms]accounting-scheme nms [ME60-aaa-domain-nms]ip-pool huawei3

//以上是开局前的数据配置,以下是单个用户的数据配置

创建子接口

[ME60]interface GigabitEthernet 2/0/1.3 将相应的VLAN绑定到子接口

[ME60-GigabitEthernet 2/0/1.3] user-vlan 23 QinQ 100 绑定VT到子接口

[ME60-GigabitEthernet2/0/1.3]pppoe-server bind virtual-template 1 BAS接口配置

[ME60-GigabitEthernet 2/0/1.3]bas

[ME60-GigabitEthernet 2/0/1.3bas]access-type layer2-subscriber

[ME60-GigabitEthernet 2/0/1.3bas] default-domain authentication nms [ME60-GigabitEthernet 2/0/1.3bas]authentication-method bind

[ME60]static-user 172.16.0.2 172.16.0.2 interface GigabitEthernet 2/0/1.3 vlan 23 detect domain-name nms //PC手工设置IP 172.16.0.2

3.ME60-DHCP免认证(自动获取ip地址用户) 私网静态IP业务配置步骤: 创建VT接口

[ME60]interface Virtual-Template 1 设置PPP的验证方式

[ME60-Virtual-Template1]ppp authentication-mode pap 配置本地地址池

[ME60]ip pool huawei4 local

[ME60-ip-pool-huawei]gateway 172.16.0.1 255.255.0.0 [ME60-ip-pool-huawei]section 0 172.16.0.2 172.16.0.100 配置认证策略和计费策略为Radius认证 [ME60-aaa]authentication-scheme DHCP

[ME60-aaa-authen- DHCP]authentication-mode none [ME60-aaa] accounting-scheme DHCP

[ME60-aaa-authen- DHCP] accounting-mode none 配置认证域

[ME60-aaa]domain DHCP

[ME60-aaa-domain-DHCP]authentication-scheme DHCP [ME60-aaa-domain-DHCP]accounting-scheme DHCP [ME60-aaa-domain-DHCP]ip-pool huawei4

//以上是开局前的数据配置,以下是单个用户的数据配置

创建子接口

[ME60]interface GigabitEthernet 2/0/1.4 将相应的VLAN绑定到子接口

[ME60-GigabitEthernet 2/0/1.4] user-vlan 23 QinQ 100 绑定VT到子接口

[ME60-GigabitEthernet2/0/1.4]pppoe-server bind virtual-template 1 BAS接口配置

[ME60-GigabitEthernet 2/0/1.4]bas

[ME60-GigabitEthernet2/0/0.4-bas]access-type layer2-subscriber

[ME60-GigabitEthernet2/0/0.4-bas] default-domain authentication DHCP [ME60-GigabitEthernet2/0/0.4-bas]authentication-method bind

B.ME60用户限速的方法

注:由于QOS只能绑定到域,因此如果静态用户的带宽要求不一样的话,那也必须使用不同的域。 具体配置如下:

scheduler-profile zhuanxian-10m //配置调度模板

car cir 10240 pir 10240 cbs 1280000 pbs 1280000 upstream //CBS建议设置为CIR的125倍以上。 gts cir 10240 queue-length 65536 //队列深度建议不用配置,由系统自动生成。 #

scheduler-profile zhuanxian-1m //配置调度模板 car cir 1024 pir 1024 cbs 128000 pbs 128000 upstream gts cir 1024 queue-length 65536

qos-profile zhuanxian-10m //配置QOS策略 scheduler-profile zhuanxian-10m #

qos-profile zhuanxian-1m //配置QOS策略 scheduler-profile zhuanxian-1m domain zhuanxian-10m authentication-scheme zhuanxian accounting-scheme zhuanxian ip-pool ceshi ip-pool zhuanxian1 ip-pool zhuanxian2

qos profile zhuanxian-10m //在域下引用 domain zhuanxian-1m

authentication-scheme zhuanxian accounting-scheme zhuanxian ip-pool ceshi ip-pool zhuanxian1 ip-pool zhuanxian2

qos profile zhuanxian-1m //在域下引用

static-user x.x.x.x x.x.x.x interface GigabitEthernet1/0/1.2 vlan 630 detect domain-name zhuanxian-10m static-user x.x.x.x x.x.x.x interface GigabitEthernet1/0/1.2 vlan 630 detect domain-name zhuanxian-1m

本文来源:https://www.bwwdw.com/article/78sf.html

Top