beautypg.com

2 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 76

background image

Chapter 14 DHCP Snooping & DHCP VLAN Commands

Ethernet Switch CLI Reference Guide

76

The following table describes the dhcp-vlan commands.

14.2 Command Examples

This example:

• Enables DHCP snooping Switch.
• Sets up an external DHCP snooping database on a network server with IP address

172.16.37.17.

dhcp snooping vlan <vlan-list>

Specifies the VLAN IDs for VLANs you want to enable DHCP

snooping on.

C

13

no dhcp snooping vlan <vlan-
list
>

Specifies the VLAN IDs for VLANs you want to disable DHCP

snooping on.

C

13

dhcp snooping vlan <vlan-list>
information

Sets the Switch to add the system name to DHCP requests

that it broadcasts to the DHCP VLAN, if specified, or VLAN.

C

13

no dhcp snooping vlan <vlan-
list
> information

Sets the Switch to not add the system name to DHCP

requests that it broadcasts to the DHCP VLAN, if specified, or

VLAN.

C

13

dhcp snooping vlan <vlan-list>
option

Sets the Switch to add the slot number, port number and

VLAN ID to DHCP requests that it broadcasts to the DHCP

VLAN, if specified, or VLAN.

C

13

no dhcp snooping vlan <vlan-
list
> option

Sets the Switch to not add the slot number, port number and

VLAN ID to DHCP requests that it broadcasts to the DHCP

VLAN, if specified, or VLAN.

C

13

clear dhcp snooping database
statistics

Delete all statistics records of DHCP requests going through

the Switch.

E

13

renew dhcp snooping database

Loads dynamic bindings from the default DHCP snooping

database.

E

13

renew dhcp snooping database
<tftp://host/filename>

Loads dynamic bindings from the specified DHCP snooping

database.

E

13

interface port-channel <port-
list
>

Enables a port or a list of ports for configuration.

C

13

dhcp snooping trust

Sets this port as a trusted DHCP snooping port. Trusted ports

are connected to DHCP servers or other switches, and the

Switch discards DHCP packets from trusted ports only if the

rate at which DHCP packets arrive is too high.

C

13

dhcp snooping limit rate
<pps>

Sets the maximum rate in packets per second (pps) that

DHCP packets are allowed to arrive at a trusted DHCP

snooping port.

C

13

no dhcp snooping trust

Disables this port from being a trusted port for DHCP

snooping.

C

13

no dhcp snooping limit rate

Resets the DHCP snooping rate to the default (0).

C

13

Table 44 dhcp snooping Command Summary (continued)

COMMAND

DESCRIPTION

M

P

Table 45 dhcp-vlan Command Summary

COMMAND

DESCRIPTION

M

P

dhcp dhcp-vlan <vlan-id>

Specifies the VLAN ID of the DHCP VLAN.

C

13

no dhcp dhcp-vlan

Disables DHCP VLAN on the Switch.

C

13