
Chapter 54 DHCP Commands
IES-1248-51V User’s Guide
395
54.2.1 Show Command Example
This example shows the current DHCP configuration of the IES-1248-51V.
switch dhcprelay server active
<vid> <active-server>
If the relaymode is auto, this command
specifies to which DHCP server (the primary
one or the secondary one) the IES-1248-51V
should relay DHCP requests for the selected
VLAN. This command has no effect if the
relaymode is both.
active-server:
1: The primary DHCP server is active.
2: The secondary DHCP server is active.
M/H
switch dhcprelay relaymode
<vid|all> <mode>
This command controls how the IES-1248-
51V routes DHCP requests. The IES-1248-
51V can route DHCP requests to the active
DHCP server for the selected VLAN, or it can
route DHCP requests to all DHCP servers set
up for the selected VLAN.
mode: Relay process mode; it controls to
which DHCP server(s) the IES-1248-51V
relays DHCP requests for the specified VLAN
or for all VLANs.
auto - the IES-1248-51V relays DHCP
requests to the active server for the
specified VLAN or for all VLANs.
both - the IES-1248-51V relays DHCP
requests to the primary and secondary
server for the specified VLAN or for all
VLANs, regardless of which server is
active.
M/H
Table 141 DHCP Relay Commands (continued)
COMMAND DESCRIPTION P
ras> switch dhcprelay show
vid enable relay mode primary-server secondary-server
---- ------ ---------- ------------------ ------------------
0 - auto 0.0.0.0 0.0.0.0
option82 option82
vid optmode sub-opt1 info (Circuit ID) sub-opt2 info (Remote ID)
---- ------- -------- ----------------------- -------- ---------------------
--
0 private - -
Comentarios a estos manuales