dhcp relay check mac-address aging time

Use dhcp relay check mac-address aging time to configure 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

Parameters

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

Usage guidelines

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

Examples

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

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