IPI-DHCP-RELAY
Configure disable dhcpv4 relay
Use this attribute to disable the DHCP relay global config
Attribute Name: disable-dhcpv4-relay
Attribute Type: uint8
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<global>
<config>
</disable-dhcpv4-relay><!-- operation="delete"-->
</config>
</global>
</relay>
</dhcp>
Command Syntax
no ip dhcp relay
Configure disable dhcpv6 relay
Use this attribute to disable the DHCP relay global config
Attribute Name: disable-dhcpv6-relay
Attribute Type: uint8
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<global>
<config>
</disable-dhcpv6-relay><!-- operation="delete"-->
</config>
</global>
</relay>
</dhcp>
Command Syntax
no ipv6 dhcp relay
Configure ipv4 relay interface
Enable relay on Client facing interface
Attribute Name: ipv4-relay-interface
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</ipv4-relay-interface><!-- operation="delete"-->
</interface>
</interfaces>
</relay>
</dhcp>
Command Syntax
ip dhcp relay
Configure ipv4 uplink interface
Specify the interface as an uplink interface(Server facing)
Attribute Name: ipv4-uplink-interface
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</ipv4-uplink-interface><!-- operation="delete"-->
</interface>
</interfaces>
</relay>
</dhcp>
Command Syntax
ip dhcp relay uplink
Configure ipv6 relay interface
Enable IPv6 relay on Client facing interface
Attribute Name: ipv6-relay-interface
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</ipv6-relay-interface><!-- operation="delete"-->
</interface>
</interfaces>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay
Configure ipv6 uplink interface
Specify the interface as an uplink interface(Server facing)
Attribute Name: ipv6-uplink-interface
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</ipv6-uplink-interface><!-- operation="delete"-->
</interface>
</interfaces>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay uplink
Configure interface type
DHCP relay vpn interface type
Attribute Name: interface-type
Attribute Type: enum (l3vpn|evpn)
Attribute Name: interface-direction
Attribute Type: enum (uplink|downlink)
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv4-vpn-links>
<ipv4-vpn-link> <!-- operation="delete"-->
<interface-type>l3vpn</interface-type>
<config>
<interface-type>l3vpn</interface-type>
<interface-direction>uplink</interface-direction>
</config>
</ipv4-vpn-link>
</ipv4-vpn-links>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay (uplink|downlink) (l3vpn|evpn)
Configure interface type v6
DHCPv6 relay vpn interface type
Attribute Name: interface-type-v6
Attribute Type: enum (l3vpn|evpn)
Attribute Name: interface-direction-v6
Attribute Type: enum (uplink|downlink)
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv6-vpn-links>
<ipv6-vpn-link> <!-- operation="delete"-->
<interface-type-v6>l3vpn</interface-type-v6>
<config>
<interface-type-v6>l3vpn</interface-type-v6>
<interface-direction-v6>uplink</interface-direction-v6>
</config>
</ipv6-vpn-link>
</ipv6-vpn-links>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay (uplink|downlink) (l3vpn|evpn)
Configure link selection source ip
Enable link selection sub-option (5) in the option-82 in DHCP packet
Attribute Name: link-selection-source-ip
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<link-selection-source-ip>A.B.C.D</link-selection-source-ip> <!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay information source-ip A.B.C.D
Configure enable option82
Enable the device to insert and remove option-82 information on DHCP packets forwarded by the DHCP relay agent.
Attribute Name: enable-option82
Attribute Type: uint8
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
</enable-option82><!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay information option
Configure ip address
IPv4 address of the DHCP server
Attribute Name: ip-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv4-dhcp-servers>
<ipv4-dhcp-server> <!-- operation="delete"-->
<ip-address>A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D</ip-address>
</config>
</ipv4-dhcp-server>
</ipv4-dhcp-servers>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay address A.B.C.D
Configure dhcpv4 server global vrf
This attributes defines the VRF in which the DHCPv4 relay server is present
Attribute Name: dhcpv4-server-global-vrf
Attribute Type: string
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv4-dhcp-servers>
<ipv4-dhcp-server>
<ip-address>A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D</ip-address>
</config>
<dhcpv4-server-global-vrf>VRF-NAME</dhcpv4-server-global-vrf> <!-- operation="delete"-->
</ipv4-dhcp-server>
</ipv4-dhcp-servers>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay address A.B.C.D global (VRF-NAME|)
Configure vrf name
This attributes defines the VRF in which the DHCPv4 relay server is present
Attribute Name: dhcpv4-server-global-vrf
Attribute Type: string
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv4-dhcp-servers>
<ipv4-dhcp-server>
<ip-address>A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D</ip-address>
</config>
<dhcpv4-server-global-vrf>VRF-NAME</dhcpv4-server-global-vrf> <!-- operation="delete"-->
</ipv4-dhcp-server>
</ipv4-dhcp-servers>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay address A.B.C.D global (VRF-NAME|)
Configure ipv6 address
IPv6 address of the DHCP server
Attribute Name: ipv6-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv6-dhcp-servers>
<ipv6-dhcp-server> <!-- operation="delete"-->
<ipv6-address>X:X::X:X</ipv6-address>
<config>
<ipv6-address>X:X::X:X</ipv6-address>
</config>
</ipv6-dhcp-server>
</ipv6-dhcp-servers>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay address X:X::X:X
Configure dhcpv6 server global vrf
This attributes defines the VRF in which the DHCPv6 relay server is present
Attribute Name: dhcpv6-server-global-vrf
Attribute Type: string
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv6-dhcp-servers>
<ipv6-dhcp-server>
<ipv6-address>X:X::X:X</ipv6-address>
<config>
<ipv6-address>X:X::X:X</ipv6-address>
</config>
<dhcpv6-server-global-vrf>VRF-NAME</dhcpv6-server-global-vrf> <!-- operation="delete"-->
</ipv6-dhcp-server>
</ipv6-dhcp-servers>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay address X:X::X:X global (VRF-NAME|)
Configure enable dhcpv6 pd route injection
Enable the route installation from the prefixes learned through prefix delegation.
Attribute Name: enable-dhcpv6-pd-route-injection
Attribute Type: uint8
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
</enable-dhcpv6-pd-route-injection><!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay pd-route-injection
Configure remote id
Remote host identifier. Use option 82 to provide the DHCP server information about the DHCP client
Attribute Name: remote-id
Attribute Type: union
Attribute Name: enable-option82
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</enable-option82><!-- operation="delete"-->
</config>
<remote-id>WORD</remote-id> <!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay information option remote-id WORD
Configure enable option82 always on
Keep option-82 information on DHCP packets forwarded by the DHCP relay agent.
Attribute Name: enable-option82-always-on
Attribute Type: uint8
Attribute Name: enable-option82
Attribute Type: empty
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</enable-option82><!-- operation="delete"-->
</config>
</enable-option82-always-on><!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay information option always-on
Configure subscriber id
Subscriber identifier. Use this option to allows the service provider to assign/activate subscriber-specific actions
Attribute Name: subscriber-id
Attribute Type: string
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<subscriber-id>WORD</subscriber-id> <!-- operation="delete"-->
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay information option subscriber-id WORD
Configure interface direction
DHCP relay vpn interface type
Attribute Name: interface-type
Attribute Type: enum (l3vpn|evpn)
Attribute Name: interface-direction
Attribute Type: enum (uplink|downlink)
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv4-vpn-links>
<ipv4-vpn-link>
<interface-type>l3vpn</interface-type>
<config>
<interface-type>l3vpn</interface-type>
<interface-direction>uplink</interface-direction>
</config>
</ipv4-vpn-link>
</ipv4-vpn-links>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ip dhcp relay (uplink|downlink) (l3vpn|evpn)
Configure interface direction v6
DHCPv6 relay vpn interface type
This command is supported when following feature are enabled IPV6 feature
Attribute Name: interface-type-v6
Attribute Type: enum (l3vpn|evpn)
Attribute Name: interface-direction-v6
Attribute Type: enum (uplink|downlink)
Netconf edit-config payload
<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<relay>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
<ipv6-vpn-links>
<ipv6-vpn-link>
<interface-type-v6>l3vpn</interface-type-v6>
<config>
<interface-type-v6>l3vpn</interface-type-v6>
<interface-direction-v6>uplink</interface-direction-v6>
</config>
</ipv6-vpn-link>
</ipv6-vpn-links>
</vrf>
</vrfs>
</relay>
</dhcp>
Command Syntax
ipv6 dhcp relay (uplink|downlink) (l3vpn|evpn)
clear ip dhcp relay statistics
Netconf RPC payload
<ipi-dhcp-relay_clear-relay-stats xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"/>
Command Syntax
clear ip dhcp relay statistics
clear ip dhcp relay option statistics
Netconf RPC payload
<ipi-dhcp-relay_clear-relay-option-stats xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"/>
Command Syntax
clear ip dhcp relay option statistics
clear ipv6 dhcp pd-route (vrf NAME|)
Attribute Name: vrf-name
Attribute Type: string
Netconf RPC payload
<ipi-dhcp-relay_clear-dhcpv6-pd-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp">
<vrf-name>NAME</vrf-name>
</ipi-dhcp-relay_clear-dhcpv6-pd-route>
Command Syntax
clear ipv6 dhcp pd-route (vrf NAME|)
Last modified date: 08/22/2023