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

H3C S5830V2[S5820V2]系列以太网交换机 典型配置举例-Release22xx系列-6W100

目录

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

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

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S5800/S5830V2/Configure/Typical_Configuration_Example/H3C_S5830V2[S5820V2]-Release22xx-6W100/201403/819617_30005_0.htm

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


1 以太网OAM典型配置举例

1.1  简介

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

1.2  适用产品和版本

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

产品

软件版本

S5830V2&S5820V2系列以太网交换机

Release 2208P01,Release 2210

 

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的XGE1/0/1上配置以太网OAM的连接模式为Active。

1.5  配置步骤

(1)     Device A的配置

# 配置端口Ten-GigabitEthernet1/0/1的以太网OAM的连接模式为passive模式,并开启以太网OAM功能。

<DeviceA> system-view

[DeviceA] interface ten-gigabitethernet 1/0/1

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

[DeviceA-Ten-GigabitEthernet1/0/1] oam enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

(2)     配置Device B

# 配置端口Ten-GigabitEthernet1/0/1的以太网OAM的连接模式为active模式(可选,在缺省情况下所有端口的以太网OAM的连接模式都为Active模式),并开启以太网OAM功能。

<DeviceB> system-view

[DeviceB] interface ten-gigabitethernet 1/0/1

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

[DeviceB-Ten-GigabitEthernet1/0/1] oam enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

1.6  验证配置

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

[DeviceA] display oam configuration

---------------- [Global] ----------------

 OAM timers

   Hello timer        : 1000 milliseconds

   Keepalive timer    : 5000 milliseconds

 Link monitoring

   Errored symbol period

     Window           : 100 x 1000000 symbols

     Threshold        : 1 error symbols

   Errored frame

     Window           : 10 x 100 milliseconds

     Threshold        : 1 error frames

   Errored frame period

     Window           : 1000 x 10000 frames

     Threshold        : 1 error frames

   Errored frame seconds

     Window           : 600 x 100 milliseconds

     Threshold        : 1 error seconds

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

[DeviceB] display oam link-event remote

----------- [Ten-GigabitEthernet1/0/1] -----------

 Link status: UP

 OAM remote errored frame event

   Event time stamp        : 5789 x 100 milliseconds

   Errored frame window    : 10 x 100 milliseconds

   Errored frame threshold : 1 error frames

   Errored frame           : 3 error frames

   Error running total     : 35 error frames

   Event running total     : 17 events

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

1.7  配置文件

·     DeviceA

#

interface Ten-GigabitEthernet1/0/1

 oam mode passive

 oam enable

·     DeviceB

#

interface Ten-GigabitEthernet1/0/1

 oam enable

 

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

新华三官网
联系我们