724-746-5500 | blackbox.com
Page 32 NBS008A
724-746-5500 | blackbox.com
Chapter 7: Console Commands
GET ALERTTYPE
Set or display the type of alert mess ages sent by the switch when certain events such as a change in switch state occur. The
switch can be configured to issue either syslog messages, or SNMP traps.
NOTE: At least one IP address must be entered using the “SET MANAGER N X.X.X.X” command before either syslog messages or
traps will be issued. See Chapter 9 for a list of the traps supported by the switch, and see Chapter 10 for a list of the
supported syslog messages.
SET ADMINIP N X.X.X.X
Set administrator N (1-8) IP address. Up to 8 different administrator IP addresses can be entered. To remove an entry from the list,
set the IP address to 0.0.0.0. If all 8 ADMIN IP addresses are 0.0.0.0 (no ADMIN IP addresses are configured) the switch will allow
access via the Ethernet network management interface from any IP address, subject to the existing password and enable flags for
each interface. If one or more ADMIN IP addresse s are nonzero, the switch will only process messages received from the
configured (non-zero) ADMIN IP addresses. All other messages will be ignored. This ADMIN IP address filtering feature applies to
the telnet, Web browser, and SNMP Ethernet interfaces and to the PING reply functions. The ADMIN IP address filtering does not
affect outgoing PING and ARP messages so the switch is still able to monitor any IP address for the “auto-switch” features. The
administrator IP addresses can be different than the manager IP addresses. Any change will not become permanent until a SAVE
operation is performed.
GET ADMINIP N
Display the IP address of administrator N (1–8). If no value is entered for “N,” then all administrator IP addresses will be displayed.
ADMIN IP Addresses:
1: 192 .168 .1.113
2: 192 .168 .1.115
3: 192 .16 8.1.14 9
4: 192 .16 8.1.1 00
SET MANAGER N X.X.X.X
Set SNMP manager N (1–16) IP address. Up to 16 SNMP MANAGER IP addresses can be entered for destinations of trap or syslog
messages. Trap or syslog messages will be sent to all enabled MANAGER IP addresses. To remove an entry from the list, set the IP
address to 0.0.0.0.
SNMP Manager Table:
1: 192 .168 .1.113
2: 192 .168 .1.115
3: 192 .16 8.1.14 9
4: 192 .16 8.1.1 00
GET MANAGER N
Display SNMP manager N (1–16) IP address.
GET MANAGER
Display all SNMP manager IP addresses.
PING X.X.X.X
Causes the switch to issue a single ICMP echo request packet to the designated IP address. If a response is received, the switch
will display the message “Reply from X.X.X.X”. If no response is received within 5 seconds, the switch will display the message
“Request timed out.”