• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C 中低端以太网交换机 可靠性典型配置指导-6W100

01-OAM典型配置指导

本章节下载 01-OAM典型配置指导  (128.55 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/CE3000/CE3000-EI/Configure/Typical_Configuration_Example/H3C_KKX_CG-6W100/201111/733142_30005_0.htm

01-OAM典型配置指导


1 OAM典型配置指导

1.1  OAM概述

以太网技术自诞生起,以其简单易用、价格低廉等特点逐步成为局域网的主导技术。近年来,随着千兆、万兆以太网技术的相继应用,以太网已经向城域网和广域网方向扩展。

由于以太网最初主要应用于局域网,而局域网对可靠性和稳定性的要求都较低,因此以太网一直缺乏有效的管理维护机制,这已成为以太网应用于城域网和广域网的严重障碍。因此,在以太网上实现OAM(Operation, Administration and Maintenance,操作、管理和维护)成为必然的发展趋势。以太网OAM是一种监控网络故障的工具,目前主要用于解决以太网接入“最后一公里”中常见的链路问题。用户通过在两个点到点连接的设备上启用以太网OAM功能,可以监控这两台设备之间的链路状态。

1.2  OAM典型配置指导

1.2.1  适用产品、版本

表1-1 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.2.2  应用需求

运营商通过检测用户网络边缘设备Device A和运营商网络边缘设备Device B间链路的性能,从而可确定其所提供的网络转发能力是否符合与用户签订的SLA(Service Level Agreement),具体需求:

l              实现自动检测Device A和Device B间链路的连通性;

l              当Device A和Device B中任意一台设备出现紧急链路事件后,另一台设备可接收到该故障信息,从而帮助管理员了解链路状态,并对相应的故障进行处理;

l              验证链路的性能,测试设备Device A收到错误帧的情况。设定Device A在20秒的周期时间内,收到错误帧数达到或多于10时,将向对端Device B发送错误帧事件。

图1-1 OAM组网示意图

 

1.2.3  配置思路

链路的连通性监测、一般链路事件监测以及紧急链路事件监测等功能的实现建立在OAM连接的基础之上,所以要实现上述需求需要做如下工作:

l              在开启OAM功能前需保证至少一端的端口工作模式为Active,以使OAM实体间能正常建立起连接。

l              在Device A的GigabitEthernet 1/0/1端口和Device B的GigabitEthernet 1/0/1端口上开启以太网OAM功能;

l              在Device A上配置错误帧事件周期以及错误帧事件阈值,当有错误帧事件发生时,Device A会向Device B发送一般链路事件通告,管理员可通过Device B远程参看对端接收错误帧情况。

1.2.4  配置过程和解释

1. 配置端口工作模式,并开启OAM功能

为保证OAM实体间能建立起连接,至少有一端端口的工作模式需配置成Active模式。在缺省情况下所有端口的工作模式都为Active。

(1)        Device A的配置

# 配置端口GigabitEthernet1/0/1的以太网OAM工作模式为passive模式,并使能以太网OAM功能。

<DeviceA> system-view

[DeviceA] interface GigabitEthernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] oam mode passive

[DeviceA-GigabitEthernet1/0/1] oam enable

[DeviceA-GigabitEthernet1/0/1] quit

(2)        配置Device B

# 配置端口GigabitEthernet1/0/1的以太网OAM工作模式为缺省模式active,并使能以太网OAM功能。

<DeviceB> system-view

[DeviceB] interface GigabitEthernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] oam enable

[DeviceB-GigabitEthernet1/0/1] quit

2. 配置Device A的错误帧事件的检测参数

# 配置错误帧事件周期为20秒。

[DeviceA] oam errored-frame period 20

# 配置错误帧事件阈值为10。

[DeviceA] oam errored-frame threshold 10

3. 结果显示

# 显示Device A上的以太网OAM全局配置信息。

[DeviceA] display oam configuration

Configuration of the link event window/threshold :

--------------------------------------------------------

Errored-symbol Event period           :     1

Errored-symbol Event threshold        :     1

Errored-frame Event period            :     20

Errored-frame Event threshold         :     10

Errored-frame-period Event period     :     1000

Errored-frame-period Event threshold  :     1

Errored-frame-seconds Event period    :     60

Errored-frame-seconds Event threshold :     1

# 通过Device B显示远端设备Device A的一般链路事件统计信息。

[DeviceB] display oam link-event remote

Port :GigabitEthernet1/0/1

Link Status :Up

OAMRemoteErrFrameEvent : (ms = milliseconds)

---------------------------------------------------------------------

Event Time Stamp          : 5789        Errored FrameWindow   : 200(100ms)

Errored Frame Threshold   : 10           Errored Frame         : 3

Error Running Total       : 35          Event Running Total   : 17

上面的显示信息表明从Device A连接建立后,总共发生了35次错误,其中错误帧事件有17次,链路的性能不稳定。

1.2.5  完整配置

(1)        DeviceA的配置

#

 oam errored-frame period 20

 oam errored-frame threshold 10  

#

interface GigabitEthernet1/0/1

 oam mode passive

 oam enable

(2)        DeviceB的配置

#

interface GigabitEthernet1/0/1

 oam enable

1.2.6  配置注意事项

l              以太网OAM连接只能由active模式的以太网OAM实体发起,而passive模式的以太网OAM实体只能等待对端以太网OAM实体的连接请求;两个passive模式的以太网OAM实体之间是无法建立以太网OAM连接的。

l              在使能了以太网OAM功能的端口上不能改变以太网OAM的连接模式。如需改变连接模式,请先关闭该端口上的以太网OAM功能。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们