The broadcast command is used to transmit broadcast packets on a specific subnet.
Use the following CLI syntax to transmit broadcast packets.
config>system>time>ntp
broadcast [router router-name] {interface
ip-int-name> [key-id key-id] [version version]
[ttl ttl]
config>system>time>ntp#
config>system>time>ntp# broadcast interface int11 version 4
ttl 127
config>system>time>ntp# no shutdown
The following sample configuration of the system>time context shows NTP enabled with the broadcast command configured.
A:sim1>config>system>time# info detail
----------------------------------------------
ntp
no shutdown
authentication-check
ntp-server
broadcast interface int11 version 4 ttl 127
exit
A:sim1>config>system>time#
The following sample configuration shows NTP enabled in the config context with the broadcast command configured. At this level, the NTP broadcast commands are displayed at the end of the output after the router interfaces are shown.
A:sim1>config info
....
#--------------------------------------------------
echo "System Time NTP Configuration"
#--------------------------------------------------
system
time
ntp
broadcast interface toboth
exit
exit
exit
A:sim1>config