configure interface tunnel <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <edit-config> <target> <candidate/> </target> <config> <interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface"> <interface xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="merge"> <name>Tunnel33</name> <config> <name>Tunnel33</name> </config> <tunnel xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-extended"> <config> <mode>vxlan</mode> <src>20.2.2.1</src> <dst>20.2.2.2</dst> </config> </tunnel> <ipv4 xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-if-ip"> <config> <primary-ip-addr>40.1.1.1/24</primary-ip-addr> </config> </ipv4> </interface> </interfaces> </config> </edit-config> </rpc> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="102"> <commit/> </rpc> | |
YangSuite | |
CLI | |
cli show running-config interface ! interface Tunnel30 ! interface Tunnel31 ! interface Tunnel33 ip address 40.1.1.1/24 tunnel mode vxlan tunnel source 20.2.2.1 tunnel destination 20.2.2.2 ! |
General
Content
Integrations