set dhcpsnooping vlan
SecureStack C2 Configuration Guide 17-5
Example
ThefollowingexampleenablesDHCPsnoopingglobally.
C2(rw)->set dhcpsnooping enable
set dhcpsnooping vlan
UsethiscommandtoenableordisableDHCPsnoopingonaVLANorrangeofVLANs.
Syntax
set dhcpsnooping vlan vlan-range {enable | disable}
Parameters
Defaults
DHCPsnoopingisdisabledbydefaultonallVLAN s.
Mode
Switchcommand,read‐write.
Usage
Bydefault,DHCPsnoopingisdisabledgloballyandonallVLANs.Youmustenableitglobally
withthesetdhcpsnoopingcommand,andthenenableitonspeci ficVLANswiththiscommand.
Example
ThisexampleenablesDHCPsnoopingonVLANS10through20.
C2(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).
vlan‐range SpecifiestheVLANorrangeofVLANsonwhichDHCPsnoopingisto
beenabledordisabled.
enable|disable EnablesordisablesDHCPsnoopingforthespecifiedVLANs.
second Specifytheintervalinsecondsbetweenupdatestothestoredbindings
database.Thevaluecanrangefrom15to86400seconds.