Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Softwarehandbuch
Switching Commands
523
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command example:
(NETGEAR Switch) #show dhcp l2relay agent-option vlan 5-10
DHCP L2 Relay is Enabled.
VLAN Id
L2 Relay
CircuitId
RemoteId
--------- ---------- -----------
------------
5 Enabled Enabled --NULL--
6 Enabled Enabled NETGEAR
7 Enabled Disabled --NULL--
8 Enabled Disabled --NULL--
9 Enabled Disabled --NULL--
10 Enabled Disabled --NULL--
show dhcp l2relay vlan
This command displays DHCP vlan configuration.
clear dhcp l2relay statistics interface
Use this command to reset the DHCP L2 relay counters to zero. Specify the port with the
counters to clear, or use the all keyword to clear the counters on all ports.
counters to clear, or use the all keyword to clear the counters on all ports.
DHCP Client Commands
NETGEAR Managed Switch can include vendor and configuration information in DHCP client
requests relayed to a DHCP server. This information is included in DHCP Option 60, Vendor
Class Identifier. The information is a string of 128 octets.
requests relayed to a DHCP server. This information is included in DHCP Option 60, Vendor
Class Identifier. The information is a string of 128 octets.
Format
show dhcp l2relay vlan vlan-list
Mode
Privileged EXEC
Parameter
Description
vlan-list
Enter VLAN IDs in the range 1–4093. Use a dash (–) to specify a range or a comma (,) to separate
VLAN IDs in a list. Spaces and zeros are not permitted.
VLAN IDs in a list. Spaces and zeros are not permitted.
Format
clear dhcp l2relay statistics interface {unit/slot/port | all}
Mode
Privileged EXEC