![Korenix JetNet 4508 V2 Series Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/korenix/jetnet-4508-v2-series/jetnet-4508-v2-series_user-manual_1997846050.webp)
46
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 JN4508V2
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
0.31-20061218
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 password
SWITCH(config)# administrator orwell orwell
Change administrator account orwell and password orwell
success.
Display
SWITCH# show administrator
Administrator account information
name: orwell
password: orwell
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
SWITCH(config-if)# ip dhcp client renew
Gateway
SWITCH(config)# ip route 0.0.0.0/0 192.168.10.254/24
Remove Gateway
SWITCH(config)# no ip route 0.0.0.0/0 192.168.10.254/24
Display
SWITCH# show running-config
………
!
interface vlan1
ip address 192.168.10.8/24
no shutdown