• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

某局点S5560X-54C-EI未配置m-lag查看m-lag命令会有回显

2024-04-08 发表
  • 0关注
  • 0收藏 230浏览
粉丝:0人 关注:0人

组网及说明

版本:R6512P06

问题描述

设备没有配置m-lag,但是相关查看m-lag命令会有回显,导致集团巡检系统认为m-lag异常,实验室验证6628P40的版本如果没有配置m-lag,这些命令回显是M-LAG is not configured。

过程分析

M-lag进程启动状态下,输入m-lag相关命令会有回显。大概率是曾经配置过M-lag相关配置,M-lag进程启动了,后续又取消了M-lag配置。

使用下述命令看看进程是否已启动? 

[H3C-probe]dis process name drnid

                             Job ID: 17609

                                PID: 17682

                         Parent JID: 1

                         Parent PID: 1

                    Executable path: /sbin/drnid

                           Instance: 0

                            Respawn: ON

                      Respawn count: 2

             Max. spawns per minute: 12

                       Last started: Tue Apr  6 00:37:50 2021

                      Process state: sleeping

                          Max. core: 1

                               ARGS: --MaxIssuLockTime=5400

    TID  LAST_CPU    Stack      PRI    State   HH:MM:SS:MSEC  Name          

  17682      0         84K      120      S     0:0:0:210      drnid         

  17683      0         84K      120      S     0:0:0:0        drnid         

  17684      0         84K      120      S     0:0:0:0        drnid          

  17685      0         84K      120      S     0:0:0:0        drnid         

  17686      0         84K      120      S     0:0:0:0        drnid         

  17687      0         84K      120      S     0:0:0:0        drnid         

  17688      0         84K      120      S     0:0:0:0        drnid         

  17689      0         84K      120      S     0:0:0:0        drnid         

 

如果已启动,则进probe视图关闭一下进程

[H3C -probe]process shutdown job 17609           #这里的job id填上面display process name命令回显的id

Manually stopping a process might severely affect device operation. Perform this operation only under the guidance of HIK engineers. Continue? [Y/N]:y

Shutting down process drnid[17682] on slot 1...

Succeeded.

[H3C -probe]

解决方法

probe视图关闭一下进程

[H3C -probe]process shutdown job 17609           #这里的job id填上面display process name命令回显的id

Manually stopping a process might severely affect device operation. Perform this operation only under the guidance of HIK engineers. Continue? [Y/N]:y

Shutting down process drnid[17682] on slot 1...

Succeeded.

[H3C -probe]

删除mdb文件关闭进程

以单机设备示例, 关闭进程方法如下:

 

[H3C]dis dev                                                                                                              

Slot Type              State    Subslot  Soft Ver             Patch Ver                                                  

1    S5560X-54C-EI     Master   0        S5560X-6512P06       None                                                        

[H3C]                                                                                                                    

[H3C]

[H3C]                                                                                                                     

[H3C]                                                                                                                    

[H3C]

1. 未配置drni相关配置时drni进程未启动

                                                                                                  

[H3C]dis process name drnid                                                                                              

The specified process doesn't exist.                                                                                     

[H3C]                                                                                                                                                                                                                           

 

2. 配置drni相关配置时drni进程启动

[H3C]drni standalone enable                                                                                              

[H3C]%Apr  8 05:00:45:105 2021 H3C DRNI/6/DRNI_SYSEVENT_MODE_CHANGE: The device's working mode changed to standalone.    

                                                                                                                          

[H3C]                                                                                                                     

[H3C]                                                                                                                    

[H3C]dis process name drnid

                             Job ID: 526                                                                                  

                                PID: 526                                                                                 

                         Parent JID: 1                                                                                    

                         Parent PID: 1                                                                                   

                    Executable path: /sbin/drnid                                                                          

                           Instance: 0                                                                                   

                            Respawn: ON                                                                                   

                      Respawn count: 1                                                                                   

             Max. spawns per minute: 12                                                                                   

                       Last started: Thu Apr  8 05:00:44 2021                                                            

                      Process state: sleeping                                                                             

                          Max. core: 1                                                                                   

                               ARGS: -                                                                                    

    TID  LAST_CPU    Stack      PRI    State   HH:MM:SS:MSEC  Name                                                       

    526      0         84K      120      S     0:0:0:150      drnid                                                       

    527      0         84K      120      S     0:0:0:0        drnid                                                      

    528      0         84K      120      S     0:0:0:0        drnid

    529      0         84K      120      S     0:0:0:0        drnid                                                      

    530      0         84K      120      S     0:0:0:0        drnid

    531      0         84K      120      S     0:0:0:0        drnid

    532      0         84K      120      S     0:0:0:0        drnid                                                      

    533      0         84K      120      S     0:0:0:0        drnid                                                      

