C
ONFIGURING
THE
S
WITCH
2-10
CLI – Specify the hostname, location and contact information.
Setting the IP Address
An IP address may be used for management access to the switch over your
network. By default, the switch uses DHCP to assign IP settings to
VLAN 1 on the switch. If you wish to manually configure IP settings, you
need to change the switch’s user-specified defaults (IP address 0.0.0.0 and
netmask 255.0.0.0) to values that are compatible with your network. You
may also need to a establish a default gateway between the switch and
management stations that exist on another network segment.
You can manually configure a specific IP address, or direct the device to
obtain an ad dress from a BOOTP or DHCP server whe n it is powere d on.
Valid IP addresses consist of four decimal numbers, 0 to 255, separated by
periods. Anything outside this format will not be accepted by the CLI
program.
Console(config)#hostname Test Switch 3-27
Console(config)#snmp-server location TPS - 3rd Floor 3-60
Console(config)#snmp-server contact Chris 3-60
Console#show system 3-47
System description: SMC Networks SMC8624T
System OID string: 1.3.6.1.4.1.1991.1.5.1.1.4.1.1
System information
System Up time: 0 days, 2 hours, 4 minutes, and 7.13 seconds
System Name : Test Switch
System Location : TPS - 3rd Floor
System Contact : Chris
MAC address : 00-30-f1-47-58-3a
Web server : enable
Web server port : 80
Web secure server : enable
Web secure server port : 443
POST result
--- Performing Power-On Self Tests (POST) ---
UART Loopback Test ..................... PASS
Timer Test ............................. PASS
DRAM Test .............................. PASS
I2C Initialization ..................... PASS
Runtime Image Check .................... PASS
PCI Device Check ....................... PASS
Switch Driver Initialization ........... PASS
Switch Internal Loopback Test .......... PASS
------------------- DONE --------------------
Console#