zoukankan      html  css  js  c++  java
  • 港湾交换机-交换机配置

    1.1     配置TELNET SNMP

    启动SNMP服务的配置步骤如下:

    配置步骤

    步骤1 service snmp enable 使能SNMP agent服务

    步骤2 service snmp trap enable 使能SNMP trap服务

    步骤3 config snmp community readonly <string> 设置SNMP只读权限认证密码

    步骤4 config snmp community readwrite <string> 设置SNMP读写权限认证密码

    步骤5 config snmpauthentrap [enable|disable] 使用enable设置当SNMP认证失败时发送trap

    步骤6 show service 显示SNMP是否启动

    步骤7 show snmp community-string 显示当前的权限认证密码

    1.2    配置SNMP trap

    交换机上的SNMP agent会产生很多种类的trap信息,如启动(start)、接口(interface)、RMON(远程监控)等。可以在交换机上配置SNMP trap来指定一台或多台trap接收站(trap receiver),并指定哪些种类的trap信息会发送到这些接收站。

    配置步骤

    步骤1 service snmp enable 使能SNMP agent服务

    步骤2 service snmp trap enable 使能SNMP trap服务

    步骤3 config snmp trap type [all|interface|bgp|ospf|vrrp|stp|rmon|start|auth|pppoe|isis] [on|off] 配置发送trap的类型

    步骤4 config snmp trapreceiver add <A.B.C.D> version [v1|v2c] {community <string>}*1 添加一个trap接收站

    步骤5 config snmp trapreceiver add <A.B.C.D> version [v1|v2c] {community <string>}*1 添加另一个trap接收站

    步骤6 show snmp trap type 显示系统允许发送的trap种类

    步骤7 Show snmp trapreceiver 显示已经添加的所有trap接收站

  • 相关阅读:
    QTP自动化测试进阶
    疯狂Java实战演义
    软件开发之韵:和谐敏捷
    Android应用开发详解
    操作系统直接决定了计算机系统的整体性能
    iBATIS框架源码剖析
    PHP 5完全攻略
    天气地图系统
    OpenSolaris系统管理
    Asp.net MVC 3实例学习之ExtShop(三)——完成首页
  • 原文地址:https://www.cnblogs.com/dyh004/p/9253116.html
Copyright © 2011-2022 走看看