Chinaunix首页 | 论坛 | 博客
  • 博客访问: 813601
  • 博文数量: 167
  • 博客积分: 7173
  • 博客等级: 少将
  • 技术积分: 1671
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-04 23:07
文章分类

全部博文(167)

文章存档

2018年(1)

2017年(11)

2012年(2)

2011年(27)

2010年(88)

2009年(38)

分类: 系统运维

2010-06-04 19:11:33

(端口信息)

端口列表

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.1

IF-MIB::ifIndex.1 = INTEGER: 1

IF-MIB::ifIndex.2 = INTEGER: 2

IF-MIB::ifIndex.3 = INTEGER: 3

IF-MIB::ifIndex.4 = INTEGER: 4

IF-MIB::ifIndex.5 = INTEGER: 5

IF-MIB::ifIndex.112 = INTEGER: 112

IF-MIB::ifIndex.248 = INTEGER: 248

IF-MIB::ifIndex.257 = INTEGER: 257

IF-MIB::ifIndex.258 = INTEGER: 258

IF-MIB::ifIndex.259 = INTEGER: 259

IF-MIB::ifIndex.260 = INTEGER: 260

IF-MIB::ifIndex.261 = INTEGER: 261

IF-MIB::ifIndex.262 = INTEGER: 262

IF-MIB::ifIndex.263 = INTEGER: 263

IF-MIB::ifIndex.264 = INTEGER: 264

IF-MIB::ifIndex.265 = INTEGER: 265

IF-MIB::ifIndex.266 = INTEGER: 266

IF-MIB::ifIndex.267 = INTEGER: 267

IF-MIB::ifIndex.268 = INTEGER: 268

IF-MIB::ifIndex.269 = INTEGER: 269

IF-MIB::ifIndex.270 = INTEGER: 270

IF-MIB::ifIndex.271 = INTEGER: 271

IF-MIB::ifIndex.272 = INTEGER: 272

IF-MIB::ifIndex.273 = INTEGER: 273

IF-MIB::ifIndex.274 = INTEGER: 274

IF-MIB::ifIndex.275 = INTEGER: 275

IF-MIB::ifIndex.276 = INTEGER: 276

IF-MIB::ifIndex.277 = INTEGER: 277

IF-MIB::ifIndex.278 = INTEGER: 278

IF-MIB::ifIndex.279 = INTEGER: 279

IF-MIB::ifIndex.280 = INTEGER: 280

IF-MIB::ifIndex.281 = INTEGER: 281

IF-MIB::ifIndex.282 = INTEGER: 282

IF-MIB::ifIndex.283 = INTEGER: 283

IF-MIB::ifIndex.284 = INTEGER: 284

IF-MIB::ifIndex.999 = INTEGER: 999

端口列表描述

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.2

IF-MIB::ifDescr.1 = STRING: net0

IF-MIB::ifDescr.2 = STRING: net1

IF-MIB::ifDescr.3 = STRING: net2

IF-MIB::ifDescr.4 = STRING: net3

IF-MIB::ifDescr.5 = STRING: net4

IF-MIB::ifDescr.112 = STRING: net111

IF-MIB::ifDescr.248 = STRING: net247

IF-MIB::ifDescr.257 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.258 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.259 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.260 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.261 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.262 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.263 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.264 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.265 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.266 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.267 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.268 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.269 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.270 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.271 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.272 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.273 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.274 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.275 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.276 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.277 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.278 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.279 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.280 = STRING: utp ethernet (10/100)

IF-MIB::ifDescr.281 = STRING: fiber ethernet (1000)

IF-MIB::ifDescr.282 = STRING: fiber ethernet (1000)

IF-MIB::ifDescr.283 = STRING: fiber ethernet (1000)

IF-MIB::ifDescr.284 = STRING: fiber ethernet (1000)

IF-MIB::ifDescr.999 = STRING: utp ethernet (10/100)

端口MAC地址

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.6

IF-MIB::ifPhysAddress.1 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.2 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.3 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.4 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.5 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.112 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.248 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.257 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.258 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.259 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.260 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.261 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.262 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.263 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.264 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.265 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.266 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.267 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.268 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.269 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.270 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.271 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.272 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.273 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.274 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.275 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.276 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.277 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.278 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.279 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.280 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.281 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.282 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.283 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.284 = STRING: 0:16:ca:54:3e:0

