dhcp relay check mac-address aging-time

Use dhcp relay check mac-address aging-time to set the aging time for MAC address check entries on the DHCP relay agent.

Use undo dhcp relay check mac-address aging-time to restore the default.

Syntax

dhcp relay check mac-address aging-time time

undo dhcp relay check mac-address aging-time

Default

The aging time is 30 seconds.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the aging time for MAC address check entries, in the range of 30 to 600 seconds.

Usage guidelines

This command takes effect only after you execute the dhcp relay check mac-address command.

Examples

# Set the aging time to 60 seconds for MAC address check entries on the DHCP relay agent.

<Sysname> system-view
[Sysname] dhcp relay check mac-address aging-time 60