Interface
Represent interface object. Extends NetObj.
Instance attributes
- aiHint: String
-
Hint for AI anomaly profile generation.
- alarms ⇒ array
-
List of active Alarms for this object.
- alarmStats ⇒ array
-
Integer array that consists of 5 numbers - each number represents number of alarms for this and child objects for each of severity.
- alias: String
-
Object alias. For interfaces it is automatically collected on configuration poll (e.g. from SNMP ifAlias).
- asset ⇒ Asset
-
Reference to asset class of asset linked to this object.
nullif no asset is linked or the script has no read access to the asset.
- assetId: int
-
Id of linked asset object.
- assetProperties ⇒ AssetProperties
-
Reference to asset properties class of asset linked to this object.
- backupZoneProxy: Node
-
Currently selected backup zone proxy (
nullif zoning is disabled, backup proxy is not assigned, or the script has no read access to the proxy node)
- backupZoneProxyId: int
-
ID of currently selected backup zone proxy (
0if zoning is disabled or backup proxy is not assigned)
- category: String
-
Object’s category name
- categoryId: int
-
Object’s category ID
- children ⇒ array
-
List of direct child objects. Only objects the script has read access to are included. Use classof to differentiate.
- city: String
-
Postal address - city.
- comments: String
-
Object comments.
- country: String
-
Postal address - country.
- creationTime: int64
-
Object creation time as UNIX timestamp
- customAttributes ⇒ HashMap
-
Hash map of object custom attributes.
- district: String
-
Postal address - district.
- geolocation ⇒ GeoLocation
-
Object geographical location.
- guid: String
-
Object GUID as
string.
- id: int
-
Unique object identifier.
- ipAddr: String
-
Primary IP address. Deprecated and will be removed in a future version, use
ipAddressinstead.
- ipAddress ⇒ InetAddress
-
Added in version 5.1
Primary IP address.
- isInMaintenanceMode: bool
-
Maintenance mode indicator (
trueif object currently is in maintenace mode).
- isMaintenanceScheduled: bool
-
TRUEif there is a scheduled task that will put this object into maintenance mode.
- maintenanceInitiator: int
-
Maintenance initiator user id
- mapImage: String
-
GUID of object image used for representation on the maps.
- name: String
-
Object name.
- nameOnMap: String
-
Object name displayed on map.
- postcode: String
-
Postal address - postal code.
- primaryZoneProxy: Node
-
currently selected primary zone proxy (
nullif zoning is disabled, primary proxy is not assigned, or the script has no read access to the proxy node)
- primaryZoneProxyId: int
-
ID of currently selected primary zone proxy (
0if zoning is disabled or primary proxy is not assigned)
- region: String
-
Postal address - region.
- state: int
-
Current object state. One of: Node State, Cluster State, Sensor State
- status: int
-
Current object status.
- streetAddress: String
-
Postal address - street.
- timeZone: String
-
Effective time zone name (IANA name, e.g.
Europe/Riga). Time zone is inherited from parent objects if not set on this object directly.nullif time zone is not set. Use setTimeZone() to change.
- timeZoneRule: String
-
POSIX TZ rule string of the effective time zone (e.g.
EET-2EEST,M3.5.0/3,M10.5.0/4). Time zone is inherited from parent objects if not set on this object directly.nullif time zone is not set.
- type: int
- adminState: int
-
Administrative state of the interface.
- bridgePortNumber: int
-
Bridge port number for this interface.
- chassis: int
-
Chassis number from the physical location of the interface (see also
module,pic,port).
- description: String
-
Interface description
- dot1xBackendAuthState: int
-
802.1x back-end authentication state
- dot1xPaeAuthState: int
-
802.1x PAE authentication state
- expectedState: int
-
Expected state of the interface.
- flags: int
-
Interface flags (bit mask,
uint32).
- icmpAverageRTT: String
-
ICMP average response time for current interface in milliseconds, as a numeric string. Will return null if no information.
- icmpLastRTT: String
-
ICMP last response time for current interface in milliseconds, as a numeric string. Will return null if no information.
- icmpMaxRTT: String
-
ICMP maximal response time for current interface in milliseconds, as a numeric string. Will return null if no information.
- icmpMinRTT: String
-
ICMP minimal response time for current interface in milliseconds, as a numeric string. Will return null if no information.
- icmpPacketLoss: String
-
ICMP packet loss for current interface in percent, as a numeric string. Will return null if no information.
- ifAlias: String
-
Interface alias
- ifIndex: int
-
Interface index.
- ifName: String
-
Interface name obtained from object.
- ifType: int
- inboundUtilization: String
-
Inbound utilization in percent with one decimal digit (e.g.
"12.5"). Calculated from DCIs marked as interface inbound traffic indicators; meaningless if utilization is unknown (for example, no such DCI exists) (known issue, netxms#3806).
- ipAddressList: Array
-
Array with InetAddress objects, that represent all addresses that has this interface has
- isExcludedFromTopology: bool
-
TRUEif this interface excluded from network topology
- isIncludedInIcmpPoll: bool
-
TRUEif this interface is included in ICMP statistics
- isLoopback: bool
-
TRUEif this interface is a loopback
- isManuallyCreated: bool
-
TRUEif this interface object was created manually by NetXMS administrator
- isOSPF: bool
-
TRUEif this interface is OSPF
- isPhysicalPort: bool
-
TRUEif this interface object represents physical port
- macAddress: String
-
String representation of MAC address separated by ":".
macAddris an alias.
- module: int
-
Module number from the physical location of the interface.
- mtu: int
-
Interface MTU (0 if unknown).
- node ⇒ Node
-
Parent node object
- operState: int
-
Operational state.
- ospfAreaId: String
-
OSPF area ID
- ospfState: int
-
OSPF state
- ospfStateText: String
-
OSPF state as a text
- ospfType: int
-
OSPF type
- ospfTypeText: String
-
OSPF type as s text
- outboundUtilization: String
-
Outbound utilization in percent with one decimal digit (e.g.
"12.5"). Calculated from DCIs marked as interface outbound traffic indicators; meaningless if utilization is unknown (for example, no such DCI exists) (known issue, netxms#3806).
- peerInterface ⇒ Interface
-
Peer interface object if known, otherwise
null. Alsonullif trusted objects check is enabled and the peer node does not trust this interface’s node.
- peerLastUpdateTime: int
-
Unix timestamp of the last peer update.
- peerNode ⇒ Node
-
Peer node object if known, otherwise
null. Alsonullif trusted objects check is enabled and the peer node does not trust this interface’s node.
- pollCountForStatusChange: int
-
Number of polls required before registering a status change.
- pic: int
-
PIC (physical interface card) number from the physical location of the interface.
- port: int
-
Port number from the physical location of the interface.
- speed: int64
-
Speed of the interface in bits per second.
- stpState: int
-
Spaning tree port state of the interface.
- stpStateText: String
-
Spaning tree port state of the interface as a text.
- vlans: Array
-
Array with this inteface vlan objects
- zoneUIN: int
-
Zone UIN of this interface.
Instance methods
- bind(childObject): bool
-
Bind
childObjectto the current object as a child.Table 1. Parameters childObject
Object to bind as a child to the current object.
Returntrueif the objects were linked;falseif the link is refused because deletion of either object has started, or the script lacks modify access to the current object. Invalid object types, incompatible bindings and bindings that would create a loop cause a runtime error.
- bindTo(parentObject): bool
-
Bind current object to
parentObjectas a child.Table 2. Parameters parentObject
Object to bind as a parent to the current object.
Returntrueif the objects were linked;falseif the link is refused because deletion of either object has started, or the script lacks modify access to the current object. Invalid object types, incompatible bindings and bindings that would create a loop cause a runtime error.
- calculateDowntime(tag, periodStart, periodEnd): Array
-
Calculate node downtime
Table 3. Parameters tag
String
downtime tag
periodStart
Integer
Unix timestamp of the period start
periodEnd
Integer
Unix timestamp of the period end
ReturnArray of DowntimeInfo objects, or
nullif no downtime was recorded for the tag in the period.
- clearGeoLocation(): void
-
Clears GeoLocation data from the node
- createUserAgentNotification(message, startTime, endTime, showOnStartup=false): int
-
Send a User Support Application notification to the nodes at or below this object. Set
startTimeandendTimeto0for an instant notification. See User Support Application Notifications.Table 4. Parameters message
String
message to be sent
startTime
Integer
start time of message delivery (UNIX timestamp)
endTime
Integer
end time of message delivery (UNIX timestamp)
showOnStartup
Boolean
TRUEto show message on startup (optional, defaults to false)ReturnMessage id, or
nullif the script’s security context lacks the Manage user support application notifications system right.
- delete(): void
-
Deletes current object.
- deleteCustomAttribute(name): String
-
Delete custom attribute.
Table 5. Parameters name
String
Name of the attribute to delete.
ReturnPrevious value of the attribute, or
nullif it did not exist. Stored values"true"and"false"are returned as boolean, structured values as hash map or array.falseis also returned if the script has no modify access to the object (see access check), so it is ambiguous; read the attribute back to check whether it was deleted. For attribute names starting with$$the method returnsnulland does not delete anything.
- enterMaintenance([comment]): void
-
Enable maintenance mode for the object.
Table 6. Parameters comment
String
Optional. Maintenance comment, recorded with the maintenance mode change.
- expandString(string): String
-
Expand string by replacing macros with their values.
Table 7. Parameters string
String
String to expand
ReturnFormated string
>>> $node.expandString("%n") My node name
- forceAutobindPoll(): bool
-
Schedule forced autobind poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or autobind poll is not applicable to this object type.
- forceConfigurationPoll(): bool
-
Schedule forced configuration poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or configuration poll is not applicable to this object type.// Re-read node configuration after changing its SNMP settings $node.setSNMPCommunity("public"); if (!$node.forceConfigurationPoll()) println("Cannot schedule configuration poll");
- forceDiscoveryPoll(): bool
-
Schedule forced network discovery poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or network discovery poll is not applicable to this object type.
- forceInstanceDiscoveryPoll(): bool
-
Schedule forced instance discovery poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or instance discovery poll is not applicable to this object type.
- forceMapUpdatePoll(): bool
-
Schedule forced map update poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or map update poll is not applicable to this object type.
- forceRoutingTablePoll(): bool
-
Schedule forced routing table poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or routing table poll is not applicable to this object type.
- forceStatusPoll(): bool
-
Schedule forced status poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or status poll is not applicable to this object type.
- forceTopologyPoll(): bool
-
Schedule forced topology poll for this object. The poll is executed asynchronously on the poller thread pool; the method returns immediately after scheduling.
ReturnTRUEif the poll was scheduled,FALSEif the caller has no modify access to the object or topology poll is not applicable to this object type.
- getCustomAttribute(name): String
-
Returns value of the custom attribute with the provided name.
Table 8. Parameters name
String
Name of the attribute to get value from.
ReturnAttribute value, or
nullif the attribute does not exist. Stored values"true"and"false"are returned as boolean, structured values as hash map or array. Names starting with$$always returnnull.Alternatively, attributes can be accessed as instance attribues (with
., attribute should exist) or by usingattribute@objectnotion (which will returnnullinstead of runtime error if attribue is missing).
- getResponsibleUsers(tag) ⇒ array
-
Returns list of responsible users with specific tag. Full list is acceessible via .responsibleUsers
List of allowed tags are controlled by server configuration variable
Objects.ResponsibleUsers.AllowedTags.Table 9. Parameters tag
String
Tag.
nullreturns all responsible users, same as.responsibleUsers.ReturnArray with user objects that are added as responsible users for this object. Objects are User or UserGroup
This function return empty list if no users or groups are found for the tag.
- isChild(object): bool
-
If provided object is child of this object
Table 10. Parameters object
Object to check
ReturnTRUE if provided object is child of this object
- isDirectChild(object): bool
-
If provided object is direct child of this object
Table 11. Parameters object
Object to check
ReturnTRUE if provided object is direct child of this object
- isDirectParent(object): bool
-
If provided object is direct parent of this object
Table 12. Parameters object
Object to check
ReturnTRUE if provided object is direct parent of this object
- isParent(object): bool
-
If provided object is parent of this object
Table 13. Parameters object
Object to check
ReturnTRUE if provided object is parent of this object
- leaveMaintenance(): void
-
Disable maintenance mode for the object.
- manage(): void
-
Sets object to managed state. Has no affect if object already managed. Returns
falseand does not change the state if the object is a decommissioned node.
- readMaintenanceJournal([startTime], [endTime]): Array
-
Read maintenance entries
Table 14. Parameters startTime
Integer
Optional. Period start as UNIX timestamp.
0or omitted means no lower bound.endTime
Integer
Optional. Period end as UNIX timestamp.
0or omitted means no upper bound.ReturnArray with MaintenanceJournalRecord objects, or
nullon database error
- rename(name): void
-
Rename object.
Table 15. Parameters name
String
New object name
- setAlias(name): void
-
Set object alias name
Table 16. Parameters name
String
New alias name
- setCategory(idOrName): bool
-
Set object category id or name (used to get object display image)
Table 17. Parameters idOrName
String
ID or name of category
ReturnTRUEon success,FALSEif the category is not found or the caller has no modify access to the object.
- setComments(comment, [isMarkdown]): void
-
Set object comments
Table 18. Parameters comment
String
Comment to be set
isMarkdown
Boolean
Optional second argument ( v 5.1.2 ). If it is logical "true", Markdown indicator will be added if not present already; if it is logical "false" (but not NULL), Markdown indicator will be removed if present; if it is NULL or omitted, comment will be set as is (retaining existing behavior).
- setCustomAttribute(key, value, [inherit]): String
-
Update or create custom attribute with the given key and value.
Table 19. Parameters key
String
Attribute key
value
String
Attribute value. Hash map, array, JsonObject or JsonArray is stored as structured (JSON) value.
inherit
Boolean
Optional parameter. If not set - inheritance will not be changed.
trueto inherit,falsenot to inherit.ReturnPrevious value of the attribute, or
nullif it did not exist. Stored values"true"and"false"are returned as boolean, structured values as hash map or array.falseis also returned if the script has no modify access to the object (see access check), so it is ambiguous; read the attribute back to check whether it was set. For attribute names starting with$$the method returnsfalseand does not set anything.$node.setCustomAttribute("location", "Rack 12"); if ($node.getCustomAttribute("location") != "Rack 12") println("Cannot set custom attribute");
- setGeoLocation(newLocation): void
-
Sets node geographical location.
Table 20. Parameters newLocation
- setMapImage(image): bool
-
Sets object image, that will be used to display object on network map
Table 21. Parameters image
String
GUID or name of image from image library.
nullor all-zero GUID resets the image.ReturnTRUEon success,FALSEif the image is not found in image library or the caller has no modify access to the object.
- setNameOnMap(name): void
-
Sets object’s name, that will be used to display object on network map
Table 22. Parameters name
String
New object’s name on map
- setPostalAddress(country, region, city, district, streetAddress, postcode): void
-
Sets object’s postal address. Each argument must be a string or
null. Anullor empty value clears the corresponding field.Table 23. Parameters country
String
Country.
nullor empty to clear.region
String
Region.
nullor empty to clear.city
String
City.
nullor empty to clear.district
String
District.
nullor empty to clear.streetAddress
String
Street address.
nullor empty to clear.postcode
String
Postal code.
nullor empty to clear.
- setStatusCalculation(type, …): int
-
Sets status calculation method.
Table 24. Parameters type
Integer
Status calculation type. One of status calculation types
…
Integer(s)
If single threshold or multiple thresholds type is selected, then threshold or thresholds in percentage should be provided as next parameters.
Return1on success,0iftypeis not a valid status calculation type.falseif the caller has no modify access to the object.
- setStatusPropagation(type, …): int
-
Sets status propagation method.
Table 25. Parameters type
Integer
Status propagation type. One of status propagation types
…
Integer(s)
For fixed value type - value (object status) should be provided. For relative - offset should be provided. For translated - status mapping should be provided (4 numbers: object status to propagate for Warning, Minor, Major and Critical).
Return1on success,0iftypeis not a valid status propagation type.falseif the caller has no modify access to the object.
- setTimeZone(name, [rule]): bool
-
Set object’s time zone. Time zone is inherited by child objects that do not have their own setting. Passing
nullor empty string asnameremoves object’s own setting; time zone inherited from parent objects, if any, stays in effect.Table 26. Parameters name
String
IANA time zone name (e.g.
Europe/Riga).nullor empty to remove object’s own setting.rule
String
Optional POSIX TZ rule string (e.g.
EET-2EEST,M3.5.0/3,M10.5.0/4). If omitted, the rule is resolved fromnameusing the server’s system time zone database; must be provided if the server cannot resolve the name.ReturnTRUEon success,FALSEif the caller has no modify access to the object, the name is malformed, the rule cannot be parsed, or the name cannot be resolved.$node.setTimeZone("Europe/Riga"); println($node.timeZone); // Europe/Riga println($node.timeZoneRule); // EET-2EEST,M3.5.0/3,M10.5.0/4 $node.setTimeZone(null); // revert to time zone inherited from parents
- unbind(object): void
-
Unbind provided object from the current object.
Table 27. Parameters object
Object to unbind from the current object.
- unbindFrom(object): void
-
Unbind current object from the provided object.
Table 28. Parameters object
Object to unbind from the current object.
- unmanage(): void
-
Set object into unmanaged state. Has no effect if object is already in unmanaged state.
- writeMaintenanceJournal(description): bool
-
Add entry to maintenance journal
Table 29. Parameters description
String
Message to be added
ReturnTRUEif the entry was added,FALSEon failure or if the caller has no maintenance access to the object.
- clearPeer(): void
-
Clears peer information for this interface and for its peer interface. Does nothing if the interface has no peer.
Returnnull, orFALSEif caller has no modify access to the interface.
- enableAgentStatusPolling(enabled): void
-
Enable\disable agent status polling for this interface
Table 30. Parameters enabled
Boolean
TRUEif interface should be status polled by NetXMS agent
- enableICMPStatusPolling(enabled): void
-
Enable\disable ICMP status polling for this interface
Table 31. Parameters enabled
Boolean
TRUEif interface should be status polled by ICMP
- enableSNMPStatusPolling(enabled): void
-
Enable\disable SNMP status polling for this interface
Table 32. Parameters enabled
Boolean
TRUEif interface should be status polled by SNMP
- setExcludeFromTopology(excluded): void
-
Change
isExcludedFromTopologyflag.Table 33. Parameters excluded
Boolean
TRUEif interface should be excluded.
- setExpectedState(newState): void
-
Set expected state to
newState.Table 34. Parameters newState
Integer or String
New state as defined by Interface expected states, or one of the names
"UP","DOWN","IGNORE"(case-insensitive). Invalid values are ignored.
- setIncludeInIcmpPoll(enabled): void
-
Enabele/Disable ICMP statistics collection for current interface.
Table 35. Parameters enabled
Boolean
If this interface should be included in ICMP statistics.
- setPeer(peerInterface): bool
-
Set given interface as layer 2 peer of this interface. Both interfaces are updated to point at each other, in the same way as a manually created link on the network map. Existing peers of either interface are cleared.
Table 36. Parameters peerInterface
Interface or Integer
Peer interface object or interface object ID.
ReturnTRUEon success,FALSEif peer interface was not found, is the same interface, either interface has no parent node, or caller has no modify access to either interface.switchPort = FindObject("core-sw1").getInterfaceByName("Gi1/0/24"); serverNic = $node.getInterfaceByName("eth0"); if (!serverNic.setPeer(switchPort)) println("Cannot link interfaces");
- setPollCountForStatusChange(count): void
-
Set the required number of polls before registering a status change.
Table 37. Parameters count
Integer
Number of polls (must be >= 0; negative values are ignored) or 0 to use the parent node’s setting, or the system default if the node has none.
- wakeUp(): bool
-
Send Wake-on-LAN magic packet to this interface. The packet is sent to the broadcast address of the subnet of the first IPv4 address of the interface, so the interface must have both a MAC address and an IPv4 address.
ReturnTRUEif magic packet was sent,FALSEif interface has no MAC address or IPv4 address, packet cannot be sent, or caller has no control access to the interface.
Constants
| Code | Description |
|---|---|
0 |
Unknown |
1 |
Up |
2 |
Down |
3 |
Testing |
4 |
Dormant (operational state only) |
5 |
Not present (operational state only) |
| Code | Description |
|---|---|
0 |
Up |
1 |
Down |
2 |
Ignore |
| Code | Type |
|---|---|
1 |
IFTYPE_OTHER |
2 |
IFTYPE_REGULAR1822 |
3 |
IFTYPE_HDH1822 |
4 |
IFTYPE_DDN_X25 |
5 |
IFTYPE_RFC877_X25 |
6 |
IFTYPE_ETHERNET_CSMACD |
7 |
IFTYPE_ISO88023_CSMACD |
8 |
IFTYPE_ISO88024_TOKENBUS |
9 |
IFTYPE_ISO88025_TOKENRING |
10 |
IFTYPE_ISO88026_MAN |
11 |
IFTYPE_STARLAN |
12 |
IFTYPE_PROTEON_10MBIT |
13 |
IFTYPE_PROTEON_80MBIT |
14 |
IFTYPE_HYPERCHANNEL |
15 |
IFTYPE_FDDI |
16 |
IFTYPE_LAPB |
17 |
IFTYPE_SDLC |
18 |
IFTYPE_DS1 |
19 |
IFTYPE_E1 |
20 |
IFTYPE_BASIC_ISDN |
21 |
IFTYPE_PRIMARY_ISDN |
22 |
IFTYPE_PROP_PTP_SERIAL |
23 |
IFTYPE_PPP |
24 |
IFTYPE_SOFTWARE_LOOPBACK |
25 |
IFTYPE_EON |
26 |
IFTYPE_ETHERNET_3MBIT |
27 |
IFTYPE_NSIP |
28 |
IFTYPE_SLIP |
29 |
IFTYPE_ULTRA |
30 |
IFTYPE_DS3 |
31 |
IFTYPE_SMDS |
32 |
IFTYPE_FRAME_RELAY |
33 |
IFTYPE_RS232 |
34 |
IFTYPE_PARA |
35 |
IFTYPE_ARCNET |
36 |
IFTYPE_ARCNET_PLUS |
37 |
IFTYPE_ATM |
38 |
IFTYPE_MIOX25 |
39 |
IFTYPE_SONET |
40 |
IFTYPE_X25PLE |
41 |
IFTYPE_ISO88022LLC |
42 |
IFTYPE_LOCALTALK |
43 |
IFTYPE_SMDS_DXI |
44 |
IFTYPE_FRAME_RELAY_SERVICE |
45 |
IFTYPE_V35 |
46 |
IFTYPE_HSSI |
47 |
IFTYPE_HIPPI |
48 |
IFTYPE_MODEM |
49 |
IFTYPE_AAL5 |
50 |
IFTYPE_SONET_PATH |
51 |
IFTYPE_SONET_VT |
52 |
IFTYPE_SMDS_ICIP |
53 |
IFTYPE_PROP_VIRTUAL |
54 |
IFTYPE_PROP_MULTIPLEXOR |
55 |
IFTYPE_IEEE80212 |
56 |
IFTYPE_FIBRECHANNEL |
57 |
IFTYPE_HIPPIINTERFACE |
58 |
IFTYPE_FRAME_RELAY_INTERCONNECT |
59 |
IFTYPE_AFLANE8023 |
60 |
IFTYPE_AFLANE8025 |
61 |
IFTYPE_CCTEMUL |
62 |
IFTYPE_FAST_ETHERNET |
63 |
IFTYPE_ISDN |
64 |
IFTYPE_V11 |
65 |
IFTYPE_V36 |
66 |
IFTYPE_G703_AT64K |
67 |
IFTYPE_G703_AT2MB |
68 |
IFTYPE_QLLC |
69 |
IFTYPE_FASTETHERFX |
70 |
IFTYPE_CHANNEL |
71 |
IFTYPE_IEEE80211 |
72 |
IFTYPE_IBM370_PARCHAN |
73 |
IFTYPE_ESCON |
74 |
IFTYPE_DLSW |
75 |
IFTYPE_ISDNS |
76 |
IFTYPE_ISDNU |
77 |
IFTYPE_LAPD |
78 |
IFTYPE_IPSWITCH |
79 |
IFTYPE_RSRB |
80 |
IFTYPE_ATMLOGICAL |
81 |
IFTYPE_DS0 |
82 |
IFTYPE_DS0_BUNDLE |
83 |
IFTYPE_BSC |
84 |
IFTYPE_ASYNC |
85 |
IFTYPE_CNR |
86 |
IFTYPE_ISO88025DTR |
87 |
IFTYPE_EPLRS |
88 |
IFTYPE_ARAP |
89 |
IFTYPE_PROPCNLS |
90 |
IFTYPE_HOSTPAD |
91 |
IFTYPE_TERMPAD |
92 |
IFTYPE_FRAME_RELAY_MPI |
93 |
IFTYPE_X213 |
94 |
IFTYPE_ADSL |
95 |
IFTYPE_RADSL |
96 |
IFTYPE_SDSL |
97 |
IFTYPE_VDSL |
98 |
IFTYPE_ISO88025CRFPINT |
99 |
IFTYPE_MYRINET |
100 |
IFTYPE_VOICEEM |
101 |
IFTYPE_VOICEFXO |
102 |
IFTYPE_VOICEFXS |
103 |
IFTYPE_VOICEENCAP |
104 |
IFTYPE_VOICEOVERIP |
105 |
IFTYPE_ATMDXI |
106 |
IFTYPE_ATMFUNI |
107 |
IFTYPE_ATMIMA |
108 |
IFTYPE_PPPMULTILINKBUNDLE |
109 |
IFTYPE_IPOVERCDLC |
110 |
IFTYPE_IPOVERCLAW |
111 |
IFTYPE_STACKTOSTACK |
112 |
IFTYPE_VIRTUAL_IP_ADDRESS |
113 |
IFTYPE_MPC |
114 |
IFTYPE_IPOVERATM |
115 |
IFTYPE_ISO88025FIBER |
116 |
IFTYPE_TDLC |
117 |
IFTYPE_GIGABIT_ETHERNET |
118 |
IFTYPE_HDLC |
119 |
IFTYPE_LAPF |
120 |
IFTYPE_V37 |
121 |
IFTYPE_X25MLP |
122 |
IFTYPE_X25_HUNT_GROUP |
123 |
IFTYPE_TRANSPHDLC |
124 |
IFTYPE_INTERLEAVE |
125 |
IFTYPE_FAST |
126 |
IFTYPE_IP |
127 |
IFTYPE_DOCSCABLE_MACLAYER |
128 |
IFTYPE_DOCSCABLE_DOWNSTREAM |
129 |
IFTYPE_DOCSCABLE_UPSTREAM |
130 |
IFTYPE_A12MPPSWITCH |
131 |
IFTYPE_TUNNEL |
132 |
IFTYPE_COFFEE |
133 |
IFTYPE_CES |
134 |
IFTYPE_ATM_SUBINTERFACE |
135 |
IFTYPE_L2VLAN |
136 |
IFTYPE_L3IPVLAN |
137 |
IFTYPE_L3IPXVLAN |
138 |
IFTYPE_DIGITAL_POWERLINE |
139 |
IFTYPE_MEDIAMAIL_OVER_IP |
140 |
IFTYPE_DTM |
141 |
IFTYPE_DCN |
142 |
IFTYPE_IPFORWARD |
143 |
IFTYPE_MSDSL |
144 |
IFTYPE_IEEE1394 |
145 |
IFTYPE_GSN |
146 |
IFTYPE_DVBRCC_MACLAYER |
147 |
IFTYPE_DVBRCC_DOWNSTREAM |
148 |
IFTYPE_DVBRCC_UPSTREAM |
149 |
IFTYPE_ATM_VIRTUAL |
150 |
IFTYPE_MPLS_TUNNEL |
151 |
IFTYPE_SRP |
152 |
IFTYPE_VOICE_OVER_ATM |
153 |
IFTYPE_VOICE_OVER_FRAME_RELAY |
154 |
IFTYPE_IDSL |
155 |
IFTYPE_COMPOSITE_LINK |
156 |
IFTYPE_SS7_SIGLINK |
157 |
IFTYPE_PROPWIRELESSP2P |
158 |
IFTYPE_FRFORWARD |
159 |
IFTYPE_RFC1483 |
160 |
IFTYPE_USB |
161 |
IFTYPE_IEEE8023ADLAG |
162 |
IFTYPE_BGP_POLICY_ACCOUNTING |
163 |
IFTYPE_FRF16MFR_BUNDLE |
164 |
IFTYPE_H323_GATEKEEPER |
165 |
IFTYPE_H323_PROXY |
166 |
IFTYPE_MPLS |
167 |
IFTYPE_MFSIGLINK |
168 |
IFTYPE_HDSL2 |
169 |
IFTYPE_SHDSL |
170 |
IFTYPE_DS1FDL |
171 |
IFTYPE_POS |
172 |
IFTYPE_DVBASI_IN |
173 |
IFTYPE_DVBASI_OUT |
174 |
IFTYPE_PLC |
175 |
IFTYPE_NFAS |
176 |
IFTYPE_TR008 |
177 |
IFTYPE_GR303RDT |
178 |
IFTYPE_GR303IDT |
179 |
IFTYPE_ISUP |
180 |
IFTYPE_PROPDOCSWIRELESSMACLAYER |
181 |
IFTYPE_PROPDOCSWIRELESSDOWNSTREAM |
182 |
IFTYPE_PROPDOCSWIRELESSUPSTREAM |
183 |
IFTYPE_HIPERLAN2 |
184 |
IFTYPE_PROPBWAP2MP |
185 |
IFTYPE_SONET_OVERHEAD_CHANNEL |
186 |
IFTYPE_DW_OVERHEAD_CHANNEL |
187 |
IFTYPE_AAL2 |
188 |
IFTYPE_RADIOMAC |
189 |
IFTYPE_ATMRADIO |
190 |
IFTYPE_IMT |
191 |
IFTYPE_MVL |
192 |
IFTYPE_REACHDSL |
193 |
IFTYPE_FRDLCIENDPT |
194 |
IFTYPE_ATMVCIENDPT |
195 |
IFTYPE_OPTICAL_CHANNEL |
196 |
IFTYPE_OPTICAL_TRANSPORT |
197 |
IFTYPE_PROPATM |
198 |
IFTYPE_VOICE_OVER_CABLE |
199 |
IFTYPE_INFINIBAND |
200 |
IFTYPE_TELINK |
201 |
IFTYPE_Q2931 |
202 |
IFTYPE_VIRTUALTG |
203 |
IFTYPE_SIPTG |
204 |
IFTYPE_SIPSIG |
205 |
IFTYPE_DOCSCABLEUPSTREAMCHANNEL |
206 |
IFTYPE_ECONET |
207 |
IFTYPE_PON155 |
208 |
IFTYPE_PON622 |
209 |
IFTYPE_BRIDGE |
210 |
IFTYPE_LINEGROUP |
211 |
IFTYPE_VOICEEMFGD |
212 |
IFTYPE_VOICEFGDEANA |
213 |
IFTYPE_VOICEDID |
214 |
IFTYPE_MPEG_TRANSPORT |
215 |
IFTYPE_SIXTOFOUR |
216 |
IFTYPE_GTP |
217 |
IFTYPE_PDNETHERLOOP1 |
218 |
IFTYPE_PDNETHERLOOP2 |
219 |
IFTYPE_OPTICAL_CHANNEL_GROUP |
220 |
IFTYPE_HOMEPNA |
221 |
IFTYPE_GFP |
222 |
IFTYPE_CISCO_ISL_VLAN |
223 |
IFTYPE_ACTELIS_METALOOP |
224 |
IFTYPE_FCIPLINK |
225 |
IFTYPE_RPR |
226 |
IFTYPE_QAM |
227 |
IFTYPE_LMP |
228 |
IFTYPE_CBLVECTASTAR |
229 |
IFTYPE_DOCSCABLEMCMTSDOWNSTREAM |
230 |
IFTYPE_ADSL2 |
231 |
IFTYPE_MACSECCONTROLLEDIF |
232 |
IFTYPE_MACSECUNCONTROLLEDIF |
233 |
IFTYPE_AVICIOPTICALETHER |
234 |
IFTYPE_ATM_BOND |
235 |
IFTYPE_VOICEFGDOS |
236 |
IFTYPE_MOCA_VERSION1 |
237 |
IFTYPE_IEEE80216WMAN |
238 |
IFTYPE_ADSL2PLUS |
239 |
IFTYPE_DVBRCSMACLAYER |
240 |
IFTYPE_DVBTDM |
241 |
IFTYPE_DVBRCSTDMA |
242 |
IFTYPE_X86LAPS |
243 |
IFTYPE_WWANPP |
244 |
IFTYPE_WWANPP2 |
245 |
IFTYPE_VOICEEBS |
246 |
IFTYPE_IFPWTYPE |
247 |
IFTYPE_ILAN |
248 |
IFTYPE_PIP |
249 |
IFTYPE_ALUELP |
250 |
IFTYPE_GPON |
251 |
IFTYPE_VDSL2 |
252 |
IFTYPE_CAPWAP_DOT11_PROFILE |
253 |
IFTYPE_CAPWAP_DOT11_BSS |
254 |
IFTYPE_CAPWAP_WTP_VIRTUAL_RADIO |
255 |
IFTYPE_BITS |
256 |
IFTYPE_DOCSCABLEUPSTREAMRFPORT |
257 |
IFTYPE_CABLEDOWNSTREAMRFPORT |
258 |
IFTYPE_VMWARE_VIRTUAL_NIC |
259 |
IFTYPE_IEEE802154 |
260 |
IFTYPE_OTNODU |
261 |
IFTYPE_OTNOTU |
262 |
IFTYPE_IFVFITYPE |
263 |
IFTYPE_G9981 |
264 |
IFTYPE_G9982 |
265 |
IFTYPE_G9983 |
266 |
IFTYPE_ALUEPON |
267 |
IFTYPE_ALUEPONONU |
268 |
IFTYPE_ALUEPONPHYSICALUNI |
269 |
IFTYPE_ALUEPONLOGICALLINK |
270 |
IFTYPE_ALUGPONONU |
271 |
IFTYPE_ALUGPONPHYSICALUNI |
272 |
IFTYPE_VMWARE_NIC_TEAM |
| Code | Description |
|---|---|
0 |
UNKNOWN |
1 |
DISABLED |
2 |
BLOCKING |
3 |
LISTENING |
4 |
LEARNING |
5 |
FORWARDING |
6 |
BROKEN |