IF-MIB::ifPhysAddress.999 = STRING: 0:16:ca:54:3e:d

端口IP

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.4.1.1872.2.5.3.1.1.2.1.2

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.1 = IpAddress: 61.145.113.69

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.2 = IpAddress: 192.168.239.254

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.3 = IpAddress: 219.136.245.247

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.4 = IpAddress: 59.42.240.241

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.5 = IpAddress: 219.136.244.241

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.112 = IpAddress: 192.168.112.1

SNMPv2-SMI::enterprises.1872.2.5.3.1.1.2.1.2.248 = IpAddress: 192.168.248.5

端口updown情况

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.8

IF-MIB::ifOperStatus.1 = INTEGER: down(2)

IF-MIB::ifOperStatus.2 = INTEGER: down(2)

IF-MIB::ifOperStatus.3 = INTEGER: down(2)

IF-MIB::ifOperStatus.4 = INTEGER: down(2)

IF-MIB::ifOperStatus.5 = INTEGER: down(2)

IF-MIB::ifOperStatus.112 = INTEGER: down(2)

IF-MIB::ifOperStatus.248 = INTEGER: down(2)

IF-MIB::ifOperStatus.257 = INTEGER: down(2)

IF-MIB::ifOperStatus.258 = INTEGER: down(2)

IF-MIB::ifOperStatus.259 = INTEGER: down(2)

IF-MIB::ifOperStatus.260 = INTEGER: down(2)

IF-MIB::ifOperStatus.261 = INTEGER: down(2)

IF-MIB::ifOperStatus.262 = INTEGER: down(2)

IF-MIB::ifOperStatus.263 = INTEGER: down(2)

IF-MIB::ifOperStatus.264 = INTEGER: down(2)

IF-MIB::ifOperStatus.265 = INTEGER: down(2)

IF-MIB::ifOperStatus.266 = INTEGER: down(2)

IF-MIB::ifOperStatus.267 = INTEGER: down(2)

IF-MIB::ifOperStatus.268 = INTEGER: down(2)

IF-MIB::ifOperStatus.269 = INTEGER: down(2)

IF-MIB::ifOperStatus.270 = INTEGER: down(2)

IF-MIB::ifOperStatus.271 = INTEGER: down(2)

IF-MIB::ifOperStatus.272 = INTEGER: down(2)

IF-MIB::ifOperStatus.273 = INTEGER: down(2)

IF-MIB::ifOperStatus.274 = INTEGER: down(2)

IF-MIB::ifOperStatus.275 = INTEGER: down(2)

IF-MIB::ifOperStatus.276 = INTEGER: down(2)

IF-MIB::ifOperStatus.277 = INTEGER: down(2)

IF-MIB::ifOperStatus.278 = INTEGER: down(2)

IF-MIB::ifOperStatus.279 = INTEGER: down(2)

IF-MIB::ifOperStatus.280 = INTEGER: down(2)

IF-MIB::ifOperStatus.281 = INTEGER: down(2)

IF-MIB::ifOperStatus.282 = INTEGER: down(2)

IF-MIB::ifOperStatus.283 = INTEGER: dormant(5)

IF-MIB::ifOperStatus.284 = INTEGER: down(2)

IF-MIB::ifOperStatus.999 = INTEGER: up(1)

