Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 1 | IPV6-TC DEFINITIONS ::= BEGIN |
| 2 | |
| 3 | IMPORTS |
| 4 | Integer32 FROM SNMPv2-SMI |
| 5 | TEXTUAL-CONVENTION FROM SNMPv2-TC; |
| 6 | |
Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 7 | -- definition of textual conventions |
| 8 | Ipv6Address ::= TEXTUAL-CONVENTION |
| 9 | DISPLAY-HINT "2x:" |
| 10 | STATUS current |
| 11 | DESCRIPTION |
| 12 | "This data type is used to model IPv6 addresses. |
Niels Baggesen | 92b73eb | 2000-06-27 06:44:06 +0000 | [diff] [blame] | 13 | This is a binary string of 16 octets in network |
| 14 | byte-order." |
Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 15 | SYNTAX OCTET STRING (SIZE (16)) |
| 16 | |
| 17 | Ipv6AddressPrefix ::= TEXTUAL-CONVENTION |
| 18 | DISPLAY-HINT "2x:" |
| 19 | STATUS current |
| 20 | DESCRIPTION |
| 21 | "This data type is used to model IPv6 address |
| 22 | prefixes. This is a binary string of up to 16 |
| 23 | octets in network byte-order." |
| 24 | SYNTAX OCTET STRING (SIZE (0..16)) |
| 25 | |
| 26 | Ipv6AddressIfIdentifier ::= TEXTUAL-CONVENTION |
| 27 | DISPLAY-HINT "2x:" |
| 28 | STATUS current |
| 29 | DESCRIPTION |
| 30 | "This data type is used to model IPv6 address |
| 31 | interface identifiers. This is a binary string |
Niels Baggesen | 92b73eb | 2000-06-27 06:44:06 +0000 | [diff] [blame] | 32 | of up to 8 octets in network byte-order." |
Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 33 | SYNTAX OCTET STRING (SIZE (0..8)) |
| 34 | |
| 35 | Ipv6IfIndex ::= TEXTUAL-CONVENTION |
| 36 | DISPLAY-HINT "d" |
| 37 | STATUS current |
| 38 | DESCRIPTION |
| 39 | "A unique value, greater than zero for each |
| 40 | internetwork-layer interface in the managed |
| 41 | system. It is recommended that values are assigned |
| 42 | contiguously starting from 1. The value for each |
| 43 | internetwork-layer interface must remain constant |
| 44 | at least from one re-initialization of the entity's |
| 45 | network management system to the next |
Niels Baggesen | 92b73eb | 2000-06-27 06:44:06 +0000 | [diff] [blame] | 46 | |
Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 47 | re-initialization." |
| 48 | SYNTAX Integer32 (1..2147483647) |
| 49 | |
| 50 | Ipv6IfIndexOrZero ::= TEXTUAL-CONVENTION |
| 51 | DISPLAY-HINT "d" |
| 52 | STATUS current |
| 53 | DESCRIPTION |
Niels Baggesen | 92b73eb | 2000-06-27 06:44:06 +0000 | [diff] [blame] | 54 | "This textual convention is an extension of the |
| 55 | Ipv6IfIndex convention. The latter defines |
| 56 | a greater than zero value used to identify an IPv6 |
| 57 | interface in the managed system. This extension |
| 58 | permits the additional value of zero. The value |
| 59 | zero is object-specific and must therefore be |
| 60 | defined as part of the description of any object |
| 61 | which uses this syntax. Examples of the usage of |
| 62 | zero might include situations where interface was |
| 63 | unknown, or when none or all interfaces need to be |
| 64 | referenced." |
Niels Baggesen | fb37286 | 1999-11-14 14:32:25 +0000 | [diff] [blame] | 65 | SYNTAX Integer32 (0..2147483647) |
| 66 | |
| 67 | END |