Ipv4 configuration, Ipv6 configuration – Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual
Page 33

Multi-Service IronWare YANG Configuration Guide
25
53-1003038-02
Interface configuration elements
3
IPv4 configuration
This data element indicates the IPv4 address of an interface.
IPv6 configuration
This data element indicates if IPv6 is enabled on this interface and the IPv6 address of the
interface.
TABLE 12
IPv4 configuration
YANG model
XML
CLI
container ip
{
description "Interface IPv4 configuration";
leaf address
{
type ipv4_address_mask;
description "IPv4 address";
}
}
<brcd:ip>
<brcd:address>1.1.1.1/24</brcd:address>
</brcd:ip>
[no] ip address <ip-addr>/ <ip-mask>
TABLE 13
IPv6 configuration
YANG model
XML
CLI
container ipv6
{
description "Interface IPv6 configuration";
leaf address
{
type ipv6_address_mask;
description "IPv6 address";
}
leaf enable
{
type empty;
description "Enable IPv6 on this interface";
}
}
<brcd:ipv6>
<brcd:address>::1/32</brcd:address>
</brcd:ipv6>
<brcd:ipv6>
<brcd:enable></brcd:enable>
</brcd:ipv6>
[no] ipv6 address <IPv6
address>/<IPV6 mask>
[no] ipv6 enable