dhcp

Syntax

dhcp {source <IFNAME>} [{server <IPV4-ADDR-DNS-SERVER>}] [<PROBE-INTERVAL>]

Description

Configures DNS as the IP-SLA test mechanism.

Command context

config-ip-sla-<IP-SLA-NAME>

Parameters

source <IFNAME>

Specifies the source interface to use for sending IP-SLA probes.

server <IPV4-ADDR-DNS-SERVER>

Specifies the IPv4 address of the DHCP server.

<PROBE-INTERVAL>

Probe interval in seconds. Range: 5 to 604800.

Authority

Administrators

Examples

switch(config)# ip-sla test
    switch(config-ip-sla-test)# dhcp source 1/1/1
    switch(config-ip-sla-test)# dhcp source vlan20
    switch(config-ip-sla-test)# dhcp source 1/1/1 probe-interval 80
    switch(config-ip-sla-test)# dhcp source vlan20 server 10.10.10.2 probe-interval 80 
    switch(config-ip-sla-test)#