Specifications

set dhcpsnooping database write-delay
18-6 DHCP Snooping and Dynamic ARP Inspection
Usage
Bydefault,DHCPsnoopingisdisabledgloballyandonallVLANs.Youmustenableitglobally
withthesetdhcpsnoopingcommand,andthenenableitonspeci ficVLANswiththiscommand.
Example
ThisexampleenablesDHCPsnoopingonVLANS10through20.
B2(rw)->set dhcpsnooping vlan 10-20 enable
set dhcpsnooping database write-delay
Usethiscommandtospecifytheintervalbetweenupdatestothestoredbindings database.
Syntax
set dhcpsnooping database write-delay seconds
Parameters
Defaults
Every5minutes(300seconds).
Mode
Switchcommand,readwrite.
Usage
Whenaswitchlearnsofnewbindingsorwhenitlosesbindings,theswitchupdatestheentriesin
thebindingsdatabaseaccordingtothewritedelaytimer.Theswitchalsoupdatestheentries in
thebindingfile.The frequencyatwhichthefileisupdatedisbasedonthedelayconfigured
with
thiscommand,andtheupdatesarebatched.
Example
Thefollowingexamplespecifies thatthestoreddatabaseshouldbeupdatedonceanhour.
B2(rw)->set dhcpsnooping database write-delay 3600
set dhcpsnooping trust
UsethiscommandtoenableordisableaportasaDHCPsnoopingtrustedport.
Syntax
set dhcpsnooping trust port port-string {enable | disable}
Parameters
second Specifytheintervalinsecondsbetweenupdatestothestoredbindings
database.Thevaluecanrangefrom15to86400seconds.
portportstring Specifiestheportorportstobeenabledordisabledastrustedports.The
portscanbephysicalportsorLAGsthat aremembersofaVLAN.