Switch User Manual

ipv6 dhcp relay
SecureStack C3 Configuration Guide 24-11
Example
ThisexampleconfiguresroutinginterfaceVLAN7tobeaDHCPv6server,usingtheaddresspool
namedPoolA.
C3(su)->router(Config)# interface vlan 7
C3(su)->router(Config-if(Vlan 7))# ipv6 dhcp server PoolA
ipv6 dhcp relay
ThiscommandconfiguresaninterfaceforDHCPv6relayagentfunctionality.
Syntax
ipv6 dhcp relay { destination dest-addr interface intf | interface intf} [remote-id
{duid-ifid | user-defined-string}]
no ipv6 dhcp relay {destination dest-addr interface intf | interface intf}
Parameters
Defaults
Ifremoteidisnotspecified,theRelayAgentInformationOptionRemote IDsuboptionisnot
addedtorelayedmessages.
Mode
Routerinterfaceconfiguration:C3(su)>router(Configif(Vlan1))#
Usage
Usethiscommandtoconfigurearoutinginterfaceasa DHCPv6relayagent.
AninterfacecanbeconfiguredaseitheraDHCPv6serveroraDHCPv6relayagent,butnotboth.
UsethenoformofthiscommandtoremoveDHCPv6relayagentfunctionalityfromaninterface.
destinationdestaddr SpecifiestheIPv6
addressofaDHCPv6relayserver.ThisIPv6address
canbeaglobaladdress,amulticastaddress,oralinklocaladdress.
Iftheaddressisamulticastorlinklocaladdress,thenyoumustspecify
theinterfacetobeusedtocontacttherelayserverwiththeinterface
parameter.
interface
intf Specifiestheinterfacetobeusedtocontacttherelayserver.The
interfaceisidentifiedbyporttype.unitnumber.portnumber.For
example,
ge.3.1.
Ifdestinationdestaddrisnotspecified,thenaninterfacemustbe
specifiedandtheDHCPV6ALL AGENTSmult icastaddress(FF02::1:2)
isusedtorelayDHCPv6messagestotherelayserver.
remoteid{duidifid|
userdefinedstring}
(Optional)SpecifiesthattheRelayAgentInformationOption
RemoteIDsub
optionistobeaddedtorelayedmessages.
SpecifyingduidifidcausestheremoteIDtobederivedfromtherelay
agent’sDUIDandtherelayinterfacenumber.Alternatively,youcan
specifytheremoteIDasauserdefinedstringofalphanumeric
characters.RefertoRFC3046andRFC4649
formoreinformationabout
theRemoteIDoption.