48
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.9 QoS
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
Gateway(config)# qos queue-
weighted [1:2:4:8]
[1:2:4:8]
Specify the queue weighted
No command
Gateway(config)# no qos
Disable QoS function
Gateway(config)# no qos 802.1p-
map
Undo 802.1p mapping
Gateway(config)# no qos dscp-map
[0-63]
[0-63]
Undo specify a DSCP value
Gateway(config)# no queuing-mode
Specify QoS queuing mode as
strict mode
Gateway(config)# no qos queue-
weighted
Undo specify the queue
weighted
Show command