Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save paigeadelethompson/52158c760962d9e2292dc8d277fb44b0 to your computer and use it in GitHub Desktop.

Select an option

Save paigeadelethompson/52158c760962d9e2292dc8d277fb44b0 to your computer and use it in GitHub Desktop.
<get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
<name>lo0
</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:softwareLoopback
</type>
<enabled>true
</enabled>
<oper-status>up
</oper-status>
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
<address>
<ip>127.0.0.1
</ip>
<prefix-length>8
</prefix-length>
</address>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</ipv4>
<ipv6 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
<address>
<ip>::1
</ip>
<prefix-length>128
</prefix-length>
</address>
<address>
<ip>fe80::1
</ip>
<prefix-length>64
</prefix-length>
</address>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</ipv6>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</interface>
<interface>
<name>re0
</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd
</type>
<enabled>true
</enabled>
<oper-status>up
</oper-status>
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
<address>
<ip>10.255.255.242
</ip>
<prefix-length>24
</prefix-length>
</address>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</ipv4>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</interface>
<interface>
<name>re0.1
</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:l2vlan
</type>
<enabled>true
</enabled>
<oper-status>down
</oper-status>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</interface>
<interface>
<name>re0.16
</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:l2vlan
</type>
<enabled>true
</enabled>
<oper-status>up
</oper-status>
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
<address>
<ip>192.168.32.242
</ip>
<prefix-length>25
</prefix-length>
</address>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</ipv4>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</interface>
<interface>
<name>re0.25
</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:l2vlan
</type>
<enabled>true
</enabled>
<oper-status>up
</oper-status>
<ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
<address>
<ip>10.1.0.2
</ip>
<prefix-length>18
</prefix-length>
</address>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</ipv4>
<bind-ni-name xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">0
</bind-ni-name>
</interface>
</interfaces>
<network-instances xmlns="urn:ietf:params:xml:ns:yang:ietf-network-instance">
<network-instance>
<name>0
</name>
<enabled>true
</enabled>
<description>default
</description>
</network-instance>
</network-instances>
<routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing">
<ribs>
<rib>
<name>ipv4-default
</name>
<address-family>ipv4
</address-family>
</rib>
<rib>
<name>ipv6-default
</name>
<address-family>ipv6
</address-family>
</rib>
</ribs>
</routing>
</data>
</get>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment