阅读:1803回复:0
新手请教“ifType”中那些值表示以太网接口或ATM接口
就是interface组的ifTable中的ifType,MIB中定义了下面几个类型:
1: other(1) 2: regular1822(2) 3: hdh1822(3) 4: ddn-x25(4) 5: rfc877-x25(5) 6: ethernet-csmacd(6) 7: iso88023-csmacd(7) 8: iso88024-tokenBus(8) 9: iso88025-tokenRing(9) 10: iso88026-man(10) 11: starLan(11) 12: proteon-10Mbit(12) 13: proteon-80Mbit(13) 14: hyperchannel(14) 15: fddi(15) 16: lapb(16) 17: sdlc(17) 18: ds1(18) 19: e1(19) 20: basicISDN(20) 21: primaryISDN(21) 22: propPointToPointSerial(22) 23: ppp(23) 24: softwareLoopback(24) 25: eon(25) 26: ethernet-3Mbit(26) 27: nsip(27) 28: slip(28) 29: ultra(29) 30: ds3(30) 31: sip(31) 32: frame-relay(32) 现在程序中需要了解接口是什么类型,是ETH还是ATM,能根据ifType判断吗?如果不能,那么应该根据MIB中的哪些OID判断呢? 高手指点迷津,先谢谢了! |
|