📄 inetcidrroutetablepdu.java
字号:
else { _invalid = true; setTmpErrorIndex(n); _tmpErrorStat = SnmpConstants.SNMP_ERR_NOSUCHNAME; } } if (n >= NO_OID-1) { if (_invalid == true) { setErrorStatus(_tmpErrorStat); setErrorIndex(_tmpErrorInd); } }}/**inetCidrRouteIfIndex<br/>TYPE InterfaceIndexOrZero ::= TEXTUAL-CONVENTION ( Display-Hint: d Status: current Description: This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced. Syntax: [UNIVERSAL 2] INTEGER (0..2147483647))<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (0..2147483647) Access: read-create Status: current Description: The ifIndex value which identifies the local interface through which the next hop of this route should be reached. A value of 0 is valid and represents the scenario where no interface is specified.)<br/>*/public void setInetCidrRouteIfIndex(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteIfIndex = new Integer(obj.getValue());}public Integer getInetCidrRouteIfIndex(){ return _inetCidrRouteIfIndex;}/**inetCidrRouteType<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (1 | 2 | 3 | 4 | 5) Access: read-create Status: current Description: The type of route. Note that local(3) refers to a route for which the next hop is the final destination; remote(4)refers to a route for which the next hop is not the final destination. Routes which do not result in traffic forwarding or rejection should not be displayed even if the implementation keeps them stored internally. reject(2) refers to a route which, if matched, discards the message as unreachable and returns a notification (e.g. ICMP error) to the message sender. This is used in some protocols as a means of correctly aggregating routes. blackhole(5) refers to a route which, if matched, discards the message silently.)<br/>*/public void setInetCidrRouteType(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteType = new Integer(obj.getValue());}public String getInetCidrRouteTypeStr(){ String ret = null; if (_inetCidrRouteType != null) { ret = (String) _inetCidrRouteTypeMap.get(_inetCidrRouteType); } return ret;}public Integer getInetCidrRouteType(){ return _inetCidrRouteType;}/**inetCidrRouteProto<br/>TYPE IANAipRouteProtocol ::= TEXTUAL-CONVENTION ( Status: current Description: A mechanism for learning routes. Inclusion of values for routing protocols is not intended to imply that those protocols need be supported. Syntax: [UNIVERSAL 2] INTEGER (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17))<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17) Access: read-only Status: current Description: The routing mechanism via which this route was learned. Inclusion of values for gateway routing protocols is not intended to imply that hosts should support those protocols.)<br/>*/public void setInetCidrRouteProto(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteProto = new Integer(obj.getValue());}public String getInetCidrRouteProtoStr(){ String ret = null; if (_inetCidrRouteProto != null) { ret = (String) _inetCidrRouteProtoMap.get(_inetCidrRouteProto); } return ret;}public Integer getInetCidrRouteProto(){ return _inetCidrRouteProto;}/**inetCidrRouteAge<br/>TYPE Gauge32 ::= [APPLICATION 2] INTEGER (0..4294967295)<br/>OBJECT-TYPE ( Syntax: [APPLICATION 2] INTEGER (0..4294967295) Access: read-only Status: current Description: The number of seconds since this route was last updated or otherwise determined to be correct. Note that no semantics of 'too old' can be implied except through knowledge of the routing protocol by which the route was learned.)<br/>*/public void setInetCidrRouteAge(AsnObject new_value){ AsnUnsInteger obj = (AsnUnsInteger) new_value; _inetCidrRouteAge = new Long(obj.getValue());}public Long getInetCidrRouteAge(){ return _inetCidrRouteAge;}/**inetCidrRouteNextHopAS<br/>TYPE InetAutonomousSystemNumber ::= TEXTUAL-CONVENTION ( Display-Hint: d Status: current Description: Represents an autonomous system number that identifies an Autonomous System (AS). An AS is a set of routers under a single technical administration, using an interior gateway protocol and common metrics to route packets within the AS, and using an exterior gateway protocol to route packets to other ASes'. IANA maintains the AS number space and has delegated large parts to the regional registries. Autonomous system numbers are currently limited to 16 bits (0..65535). There is, however, work in progress to enlarge the autonomous system number space to 32 bits. Therefore, this textual convention uses an Unsigned32 value without a range restriction in order to support a larger autonomous system number space. Reference: RFC 1771, RFC 1930 Syntax: [APPLICATION 2] INTEGER (0..4294967295))<br/>OBJECT-TYPE ( Syntax: [APPLICATION 2] INTEGER (0..4294967295) Access: read-create Status: current Description: The Autonomous System Number of the Next Hop. The semantics of this object are determined by the routing- protocol specified in the route's inetCidrRouteProto value. When this object is unknown or not relevant its value should be set to zero. Default Value: 0)<br/>*/public void setInetCidrRouteNextHopAS(AsnObject new_value){ AsnUnsInteger obj = (AsnUnsInteger) new_value; _inetCidrRouteNextHopAS = new Long(obj.getValue());}public Long getInetCidrRouteNextHopAS(){ return _inetCidrRouteNextHopAS;}/**inetCidrRouteMetric1<br/>TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647)<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: The primary routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1. Default Value: -1)<br/>*/public void setInetCidrRouteMetric1(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteMetric1 = new Integer(obj.getValue());}public Integer getInetCidrRouteMetric1(){ return _inetCidrRouteMetric1;}/**inetCidrRouteMetric2<br/>TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647)<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1. Default Value: -1)<br/>*/public void setInetCidrRouteMetric2(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteMetric2 = new Integer(obj.getValue());}public Integer getInetCidrRouteMetric2(){ return _inetCidrRouteMetric2;}/**inetCidrRouteMetric3<br/>TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647)<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be set to -1. Default Value: -1)<br/>*/public void setInetCidrRouteMetric3(AsnObject new_value){ AsnInteger obj = (AsnInteger) new_value; _inetCidrRouteMetric3 = new Integer(obj.getValue());}public Integer getInetCidrRouteMetric3(){ return _inetCidrRouteMetric3;}/**inetCidrRouteMetric4<br/>TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647)<br/>OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's inetCidrRouteProto value. If this metric is not used, its value should be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -