码迷,mamicode.com
首页 > 其他好文 > 详细

华为BRAS产品ME60基本配置命令

时间:2020-03-04 00:29:35      阅读:1304      评论:0      收藏:0      [点我收藏+]

标签:start   qos   ace   method   tar   计费   device   clu   fan   

一、配置dhcp 用户接入拨号网络

PPPOE-DHCPv4服务器的配置思路如下:

  1. 配置本地地址池,包括网关地址、地址范围和DNS服务器地址。
    ip pool nat444_pool bas local
    gateway 100.64.0.1 255.255.0.0
    section 0 100.64.0.2 100.64.255.254
    dns-server 211.137.58.20 211.136.17.107

  2. 配置用户所在的域isp1,包括认证方式和计费方式。
    domain jtkd
    authentication-scheme radius \远程用户拨号认证系统
    accounting-scheme radius \计费方案
    ip-pool nat444_pool

  3. 配置BAS接口,包括用户的接入方式。 \宽带接入服务器
    interface Eth-Trunk1.2120
    pppoe-server bind Virtual-Template 1 \ 接入用户的接口指定虚拟接口模板
    description ZhongYuanLu_MA5680T_CM_PPOE
    traffic-policy HB_CMNET_QOS inbound
    user-vlan 100 3999 qinq 2120 2139
    bas

    access-type layer2-subscriber default-domain authentication jtkd \二层普通用户.

二、配置IPOE用户拨号
IPOE-本地认证静态用户的配置思路如下:

1配置地址池
ip pool cmnet1 bas local
gateway 120.202.46.1 255.255.255.0
section 0 120.202.46.2 120.202.46.254
excluded-ip-address 120.202.46.2 120.202.46.254
dns-server 211.137.58.20 211.136.17.107
2配置认证域
domain cmnet
authentication-scheme none
accounting-scheme none
ip-pool cmnet1

  1. 配置BAS接口
    interface Eth-Trunk11.1900
    description BK_CMNET_IPOE
    traffic-policy HB_CMNET_QOS inbound
    user-vlan 1900 1999
    \remote-backup-profile bk-sw02-cmnet \远端备份模板
    bas

       access-type layer2-subscriber default-domain authentication cmnet
       authentication-method bind                        \\ bind 绑定认证
       ip-trigger      \\ ip报文触发上线是指静态用户通过发送ip报文触发认证过程
        arp-trigger     \\arp
  2. 配置静态用户
    static-user 120.202.46.54 120.202.46.54 gateway 120.202.46.1 interface Eth-Trunk11.1900 vlan 1990 domain-name cmnet detect \detect主动探测用户上线

三、查看用户在线状态的命令

查看在线用户数
【命令】

display access-user
disp access-user interface
dis access-user domain adsl
dis access-user ip-address
查看地址池利用率
命令】
display ip pool
【举例】
<ZY-GZ-YSN3L-BAS-2.MAN.ME60-16>disp ip pool name zyyibaoju
Pool-Name : zyyibaoju
Pool-No : 161
Pool-constant-index: -
Lease : 3 Days 0 Hours 0 Minutes
Frameip-Lease-Manage: disable
NetBois Type : N-Node
Auto recycle : 30
查看认知失败用户
display aaa offline-record username 123456789

查看板卡子卡的信息
display device pic
Pic-status information in Chassis 1:


SLOT PIC Status Type Port_count Init_result Logic_down
1 0 Registered LAN_WAN_10x10GF_B_CARD 10 SUCCESS SUCCESS
2 0 Registered ETH_24xGF_B_CARD 24 SUCCESS SUCCESS
2 1 Registered ETH_24xGF_B_CARD 24 SUCCESS SUCCESS
3 0 Registered LAN_WAN_10x10GF_B_CARD 10 SUCCESS SUCCESS
3 1 Registered LAN_WAN_10x10GF_B_CARD 10 SUCCESS SUCCESS


查看板卡的elabel 信息
<SDLYI-MC-CMNET-RT07-ME60-LZ2>display elabel brief
Slot BoardType BarCode Description

BSU 1 ME03BSUF240A00 210305470110HC000786 BSUF-240
PIC 0 ME03LAXFB0 030UVT10HC001387 BP240-10x10GBase LAN/WAN-SFP+
BSU 2 ME03BSUF120A00 210305463510JC000062 BSUF-100
PIC 0 ME03EFGFB0 030PYJW0J5000204 BP51-A-24xFE/GE-SFP
PIC 1 ME03EFGFB0 030PYJW0J5000126 BP51-A-24xFE/GE-SFP
BSU 3 ME03BSUF240A00 210305470110HC000723 BSUF-240
PIC 0 ME03LAXFB0 030UVT10HC001275 BP240-10x10GBase LAN/WAN-SFP+
PIC 1 ME03LAXFB0 030UVT10J5000297 BP240-10x10GBase LAN/WAN-SFP+
VSU 6 ME03VSUF16000 210305442310J6000077 VSUF160
VSU 11 ME03VSUF8010 210305762910H1000576 VSUF80-T
MPU 17 ME03MPUB4 210305313110H3000035 MPUB
MPU 18 ME03MPUB4 210305313110H3000036 MPUB
SFU 19 ME03SFU200B0 210305392510H3000114 SFUI-200-B
SFU 20 ME03SFU200B0 210305392510H3000113 SFUI-200-B
SFU 21 ME03SFU200B0 210305392510H3000115 SFUI-200-B
SFU 22 ME03SFU200B0 210305392510H3000116 SFUI-200-B
PWR 25
PEM 0 CR52PEMB 2102120560N0H2001426
PEM 1 CR52PEMB 2102120560N0H2001424
PEM 2 CR52PEMB 2102120560N0H2001447
PEM 3 CR52PEMB 2102120560N0H2001427
PWR 26
PEM 0 CR52PEMB 2102120560N0H2001429
PEM 1 CR52PEMB 2102120560N0H2001422
PEM 2 CR52PEMB 2102120560N0H2001443
PEM 3 CR52PEMB 2102120560N0H2001445
FAN 27 CR52FCBH 2102120562N0H2001177
FAN 28 CR52FCBH 2102120562N0H2001178
FAN 29 CR52FCBH 2102120562N0H2001174
FAN 30 CR52FCBH 2102120562N0H2001173

华为BRAS产品ME60基本配置命令

标签:start   qos   ace   method   tar   计费   device   clu   fan   

原文地址:https://blog.51cto.com/1823203/2475129

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!