TD MANAGEMENT RESEAUX
Exercice 1
Dans le cadre de l’administration d’un réseau d’entreprise par SNMP, considérons
qu’un poste de management soit configuré de la manière suivante :
• Période de polling fixée à 15 secondes
• La taille moyenne d’un message SNMP est de 100 octets
• Consultations SNMP à travers un lien WAN ; le débit de ce lien est de 64
kbps.
Quelle est l’influence de la consultation de 150 objets SNMP à travers le lien
WAN ?
Exercice 2
Grâce aux arbres donnés en annexe,
a. donner le nom des noeuds correspondant aux OID suivants
i. 1.3.6.1.6
ii. 1.3.6.1.2.1.4.22.1.3
b. donner les OID des noeuds suivants :
i. ipAdEntBcastAddr
ii. CiscoIgrp
Analyse d’échanges SNMP
Quelle est l'information demandée par le manager au travers de la trame suivante
?
SNMP: len: 38 version: int(1) 0x00 comm: string(6) «public» type: GET-NEXT
req-id: int(2) 0x5e31 error: int(1) 0x00 error-index: int(1) 0x00
var: obj(8) 1 3 6 1 2 1 2 1 val: empty(0)
Quelle est la réponse transmise par l'agent ?
SNMP: len: 40 version: int(1) 0x00 comm: string(6) «public» type: RESPONSE
req-id: int(2) 0x5e31 error: int(1) 0x00 error-index: int(1) 0x00
var: obj(7) 1 3 6 1 2 1 2 1 0 val: 0x06
Même question pour cet échange :
SNMP: len: 178 version: int(1) 0x00 comm: string(6) «public» type: GET-NEXT
req-id: int(2) 0x00a2a2 error: int(1) 0x00 error-index: int(1) 0x00
var: obj(9) 1 3 6 1 2 1 2 1 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 2 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 3 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 4 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 5 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 6 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 7 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 8 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 9 val: empty(0)
var: obj(9) 1 3 6 1 2 1 2 2 10 val: empty(0)
SNMP: len: 219 version: int(1) 0x00 comm: string(6) «public» type: RESPONSE
req-id: int(2) 0x00a2a2 error: int(1) 0x00 error-index: int(1) 0x00
var: obj(10) 1 3 6 1 2 1 2 1 val: int(1) 0x01
var: obj(10) 1 3 6 1 2 1 2 2 2 val: string(9) «Ethernet0»
var: obj(10) 1 3 6 1 2 1 2 2 3 val: int(1) 0x06
var: obj(10) 1 3 6 1 2 1 2 2 4 val: int(2) 0x05dc
var: obj(10) 1 3 6 1 2 1 2 2 5 val: gauge(4) 0x00989680
var: obj(10) 1 3 6 1 2 1 2 2 6 val: string(6) ******
var: obj(10) 1 3 6 1 2 1 2 2 7 val: int(1) 0x01
var: obj(10) 1 3 6 1 2 1 2 2 8 val: int(1) 0x01
var: obj(10) 1 3 6 1 2 1 2 2 9 val: time(2) 0x0420
var: obj(10) 1 3 6 1 2 1 2 2 10 val: counter(4) 0x6b055aa0
MIB Système (1)
II (1) Interface (2) ifNumber (1)
ifTable(2) ifIndex(1)
ifDescr(2)
ifType(3)
ifMtu(4)
ifSpeed(5)
ifPhysAddress(6)
ifAdminStatus(7)
ifOperStatus(8)
fLastChange(9)
fInOctets(10)
fInUcastPkts(11)
ifInNUcastPkts(12)
ifInDiscards(13)
ifInErrors(14)
ifInUnknownProtos(15)
ifOutOctets(16)
ifOutUcastPkts(17)
ifOutNUcastPkts(18)
ifOutDiscards(19)
ifOutErrors(20)
ifOutQLen(21)
ifSpecific(22)
Ip (4) ipForwarding (1) Forwarding (1)
Not-forwarding (2)
IpDefaultTTL (2)
ipInReceives (3)
IpInHdrErrors (4)
ipInAddrErrors (5)
ipForwDatagrams (6)
ipInUnknownProtos
(7)
ipInDiscards (8)
ipInDelivers (9)
ipOutRequests (10)
ipOutDiscards (11)
ipOutNoRoutes (12)
ipReasmTimeout (13)
ipReasmReqds (14)
ipReasmOKs (15)
ipReasmFails (16)
ipFragOKs (17)
IpFragFails (18)
ipFragCreates (19) IpAddrEntry (1) IpAdEntAddr (1)
IpAdEntIfIndex (2)
IpAdEntNetMask (3)
ipAdEntBcastAddr (4)
IpAdEntReasmMaxSize (5)
ipAddrTable (20)
IpRoutingTable (21) ipRouteEntry (1) IpRouteDest (1)
IpRouteIfIndex (2)
ipRouteMetric1(3)
ipRouteMetric2 (4)
ipRouteMetric3 (5)
ipRouteMetric4 (6)
ipRouteNextHop (7)
ipRouteType (8) Other (1)
Invalid (2)
Direct (3)
Remote (4)
ipRouteProto (9) Other (1)
Local (2)
Netmgmt (3)
Icmp (4)
Egp (5)
Ggp (6)
Hello (7)
Rip (8)
Is-is (9)
Es-is (10)
CiscoIgrp (11)
BbnSpfIgp (12)
Ospf (13)
Bgp (14)
ipRouteAge (10)
ipRouteMask (11)
IpNetToMediaTable IpNetToMediaEntry (1) IpNetToMediaIfIndex (1)
(22) IpNetToMediaPhysAddress
(2)
IpNetToMediaNetAddress
(3)
IpNetToMediaType (4)
Icmp (5)
Tcp (6)
Udp (7)
Egp (8)
Transmission
(10)
Exemple (11)
Le nombre de sollicitations est de 150 toutes les 15 secondes. Ce qui correspond
à 10 sollicitations par secondes.
10*(8*100)=8000 bits par seconde. 8000/64000=1/812,50% de la bande
passante