summaryrefslogtreecommitdiffstats
path: root/samples/openconfig-interfaces/set-enable.xml
blob: dc60769952f5caa3412cc33d6e76389f8c3b49dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- XML for edit-config RPC to change interface state using openconfig-interfaces -->
<interfaces xmlns="http://openconfig.net/yang/interfaces">
    <interface>
        <name>GigabitEthernet0/9/0</name>
        <config>
            <name>GigabitEthernet0/9/0</name>
            <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
            <mtu>1501</mtu>
            <loopback-mode>true</loopback-mode>
            <description>openconfig</description>
            <enabled>true</enabled>
        </config>
    </interface>
</interfaces>