NETCONF Configuration Guide
...
Interface
Interfaces
36 min
asternos interfaces interface module provides a way to configure and manage network interfaces on asternos devices it supports various types of interfaces, including ethernet, physical interfaces that connect to other network devices portchannel, logical interfaces that aggregate multiple physical interfaces into a single logical interface vlanif, virtual interfaces that are associated with a vlan sub ethernet, sub interfaces that are created on top of a physical ethernet interface sub portchannel, sub interfaces that are created on top of a portchannel interface loopback, virtual interfaces that are used for testing and troubleshooting for each type of interface, it has specific configuration options and parameters ethernet interface and loopback0 can't be deleted, other types of interfaces can be created and deleted before creating portchannel interface , user should create portchannel in asternos portchannels module before creating sub ethernet or sub portchannel interface, user should make sure the parent interface exists before creating vlanif interface, user should create vlan in asternos vlans module note there are some config false nodes in the yang model, such as statistics, oper status, etc these nodes are read only and can't be configured via netconf, so these nodes cannot be retrieved by get config if you want to get these nodes, you can use get to retrieve all configuration and operational data get all existing interfaces configuration on device request example to retrieve all interface configurations on the device via rpc get config \<filter type="subtree"> \<top> \<interfaces/> \</top> \</filter> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ fe9f644f 777d 47be 93fe 04a3f4cc9730"> \<data> \<top> \<interfaces xmlns="http //asterfusion com/ns/yang/asternos interfaces"> \<interface> \<name>ethernet1\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet2\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet3\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet4\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet5\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet6\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet7\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<interface> \<name>ethernet8\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \<! more > \<interface> \<name>loopback0\</name> \<admin status>true\</admin status> \<interface mode>routed\</interface mode> \<ipv4 xmlns="http //asterfusion com/ns/yang/asternos ip"> \<address> \<ip prefix>10 1 0 1/32\</ip prefix> \</address> \</ipv4> \<ipv6 xmlns="http //asterfusion com/ns/yang/asternos ip"/> \</interface> \</interfaces> \</top> \</data> \</rpc reply> get single interface configuration on device request example to retrieve a single interface configuration on the device via rpc get config \<filter type="subtree"> \<top> \<interfaces> \<interface> \<name>ethernet22\</name> \</interface> \</interfaces> \</filter> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ c7110908 49d7 42b8 a42c 8cbdd30701bd"> \<data> \<top> \<interfaces xmlns="http //asterfusion com/ns/yang/asternos interfaces"> \<interface> \<name>ethernet22\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<mtu>9216\</mtu> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \</ethernet config> \</interface> \</interfaces> \</top> \</data> \</rpc reply> get configuration and operational data for single interface note use get rather than get config to retrieve both configuration and operational data request example to retrieve both configuration and operational data for a single interface via rpc get \<filter type="subtree"> \<top> \<interfaces> \<interface> \<name>ethernet22\</name> \</interface> \</interfaces> \</top> \</filter> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 732b6696 ff9e 40dc a1ef 39d24a51816a"> \<data> \<top> \<interfaces xmlns="http //asterfusion com/ns/yang/asternos interfaces"> \<interface> \<name>ethernet22\</name> \<admin status>true\</admin status> \<interface mode>none\</interface mode> \<oper status>true\</oper status> \<mtu>9216\</mtu> \<statistics> \<in octets>0\</in octets> \<in unicast pkts>0\</in unicast pkts> \<in broadcast pkts>0\</in broadcast pkts> \<in multicast pkts>0\</in multicast pkts> \<in discards>0\</in discards> \<in errors>0\</in errors> \<in ipv4 pkts>0\</in ipv4 pkts> \<in ipv4 octets>0\</in ipv4 octets> \<in ipv6 pkts>0\</in ipv6 pkts> \<in ipv6 octets>0\</in ipv6 octets> \<out octets>1880976\</out octets> \<out unicast pkts>0\</out unicast pkts> \<out broadcast pkts>0\</out broadcast pkts> \<out multicast pkts>6769\</out multicast pkts> \<out discards>0\</out discards> \<out errors>0\</out errors> \<out ipv4 octets>0\</out ipv4 octets> \<out ipv6 octets>536\</out ipv6 octets> \</statistics> \<ethernet config xmlns="http //asterfusion com/ns/yang/asternos ports"> \<auto negotiate>true\</auto negotiate> \<port speed>speed 25g\</port speed> \<lanes>21\</lanes> \<index>21\</index> \<alias>y22\</alias> \</ethernet config> \<transceiver xmlns="http //asterfusion com/ns/yang/asternos transceiver"> \<lpmode>false\</lpmode> \<presence>false\</presence> \<eeprom> \<dom/> \</eeprom> \</transceiver> \</interface> \</interfaces> \</top> \</data> \</rpc reply> get interface statistics request example to get interface counters via rpc show counters interface \<show counters interface> \<name>ethernet1\</name> \<all>true\</all> \<json>true\</json> \</show counters interface> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ a64fa98e 2f0e 427f 8112 44d3d460c182"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces">{ "ethernet1" { "rx bps" "0 00 b/s", "rx drp" "0", "rx err" "0", "rx ok" "0", "rx ovr" "0", "rx pps" "0 00/s", "rx util" "0 00%", "state" "u", "trim" "n/a", "tx bps" "148 00 b/s", "tx drp" "0", "tx err" "0", "tx ok" "7,038", "tx ovr" "0", "tx pps" "0 50/s", "tx util" "0 00%" } } \</data> \</rpc reply> show interface counters all request example to get all interface counters in table format via rpc show counters interface \<show counters interface> \<all>true\</all> \</show counters interface> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 0f6559af da46 47b5 8779 9f29e409068f"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> iface state rx ok rx bps rx pps rx util rx err rx drp rx ovr tx ok tx bps tx pps tx util tx err tx drp tx ovr trim \ ethernet1 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet2 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet3 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet4 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet5 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet6 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet7 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet8 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet9 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 148 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet10 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet11 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet12 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet13 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet14 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet15 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet16 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet17 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet18 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet19 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet20 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet21 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet22 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet23 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet24 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet25 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet26 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet27 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet28 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet29 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet30 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet31 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet32 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet33 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet34 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet35 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet36 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet37 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet38 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet39 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet40 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet41 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet42 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet43 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet44 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet45 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet46 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet47 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet48 u 0 0 00 b/s 0 00/s 0 00% 0 0 0 8,108 149 00 b/s 0 50/s 0 00% 0 0 0 n/a ethernet49 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet53 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet57 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet61 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet65 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet69 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet73 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a ethernet77 d 0 0 00 b/s 0 00/s 0 00% 0 0 0 0 0 00 b/s 0 00/s 0 00% 0 0 0 n/a \</data> \</rpc reply> clear interface counters request example to clear all interfaces counters on device via rpc clear counters interface \<clear counters interface/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ d5fba0e0 32ad 4b5b a188 6637efe2337b"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces">cleared counters\</data> \</rpc reply> create l3 interface and configure l3 interface attributes request example to create l3 interfaces and configure l3 interface attributes \<config>\<top> \<interfaces operation="merge"> \<interface> \<name>ethernet11\</name> \<interface mode>routed\</interface mode> \<mac address>00 00 00 00 00 01\</mac address> \<mtu>1500\</mtu> \<ipv4> \<address> \<ip prefix>10 0 0 1/24\</ip prefix> \</address> \</ipv4> \</interface> \<interface> \<name>ethernet12\</name> \<interface mode>routed\</interface mode> \<mac address>00 00 00 00 00 02\</mac address> \<mtu>8192\</mtu> \<ipv6> \<address> \<ip prefix>2000 1/64\</ip prefix> \</address> \<address> \<ip prefix>3000 1/64\</ip prefix> \</address> \</ipv6> \</interface> \<interface> \<name>loopback1\</name> \<ipv4> \<address> \<ip prefix>60 0 0 1/24\</ip prefix> \</address> \</ipv4> \</interface> \</interfaces> \</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ e2450f35 4d62 4cd3 8860 579a84792681"> \<ok/> \</rpc reply> delete l3 interface warning deleting an interface will also remove any associated configuration, such as ip addresses physical ethernet interfaces cannot be deleted use 'interface mode' to change the mode of a physical interface request example to delete l3 interfaces and change physical interfaces to l2 mode \<config>\<top> \<interfaces> \<interface operation="merge"> \<name>ethernet11\</name> \<interface mode>none\</interface mode> \</interface> \<interface operation="merge"> \<name>ethernet12\</name> \<interface mode>none\</interface mode> \</interface> \<interface operation="delete"> \<name>loopback1\</name> \</interface> \</interfaces> \</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 6362a058 9ebb 49a1 bc8f 9f4809258c8c"> \<ok/> \</rpc reply> configure port speed/admin status/fec \<config>\<top> \<interfaces operation="merge"> \<interface> \<name>ethernet1\</name> \<ethernet config> \<port speed>speed 1g\</port speed> \<fec>none\</fec> \</ethernet config> \<admin status>true\</admin status> \</interface> \<interface> \<name>ethernet2\</name> \<ethernet config> \<port speed>speed 1g\</port speed> \<fec>none\</fec> \</ethernet config> \<admin status>true\</admin status> \</interface> \<interface> \<name>ethernet49\</name> \<ethernet config> \<port speed>speed 1g\</port speed> \<fec>rs\</fec> \</ethernet config> \<admin status>false\</admin status> \</interface> \</interfaces> \</top>\</config> show interface summary request example shows a summary of all interfaces in a table format via rpc show interface summary \<show interface summary/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ eed0ac03 b443 4e74 a45b b9228935f449"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> interface lanes speed mtu fec alias vlan oper admin type asym pfc \ ethernet1 0 25g 9216 none y1 n/a up up n/a n/a ethernet2 1 25g 9216 none y2 n/a up up n/a n/a ethernet3 2 25g 9216 none y3 n/a up up n/a n/a ethernet4 3 25g 9216 none y4 n/a up up n/a n/a ethernet5 4 25g 9216 none y5 n/a up up n/a n/a ethernet6 5 25g 9216 none y6 n/a up up n/a n/a ethernet7 6 25g 9216 none y7 n/a up up n/a n/a ethernet8 7 25g 9216 none y8 n/a up up n/a n/a ethernet9 8 25g 9216 none y9 n/a up up n/a n/a ethernet10 9 25g 9216 none y10 n/a up up n/a n/a ethernet11 10 25g 1500 none y11 n/a up up n/a n/a ethernet12 11 25g 8192 none y12 n/a up up n/a n/a ethernet13 12 25g 9216 none y13 n/a up up n/a n/a ethernet14 13 25g 9216 none y14 n/a up up n/a n/a ethernet15 14 25g 9216 none y15 n/a up up n/a n/a ethernet16 15 25g 9216 none y16 n/a up up n/a n/a ethernet17 16 25g 9216 none y17 n/a up up n/a n/a ethernet18 17 25g 9216 none y18 n/a up up n/a n/a ethernet19 18 25g 9216 none y19 n/a up up n/a n/a ethernet20 19 25g 9216 none y20 n/a up up n/a n/a ethernet21 20 25g 9216 none y21 n/a up up n/a n/a ethernet22 21 25g 9216 none y22 n/a up up n/a n/a ethernet23 22 25g 9216 none y23 n/a up up n/a n/a ethernet24 23 25g 9216 none y24 n/a up up n/a n/a ethernet25 24 25g 9216 none y25 n/a up up n/a n/a ethernet26 25 25g 9216 none y26 n/a up up n/a n/a ethernet27 26 25g 9216 none y27 n/a up up n/a n/a ethernet28 27 25g 9216 none y28 n/a up up n/a n/a ethernet29 28 25g 9216 none y29 n/a up up n/a n/a ethernet30 29 25g 9216 none y30 n/a up up n/a n/a ethernet31 30 25g 9216 none y31 n/a up up n/a n/a ethernet32 31 25g 9216 none y32 n/a up up n/a n/a ethernet33 32 25g 9216 none y33 n/a up up n/a n/a ethernet34 33 25g 9216 none y34 n/a up up n/a n/a ethernet35 34 25g 9216 none y35 n/a up up n/a n/a ethernet36 35 25g 9216 none y36 n/a up up n/a n/a ethernet37 36 25g 9216 none y37 n/a up up n/a n/a ethernet38 37 25g 9216 none y38 n/a up up n/a n/a ethernet39 38 25g 9216 none y39 n/a up up n/a n/a ethernet40 39 25g 9216 none y40 n/a up up n/a n/a ethernet41 40 25g 9216 none y41 n/a up up n/a n/a ethernet42 41 25g 9216 none y42 n/a up up n/a n/a ethernet43 42 25g 9216 none y43 n/a up up n/a n/a ethernet44 43 25g 9216 none y44 n/a up up n/a n/a ethernet45 44 25g 9216 none y45 n/a up up n/a n/a ethernet46 45 25g 9216 none y46 n/a up up n/a n/a ethernet47 46 25g 9216 none y47 n/a up up n/a n/a ethernet48 47 25g 9216 none y48 n/a up up n/a n/a ethernet49 48,49,50,51 100g 9216 rs c1 n/a down up n/a n/a ethernet53 52,53,54,55 100g 9216 rs c2 n/a down up n/a n/a ethernet57 56,57,58,59 100g 9216 rs c3 n/a down up n/a n/a ethernet61 64,65,66,67 100g 9216 rs c4 n/a down up n/a n/a ethernet65 68,69,70,71 100g 9216 rs c5 n/a down up n/a n/a ethernet69 72,73,74,75 100g 9216 rs c6 n/a down up n/a n/a ethernet73 76,77,78,79 100g 9216 rs c7 n/a down up n/a n/a ethernet77 80,81,82,83 100g 9216 rs c8 n/a down up n/a n/a \</data> \</rpc reply> configure port group note we recommend to configure device via edit config where is possible this rpc give a capability to configure multiple physical ports in a time in a different way than edit config request example to configure port group \<config port group> \<interfaces>1,3 10\</interfaces> \<admin status>false\</admin status> \<ethernet config> \<auto negotiate>false\</auto negotiate> \<port speed>speed 1g\</port speed> \<fec>none\</fec> \</ethernet config> \</config port group> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 6327e50b 026e 4824 9183 a004c8c630c0"> \<ok/> \</rpc reply> configure lag group note it's recommended to configure device via edit config where is possible please create portchannels and vlans before calling config lag group this rpc give a capability to configure multiple portchannels in a time in a different way than edit config request example to configure lag group \<config lag group> \<lags>1 4\</lags> \<vlan group config> \<vlan ranges>1,3 10\</vlan ranges> \<tagging mode>tagged\</tagging mode> \</vlan group config> \</config lag group> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ bbee64c4 e5e4 4800 b9fd 7a7e9e55e095"> \<ok/> \</rpc reply> clear vlan membership on given port this rpc can have clear vlan membership on given physical port if the port has been added to any vlan, will be removed from vlan after this rpc called request example to clear vlan membership via rpc clear vlan membership \<clear vlan membership> \<interface>ethernet1\</interface> \</clear vlan membership> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 899ffe4b c837 41ea 8e9f 181c2db39f47"> \<ok/> \</rpc reply> clear router interface on given port this rpc can have clear router interface on given physical port if the port has been configured as l3 interface, will be changed to l2 mode after this rpc called reqeust example to clear router interface via rpc clear router interface \<clear router interface> \<interface>ethernet11\</interface> \</clear router interface> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 4758a538 5c4b 44a3 a259 b7e1d500d415"> \<ok/> \</rpc reply> show ip interface this rpc shows detailed information of all interface ips in a table format request example to show ip interface via rpc show ip interface \<show ip interface/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ ccb4faeb 0964 4fcb 9527 465709fed801"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> interface master ipv4 address/mask admin/oper bgp neighbor neighbor ip \ loopback0 10 1 0 1/32 up/up n/a n/a \</data> \</rpc reply> show ipv6 interface this rpc shows detailed information of all interface ipv6 in a table format request example to show ipv6 interface via rpc show ipv6 interface \<show ipv6 interface/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 2bb8992e bc30 476a ad47 f4d7113be8e0"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> interface master ipv6 address/mask admin/oper bgp neighbor neighbor ip \ ethernet11 200 1/24 up/up n/a n/a \</data> \</rpc reply> show interface urpf this rpc shows detailed information of all interface urpf in a table format request example to show interface urpf via rpc show interface urpf \<show interface urpf/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ f994b98f d5b4 49b6 a5df 8e5fd1d569ba"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> interfaces status \ ethernet11 strict ethernet14 loose \</data> \</rpc reply> show interface error down status this rpc shows detailed information of all interface error down status in a table format request example to show interface error down status via rpc show interface errdown \<show interface errdown/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 7f6ed84a ebd8 42dc 83b0 73f62b62b19c"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> \<errdown info> \<interface>ethernet1\</interface> \<state>up\</state> \</errdown info> \<errdown info> \<interface>ethernet2\</interface> \<state>up\</state> \</errdown info> \<errdown info> \<interface>ethernet3\</interface> \<state>up\</state> \</errdown info> \<errdown info> \<interface>ethernet4\</interface> \<state>up\</state> \</errdown info> \<! more > \<errdown info> \<interface>ethernet73\</interface> \<state>up\</state> \</errdown info> \<errdown info> \<interface>ethernet77\</interface> \<state>up\</state> \</errdown info> \</data> \</rpc reply> show interface port info this rpc shows detailed information of all interface port info in a cli format request example to show interface port info via rpc show interface port \<show interface port> \<interface>ethernet11\</interface> \</show interface port> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 5c8da3e6 574e 4886 82ba e949ec34535f"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> ethernet11 is up, line protocol is up hardware is eth interface index is 11 description mode of ipv4 address assignment not set mode of ipv6 address assignment not set ip mtu 1500 bytes linespeed 25 0g input statistics 0 packets, 0 octets 0 multicasts, 0 broadcasts, 0 unicasts 0 error, 0 discarded 0 ipv4packets, 0 ipv4octets 0 ipv6packets, 0 ipv6octets output statistics 2348 packets, 650,848 octets 2,348 multicasts, 0 broadcasts, 0 unicasts 0 error, 0 discarded 0 ipv4octets, 1,996 ipv6octets \</data> \</rpc reply> show sub interface summary this rpc shows a summary of all sub interfaces in a table format request example to show sub interface summary via rpc show sub interface \<show sub interface/> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 44e74fc3 aeb0 4787 bf7f 327bc3d8a030"> \<data xmlns="http //asterfusion com/ns/yang/asternos interfaces"> sub port interface speed mtu vlan admin type \ po0013 6 25g 9216 6 up 802 1q encapsulation \</data> \</rpc reply>
