微微一笑 发表于 2015-12-20 10:29:33

H3C 以太网OAM配置案例

H3C 以太网OAM配置案例
1. 组网需求·            通过在Device A和Device B上配置以太网OAM功能,实现二者之间链路连通性故障的自动检测;·            通过观察Device A上收到错误帧的情况,来检测Device A与Device B之间的链路性能。2. 组网图图1 以太网OAM典型配置组网图


3. 配置步骤(1)      配置Device A# 在端口GigabitEthernet1/0/1上配置以太网OAM的连接模式为被动模式,并使能以太网OAM功能。<DeviceA> system-view interface gigabitethernet 1/0/1 oam mode passive oam enable quit# 配置错误帧事件的检测周期为20秒,检测阈值为10。 oam errored-frame period 20 oam errored-frame threshold 10(2)      配置Device B# 在端口GigabitEthernet1/0/1上配置以太网OAM的连接模式为主动模式,并使能以太网OAM功能。<DeviceB> system-view interface gigabitethernet 1/0/1 oam mode active oam enable quit(3)      检验配置效果通过使用display oam configuration命令可以查看以太网OAM的配置信息,例如:# 查看Device A上以太网OAM的配置信息。 display oam configurationConfiguration of the link event window/threshold :--------------------------------------------------------------------------Errored-symbol Event period(in seconds)         :   1Errored-symbol Event threshold                  :   1Errored-frame Event period(in seconds)            :   20Errored-frame Event threshold                     :   10Errored-frame-period Event period(in ms)          :   1000Errored-frame-period Event threshold            :   1Errored-frame-seconds Event period(in seconds)    :   60Errored-frame-seconds Event threshold             :   1Configuration of the timer :--------------------------------------------------------------------------Hello timer(in ms)                              :   1000Keepalive timer(in ms)                            :   5000以上显示信息表明:除错误帧事件的检测周期为20秒、检测阈值为10以外,其余参数都为缺省值。通过使用display oam critical-event命令可以查看以太网OAM的紧急链路事件统计信息,例如:# 查看Device A所有端口上以太网OAM的紧急链路事件统计信息。 display oam critical-eventPort      : GigabitEthernet1/0/1Link Status : UpEvent statistic :-------------------------------------------------------------------------Link Fault    :0    Dying Gasp    : 0    Critical Event    : 0以上显示信息表明:Device A与Device B之间的链路上尚未发生过任何紧急链路事件。通过使用display oam link-event命令可以查看以太网OAM的一般链路事件统计信息,例如:# 查看Device B所有端口上以太网OAM的一般链路事件的远端统计信息。 display oam link-event remotePort :GigabitEthernet1/0/1Link Status :UpOAMRemoteErrFrameEvent : (ms = milliseconds)---------------------------------------------------------------------Event Time Stamp          : 5789      Errored Frame Window   : 10(100ms)Errored Frame Threshold   : 1         Errored Frame         : 3Error Running Total       : 35          Event Running Total   : 17以上显示信息表明:从Device A开始运行时起,总共发生了35次错误,其中错误帧事件有17次,链路性能并不稳定。
京东翰林教育 中国零起点网络专家华为NA NP零起点授课咨询qq:1875816702关注微信公众号:翰林科技教育即可获得华为学习资料,考试试题,高薪就业,月薪4000-8000起

微微一笑 发表于 2016-1-7 16:15:34

{:6_267:}{:6_267:}{:6_267:}

微微一笑 发表于 2016-1-10 16:30:56

{:6_267:}{:6_267:}{:6_267:}

gentlebrother 发表于 2016-1-17 11:22:47

thanks for sharing

微微一笑 发表于 2016-1-27 15:47:45

{:6_267:}{:6_267:}{:6_267:}

微微一笑 发表于 2016-3-14 15:51:54

{:6_267:}{:6_267:}{:6_267:}

819496315 发表于 2016-3-15 08:19:03

谢谢分享
页: [1]
查看完整版本: H3C 以太网OAM配置案例