beautypg.com

Configuration, Configure dhcp snooping – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1432

background image

DHCP Snooping Introduction and Configuration

Software Reference for x310 Series Switches

55.10

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Configuration

This section provides a general configuration procedure for DHCP snooping.

Configure DHCP Snooping

Note that if a port in trunk mode has multiple VLANs attached, then the DHCP snooping
configuration settings for the port apply to all the VLANs.

Table 55-2: General configuration procedure for DHCP snooping

Enable DHCP snooping

1.

awplus#

configure terminal

Enter Global Configuration mode.

2.

awplus(config)#

service dhcp-snooping

Enable DHCP snooping on the switch.

Default: disabled

3.

awplus(config)#

interface <vid-list>

Enter Interface Configuration mode for the
VLANs to enable DHCP snooping on.

4.

awplus(config-if)#

ip dhcp snooping

Enable DHCP snooping on these VLANs.

Default: disabled

5.

awplus(config-if)#

exit

Return to Global Configuration mode.

6.

awplus(config-if)#

interface <port-list>

Enter Interface Configuration mode for ports
connected to the trusted network. The port(s)
connected to the DHCP server(s) must be
configured as trusted ports.

7.

awplus(config-if)#

ip dhcp snooping trust

Set these ports to be trusted ports.

Default: untrusted

8.

awplus(config-if)#

exit

Return to Global Configuration mode.

9.

awplus(config)#

interface <port-list>

If you want to allow more than one DHCP lease
for any ports, enter Interface Configuration
mode for the required ports. The default is likely
to be suitable for edge ports; on an aggregation
switch, you may need to increase the maximum
number of leases for ports connected to other
switches and/or for multiple VLANs. Note that
you cannot change this setting once DHCP
snooping ACLs are attached to these interfaces.