Only IPv4 is supported when using the menu to set the management access method.
This command authorizes manager-level access for any station with an IP address of 10.28.227.0 through 10.28.227.255:
HPswitch(config)# ip authorized-managers 10.28.227.101 255.255.255.0 access manager
Similarly, the next command authorizes manager-level access for any station having an IP address of 10.28.227.101 through 103:
HPswitch(config)# ip authorized-managers 10.28.227.101 255.255.255.252 access manager
If you omit the
when adding a new authorized manager, the switch automatically uses <mask bits>
255.255.255.255
. If you do not specify either Manager or Operator access, the switchassigns the Manager access.
To change the mask or access level for an existing entry, use the entry's IP address and enter the new values. Notice that any parameters not included in the command will be set to their default.
HPswitch(config)# ip authorized-managers 10.28.227.101 255.255.255.0 access operator
The above command replaces the existing mask and access level for IP address 10.28.227.101 with 255.255.255.0 and operator.
The following command replaces the existing mask and access level for IP address 10.28.227.101 with 255.255.255.255 and manager(the defaults) because the command does not specify either of these parameters.
HPswitch(config)# ip authorized-managers 10.28.227.101
See the IPv6 Configuration Guide for information about Authorized IP manager configuration with IPv6 addresses.
Syntax
[no] ip authorized-managers
[ip-address
ip-mask
accessmanager
|operator
]access-method
[all
|ssh
|telnet
|web
|snmp
|tftp
]
[no] ipv6 authorizedmanagers
[ip-address
ip-mask
accessmanager
|operator
]access-method
[all
|ssh
|telnet
|web
|snmp
|tftp
]Configures one or more authorized IP addresses.
Configures the privilege level for
<ip-address>
. Applies only to access through telnet, SSH, SNMPv1, SNMPv2c, and SNMPv3.Configures access levels by access method and IP address. Each management method can have its own set of authorized managers. Default
all
This command authorizes manager-level access for any station with an IP address of 10.28.227.0 through 10.28.227.255:
HP Switch(config)# ip authorized-managers 10.28.227.101 255.255.255.0 access manager
Similarly, the next command authorizes manager-level access for any station having an IP address of 10.28.227.101 through 103:
HP Switch(config)# ip authorized-managers 10.28.227.101 255.255.255.252 access manager
If you omit the <mask bits > when adding a new authorized manager, the switch automatically uses 255.255.255.255. If you do not specify either Manager or Operator access, the switch assigns the Manager access.
To change the mask or access level for an existing entry, use the entry’s IP address and enter the new values. (Notice that any parameters not included in the command will be set to their default.):
HP Switch(config)# ip authorized-managers 10.28.227.101 255.255.255.0 access operator
The above command replaces the existing mask and access level for IP address 10.28.227.101 with 255.255.255.0 and operator.
The following command replaces the existing mask and access level for IP address 10.28.227.101 with 255.255.255.255 and manager (the defaults) because the command does not specify either of these parameters.
HP Switch(config)# ip authorized-managers 10.28.227.101