GBNL2DhcpSnooping-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, TimeTicks, IpAddress FROM SNMPv2-SMI DisplayString, TruthValue,RowStatus FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF gbnL2 FROM GREENTECH-MASTER-MIB; gbnL3DhcpSnooping MODULE-IDENTITY LAST-UPDATED "0105030000Z" -- May 03,2001 ORGANIZATION "Greentech" CONTACT-INFO "Adam Armstrong E-mail: adama@observium.org" DESCRIPTION "GBN Enterprise MIB definition." REVISION "0105030000Z" -- May 03,2001 DESCRIPTION "Initial MIB creation." ::= { gbnL2 5 } ------------------------------------------------------------------------------ -- Textual Conventions (i.e., these do not affect object encoding): ------------------------------------------------------------------------------ dhcpsnoopingOnOff OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "start/stop dhcpsnooping.Default is off" ::= { gbnL3DhcpSnooping 1 } dhcpsnoopingPortTable OBJECT-TYPE SYNTAX SEQUENCE OF DhcpsnoopingPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains port informations of dhcpsnooping." ::= { gbnL3DhcpSnooping 2 } dhcpsnoopingPortEntry OBJECT-TYPE SYNTAX DhcpsnoopingPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Port informations of dhcpsnooping. This is indexed by the port number." INDEX { portIndex } ::= { dhcpsnoopingPortTable 1 } DhcpsnoopingPortEntry ::= SEQUENCE { portIndex INTEGER, portTrustMode INTEGER, portMaxNum INTEGER, portIpSourceGuardMode INTEGER } portIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The Index of the port." ::= { dhcpsnoopingPortEntry 1 } portTrustMode OBJECT-TYPE SYNTAX INTEGER { trust(1), untrust(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Port mode of dhcpsnooping.Default is untrust." ::= { dhcpsnoopingPortEntry 2 } portMaxNum OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Max clients in this port.Range is from 0 to 2048.Default is 2048." ::= { dhcpsnoopingPortEntry 3 } portIpSourceGuardMode OBJECT-TYPE SYNTAX INTEGER { on(1), off(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Port IP source guard mode .Default is off." ::= { dhcpsnoopingPortEntry 4 } dhcpsnoopingVlanTable OBJECT-TYPE SYNTAX SEQUENCE OF DhcpsnoopingVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains vlan informations of dhcpsnooping." ::= { gbnL3DhcpSnooping 3 } dhcpsnoopingVlanEntry OBJECT-TYPE SYNTAX DhcpsnoopingVlanEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "VLAN informations of dhcpsnooping. This is indexed by the vlan number." INDEX { vlanIndex } ::= { dhcpsnoopingVlanTable 1 } DhcpsnoopingVlanEntry ::= SEQUENCE { vlanIndex INTEGER, vlanMaxNum INTEGER } vlanIndex OBJECT-TYPE SYNTAX INTEGER (1..4094) MAX-ACCESS read-only STATUS current DESCRIPTION "The Index of the port." ::= { dhcpsnoopingVlanEntry 1 } vlanMaxNum OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Max clients in this vlan.Range is from 0 to 2048.Default is 2048." ::= { dhcpsnoopingVlanEntry 2 } END