zoukankan      html  css  js  c++  java
  • CISCO 关闭4786端口解决方法 cisco IOS and IOS XE software Smart Install "protocol Misuse"

    先确认交换机是否支持smart install服务

    检查命令如下:

    switch#show vstack config | inc Role 

    Role:Client (SmartInstall enabled

    或 

    switch#show vstack config | inc Role 

    Role:Director (SmartInstall enabled)

    1、如果支持smart install 可通过no vstack关闭smart install 

    switch(config)#no vstack

    switch#show vstack config 

    Role: Client (SmartInstall disabled)

    switch#show vstack config  

    Role: Director (SmartInstall disabled)

    关闭了smart install之后tcp 4786端口也会关闭。

    通过show tcp brief all 查看交换机当前监听的tcp端口。

    1
    2
    3
    4
    5
    6
    7
    switch#show tcp brief all
    TCB Local Address Foreign Address (state)
    05FD9F98 0.0.0.0.4786 *.* LISTEN
    0568FFFC 0.0.0.0.443 *.* LISTEN
    0568F038 0.0.0.0.443 *.* LISTEN
    0568E428 0.0.0.0.80 *.* LISTEN
    0568D818 0.0.0.0.80 *.* LISTEN

    2、 如果设备不支持no vstack ,且在show tcp brief all 中有tcp 4786端口,那么可以通过acl限制端口的访问。

    例如:

    1
    2
    3
    4
    5
    ip access-list extended DropTCP4786
     deny tcp any any eq 4786 
     permit ip any any 
    interface GigabitEthernet0/0 
     ip access-group DropTCP4786 in
  • 相关阅读:
    Maven安装及配置
    Java部分概念理解
    API.day01
    随机生成10元素数组并找出最大元素(Java)
    冒泡排序(Java)
    俄罗斯方块部分功能(Java)
    判断闰年(Java)
    判断质数(Java)
    基于DSP的IS95正向业务信道模块设计
    Lua程序设计(4th) 第一部分 语言基础
  • 原文地址:https://www.cnblogs.com/imp-W/p/10690253.html
Copyright © 2011-2022 走看看