Znyx Networks bh5700 Manuale Utente

Pagina di 359
Link and SNMP Status
Physical Link Status
SNMP Operational Status
zre1
zre2
zre1
zre2
zhp0
down
down
down
down
down
down
up
down
up
up
up
down
up
down
up
up
up
up
up
up
Table 5.3: Link and SNMP Status
The administrative status is directly controlled by ifconfig up/down. The administrative status 
of the zhps and zres do not affect each other.
ifStackTable Entries
In the actual ifStackTable as shown in the MIB walk the following two OIDs (which denote 
ifIndexes) show the relationships.
ifMIB.ifMIBObjects.ifStackTable.ifStackEntry.ifStackStatus.0.1 = 
active(1)
ifMIB.ifMIBObjects.ifStackTable.ifStackEntry.ifStackStatus.0.2 = 
active(1)
If they are X.Y then
if X = 0 there is nothing above this interface
if Y = 0 there is nothing below this interface
otherwise interface X has interface Y as a logical constituent.
SNMP Configuration
The SNMP agent is called snmpd and is started by default from the Linux boot up script 
/etc/rcZ.d/S75snmpd. If you do not wish to start snmpd,  remove etc/rcZ.d/S75snmpd.
Configuration of the OpenArchitect switch SNMP agent is the same as configuration of any 
standard Linux host that uses the NET-SNMP agent. Configuration information for persistent 
data and security information is kept in snmpd.conf under the default SNMP configuration 
location, which for the OpenArchitect switch is /usr/share/snmp. snmpd.conf is the 
location to change sys information such as the syslocation and syscontact, as well as 
permissions such as the rocommunity or rwcommunity. 
NOTE: For NET-SNMP agents, these objects (sysLocation.0, sysContact.0 and 
sysName.0) ordinarily are read-write.   However, specifying the value for one of these 
objects by giving the appropriate token in snmpd.conf makes the corresponding object 
read-only, and attempts to set the value of  the  object will result in a notWritable error 
Ethernet Switch Blade User's Guide
release  3.2.2j
page 81