
136
CHAPTER 3
CLI CONFIGURATION
3.9.32.2 (config)# ntp server
Syntax:
(config)# ntp server <index_var> ip-address { <ipv4_var> | <ipv6_var> | <name_var> }
Explanation:
Configure a list of NTP server’s address.
Parameters:
< index_var: 1-5>: Specify the index number of NTP server. The allowed range is from 1 to 5. The NTP servers are
tried in numeric order. If 'Server 1' is unavailable, the NTP client will try to contact 'Server 2'.
{ <ipv4_var> | <ipv6_var> | <name_var> }: Specify one of the three options.
<ipv4_var>:
IPv4 address.
<ipv6_var>:
IPv6 address is in 128-bit records represented as eight fields of up to four hexadecimal digits
with a colon separating each field (:). For example, 'fe80::215:c5ff:fe03:4dc7'. The symbol '::' is a special
syntax that can be used as a shorthand way of representing multiple 16-bit groups of contiguous zeros; but
it can appear only once.
<name_var>:
The domain name for NTP server.
Example:
Set the NTP server 1 to 192.168.1.253.
Negation:
(config)# no ntp server <index_var>
Show:
# show ntp status
3.9.33 (config)# port-security
3.9.33.1 (config)# port-security
Syntax:
(config)# port-security
Explanation:
Enable port security function globally.
Example:
Enable port security function globally.
Negation:
(config)# no port-security
Show: >
show port-security switch [ interface ( <port_type> [ <v_port_type_list> ] ) ]
# show port-security switch [ interface ( <port_type> [ <v_port_type_list> ] ) ]
# config t
(config)# port-security
# config t
(config)# ntp server 1 ip-address 192.168.1.253
Содержание IFS-1604GSM Series
Страница 385: ......