Comtrol ES7510 User Manual

Page 137

Advertising
background image

RocketLinx ES7510 User Guide: 2000544 Rev. B

Basic Settings (CLI) - 137

Configuration Using the Command Line Interface (CLI)

IP Configuration

IP Address/Mask
(192.168.250.250,
255.255.255.0

The enabled bit of the
subnet mask is used to
represent the number
displayed in the web user
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

Advertising