⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbg_unloadmib.sh

📁 xorp源码hg
💻 SH
字号:
#! /bin/sh## Unload a mib module from snmpd in the position specified in the first# parameter. Example:   #     #  $ unload 2## Requires:##  (0) that the finder is running##  (1) that snmpd is running#. dbg_config.shif test "$1" = ""; then    echo 'usage example:  '    echo '    $ dbg_unloadmib.sh <mib_index>'     exit 1fiif test "$1" = "1"; then    # we cannot unload the xrl interface module via an xrl...    snmpset -v 2c -c ${SNMP_DBG_COMMUNITY} localhost:${SNMPD_PORT} UCD-DLMOD-MIB::dlmodStatus.$1 i unload    snmpset -v 2c -c ${SNMP_DBG_COMMUNITY} localhost:${SNMPD_PORT} UCD-DLMOD-MIB::dlmodStatus.$1 i deleteelse    ../../libxipc/call_xrl "finder://xorp_if_mib/xorp_if_mib/0.1/unload_mib?mib_index:u32=$1"fi./dbg_dlmiblist.sh

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -