第一范文网 - 专业文章范例文档资料分享平台

SNMP实验一指南

来源:用户分享 时间:2025/8/13 9:14:15 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

实验一:通过snmp协议修改路由器信息

IP规划:

路由器:fa0/0 192.168.1.1/24

交换机管理地址:VLAN 1 192.168.1.2/24 PC:192.168.1.10/24

网络设备配置

路由器:

hostname R1

interface FastEthernet0/0

ip address 192.168.1.1 255.255.255.0 no shut

snmp-server community xiaoro RO(开启SNMP,community是一中简单的身份认真,ro是只读文件,rw是可读可写文件)

snmp-server community xiaorw RW

交换机:

interface Vlan1

ip address 192.168.1.2 255.255.255.0

snmp-server community xiaoso RO snmp-server community xiaosw RW

命令步骤:

Continue with configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>enable Router#conf

Configuring from terminal, memory, or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface f0/0

Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shut

Router(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up exit

Router(config)#hostname R1 R1(config)#exit R1# conf

Configuring from terminal, memory, or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#cdp run

R1(config)#snmp-server community xiaoro ro

%SNMP-5-WARMSTART: SNMP agent on host R1 is undergoing a warm start

R1(config)#snmp-server community xiaorw rw R1(config)# 交换机:

Switch(config)#interface vlan1

Switch(config-if)#ip address 192.168.1.2 255.255.255.0 Switch(config-if)#exit

Switch(config)#snmp-server community xiaoso ro Switch(config)#snmp-server community xiaosw rw Switch(config)#

由于的PT的的功能有限,小T我就演示如何获取网络设备的系统信息和通过SNMP来修改网络设备的名字。操作如下:

首先,点进PC,选着Destop的中MIB(packetTracer 5.2的一个亮点之一)。

搜索更多关于: SNMP实验一指南 的文档
SNMP实验一指南.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c109et3l4kj0fluh9bb1z_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top