1TPLINK-STATICARP-MIB DEFINITIONS ::= BEGIN 2 IMPORTS 3 TPRowStatus 4 FROM TPLINK-TC-MIB 5 tplinkMgmt 6 FROM TPLINK-MIB 7 OBJECT-TYPE,IpAddress 8 FROM SNMPv2-SMI; 9 10 MacAddress ::= OCTET STRING (SIZE (6)) 11 12 tplinkStaticARPMIB MODULE-IDENTITY 13 LAST-UPDATED "201411241442Z" 14 ORGANIZATION "TPLINK" 15 CONTACT-INFO "www.tplink.com.cn" 16 DESCRIPTION "Private MIB for static ARP configuration." 17 REVISION "201411241442Z" 18 DESCRIPTION 19 "Initial version of this MIB module." 20 ::= { tplinkMgmt 54 } 21 22 tplinkStaticARPMIBObjects OBJECT IDENTIFIER ::= { tplinkStaticARPMIB 1 } 23 tplinkStaticARPNotifications OBJECT IDENTIFIER ::= { tplinkStaticARPMIB 2 } 24 25 --************** 26 --Set static ARP 27 --************** 28 29 tpStaticARPConfig OBJECT IDENTIFIER ::= {tplinkStaticARPMIBObjects 1} 30 31 tpStaticARPConfigTable OBJECT-TYPE 32 SYNTAX SEQUENCE OF STATICITEMCTRLENTRY 33 MAX-ACCESS not-accessible 34 STATUS current 35 DESCRIPTION 36 "A list of static ARP entries.ARP Presented here is a protocol that allows dynamic 37 distribution of the information needed to build tables to 38 translate an address A in protocol P's address space into a 39 48.bit Ethernet address." 40 ::= { tpStaticARPConfig 1 } 41 42 tpStaticARPConfigEntry OBJECT-TYPE 43 SYNTAX STATICITEMCTRLENTRY 44 MAX-ACCESS not-accessible 45 STATUS current 46 DESCRIPTION 47 "The item can be added or removed ." 48 INDEX { tpStaticARPItemIp } 49 ::= { tpStaticARPConfigTable 1 } 50 51 52 STATICITEMCTRLENTRY ::= 53 SEQUENCE { 54 tpStaticARPItemIp 55 IpAddress, 56 tpStaticARPItemMac 57 OCTET STRING (SIZE (0..20)), 58 tpStaticArpItemInterfaceName 59 OCTET STRING (SIZE (0..255)), 60 tpStaticARPItemStatus 61 TPRowStatus 62 } 63 64 tpStaticARPItemIp OBJECT-TYPE 65 SYNTAX IpAddress 66 MAX-ACCESS read-only 67 STATUS current 68 DESCRIPTION 69 "The ip Address of the ARP entry." 70 ::= { tpStaticARPConfigEntry 1 } 71 72 tpStaticARPItemMac OBJECT-TYPE 73 SYNTAX OCTET STRING (SIZE (0..20)) 74 MAX-ACCESS read-create 75 STATUS current 76 DESCRIPTION 77 "The Mac (hardware) address of the ARP entry." 78 ::= { tpStaticARPConfigEntry 2 } 79 80 tpStaticArpItemInterfaceName OBJECT-TYPE 81 SYNTAX OCTET STRING (SIZE (0..255)) 82 MAX-ACCESS read-only 83 STATUS current 84 DESCRIPTION 85 "The name of the interface." 86 ::= { tpStaticARPConfigEntry 3 } 87 88 tpStaticARPItemStatus OBJECT-TYPE 89 SYNTAX TPRowStatus 90 MAX-ACCESS read-create 91 STATUS current 92 DESCRIPTION 93 " The following values are states: 94 these values may be used as follow: 95 active(1),if the entry is being used. 96 notInService(2),destory the entry. 97 notReady(3),destory the entry. 98 createAndGo(4),not being used 99 createAndWait(5),creat a new entry 100 destroy(6),destory the entry." 101 ::={tpStaticARPConfigEntry 4} 102 103END