246
SIGNAMAX LLC • www.signamax.eu
Switch A connects to the user network; the uplink port connects to the DHCP relay device and
then connects to the DHCP server. Of course, it also can connect directly to the DHCP server.
Enabling the DHCP Snooping function on switch A, and the status of the port connects to the
user network needs to be configured as untrust, and the port connects to the DHCP Server
needs to be configured as trust status.
In the global configuration mode:
Command
Description
switch#configure terminal
To enter the global configuration mode
switch(config)#dhcp-snooping
To enable the DHCP Snooping function
switch(config)#dhcp-snooping information enable
To enable supporting Option 82 option function
switch(config)#dhcp-snooping database timeout 500
To configure the deleting time of the invalid items in
the binding table as 500s.
switch(config)#dhcp-snooping information format usr-config
To configure the fill mode of Option 82 message as the
user configuration mode
switch(config)#dhcp-snooping information format remote-id hostname
To configure the remote ID as hostname
switch(config)#exit
To exit the global configuration mode
In the port configuration mode:
Command
Description
switch(config)#port 0/4-0/10
To enter the port configuration mode and support that
the port0/4-0/10 connects to the user network
switch(config-port-range)#dhcp-snooping limit-rate 88
To configure the rate limitation of a port as 88pps
switch(config-port-range)#no dhcp-snooping trust
To configure the port status as untrust
switch(config-port-range)#port 0/0
To enter the port 0/0 port configuration and suppose
that the port 0/0 connects to the server network
switch(config-port-0/0)#dhcp-snooping trust
To configure the port status as trust
switch(config-port-0/0)#exit
To exit the port configuration mode
Monitoring & Debugging
Monitoring Commands
For example:
Command
Description
switch#show dhcp-snooping
To display information about related configurations of the DHCP Snooping
switch#show dhcp-snooping database
To display the binding table of the DHCP Snooping
Содержание 065-7434
Страница 1: ...24 Port 10 100 L3 Switch Model 065 7434 Configuration Guide Revision A1 ...
Страница 245: ...245 SIGNAMAX LLC www signamax eu Application Example Example of configuring DHCP Snooping ...
Страница 302: ...302 SIGNAMAX LLC www signamax eu Default status no switching interface ...
Страница 368: ......
Страница 655: ...287 SIGNAMAX LLC www signamax eu Sub VLAN members in the system ...