ntp vrf

Syntax

ntp vrf <VRF-NAME>

Description

Specifies the VRF on which the NTP client communicates with an NTP server.

Command context

config

Parameters

<VRF-NAME>

Specifies the name of a VRF.

Authority

Administrators or local user group members with execution rights for this command.

Example

Setting the switch to use the default VRF for NTP client traffic.

switch(config)# ntp vrf default

Setting the switch to use the default management VRF for NTP client traffic.

switch(config)# ntp vrf mgmt