beautypg.com

Interface configuration, In this chapter, Overview – Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 27: Interface configuration elements, Interface identifier, Chapter 3

background image

Multi-Service IronWare YANG Configuration Guide

19

53-1003038-02

Chapter

3

Interface Configuration

In this chapter

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Interface configuration elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Interface state elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Full examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Overview

This chapter describes the interface components that provide support for configuring the network
interfaces, both link-level (including VLAN-tagged interfaces) and IP addresses (IPv4 and IPv6).

NOTE

For the most recent YANG models, visit

http://my.brocade.com

.

Interface configuration elements

Each element of the interface corresponds to the following:

A YANG model description

An XML description

A CLI description

The following subsections compare a specific example for each interface configuration element.

Interface identifier

The interface identifier is a restricted integer type that behaves as a unique identifier for single or a
group of interfaces. This element is an edit request for an Ethernet interface and a VE interface and
disables each port.

TABLE 1

Interface identifier

YANG model

XML

CLI

leaf interface-id
{

type interface-all-types;
description "Single or group of

interfaces";
}

<brcd:interface-id>ethernet 1/1</brcd:interface-id>
<brcd:interface-id>ve 2brcd:interface-id>

interface ethernet
<slot-number>/<port-number>