首页 > 其他分享 >Cisco nexus 7009 端口抖动延时调整

Cisco nexus 7009 端口抖动延时调整

时间:2022-11-28 12:00:42浏览次数:34  
标签:Cisco nexus debounce timer 7009 time interface config port

一、故障描述

   在运营商网络中,长距离的光缆需要经过OTN设备进行长发光传输到达对端设备。在使用的过程中,OTN设备为了保护链路传输会经常的进行端口倒换,如果该操作时间过长会导致N7K在该链路上流量降低到0,链路恢复后又开始缓慢的流量上升,对业务存在很大的隐患。

  光切换的时候设备接口控制器ethpm检测到状态异常会对接口进行shutdown操作然后等待重新协商,协商成功后端口正常UP,协商时间大概3-4秒。并且这在nexus设备上无法关闭,属于正常现象。以下是log信息,以E3/7为例:

VSnet-SW1-N7009 %ETH_PORT_CHANNEL-5-PORT_DOWN: port-channel7: Ethernet3/7 is down
VSnet-SW1-N7009 %ETHPORT-5-IF_BANDWIDTH_CHANGE: Interface port-channel7,bandwidth changed to 10000000 Kbit
VSnet-SW1-N7009 %ETHPORT-5-IF_DOWN_INITIALIZING: Interface Ethernet3/7 is down (Initializing)
VSnet-SW1-N7009 %ETHPORT-5-IF_DOWN_PORT_CHANNEL_MEMBERS_DOWN: Interface port-channel7 is down (No operational members)
VSnet-SW1-N7009 %ETH_PORT_CHANNEL-5-PORT_DOWN: port-channel7: Ethernet3/8 is down
VSnet-SW1-N7009 %ETH_PORT_CHANNEL-5-FOP_CHANGED: port-channel7: first operational port changed from Ethernet3/8 to none


二、端口抖动延时介绍

进过查询文档可以通过修改debounce timer来延迟端口down的时间,关于debounce timer的解释如下

The debounce timer delays notification of a link change, which can decrease traffic loss due to network reconfiguration. You can configure the debounce timer separately for each Ethernet port and specify the delay time in milliseconds. By default, this parameter is set for 100 milliseconds.

去抖动计时器延迟链路通知更改,这可以减少由于网络重新配置造成的流量损失。你可以为每个以太网端口单独配置去抖定时器并指定 以毫秒为单位的延迟时间。默认情况下,此参数设置为 100 毫秒。

三、配置如下

默认的时间是100ms,修改范围是0-5000ms,修改方法参考如下:

Configuring the Debounce Timer

You can enable the debounce timer for Ethernet ports by specifying a debounce time, in milliseconds (ms), or disable the timer by specifying a debounce time of 0.

You can show the debounce times for all of the Ethernet ports by using the show interface debounce

SUMMARY STEPS

1. configure terminal

2. interface ethernet slot/port

3. link debounce time milliseconds

4. show interface debounce

5. exit

6. copy running-config startup-config

DETAILED STEPS

 

 

Command

Purpose

Step 1

configure terminal

 

Example:

switch# configure terminal

switch(config)#

Enters configuration mode.

Step 2

interface ethernet slot / port

 

Example:

switch(config)# interface ethernet 3/1

switch(config-if)#

Specifies an interface to configure, and enters interface configuration mode.

Step 3

link debounce time milliseconds

 

Example:

switch(config-if)# link debounce time 1000

switch(config-if)#

Enables the debounce timer for the amount of time (0 to 5000 ms) specified.

Disables the debounce timer if you specify 0 milliseconds.

Step 4

show interface debounce

 

Example:

switch(config)# show interface debounce

switch(config-if)#

Shows the link debounce time for all of the Ethernet interfaces.

Step 5

exit

 

Example:

switch(config-if)# exit

switch(config)#

Exits the interface mode.

Step 6

copy running-config startup-config

 

Example:

switch(config)# copy running-config startup-config

(Optional) Copies the running configuration to the startup configuration.

This example shows how to enable the debounce timer and set the debounce time to 1000 ms for the Ethernet port 3/1:

switch# configure terminal

switch(config)# interface ethernet 3/1

switch(config-if)# link debounce time 1000

switch(config-if)# 

This example shows how to disable the debounce timer for the Ethernet port 3/1:

switch# configure terminal

switch(config)# interface ethernet 3/1

switch(config-if)# link debounce time 0s

witch(config-if)#

标签:Cisco,nexus,debounce,timer,7009,time,interface,config,port
From: https://blog.51cto.com/u_15866513/5890842

相关文章

  • 国内有没有类似思科Cisco DUO的双因子认证产品?
    DUO是Cisco思科旗下双因子认证(也称MFA,多因素认证)方案,国内有许多企业依旧在用。但随着国内互联网技术飞速发展,网络安全得到国家重视,企业面临着等保合规以及用户体验等多方......
  • New User's Guide to Managing Cisco MDS Zones via CLI
    NewUser'sGuidetoManagingCiscoMDSZonesviaCLI20October2009TowardtheendofAugust2009,Ipostedanarticleon howtoconfigureCiscoMDSzonesv......
  • Cisco FI 6248UP to Nexus 5Ks connectivity
    https://supportforums.cisco.com/discussion/11765826/cisco-fi-6248up-nexus-5ks-connectivityHelloLuke,YoucanupgradeUCSMto2.1.1aHereissampleconfigfo......
  • 用nexus建立maven的私服
    最近研究了下Maven的知识,多数都是老文章,网上的也是互相粘贴,苦了初学者,经过2天的琢磨,终于搭建出了eclipse3.4+maven2+nexus的开发环境,写出心得,只供初学者参考,老鸟们多给点意......
  • nexus-maven-repository-index.zip手动下载与设置
    问题描述:在启动eclipse的时候,在maven控制台经常会看到更新nexus-maven-repository-index.zip,用eclipse更新速度会很慢,甚至有不能完成下载的情况;问题解决:1.在你的eclipse......
  • nexus-2.14.2-01-bundle构建maven私服
    nexus-2.14.2-01-bundle构建maven私服一、下载nexus地址:​​https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/oss/nexus-2.14.8-01-bundle.......
  • nexus 的 maven 配置
    一、仓库类型proxy远程仓库的代理,比如说nexus配置了一个centralrepository的proxy,当用户向这个proxy请求一个artifact的时候,会现在本地查找,如果找不到,则会从远程仓库......
  • maven私仓之Nexus
    1、目的maven的部分依赖可以直接从私仓里进行拉取;私仓中没有就从外部下载到私仓中,再从私仓拉取到本地共享公司内部的私有依赖2、服务器配置mac目录(一般是这目录):/Applicat......
  • 8.jenkins集成nexus
    1.安装nexus1.1下载1.1.1注册1.1.2选择适配的软件1.2安装nexus[root@jenkinslocal]#tarxfnexus-3.43.0-01-unix.tar.gz[root@jenkinslocal]#ln-s/usr......
  • idea打包jar到nexus私服仓库
    因为本地不同项目jar的调用,所以只能搭建私服仓库,nexus-2.12.0-01原有setting.xml配置了阿里云,setting.xml-->servers<server><id>nexus-releases</id......