R2511-HP MSR Router Series Terminal Access Command Reference(V5)

42
vty rtc-server remote udp
Use vty rtc-server remote udp to create a VTY to serve as a UDP RTC server.
Use undo vty to remove the specified VTY.
Syntax
vty vty-number rtc-server remote [ ip-address remote-port remote-port-number ] udp local-port
local-port-number [ source source-ip-address ]
undo vty vty-number
Views
Terminal template view
Default command level
2: System level
Parameters
vty-number: Specifies a VTY by its number, in the range of 0 to 7.
ip-address: Specifies a RTC client IP address.
remote-port-number: Specifies the UDP port of the RTC client, in the range of 1024 to 50000.
source-ip-address: Specifies the local IP address.
local-port-number: Specifies the local UDP listening port, in the range of 1024 to 50000.
Usage guidelines
After this configuration, no VTY of another type can be configured in the template.
Examples
# Create a VTY to serve as a UDP RTC server, setting the local IP address to 1.1.1.1, UDP listening port to
1024, RTC client IP address to 1.1.1.2, and UDP port to 1025.
<Sysname> system-view
[Sysname] rta template temp1
[Sysname-rta-template-temp1] vty 1 rtc-server remote 1.1.1.2 remote-port 1025 udp
local-port 1024 source 1.1.1.1
vty screencode
Use vty screencode to set the screen code for triggering screen saving.
Use undo vty screencode to cancel the screen code configured.
Syntax
vty vty-number screencode string
undo vty vty-number screencode
Default
No screen code is configured for terminal screen saving.
Views
Terminal template view