#URL

frinx-openconfig-interfaces:interfaces/interface=

#OPENCONFIG YANG

YANG models

{ "interface": [ { "name": "", "config": { "type": "iana-if-type:ieee8023adLag", "enabled": , "mtu": , "description": "", "name": "" }, "subinterfaces": { "subinterface": [ { "index": 0, "config": { "index": 0 }, "frinx-openconfig-if-ip:ipv4": { "addresses": { "address": [ { "ip": "", "config": { "ip": "", "prefix-length": "" }, "frinx-cisco-vrrp-extension:vrrp": { "vrrp-group": [ "virtual-router-id": "", "config": { "virtual-router-id": "", "virtual-address": [""], "priority": , "tracked-objects": [ { "tracked-object-id": , "priority-decrement": , "shutdown": }], "virtual-secondary-addresses": [ "" ], "preempt-delay": } ] } } ] } }, "frinx-openconfig-if-ip:ipv6": { "config": { "enabled": }, "addresses": { "address": [ { "ip": "", "config": { "ip": "", "prefix-length": "" }, "frinx-cisco-vrrp-extension:vrrp": { "vrrp-group": [ "virtual-router-id": "", "config": { "virtual-router-id": "", "virtual-address": [""], "tracked-objects": [ { "tracked-object-id": , "shutdown": }], "addresses": [ "" ] } ] } } ] }, "router-advertisement": { "config": { "suppress": } } } }, { "index": , "config": { "index": , "description": "", "frinx-juniper-if-extension:rpm-type": "", "frinx-if-aggregate-extension:subinterface-name": "", "enabled": , "frinx-cer-if-aggregate-extension:metric": "", "frinx-cer-if-aggregate-extension:level-type": "", "frinx-cer-if-aggregate-extension:cost": "" }, "frinx-openconfig-if-ip:ipv4": { "addresses": { "address": [ { "ip": "", "config": { "ip": "", "prefix-length": "" }, "vrrp": { "vrrp-group": [ "virtual-router-id": "", "config": { "virtual-router-id": "", "virtual-address": "" } ] } } ] } }, "frinx-openconfig-if-ip:ipv6": { "addresses": { "address": [ { "ip": "", "config": { "ip": "", "prefix-length": "" } } ] } }, "frinx-openconfig-vlan:vlan": { "config": "vlan-id": , "frinx-saos-vlan-extension:ingress-l2-transform": "", "frinx-saos-vlan-extension:egress-l2-transform": "" } "frinx-saos-vlan-extension:class-elements": [ { "id": "", "config": { "id": "", "vtag-stack": "", "vlan-untagged-data": // true or false } } ] }, "frinx-cisco-if-extension:statistics": { "config": { "load-interval": } }, "frinx-cisco-if-extension:hold-time": { "config": { "up": } }, "frinx-oam:cfm": { "config": { "enabled": }, "domains": { "domain": [ { "domain-name": "", "config": { "domain-name": "" }, "mep": { "config": { "ma-name": "", "mep-id": , "cos": } } } ] } }, "frinx-if-ethernet-extension:arp": { "config": { "cache-timeout": } }, "frinx-saos-if-extension:pm-instances": { "pm-instance": [ { "name": "", "config": { "bin-count": "", "name": "" } } ] } } ] }, "frinx-damping:damping": { "config": { "enabled": , "half-life": , "reuse": , "suppress": , "max-suppress": } }, "frinx-cisco-if-extension:statistics": { "config": { "load-interval": } }, "frinx-openconfig-if-aggregate:aggregation": { "config": { "min-links": , "frinx-juniper-if-aggregate-extension:link-speed": , "frinx-if-aggregate-extension:mac-address": , "frinx-if-aggregate-extension:system-id-mac": }, "frinx-bfd:bfd": { "config": { "local-address": "", "destination-address": "", "multiplier": , "min-interval": } }, "frinx-bfd:bfd-ipv6": { "config": { "destination-address": "", "multiplier": , "min-interval": } }, "frinx-openconfig-vlan:switched-vlan" : { "config" : { "interface-mode": "TRUNK", "trunk-vlans": [ ], "native-vlan": } } } } ] }

#OS Configuration Commands

#Cisco IOS XE

interface GigabitEthernet2
 ip address 
 vrrp  address-family ipv4
  priority 
  preempt delay minimum 
  track  decrement 
  track  shutdown | no track  shutdown 
  address  primary
  address  secondary
 vrrp  address-family ipv6
  track  shutdown | no track  shutdown
  address  primary
  address 

track shutdown is a conversion of set true
no track shutdown is a conversion of set false

#Unit

Link to github : ios-unit

#Cisco IOS Classic (15.2(4)S5) / XE (15.3(3)S2)

interface 
 ip address  

is conversion of

#Unit

Link to github : ios-unit

#Cisco IOS XR 5.3.4

#CLI

interface Bundle-Ether 
 description  
 mtu 
 ipv4 address  
 ipv6 address /
 ipv6 nd suppress-ra
 dampening      | no dampening
 load-interval 
 bundle minimum-active links 
 bfd mode ietf
 bfd address-family ipv4 fast-detect
 bfd address-family ipv4 destination 
 bfd address-family ipv4 minimum-interval 
 bfd address-family ipv4 multiplier 
 shutdown | no shutdown

is parsed from
example is Bundle-Ether100 -> is 100

no shutdown is a conversion of set true
shutdown is a conversion of set false
is conversion of
no dampening is a conversion of set false
ipv6 nd suppress-ra is a conversion of set true

#Unit

Link to github : xr-unit

#Cisco IOS XR 6.2.3

#CLI

interface Bundle-Ether 
 description  
 mtu 
 ipv4 address  
 ipv6 address /
 ipv6 enable | no ipv6 enable
 dampening      | no dampening
 load-interval 
 bundle minimum-active links 
 bfd mode ietf
 bfd address-family ipv4 fast-detect
 bfd address-family ipv4 destination 
 bfd address-family ipv4 minimum-interval 
 bfd address-family ipv4 multiplier 
 bfd address-family ipv6 fast-detect
 bfd address-family ipv6 destination 
 bfd address-family ipv6 minimum-interval 
 bfd address-family ipv6 multiplier 
 shutdown | no shutdown

is parsed from
example is Bundle-Ether100 -> is 100

no shutdown is a conversion of set true
shutdown is a conversion of set false
is conversion of
no dampening is a conversion of set false
ipv6 enable is a conversion of set true
no ipv6 enable is a conversion of set false

interface Bundle-Ether.
 description 
 ipv4 address  
 encapsulation dot1q 

is conversion of

#Unit

Link to github : xr-unit

#Cisco IOS XR 6.6.1

#CLI

interface Bundle-Ether 
 description  
 ipv4 address  
 mtu 
 dampening     | no dampening
 load-interval 
 mac-address 
 lacp system mac 
 shutdown | no shutdown

is parsed from
example is Bundle-Ether100 -> is 100
is parsed from
example is aa:bb:cc:dd:ee:ff -> aabb.ccdd.eeff
is parsed from
example is aa:bb:cc:dd:ee:ff -> aabb.ccdd.eeff

is conversion of
no shutdown is a conversion of set true
shutdown is a conversion of set false
no dampening is a conversion of set false


interface Bundle-Ether.
 description 
 ipv4 address  
 encapsulation dot1q 
 load-interval 
 carrier-delay up 

is parsed from
example is Bundle-Ether100 -> is 100

is conversion of

#Unit

Link to github : xr-unit

#Cisco IOS XR 6.6.2

#CLI

interface Bundle-Ether.
 description 
 ipv4 address  
 ipv6 address /
 encapsulation dot1q 
 load-interval 
 arp timeout 
 ethernet cfm
  mep domain  service  mep-id 
   cos 
 shutdown | no shutdown

is parsed from
example is Bundle-Ether100 -> is 100

no shutdown is a conversion of set true
shutdown is a conversion of set false
is conversion of
ethernet cfm is a conversion of set to true
no ethernet cfm is a conversion of set to false

#Unit

Link to github : xr-unit

#Junos 17.3R1.10

#CLI

set interfaces ae description 
set interfaces ae mtu 
set interfaces ae unit 0 family inet address /
set interfaces ae aggregated-ether-options minimum-links 
set interfaces ae aggregated-ether-options bfd-liveness-detection neighbor 
set interfaces ae aggregated-ether-options bfd-liveness-detection local-address 
set interfaces ae aggregated-ether-options bfd-liveness-detection minimum-interval 
set interfaces ae aggregated-ether-options bfd-liveness-detection multiplier 
set interfaces ae aggregated-ether-options link-speed 
delete interface ae disable | set interface ae disable

is parsed from
example is ae100 -> is 100

delete interface ae disable is a conversion of set true
set interface ae disable is conversion of set false

Device does not support damping on LAG interface.

#Unit

Link to github : junos-unit

#Junos 18.2R1-S2.1

#CLI

delete interface ae disable | set interface ae disable
set interfaces ae unit 0 family inet address /
set interfaces ae unit 0 family inet address / vrrp-group  virtual-address 

is parsed from
example is ae100 -> is 100

delete interface ae disable is a conversion of set true
set interface ae disable is conversion of set false


delete interface ae unit  disable | set interface ae unit  disable
set interfaces ae unit  description 
set interfaces ae unit  vlan-id 
set interfaces ae unit  vlan-tags inner 0x8100:
set interfaces ae unit  vlan-tags outer 0x8100:
set interfaces ae unit  rpm 
set interfaces ae unit  family inet address /
set interfaces ae unit  family inet address / vrrp-group  virtual-address 

is parsed from
example is ae100 -> is 100

inner_vlan_tag , outer_vlan_tag is a conversion of set .
delete interface ae unit disable is a conversion of set true
set interface ae unit disable is conversion of set false
rpm_ifc_index , rpm_subintf_index is a conversion of set .

#Unit

Link to github : junos-unit

#Huawei NE5000E (V800R009C10SPC310)

#CLI

interface 
 ipv4 address  

is conversion of

#Unit

Link to github : huawei-unit

#Dasan NOS SFU.RR.5.6p5

#CLI

bridge
 lacp aggregator 
 vlan add br t/ tagged
 vlan add br t/ untagged

is parsed from
example is Bundle-Ether100 -> is 100 and prefix is Bundle-Ether
Dasan supports two kinds of prefixes (Prefix is settled by lag type)

  • If the prefix of is 'Trunk', lag type is port trunking
  • If the prefix of is 'Bundle-Ether', lag type is lacp

vlan add br t/ tagged is only supported by port trunking
vlan add br t/ untagged is only supported by port trunking

#Unit

Link to github : dasan-unit

#Ciena SAOS8

#CLI

sub-port create sub-port  parent-port  classifier-precedence 
sub-port set sub-port  ingress-l2-transform 
sub-port set sub-port  egress-l2-transform 
sub-port add sub-port  class-element  vtag-stack    // when set vtag-stack not possible to set vlan-untagged-data
sub-port add sub-port  class-element  vlan-untagged-data   // when untagged_data set to true
pm create sub-port  pm-instance  profile-type BasicTxRx bin-count 

classifier-precedence is used as **. This field is mandatory in Ciena and unique withing parent-port.
bin_count can be from "0" to "96". Default value is "32".
when ** is set to true, then vlan-untagged-data is used in the the sub-port command.
there is not possible to set vlan-untagged-data and vtag-stack both.

#Unit

Link to github : saos-unit

#Arris CER

#CLI

 interface 
  isis wide-metric  
  ip ospf cost 
#Unit

Link to github : cer-unit