端口入流量(Bytes

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.10

IF-MIB::ifInOctets.1 = Counter32: 1399927503

IF-MIB::ifInOctets.2 = Counter32: 135184095

IF-MIB::ifInOctets.3 = Counter32: 3963167076

IF-MIB::ifInOctets.4 = Counter32: 254774734

IF-MIB::ifInOctets.5 = Counter32: 215231852

IF-MIB::ifInOctets.112 = Counter32: 0

IF-MIB::ifInOctets.248 = Counter32: 3948232092

IF-MIB::ifInOctets.257 = Counter32: 0

IF-MIB::ifInOctets.258 = Counter32: 0

IF-MIB::ifInOctets.259 = Counter32: 0

IF-MIB::ifInOctets.260 = Counter32: 0

IF-MIB::ifInOctets.261 = Counter32: 0

IF-MIB::ifInOctets.262 = Counter32: 0

IF-MIB::ifInOctets.263 = Counter32: 0

IF-MIB::ifInOctets.264 = Counter32: 0

IF-MIB::ifInOctets.265 = Counter32: 0

IF-MIB::ifInOctets.266 = Counter32: 0

IF-MIB::ifInOctets.267 = Counter32: 0

IF-MIB::ifInOctets.268 = Counter32: 0

IF-MIB::ifInOctets.269 = Counter32: 0

IF-MIB::ifInOctets.270 = Counter32: 0

IF-MIB::ifInOctets.271 = Counter32: 0

IF-MIB::ifInOctets.272 = Counter32: 0

IF-MIB::ifInOctets.273 = Counter32: 0

IF-MIB::ifInOctets.274 = Counter32: 0

IF-MIB::ifInOctets.275 = Counter32: 0

IF-MIB::ifInOctets.276 = Counter32: 0

IF-MIB::ifInOctets.277 = Counter32: 0

IF-MIB::ifInOctets.278 = Counter32: 0

IF-MIB::ifInOctets.279 = Counter32: 0

IF-MIB::ifInOctets.280 = Counter32: 0

IF-MIB::ifInOctets.281 = Counter32: 898797365

IF-MIB::ifInOctets.282 = Counter32: 3199070413

IF-MIB::ifInOctets.283 = Counter32: 0

IF-MIB::ifInOctets.284 = Counter32: 0

IF-MIB::ifInOctets.999 = Counter32: 3446191528

端口出流量(Bytes

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.2.2.1.16

IF-MIB::ifOutOctets.1 = Counter32: 270414594

IF-MIB::ifOutOctets.2 = Counter32: 1178379204

IF-MIB::ifOutOctets.3 = Counter32: 1323047514

IF-MIB::ifOutOctets.4 = Counter32: 84864086

IF-MIB::ifOutOctets.5 = Counter32: 52496

IF-MIB::ifOutOctets.112 = Counter32: 0

IF-MIB::ifOutOctets.248 = Counter32: 246169104

IF-MIB::ifOutOctets.257 = Counter32: 0

IF-MIB::ifOutOctets.258 = Counter32: 0

IF-MIB::ifOutOctets.259 = Counter32: 0

IF-MIB::ifOutOctets.260 = Counter32: 0

IF-MIB::ifOutOctets.261 = Counter32: 0

IF-MIB::ifOutOctets.262 = Counter32: 0

IF-MIB::ifOutOctets.263 = Counter32: 0

IF-MIB::ifOutOctets.264 = Counter32: 0

IF-MIB::ifOutOctets.265 = Counter32: 0

IF-MIB::ifOutOctets.266 = Counter32: 0

IF-MIB::ifOutOctets.267 = Counter32: 0

IF-MIB::ifOutOctets.268 = Counter32: 0

IF-MIB::ifOutOctets.269 = Counter32: 0

IF-MIB::ifOutOctets.270 = Counter32: 0

IF-MIB::ifOutOctets.271 = Counter32: 0

IF-MIB::ifOutOctets.272 = Counter32: 0

IF-MIB::ifOutOctets.273 = Counter32: 0

IF-MIB::ifOutOctets.274 = Counter32: 0

IF-MIB::ifOutOctets.275 = Counter32: 0

IF-MIB::ifOutOctets.276 = Counter32: 0

IF-MIB::ifOutOctets.277 = Counter32: 0

IF-MIB::ifOutOctets.278 = Counter32: 0

IF-MIB::ifOutOctets.279 = Counter32: 0

IF-MIB::ifOutOctets.280 = Counter32: 0

IF-MIB::ifOutOctets.281 = Counter32: 2855080803

IF-MIB::ifOutOctets.282 = Counter32: 2966948287

IF-MIB::ifOutOctets.283 = Counter32: 0

IF-MIB::ifOutOctets.284 = Counter32: 531382

IF-MIB::ifOutOctets.999 = Counter32: 2489280076

(系统信息)

# CPU负载

# Memory当前使用

# Memory总量

主机名

[root@inm-tel ~]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.2.1.1.5.0

SNMPv2-MIB::sysName.0 = STRING: ct-a2424-1-s69-2f-i7-n340

序列号

[root@inm-tel SNMP_COLLECT]# snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.5 1.3.6.1.4.1.1872.2.5.1.3.1.10.0

SNMPv2-SMI::enterprises.1872.2.5.1.3.1.10.0 = STRING: "SSCPC2044L"

阅读(1631) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~