CLI Commands for Basic Setting
RocketLinx ES7528 Industrial Managed PoE Rack Mount User Guide
: 2000509 Rev. A
- 43
CLI Commands for Basic Setting
IP Configuration
IP Address/Mask
(192.168.250.250,
255.255.255.0
Note: The enabled bit of the
subnet mask is used to
represent the number
displayed in the web
interface. For example,
8 represents: 255.0.0.0,
16 represents:
255.255.0.0,
24
represents:255.255.255.
0.
Switch(config)# int vlan 1
Switch(config-if)# ip
address
dhcp
Switch(config-if)# ip address 192.168.250.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.250.254/24
Remove Gateway
Switch(config)# no ip route 0.0.0.0/0 192.168.250.254/24
Display
Switch# show running-config
………
!
interface vlan1
ip address 192.168.250.8/24
no shutdown
!
ip route 0.0.0.0/0 192.168.250.254/24
!
Time Setting
NTP Server
Switch(config)# ntp peer
enable
disable
primary
secondary
Switch(config)# ntp peer primary
IPADDR
Switch(config)# ntp peer primary 192.168.250.250
Time Zone
Switch(config)# clock timezone 26
Sun Jan 1 04:13:24 2006 (GMT) Greenwich Mean Time: Dublin,
Edinburgh, Lisbon, London
Note: By typing clock timezone?, you can see the timezone list. Then choose the number
of the timezone you want to select.
IEEE 1588
Switch(config)# ptpd run
<cr>
preferred-clock Preferred Clock
slave Run as slave