[H3C]                                                                                                                     

[H3C]                                                                                                                    

[H3C]

[H3C]                                                                                                                     

 

3. 删除drni相关配置                                                                                        

[H3C]undo drni standalone enable                                                                                          

[H3C]%Apr  8 05:01:17:513 2021 H3C DRNI/6/DRNI_SYSEVENT_MODE_CHANGE: The device's working mode changed to DR system.     

                                                                                                                          

[H3C]

[H3C]                                                                                                                    

[H3C] 

4. 保存当前配置                                                                                                                    

[H3C]save f                                                                                                              

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

[H3C]                                                                                                                    

[H3C]                                                                                                                     

[H3C]dis dev                                                                                                             

Slot Type              State    Subslot  Soft Ver             Patch Ver                                                   

1    S5560X-54C-EI     Master   0        S5560X-6512P06       None                                                       

[H3C]                                                                                                                     

 

5.查看配置文件名称                                                                                                     

[H3C]dis startup                                                                                                         

MainBoard:                                                                                                               

 Current startup saved-configuration file: NULL                                                                          

 Next main startup saved-configuration file: flash:/startup.cfg

Next backup startup saved-configuration file: NULL

[H3C]                                                                                                                    

[H3C]                                                                                                                     

 

6. 删除对应的mdb文件,注意如果是堆叠环境,需要删除每个堆叠成员的mdb文件                                                                                     

<H3C>delete /unreserved startup.mdb                                                                                      

The file cannot be restored. Delete flash:/startup.mdb? [Y/N]:y                                                          

Deleting the file permanently will take a long time. Please wait...                                                      

Deleting file flash:/startup.mdb... Done.                                                                                

<H3C>                                                                                                                     

<H3C>                                                                                                                    

<H3C>                                                                                                                     

<H3C>                                                                                                                    

<H3C>

 

7. 不保存配置重启                                                                                                                     

<H3C>reboot f                                                                                                            

A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]:y                                        

Now rebooting, please wait......%Apr  8 05:02:12:121 2021 H3C DEV/5/SYSTEM_REBOOT: System is rebooting now.

..                                                                                                                        

Starting......                                                                                                           

Press Ctrl+D to access BASIC BOOT MENU                                                                                    

Press Ctrl+E to start flash test                                                                                         

                                                                                                                          

********************************************************************************                                         

*                                                                              *                                         

*                    H3C S5560X-54C-EI BOOTROM, Version 114                    *

*                                                                              *                                         

********************************************************************************                                         

Copyright (c) 2004-2020 New H3C Technologies Co., Ltd.                                                                   

                                                                                                                          

Creation Date       : Aug  6 2020, 09:33:24                                                                              

CPU Clock Speed     : 800MHz                                                                                              

Memory Size         : 2048MB                                                                                             

Flash Size          : 512MB                                                                                               

CPLD Version        : 002                                                                                                

PCB Version         : Ver.B

Mac Address         : b04414069cf6                                                                                        

                                                                                                                          

                                                                                                                          

Press Ctrl+B to access EXTENDED BOOT MENU...0                                                                            

Loading the main image files...                                                                                           

Loading file flash:/s5560x_ei-cmw710-system-r6512p06.bin........................                                         

................................................................................

..Done.

Loading file flash:/s5560x_ei-cmw710-freeradius-r6512p06.bin....Done.                                                    

Loading file flash:/s5560x-ei-cmw710-escan-r6512p06.bin..............Done.                                               

Loading file flash:/s5560x_ei-cmw710-boot-r6512p06.bin........Done.                                                      

                                                                                                                          

Image file flash:/s5560x_ei-cmw710-boot-r6512p06.bin is self-decompressing......                                         

................................................................................

................................................................................                                         

................................................................................                                         

................................................................................

................................................................................

................................................................................

................................................................................

..Done.

System is starting...

    

            

            Board checking.......................LSP8LTSUB

            SDRAM fast selftest........................OK!

            Flash fast selftest........................OK!

            CPLD selftest..............................OK!

            Switch chip selftest.......................OK!

            PHY selftest...............................OK!

            Please check leds....................FINISHED!

Cryptographic algorithms tests passed.

Line aux0 is available.

                               

     

Press ENTER to get started.

                                                                               

                                                                                

                                                                                

                                                                                

******************************************************************************

* Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,                                 *

* no decompiling or reverse-engineering shall be allowed.                    *

******************************************************************************

                          

%Apr  8 05:06:09:324 2021 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.

<H3C>

<H3C>

<H3C>

<H3C>

 

8. 可以看到drni进程未启动

[H3C]dis process nam

[H3C]dis process name drnid

The specified process doesn't exist.

[H3C]

[H3C]

该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作