Operation Manual
103
DHCP Commands
E-DOC-CTC-20040210-0030 v1.0
dhcp relay ifconfig
Configure a relay interface.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
dhcp relay ifconfig intf = <interface name>
[relay = <{off|on}>]
[maxhops = <number{0-16}>]
[remoteid = <password>]
[trusted = <{no|yes}>]
intf The name of the dynamic interface to be configured. REQUIRED
relay Sets the relay status. OPTIONAL
maxhops A number between 0 and 16.
Represents the maximum number of hops allowed in the DHCP
packet.
The default is 4.
OPTIONAL
remoteid Sets the remote id as specified in RFC3046. OPTIONAL
trusted Drop/Forward DHCP request packet when the DHCP Relay Agent
Option is enabled (with the command dhcp relay config agentinfo=on)
and the giaddr field is 0 (RFC3046).
OPTIONAL
=>dhcp relay ifconfig
intf = pppoa_pppoa
[relay] = off
[maxhops] = 4
[remoteid] =
[trusted] = no
=>
dhcp relay config Set the relay configuration settings.
dhcp relay iflist Show all dynamic interfaces.