Moxa ICS-G7852-4XG-HV-HV — настройка маршрутизаторов: команды и примеры конфигурации [55/155]

Превью страниц Страница 55 / 155
Moxa TN-5816BP-LV-LV-T [55/155] Ntp refresh time
Moxa Command Line Interface (FW_4.x) Commands
2-46
Command
Modes
Router configuration of RIP, OSPF, and Static routes
Usage
Guidelines
N/A
Examples (for
RIP settings)
PT-7828(config)# vlan create 2
% create vlan id:2
PT-7828(config)# interface vlan 2
PT-7828(config-vlan)# ip address 192.168.102.1 255.255.255.0
PT-7828(config-vlan)# name vlan2if
PT-7828(config-vlan)# exit
PT-7828(config)# router rip
PT-7828(config-rip)# network
<STRING:ifname> - Interface name
PT-7828(config-rip)# network vlan2if
PT-7828(config-rip)#
PT-7828# show ip rip
RIP Protocol : Enable
RIP version : V1
Distribution
Connected : Enable
Static : Disable
OSPF : Disable
RIP Enable Table
Interface Name IP VID Enable
-------------------- ---------------- ---------- ----------
vlan2if 192.168.102.1 2 Enable
PT-7828#
Error
messages
No such interface existed
Related
commands
show ip rip
ntp refresh-time
Use the ntp refresh-time global configuration command on the switch to configure the interval of each NTP
query. Use the no form of this command to return to the default.
Commands
ntp refresh-time seconds
no ntp refresh-time
Syntax
Description
ntp Configure Network Time Protocol
refresh-time Configure NTP query intervals
seconds 1-9999 seconds
Defaults Default query interval is 600 sec
Command
Modes
Global configuration
Usage
Guidelines
N/A
Examples
PT-7828(config)# ntp refresh-time 600
<LF>
Error
messages
Time is out of range

Содержание

420

Изучите команды для настройки маршрутизаторов, включая RIP, OSPF и статические маршруты. Примеры конфигурации и советы по использованию помогут вам в работе.