QTECH
Software Configuration Manual
2-29
2.7.1.1 Configure host name
Use hostname command in global configuration mode to configure system command line interface prompt.
Use no hostname command to restore default host name.
Configure system command line interface prompt.
hostname
hostname
hostname : character strings range from 1 to 32, these strings can be printable, excluding such wildcards as '/',
' : ', '*', '?', '\\', '<', '>', '|', '"'etc.
Use no hostname command in global configuration mode to restore default host name to be QTECH.
For example :
! Configure hostname to be QSW-3900
QTECH(config)#hostname QSW-3900
QSW-3900(config)#
2.7.1.2 Configure system clock
Use clock set command in privileged mode to configure system clock.
clock set
HH : MM : SS YYYY/MM/DD
For example :
! Configure system clock to be 2001/01/01 0 : 0 : 0
QTECH#clock set 0 : 0 : 0 2001/01/01
2.7.2
Network connecting test command
Use ping command in privileged mode or user mode to check the network connection.
ping
[
-c
count
] [
-s
packetsize
] [
-t
timeout
]
host
Parameter :
-c count : The number of packet sending.
-s packetsize : The length of packet sending, with the unit of second
-t timeout : the time of waiting for replying after packet is sent, with the unit of second
For example :
! Ping 192.168.0.100
QTECH#ping 192.168.0.100
PING 192.168.0.100 : with 32 bytes of data :
reply from 192.168.0.100 : bytes=32 time<10ms TTL=127
reply from 192.168.0.100 : bytes=32 time<10ms TTL=127
reply from 192.168.0.100 : bytes=32 time<10ms TTL=127
reply from 192.168.0.100 : bytes=32 time<10ms TTL=127
reply from 192.168.0.100 : bytes=32 time<10ms TTL=127
----192.168.0.100 PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0