beautypg.com

Allied Telesis Rapier i Series User Manual

Page 15

background image

Page 15 | AlliedWare™ OS How To Note: DHCP Snooping on Rapier-style switches

Configuration examples

add vlan="48" port=24 frame=tagged uplink

add vlan="48" port=1-23

This is a layer 2 solution. The IP protocol does not need to be configured.

enable dhcpsnooping

enable dhcpsnooping option82

It is also possible to enable DHCP snooping ARP security. If enabled, this will ensure that
ARP packets received on non-trusted ports are only permitted if they originate from an IP
address that has been allocated and snooped by DHCP (enable dhcpsnooping
arpsecurity
).

set dhcpsnooping port=24 trusted=yes

These ports can receive Option 82 information, and the switch will permit them to send
Option 82.

set dhcpsnooping port=1-23 maxlease=1

set dhcpsnooping port=1 subscriberid="Ground Floor Room 1"

X

Add the tagged uplink ports to the VLAN:

X

Add the untagged ports for the customers:

X

Enable DHCP snooping and Option 82 support:

X

Define the DHCP snooping trusted ports:

X

Define the maximum number of DHCP leasees permitted on each port:

X

Define the string that will be used in the subscriber-ID suboption portion of
the Option 82 inserted into DHCP packets: