beautypg.com

Westermo PMI-110-F2G User Manual

Page 51

background image

Note: By typing clock timezone ?, you can see the timezone list. 
Then choose the number of the timezone you want to select. 
 

Daylight Saving 

Switch(config)# clock summer‐time 4 0 2 12:00 4 0 3 12:00 
 
Clock summer‐time <start week of month > <start weekday
<start month> <start Hour:Min> <end week of month> <end 
weekday
> <end month> <end Hour:Min
 
Start week of month: 1~5 
Start weekday: 0 (Sunday) ~6 (Saturday) 
Month: 1 (Jan) ~12 (Dec)

IEEE 1588 

Switch(config)# ptpd run 

 

preferred‐clock    Preferred Clock 

slave                      Run as slave

Display 

SWITCH# sh ntp associations 
Network time protocol 
    Status : Disabled 
    Primary peer : N/A 
    Secondary peer : N/A   
SWITCH# show clock 
Sun Jan    1 04:14:19 2006 (GMT) Greenwich Mean Time: Dublin, 
Edinburgh, Lisbon, London 
 
SWITCH# show clock timezone 
clock timezone (26) (GMT) Greenwich Mean Time: Dublin, 
Edinburgh, Lisbon, London 
 

DHCP Server 

DHCP Server 

configuration 

Enable DHCP Server on PMI Switch 
Switch#   
Switch# configure terminal 
Switch(config)# router dhcp   
Switch(config‐dhcp)# service dhcp 
 
Configure DHCP network address pool 
Switch(config‐dhcp)#network 50.50.50.0/4 ‐(

 

network/mask) 

Switch(config‐dhcp)#default‐router 50.50.50.1

Lease time configure 

Switch(config‐dhcp)#lease 300 (300 sec) 

DHCP Relay Agent 

Enable DHCP Relay Agent   
Switch#   
Switch# configure terminal 
Switch(config)# router dhcp   
Switch(config‐dhcp)# service dhcp   
Switch(config‐dhcp)# ip dhcp relay information option 
 
Enable DHCP Relay policy   
Switch(config‐dhcp)# ip dhcp relay information policy replace 
drop          Relay Policy 
keep          Drop/Keep/Replace option82 field 
replace

Show DHCP server 

information 

Switch# show ip dhcp server statistics 
Switch# show ip dhcp server statistics 
DHCP Server ON

47