1SNMP::Info::PortAccessEUnsteirtyC(o3nptmr)ibuted Perl DoScNuMmPe:n:tIantfioo:n:PortAccessEntity(3pm)
2
3
4
6 SNMP::Info::PortAccessEntity - SNMP Interface to data stored in
7 IEEE8021-PAE-MIB.
8
10 Christian Ramseyer
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $pae = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $pae->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 IEEE8021-PAE-MIB is used to describe Port Access Entities, aka
28 NAC/dot1x features.
29
30 Create or use a device subclass that inherit this class. Do not use
31 directly.
32
33 For debugging purposes you can call this class directly as you would
34 SNMP::Info
35
36 my $pae = new SNMP::Info::PortAccessEntity (...);
37
38 Inherited Classes
39 none.
40
41 Required MIBs
42 IEEE8021-PAE-MIB
43
45 $pae->pae_control()
46 The administrative enable/disable state for Port Access Control in
47 a System. Possible values are enabled and disabled.
48
49 "dot1xPaeSystemAuthControl"
50
52 These are methods that return tables of information in the form of a
53 reference to a hash.
54
55 $pae->pae_authconfig_state()
56 Authentication state: is the port authenticated, disconnected, etc.
57
58 "dot1xAuthPaeState"
59
60 $pae->pae_authconfig_port_status()
61 Controlled Port status parameter for the Port: can only be
62 authorized or unauthorized
63
64 "dot1xAuthAuthControlledPortStatus"
65
66 $pae->pae_authsess_user()
67 The User-Name representing the identity of the Supplicant PAE. This
68 can be a pretty arbitrary string besides an actual username, e.g. a
69 MAC address for MAB or a hostname for dot1x.
70
71 "dot1xAuthSessionUserName"
72
73 $pae->pae_authsess_mab()
74 Helper method, guess if this a mac address bypass port: contains
75 the string "mab" for indexes where the pae_authsess_user looks like
76 a MAC address.
77
78
79
80perl v5.38.0 2023-09-04 SNMP::Info::PortAccessEntity(3pm)