49
4.2.10 CLI Commands for Basic Setting
Feature
Command Line
Switch Setting
System Name
Switch(config)# hostname
WORD Network name of this system
Switch(config)# hostname JN5010G
SWITCH(config)#
System Location
SWITCH(config)# snmp-server location Taipei
System Contact
SWITCH(config)# snmp-server contact [email protected]
Display
SWITCH# show snmp-server name
SWITCH
SWITCH# show snmp-server location
Taipei
SWITCH# show snmp-server contact
SWITCH# show version
Hardware Information :
Product Name : JetNet6710G
Serial Number : SN15330528
MAC Address : 001277FF1533
Manufacturing Date : 2010/05/28
Software Information :
Loader Version : 1.0.0.4
Firmware Version : 0.1.32-20100830-16:10:40
Copyright 2006-2009 Korenix Technology Co., Ltd.Switch#
Switch# show hardware mac
MAC Address : 00:12:77:FF:01:B0
Admin Password
User Name and
Password
SWITCH(config)# administrator
NAME Administrator account name
SWITCH(config)# administrator orwell
PASSWORD Administrator account_name
account_password
SWITCH(config)# administrator orwell orwell
Change administrator account orwell and password orwell
success.
Display
SWITCH# show administrator
Administrator account information
name: orwell&richard
password: orwell&richard
IP Configuration
IP Address/Mask
(192.168.10.8,
255.255.255.0
SWITCH(config)# int vlan 1
SWITCH(config-if)# ip
address
dhcp
SWITCH(config-if)# ip address 192.168.10.8/24
SWITCH(config-if)# ip dhcp client