49
4=4hours
5=6hours, 6=8hours, 7=12hours,
8=24hours
Gateway(config)# ntp time-
zone [0-135]
[0-135]
Specify the time zone to which the
Gateway belongs.
Use space and a question mark to view
the complete code list of 147 time zones.
For example,
“Gateway(config)# ntp time-
zone ?
”
No command
Gateway(config)# no ntp
Disable the Gateway to synchronize the
clock with a time server.
Gateway(config)# no ntp daylight-saving
Disable the daylight saving function.
Gateway(config)# no ntp offset
Set the offset value back to the default
setting.
Gateway(config)# no ntp server
Delete the time server IP address.
Gateway(config)# no ntp syn-interval
Set the synchronization interval back to
the default setting.
Gateway(config)# no ntp time-zone
Set the time-zone setting back to the
default.
Show command
Gateway(config)# show ntp
Show or verify current time server
settings.
NTP command example
Gateway(config)# ntp
Enable the Gateway to synchronize the
clock with a time server.
Gateway(config)# ntp daylight-saving date
Enable the daylight saving function at
ddate mode
Gateway(config)# ntp offset [100,12:00-
101,12:00]
Daylight saving time date start from the
100
th
day of the year to the 101th day of
the year.
Gateway(config)# ntp server ip 192.180.0.12
Set the time server IP address to
192.180.0.12.
Gateway(config)# ntp syn-interval 4
Set the synchronization interval to 4 hours.
Gateway(config)# ntp time-zone 3
Set the time zone to GMT-8:00 Vancouver.
2.5.8 QoS Command
1. Set up Qos
QoS command
Parameter
Description
Gateway(config)# qos [802.1p |
dscp | port-based]
[802.1p | dscp |
port-based]
Specify QoS mode
Gateway(config)# qos 802.1p-map
[0-7] [0-3]
[0-7]
Specify a 802.1p value.
[0-3]
Specify a queue value.
Gateway(config)# qos dscp-map [0-
63] [0-3]
[0-63]
Specify a DSCP value.
[0-3]
Specify a queue value.
Gateway(config)# qos queuing-
mode [weight]
[weight]
Specify QoS queuing mode as
weight mode