1SNMP::Info::Layer3::NetUsscerreeCno(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::Netscreen(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Netscreen - SNMP Interface to Juniper Netscreen
7       Devices
8

AUTHOR

10       Kent Hamilton
11

SYNOPSIS

13           #Let SNMP::Info determine the correct subclass for you.
14
15           my $netscreen = new SNMP::Info(
16                                 AutoSpecify => 1,
17                                 Debug       => 1,
18                                 DestHost    => 'myswitch',
19                                 Community   => 'public',
20                                 Version     => 2
21                               )
22
23           or die "Can't connect to DestHost.\n";
24
25           my $class = $netscreen->class();
26           print "SNMP::Info determined this device to fall under subclass : $class\n";
27

DESCRIPTION

29       Provides abstraction to the configuration information obtainable from a
30       Juniper Netscreen device through SNMP.
31
32   Inherited Classes
33       SNMP::Info::Layer3
34       SNMP::Info::IEEE802dot11
35
36   Required MIBs
37       NETSCREEN-SMI
38       NETSCREEN-PRODUCTS-MIB
39       NETSCREEN-INTERFACE-MIB
40       NETSCREEN-SET-GEN-MIB
41       NETSCREEN-IP-ARP-MIB
42       Inherited Classes' MIBs
43           See "Required MIBs" in SNMP::Info::Layer3 for its MIB requirements.
44
45           See "Required MIBs" in SNMP::Info::IEEE802dot11 for its MIB
46           requirements.
47

GLOBALS

49       These are methods that return scalar value from SNMP
50
51       $netscreen->model()
52           Tries to reference $netscreen->id() to NETSCREEN-PRODUCTS-MIB
53
54       $netscreen->vendor()
55           Returns 'juniper'
56
57       $netscreen->os()
58           Returns 'screenos'
59
60       $netscreen->os_ver()
61           Extracts the OS version from the description string.
62
63       $netscreen->serial()
64           Returns serial number.
65
66   Overrides
67       $netscreen->layers()
68           Returns 01001110.  Device doesn't report layers properly, modified
69           to reflect Layer 2 and 3 functionality.
70
71   Globals imported from SNMP::Info::Layer3
72       See "GLOBALS" in SNMP::Info::Layer3 for details.
73
74   Globals imported from SNMP::Info::IEEE802dot11
75       See "GLOBALS" in SNMP::Info::IEEE802dot11 for details.
76

TABLE METHODS

78       These are methods that return tables of information in the form of a
79       reference to a hash.
80
81   Overrides
82       Interface Information
83
84       $netscreen->interfaces()
85           Creates a map between the interface identifier (iid) and the
86           physical port name.
87
88           Defaults to "insIfDescr" if available, uses "nsIfName" if not.
89
90       $netscreen->i_description()
91           Description of the interface. Uses "insIfDescr" if available,
92           "nsIfName" if not.
93
94       $netscreen->i_ignore()
95           Returns without defining any interfaces to ignore.
96
97       $netscreen->i_index()
98           Default SNMP IID to Interface index.
99
100           ("nsIfIndex")
101
102       $netscreen->i_lastchange()
103           The value of "sysUpTime" when this port last changed states
104           (up,down), maps from "ifIndex" to "nsIfIndex".
105
106           ("ifLastChange")
107
108       $netscreen->i_mac()
109           MAC address of the interface.  Note this is just the MAC of the
110           port, not anything connected to it.  Uses "nsIfMAC" if available,
111           "ifPhysAddress" if not.
112
113       $netscreen->i_mtu()
114           INTEGER. Interface MTU value, maps from "ifIndex" to "nsIfIndex".
115
116           ("ifMtu")
117
118       $netscreen->i_name()
119           Interface Name field.
120
121           ("nsIfName")
122
123       $netscreen->i_speed()
124           Speed of the link, maps from "ifIndex" to "nsIfIndex".
125
126       $netscreen->i_type()
127           Interface type.  Maps from "ifIndex" to "nsIfIndex".
128
129           ("ifType")
130
131       $netscreen->i_up()
132           Link Status of the interface.  Typical values are 'up' and 'down'.
133
134           ("nsIfStatus")
135
136       $netscreen->i_up_admin()
137           Administrative status of the port.  Checks both "ifAdminStatus" and
138           "nsIfStatus".
139
140       IP Address Table
141
142       Each entry in this table is an IP address in use on this device.
143
144       $netscreen->ip_index()
145           Maps the IP Table to the IID
146
147       $netscreen->ip_table()
148           Maps the Table to the IP address
149
150           ("nsIfIp")
151
152       $netscreen->ip_netmask()
153           Gives netmask setting for IP table entry.
154
155           ("nsIfNetmask")
156
157       Forwarding Table
158
159       Uses "nsIpArpTable" to emulate the forwarding table.
160
161       $netscreen->fw_index()
162           Maps the Forwarding Table to the IID
163
164       $netscreen->fw_mac()
165           Returns reference to hash of forwarding table MAC Addresses.
166
167       $netscreen->fw_port()
168           Returns reference to hash of forwarding table entries port
169           interface identifier (IID).
170
171       $netscreen->bp_index()
172           Returns reference to hash of bridge port table entries map back to
173           interface identifier (IID).
174
175   Arp Cache Table
176       $netscreen->at_index()
177           Returns reference to hash.  Maps ARP table entries to Interface
178           IIDs
179
180           If the device doesn't support "ipNetToMediaIfIndex", this will try
181           the proprietary "nsIpArpIfIdx".
182
183       $netscreen->at_paddr()
184           Returns reference to hash.  Maps ARP table entries to MAC
185           addresses.
186
187           If the device doesn't support "ipNetToMediaPhysAddress", this will
188           try the proprietary "nsIpArpMac".
189
190       $netscreen->at_netaddr()
191           Returns reference to hash.  Maps ARP table entries to IP addresses.
192
193           If the device doesn't support "ipNetToMediaNetAddress", this will
194           try the proprietary "nsIpArpIp".
195
196       Wireless Information
197
198       $dot11->i_ssidlist()
199           Returns reference to hash.  SSID's recognized by the radio
200           interface.  Remaps from "ifIndex" to "nsIfIndex".
201
202           ("dot11DesiredSSID")
203
204       $dot11->i_80211channel()
205           Returns reference to hash.  Current operating frequency channel of
206           the radio interface.  Remaps from "ifIndex" to "nsIfIndex".
207
208   Table Methods imported from SNMP::Info::Layer3
209       See "TABLE METHODS" in SNMP::Info::Layer3 for details.
210
211   Table Methods imported from SNMP::Info::IEEE802dot11
212       See "TABLE METHODS" in SNMP::Info::IEEE802dot11 for details.
213
214
215
216perl v5.32.0                      2020-07-28  SNMP::Info::Layer3::Netscreen(3)
Impressum