IPI-IF-IP
Configure primary ip addr
Use this attribute to specify that an IP address and prefix length will be used by this interface. If the secondary parameter is not specified, this attribute overwrites the primary IP address. If the secondary parameter is specified, this attribute adds a new IP address to the interface. The secondary address cannot be configured in the absence of a primary IP address. The primary address cannot be removed when a secondary address is present.
Attribute Name: primary-ip-addr
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<primary-ip-addr>A.B.C.D/M|A.B.C.D A.B.C.D</primary-ip-addr> <!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D)
Configure enable dhcp ip address
Use this attribute to specify that a DHCP client will be used to obtain an IP address for an interface.
Attribute Name: enable-dhcp-ip-address
Attribute Type: empty
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</enable-dhcp-ip-address><!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address dhcp
Configure ip addr label
Label of this address.
Attribute Name: ip-addr-label
Attribute Type: string
Default Value: NULL
Attribute Name: primary-ip-addr
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<primary-ip-addr>A.B.C.D/M|A.B.C.D A.B.C.D</primary-ip-addr> <!-- operation="delete"-->
<ip-addr-label>LINE</ip-addr-label> <!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D) label LINE
Configure ipv4 unnumbered if name
This attribute is used to Enable IP processing without an explicit address
Attribute Name: ipv4-unnumbered-if-name
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<ipv4-unnumbered-if-name>IFNAME</ipv4-unnumbered-if-name> <!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip unnumbered IFNAME
Configure remote address
This attribute is used to set the remote address of the PPP link
Attribute Name: remote-address
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<remote-address>A.B.C.D/M</remote-address> <!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip remote-address A.B.C.D/M
Configure primary anycast
Use this attribute to set the anycast flag for the IPv4 primary address of an interface.
Attribute Name: primary-anycast
Attribute Type: empty
Attribute Name: primary-ip-addr
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<primary-ip-addr>A.B.C.D/M|A.B.C.D A.B.C.D</primary-ip-addr> <!-- operation="delete"-->
</primary-anycast><!-- operation="delete"-->
</config>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D) anycast
Configure ip address
Use this attribute to specify a secondary IP address that will be used by this interface. The secondary address cannot be configured in the absence of a primary IP address. The primary address cannot be removed when a secondary address is present.
Attribute Name: ip-address
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<secondary-addresses> <!-- operation="delete"-->
<ip-address>A.B.C.D/M|A.B.C.D A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D/M|A.B.C.D A.B.C.D</ip-address>
</config>
</secondary-addresses>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D) secondary
Configure ip label
Use this attribute to specify a descriptive label for this IPv4 address.
Attribute Name: ip-label
Attribute Type: string
Default Value: NULL
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<secondary-addresses>
<ip-address>A.B.C.D/M|A.B.C.D A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D/M</ip-address>
</config>
<ip-label>LINE</ip-label> <!-- operation="delete"-->
</secondary-addresses>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D) secondary label LINE
Configure secondary anycast
Use this attribute to set the anycast flag for the IPv4 secondary address of an interface.
Attribute Name: secondary-anycast
Attribute Type: empty
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<secondary-addresses>
<ip-address>A.B.C.D/M|A.B.C.D A.B.C.D</ip-address>
<config>
<ip-address>A.B.C.D/M</ip-address>
</config>
</secondary-anycast><!-- operation="delete"-->
</secondary-addresses>
</ipv4>
</interface>
</interfaces>
Command Syntax
ip address (A.B.C.D/M|A.B.C.D A.B.C.D) secondary anycast
Configure ipv6 unnumbered if name
Use this attribute to enable IP processing without an explicit address
This command is supported when following feature are enabled IPV6 feature
Attribute Name: ipv6-unnumbered-if-name
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<ipv6-unnumbered-if-name>IFNAME</ipv6-unnumbered-if-name> <!-- operation="delete"-->
</config>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 unnumbered IFNAME
Configure enable dhcp ipv6 address
Use this attribute to specify that a DHCP client will be used to obtain an IP address for an interface.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: enable-dhcp-ipv6-address
Attribute Type: empty
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</enable-dhcp-ipv6-address><!-- operation="delete"-->
</config>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 address dhcp
Configure enable dhcp temporary ipv6 address
Use this attribute to specify that a DHCP client will be used to obtain an temporary IP address for an interface.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: enable-dhcp-temporary-ipv6-address
Attribute Type: empty
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</enable-dhcp-temporary-ipv6-address><!-- operation="delete"-->
</config>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 address dhcp temporary
Configure dhcp address prefix length
Use this attribute to configure the prefix length for the dynamically learnt ipv6 address
This command is supported when following feature are enabled IPV6 feature
Attribute Name: dhcp-address-prefix-length
Attribute Type: uint8
Attribute Range: 1-128
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<dhcp-address-prefix-length>1</dhcp-address-prefix-length> <!-- operation="delete"-->
</config>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 dhcp address-prefix-length <1-128>
Configure enable auto config
Use this attribute to enable autoconfiguration of IPv6 address in host interface. IPv6 address are formed using the Prefix learned from RA and suffix formed using EUI-64 method.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: enable-auto-config
Attribute Type: boolean
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<enable-auto-config>true</enable-auto-config> <!-- operation="delete"-->
</config>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 address autoconfig
Configure ipv6 address
Use this attribute to set the IPv6 address of an interface
This command is supported when following feature are enabled IPV6 feature
Attribute Name: ipv6-address
Attribute Type: string
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<addresses> <!-- operation="delete"-->
<ipv6-address>X:X::X:X/M</ipv6-address>
<config>
<ipv6-address>X:X::X:X/M</ipv6-address>
</config>
</addresses>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 address X:X::X:X/M
Configure anycast
Use this attribute to set the anycast flag for the IPv6 address of an interface. Anycast flag cannot be deleted for an IPv6 address once set. Please delete IPv6 address and reconfigure to remove anycast property.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: anycast
Attribute Type: empty
Netconf edit-config payload
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<ipv6 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<addresses>
<ipv6-address>X:X::X:X/M</ipv6-address>
<config>
<ipv6-address>X:X::X:X/M</ipv6-address>
</config>
</anycast><!-- operation="delete"-->
</addresses>
</ipv6>
</interface>
</interfaces>
Command Syntax
ipv6 address X:X::X:X/M anycast
Configure disable ip forwarding
Enable IP forwarding for the router
Attribute Name: disable-ip-forwarding
Attribute Type: uint8
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</disable-ip-forwarding><!-- operation="delete"-->
</config>
</ip-global>
Command Syntax
no ip forwarding
Configure disable ipv6 forwarding
Enable IPv6 forwarding for the router
Attribute Name: disable-ipv6-forwarding
Attribute Type: uint8
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</disable-ipv6-forwarding><!-- operation="delete"-->
</config>
</ip-global>
Command Syntax
no ipv6 forwarding
Configure router id
Router id of the router - an unsigned 32-bit integer expressed in dotted quad notation
Attribute Name: router-id
Attribute Type: string
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
<router-id>A.B.C.D</router-id> <!-- operation="delete"-->
</config>
</ip-global>
Command Syntax
router-id A.B.C.D
Configure enable auto router id selection
Turn on Automatic Selection of Router ID
Attribute Name: enable-auto-router-id-selection
Attribute Type: empty
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</enable-auto-router-id-selection><!-- operation="delete"-->
</config>
</ip-global>
Command Syntax
automatic-router-id-selection enable
Configure default vrf enable icmp broadcast
This attribute is used to control ICMP echo broadcast reply. It ignores ICMP echo broacast when set to true
Attribute Name: default-vrf-enable-icmp-broadcast
Attribute Type: empty
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<config>
</default-vrf-enable-icmp-broadcast><!-- operation="delete"-->
</config>
</ip-global>
Command Syntax
ip icmp-broadcast
Configure disable ip vrf forwarding
Turn on IP forwarding for the VRF instance
Attribute Name: disable-ip-vrf-forwarding
Attribute Type: uint8
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
</disable-ip-vrf-forwarding><!-- operation="delete"-->
</vrf>
</ip-global>
Command Syntax
no ip forwarding vrf NAME
Configure disable ipv6 vrf forwarding
Turn on IPv6 forwarding for the VRF instance
Attribute Name: disable-ipv6-vrf-forwarding
Attribute Type: uint8
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
</disable-ipv6-vrf-forwarding><!-- operation="delete"-->
</vrf>
</ip-global>
Command Syntax
no ipv6 forwarding vrf NAME
Configure enable icmp broadcast
This attribute is used to control ICMP echo broadcast reply for VRF instance. It ignores ICMP echo broacast when set to true
This command is supported when following feature are enabled Virtual routing and forwarding
Attribute Name: enable-icmp-broadcast
Attribute Type: empty
Netconf edit-config payload
<ip-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip">
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>NAME</vrf-name>
</config>
</enable-icmp-broadcast><!-- operation="delete"-->
</vrf>
</ip-global>
Command Syntax
ip icmp-broadcast vrf NAME