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

H3C交换机 典型配置举例-6W100

48-以太网OAM典型配置举例

本章节下载 48-以太网OAM典型配置举例  (120.6 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S10500/S10500/Configure/Typical_Configuration_Example/H3C_Typical_Configuration_Example-6W100/201312/807775_30005_0.htm

48-以太网OAM典型配置举例


1 以太网OAM典型配置举例

1.1  简介

以太网OAM是一种监控网络故障的工具,可以监控两台直连设备之间的链路状态。本章介绍了使用以太网OAM监控链路性能的典型案例。

1.2  适用产品和版本

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

产品

软件版本

S10500系列以太网交换机

Release 1120系列,Release 1130系列,Release 1200系列

S5820X&S5800系列以太网交换机

Release 1808

S5830系列以太网交换机

Release 1115Release 1118

S5500-EI&S5500-SI系列以太网交换机

Release 2220

 

1.3  组网需求

图1-1所示,用户网络和运行商网络通过各自边缘设备Device A和Device B进行相连。使用以太网OAM功能,实现检测Device A和Device B间链路的性能,从而可确定运营商所提供的网络转发能力是否符合与用户签订的SLA(Service Level Agreement),具体需求:

·     运营商网络的边缘设备Device B可以发起建立以太网OAM连接请求。

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

·     运营商管理员可以通过观察一般链路事件统计信息动态地了解链路状态。

图1-1 以太网OAM组网示意图

 

1.4  配置思路

为了方便运营商进行链路检测,本章在Device B的GE1/0/1上配置以太网OAM的连接模式为Active。

1.5  配置步骤

(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的连接模式都为Active模式),并开启以太网OAM功能。

<DeviceB> system-view

[DeviceB] interface GigabitEthernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] oam mode active

[DeviceB-GigabitEthernet1/0/1] oam enable

[DeviceB-GigabitEthernet1/0/1] quit

1.6  验证配置

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

[DeviceA] display oam configuration

Configuration of the link event window/threshold :

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

Errored-symbol Event period(in seconds)           :     1

Errored-symbol Event threshold                    :     1

Errored-frame Event period(in seconds)            :     1

Errored-frame Event threshold                     :     1

Errored-frame-period Event period(in ms)          :     1000

Errored-frame-period Event threshold              :     1

Errored-frame-seconds Event period(in seconds)    :     60

Errored-frame-seconds Event threshold             :     1

 

Configuration of the timer :

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

Hello timer(in ms)                                :     1000

Keepalive timer(in ms)                            :     5000

# 通过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   : 10(100ms)

Errored Frame Threshold   : 1           Errored Frame         : 3

Error Running Total       : 35          Event Running Total   : 17

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

1.7  配置文件

说明

S5500-SI系列交换机不支持port link-mode bridge命令。

 

·     DeviceA

#

interface GigabitEthernet1/0/1

 port link-mode bridge

 oam mode passive

 oam enable

·     DeviceB

#

interface GigabitEthernet1/0/1

 port link-mode bridge

 oam enable

 

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

新华三官网
联系我们