beautypg.com

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

Page 33

background image

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";

}

}


1.1.1.1/24

[no] ip address /

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";

}

}


::1/32



[no] ipv6 address <IPv6
address
>/<IPV6 mask>

[no] ipv6 enable