tip

华为WLAN指导设计 来源:华为星火计划培训

华为WLAN设计
网优网归 场景规划
方案设计

【资料简介】华为Wlan网络网规网优技术、场景规划与方案设计,从0开始设计到交付,一本完完整整的学习教材,建议从事无线学习的同学学习..

马上观看
zon

华为WLAN专题集锦 专题:华为WLAN

WLAN配置
组网模式解析
组网配置案例

【华为无线】本指南详细介绍每个模版的命令解释及用途,在加上十多种精彩案例分享及解释,再加上网优网归,让你彻底脱盲,不在为无线..

马上观看
zon

家园VBook中心 分类:书籍中心

教材 案例 题库
知识 专业认证
资源价值

【中心简介】家园Vbook书籍中心是以收集和整理互联网上优秀书籍,以最好的知识推荐给你学习,让你在学习的路程上事半功倍,告别枯燥,早..

马上观看
tip

华为HCIE认证之路 分类:华为认证

HCIE学习之路
华为 路由 交换
含金量最大的资料

【学习介绍】在中国拥有一张证书不是梦,冰冻三尺,非一日之寒,要拥有一张认证所具备含金量技术水准那是需要多年的经年积累,本书专为你分享..

马上观看
tip

华三无线专题报告 发布:建哥哥

华三
H3C WLAN AC
无线专题

【资料简介】大好河山、无线风光,主要介绍H3C无线,从基础到高级配置及组网模式配置案例,多达200篇案例配置,从此告别对无线的迷茫..

马上观看
★浏览次数:200 次★  发布日期:2015-04-25
 当前位置:技术资料 > 网络工程 > Huawei > 正文
 
最近更新
    正在更新...
 

华为ME60设备配置业务跟踪

 

应用环境

业务跟踪是一种业务调试、诊断、检错的手段,主要用于维护人员定位用户在接入过程中出现的问题。业务跟踪能够将特定用户在接入过程中的状态变化、协议处理结果等信息输出到终端或服务器,供维护人员进行参考、分析。

配置思路

采用以下思路进行配置:

》打开终端调试开关

》启用业务跟踪功能

》创建业务跟踪对象。

》跟踪对象是具有某些相同属性的用户集合的抽象,比如同一接口板下所有用户可以定义为一个跟踪对象。

======跟踪对象可以根据以下属性定义:

物理接口号

Trunk号

VLAN

PVC

QinQ VLAN

接入方式

用户名

IP地址

MAC地址

一个跟踪对象至少具备上述属性中的一项。您也可以根据多个属性的组合来进行对对象的跟踪。

注意

使用业务跟踪功能将使ME60的性能有一定程度的下降,因此建议只在需要进行问题定位时启用,正常情况下不开启该功能。

组网需求

如下图所示,用户使用RADIUS服务器进行认证和计费,从DHCP服务器上获得IP地址,用户经过认证计费后就可以访问网络了。要求分别按照物理接口号、Trunk号、用户VLAN、PVC、QinQ VLAN、接入方式、用户名、IP地址及MAC地址进行业务跟踪。

业务跟踪配置组网图

业务跟踪配置组网图

适用产品和版本

ME60版本为(VRP5.30-13_01)及后续版本。

配置步骤

此处只给出对业务跟踪的配置,用户接入的BAS配置和交换机的配置,在此不再赘述。

按照物理接口号进行业务跟踪。首先在物理端口Ethernet 1/0/0下配置PPP的用户接入。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照物理接口号进行业务跟踪。

[ME60] trace object interface Ethernet 1/0/0

#Jan 19 14:40:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=1,ipAddr=255.255.255.255).

# 当有用户从Ethernet 1/0/0接口上下线的时候将可以跟踪到该用户。

按照Trunk号进行业务跟踪。首先创建Eth-Trunk 10并将Ethernet 1/0/0捆绑到该接口下,在Eth-Trunk 10接口下配置PPP的用户接入。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照Trunk号进行业务跟踪。

[ME60] trace object interface Eth-Trunk 10

#Jan 19 14:41:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=2,ipAddr=255.255.255.255).

按照user-vlan进行业务跟踪,用户带VLAN 100上线。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照user-vlan进行业务跟踪。

[ME60] trace object  user-vlan 100

#Jan 19 14:42:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=3,ipAddr=255.255.255.255).

按照PVC进行业务员跟踪,用户通过PVC 10/100上线

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照PVC进行业务跟踪。

[ME60] trace object pvc 10/100

#Jan 19 14:43:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=4,ipAddr=255.255.255.255).

按照QinQ VLAN进行业务跟踪,用户带uservlan 100和QinQ 100 上线。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照QinQ Vlan进行业务跟踪。

[ME60] trace object qinq-vlan 100 user-vlan 100

#Jan 19 14:44:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=5,ipAddr=255.255.255.255).

按照接入方式进行业务跟踪,用户以PPPoE的方式接入。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照接入方式进行业务跟踪。

[ME60] trace object access-mode pppoe

#Jan 19 14:45:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=6,ipAddr=255.255.255.255).

# 其他接入方式的配置在这里不再重复,配置方法同上。

按照用户名进行业务跟踪,用户以PPPoE方式接入,用户名为test@ME60。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照用户名进行业务跟踪。

[ME60] trace object  user-name test@ME60

#Jan 19 14:46:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=7,ipAddr=255.255.255.255).

按照IP地址进行业务跟踪。本例按IP地址 10.164.19.1进行跟踪。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照IP地址进行业务跟踪。

[ME60] trace object  ip-address 10.164.19.1

#Jan 19 14:47:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=8,ipAddr=255.255.255.255).

按照MAC地址进行业务跟踪。本例按MAC地址00e0-fc80-36ad进行跟踪。

# 打开终端调试开关。

<ME60> terminal debugging

Info:Current terminal debugging is on

<ME60> terminal monitor

Info:Current terminal monitor is on

# 启用业务跟踪功能。

<ME60> system-view

Enter system view, return user view with Ctrl+Z.

[ME60] trace enable

[ME60]

#Jan 19 14:39:22 2007 ME60 BTRC/6/SWITCHINFO:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1100 The switch of service tracing is ON.

# 创建跟踪对象,按照MAC地址进行业务跟踪。

[ME60] trace object  mac-address 00e0-fc80-36ad

#Jan 19 14:48:57 2007 ME60 BTRC/6/ADDOBJ:OID 1.3.6.1.4.1.2011.2.6.2.200.4.1101 Added one trace object (ObjectIndex=9,ipAddr=255.255.255.255).

上述例子给出了按照单个属性配置业务跟踪,也可以按照多个属性的组合进行业务的跟踪,在此不再赘述。

验证结果

配置完成后,执行display trace object 命令,可以查看配置的业务跟踪信息。如下:

[ME60] display trace object

Object ID      : 0

In slot         : 1 2 3 4 5 6 7 8

MAC Address    : 00e0-fc80-36ad

PVC(VPI/VCI)   : *

IP Address     : *

VRF Index      : *

CID              : *

Calling Number : *

User Name      : *

Interface      : *

QinQ VLAN ID   : *

User VLAN ID   : *

Access Mode    : *

User Tunnel ID : *

Output to command line

 

Total 1, 1 printed

 
建议使用IE8.0以上版本解析 网络QQ群:30573676 家园群:36740144 Elv home systems. 蜀ICP备20009373号 © All Rights Reserved 2012 - By badulip
×

扫二维码,关注微信公众号