Manage the Switch4.3
Aftertheinitialconguration,youmaymanageandmonitornetworkactivitybyCLIorSNMP
management, or by using the Web browser utility.
CLI Management4.3.1
The Command Line Interface (CLI) is administered when the terminal is directly connected to the
Console port of the switch. This is an out-of-band connection, which means that it is on a different
circuit than normal network communications, and thus works even when the network is down. After
setting the IP address of the switch, you can also use a console program, such as Telnet, to access
and control the switch.
For more information on CLI commands, see the “CLI Documentation”.
SNMP Management4.3.2
AfterconguringtheIPaddressandupgradingthermware,youcanmanageandmonitornetwork
activity by SNMP.
SimpleNetworkManagementProtocol(SNMP)isanapplication–layerprotocoldenedbytheInternet
Architecture Board (IAB) in RFC1157 for managing and monitoring network devices. SNMP is one of
widely accepted protocols used to manage and monitor network elements. The switch supports SNMP
version 1.0, 2.0, and 3.0.
The basic components and functions of SNMP are as follows:
A Managed Device, in this case the switch•
An SNMP Agent•
SNMP Manager•
Management Information Database or Base (MIB)•
The switch comes bundled with an SNMP Agent, which runs locally on the device. The SNMP Agent
communicates with an SNMP-compatible console program, called the SNMP Manager.
The commonly shared database between the SNMP Agent and the SNMP Manager is called
ManagementInformationBase(MIB).Inshort,MIBlesarethesetofquestionsthattheSNMP
Manager can ask the SNMP Agent. The SNMP Agent collects these data locally and stores it, as
denedintheMIB.
TheMIBscontainastandardsetofstatisticalandcontrolvaluesdenedforthemanageddeviceson
anetwork.TheSNMPprotocolalsoallowstheextensionofthesestandardvalueswithvaluesspecic
to a particular SNMP Agent through the use of private MIBs. See the “SNMP Documentation” for more
information on using SNMP.
Bydefault,youcanusethecommunityname“public”togetSNMPobjectsoruse“private”togetand
setSNMPobjects.
Telnet or SSH Management4.3.2.1
By default, Telnet can be used to directly manage the switch without necessary settings.
HoweverwhenusingSSH,youmustgeneratetheRSAandDSAkeysrsttogloballyenabletheSSH
function on the switch.
To generate the DSA and RSA keys, input the following commands:1.
“Crypto key generate dsa”
“Crypto key generate rsa”
After generating the DSA and RSA keys, enable SSH function by entering the following command:2.
“ip ssh”