1 module ietf-interfaces {
3 namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces";
16 typedef interface-ref {
18 path "/if:interfaces/if:interface/if:name";
21 "This type is used by data models that need to reference
27 feature arbitrary-names {
29 "This feature indicates that the server allows interfaces to
30 be named arbitrarily.";
35 "This feature indicates that the server implements IF-MIB.";
37 "RFC 2863: The Interfaces Group MIB";
42 container interfaces {
44 "Interface parameters.";
48 unique "type location";
51 "The list of interfaces on the device.";
62 type ianaift:iana-if-type;
80 "Ready to pass packets.";
85 "The interface does not pass any packets.";
90 "In some test mode. No operational packets can
96 "Status cannot be determined for some reason.";
101 "Waiting for some external event.";
106 "Some component is missing.";
108 enum lower-layer-down {
111 "Down due to state of lower-layer interface(s).";
116 "The current operational state of the interface.
118 If 'enabled' is 'false' then 'oper-status'
119 should be 'down'. If 'enabled' is changed to 'true'
120 then 'oper-status' should change to 'up' if the interface
121 is ready to transmit and receive network traffic; it
122 should change to 'dormant' if the interface is waiting for
123 external actions (such as a serial line waiting for an
124 incoming connection); it should remain in the 'down' state
125 if and only if there is a fault that prevents it from
126 going to the 'up' state; it should remain in the
127 'not-present' state if the interface has missing
128 (typically, hardware) components.";
130 "RFC 2863: The Interfaces Group MIB - ifOperStatus";
141 range "1..2147483647";
146 leaf link-up-down-trap-enable {
163 leaf-list higher-layer-if {
168 leaf-list lower-layer-if {
175 units "bits / second";
179 container statistics {