Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 108

Advertising
background image

100

Multi-Service IronWare YANG Configuration Guide

53-1003038-02

Full examples

5

<brcd:tagged>ethernet 1/10</brcd:tagged>

<brcd:tagged>ethernet 1/12 to 1/17</brcd:tagged>

<brcd:untagged>ethernet 1/4 to 1/5</brcd:untagged>

<brcd:untagged>ethernet 1/8 to 1/9</brcd:untagged>

<brcd:untagged>ethernet 1/11</brcd:untagged>

<brcd:untagged>ethernet 1/18</brcd:untagged>

<brcd:uplink-switch>ethernet 1/12 to 1/16</brcd:uplink-switch>

<brcd:router-interface>ve 10</brcd:router-interface>

<brcd:vlan-cpu-protection></brcd:vlan-cpu-protection>

<brcd:loop-detection></brcd:loop-detection>

<brcd:vlan-accounting></brcd:vlan-accounting>

<brcd:priority>

<brcd:value>6</brcd:value>

<brcd:force></brcd:force>

</brcd:priority>

</brcd:vlan>

<brcd:vlan>

<brcd:vlan-id>35</brcd:vlan-id>

<brcd:vlan-name>Test35</brcd:vlan-name>

<brcd:tagged>ethernet 2/2 to 2/3</brcd:tagged>

<brcd:tagged>ethernet 2/6 to 2/7</brcd:tagged>

<brcd:tagged>ethernet 2/10</brcd:tagged>

<brcd:tagged>ethernet 2/12 to 2/17</brcd:tagged>

<brcd:untagged>ethernet 2/4 to 2/5</brcd:untagged>

<brcd:untagged>ethernet 2/8 to 2/9</brcd:untagged>

<brcd:untagged>ethernet 2/11</brcd:untagged>

<brcd:untagged>ethernet 2/18</brcd:untagged>

<brcd:uplink-switch>ethernet 2/12 to 2/16</brcd:uplink-switch>

<brcd:router-interface>ve 20</brcd:router-interface>

<brcd:vlan-cpu-protection></brcd:vlan-cpu-protection>

<brcd:loop-detection></brcd:loop-detection>

<brcd:vlan-accounting></brcd:vlan-accounting>

<brcd:priority>

<brcd:value>3</brcd:value>

<brcd:force></brcd:force>

</brcd:priority>

</brcd:vlan>

</brcd:vlan-config>

</brcd:netiron-config>

</nc:config>

</nc:edit-config>

</nc:rpc>

]]>]]>

The following example shows the complete CLI for a VLAN configuration.

default-vlan 2020

vlan 20 name Test20

tagged ethernet 1/2 to 1/3

tagged ethernet 1/6 to 1/7

tagged ethernet 1/10

tagged ethernet 1/12 to 1/17

untagged ethernet 1/4 to 1/5

untagged ethernet 1/8 to 1/9

untagged ethernet 1/11

untagged ethernet 1/18

uplink-switch ethernet 1/12 to 1/16

router-interface ve 10

loop-detection

Advertising