Configuring the Source Interface Feature
The source-interface command option provides support for management applications to configure an IPv4 and/or IPv6 inband or outband source IP address for the copy command and other processes (such as tacacs, ntp, ping/ping6, icmp-error and traceroute).
For more information, see the Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide:
Configuring the Source Interface Feature for the FTP Client
Configuring the Source Interface Feature for the FTP Client
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfFtp": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ftp-items>
<Ftp-list>
<vrf>default</vrf>
<srcIf>mgmt0</srcIf>
</Ftp-list>
</ftp-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ftp source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfFtp | sys/ipSrcIf/ftp-[default] |
srcintfFtp | sys/ipSrcIf/ftp-[SampleString_123] |
srcintfFtp Properties
The following table contains information about the srcintfFtp properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Configured Source Interface Feature for the FTP Client
Deleting the Configured Source Interface Feature for the FTP Client
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfFtp": {
"attributes": {
"status": "deleted",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ftp-items>
<Ftp-list xc:operation="delete">
<vrf>default</vrf>
</Ftp-list>
</ftp-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ftp source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfFtp | sys/ipSrcIf/ftp-[default] |
srcintfFtp | sys/ipSrcIf/ftp-[SampleString_123] |
srcintfFtp Properties
The following table contains information about the srcintfFtp properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source Interface Feature for the FTP Client With a VRF
Configuring the Source Interface Feature for the FTP Client With a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfFtp": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ftp-items>
<Ftp-list>
<vrf>SampleString_123</vrf>
<srcIf>mgmt0</srcIf>
</Ftp-list>
</ftp-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ftp source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfFtp | sys/ipSrcIf/ftp-[default] |
srcintfFtp | sys/ipSrcIf/ftp-[SampleString_123] |
srcintfFtp Properties
The following table contains information about the srcintfFtp properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Configured Source Interface Feature for the FTP Client With a VRF
Deleting the Configured Source Interface Feature for the FTP Client With a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfFtp": {
"attributes": {
"status": "deleted",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ftp-items>
<Ftp-list xc:operation="delete">
<vrf>SampleString_123</vrf>
</Ftp-list>
</ftp-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ftp source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfFtp | sys/ipSrcIf/ftp-[default] |
srcintfFtp | sys/ipSrcIf/ftp-[SampleString_123] |
srcintfFtp Properties
The following table contains information about the srcintfFtp properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Source Interface Feature For Traceroute
Configuring Source Interface Feature For Traceroute
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTraceroute": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<traceroute-items>
<Traceroute-list>
<vrf>default</vrf>
<srcIf>mgmt0</srcIf>
</Traceroute-list>
</traceroute-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip traceroute source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTraceroute | sys/ipSrcIf/traceroute-[default] |
srcintfTraceroute | sys/ipSrcIf/traceroute-[SampleString_123] |
srcintfTraceroute Properties
The following table contains information about the srcintfTraceroute properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for Traceroute
Deleting the Source Interface Feature for Traceroute
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTraceroute": {
"attributes": {
"status": "deleted",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<traceroute-items>
<Traceroute-list xc:operation="delete">
<vrf>default</vrf>
</Traceroute-list>
</traceroute-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip traceroute source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTraceroute | sys/ipSrcIf/traceroute-[default] |
srcintfTraceroute | sys/ipSrcIf/traceroute-[SampleString_123] |
srcintfTraceroute Properties
The following table contains information about the srcintfTraceroute properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Source Interface Feature For Traceroute with a VRF
Configuring Source Interface Feature For Traceroute with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTraceroute": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<traceroute-items>
<Traceroute-list>
<vrf>SampleString_123</vrf>
<srcIf>mgmt0</srcIf>
</Traceroute-list>
</traceroute-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip traceroute source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTraceroute | sys/ipSrcIf/traceroute-[default] |
srcintfTraceroute | sys/ipSrcIf/traceroute-[SampleString_123] |
srcintfTraceroute Properties
The following table contains information about the srcintfTraceroute properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for Traceroute with a VRF
Deleting the Source Interface Feature for Traceroute with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTraceroute": {
"attributes": {
"status": "deleted",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<traceroute-items>
<Traceroute-list xc:operation="delete">
<vrf>SampleString_123</vrf>
</Traceroute-list>
</traceroute-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip traceroute source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTraceroute | sys/ipSrcIf/traceroute-[default] |
srcintfTraceroute | sys/ipSrcIf/traceroute-[SampleString_123] |
srcintfTraceroute Properties
The following table contains information about the srcintfTraceroute properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Source Interface Feature For Domain-Lookup (Telnet)
Configuring Source Interface Feature For Domain-Lookup (Telnet)
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTelnet": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<telnet-items>
<Telnet-list>
<vrf>default</vrf>
<srcIf>mgmt0</srcIf>
</Telnet-list>
</telnet-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip telnet source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTelnet | sys/ipSrcIf/telnet-[default] |
srcintfTelnet | sys/ipSrcIf/telnet-[SampleString_123] |
srcintfTelnet Properties
The following table contains information about the srcintfTelnet properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for a Domain-Lookup (SSH)
Deleting the Source Interface Feature for a Domain-Lookup (SSH)
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTelnet": {
"attributes": {
"status": "deleted",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<telnet-items>
<Telnet-list xc:operation="delete">
<vrf>default</vrf>
</Telnet-list>
</telnet-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip telnet source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTelnet | sys/ipSrcIf/telnet-[default] |
srcintfTelnet | sys/ipSrcIf/telnet-[SampleString_123] |
srcintfTelnet Properties
The following table contains information about the srcintfTelnet properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Source Interface Feature For Domain-Lookup (Telnet) with a VRF
Configuring Source Interface Feature For Domain-Lookup (Telnet) with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTelnet": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<telnet-items>
<Telnet-list>
<vrf>SampleString_123</vrf>
<srcIf>mgmt0</srcIf>
</Telnet-list>
</telnet-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip telnet source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTelnet | sys/ipSrcIf/telnet-[default] |
srcintfTelnet | sys/ipSrcIf/telnet-[SampleString_123] |
srcintfTelnet Properties
The following table contains information about the srcintfTelnet properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
Deleting the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfTelnet": {
"attributes": {
"status": "deleted",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<telnet-items>
<Telnet-list xc:operation="delete">
<vrf>SampleString_123</vrf>
</Telnet-list>
</telnet-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip telnet source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfTelnet | sys/ipSrcIf/telnet-[default] |
srcintfTelnet | sys/ipSrcIf/telnet-[SampleString_123] |
srcintfTelnet Properties
The following table contains information about the srcintfTelnet properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source Interface Feature for a Domain-Lookup (SSH)
Configuring the Source Interface Feature for a Domain-Lookup (SSH)
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfSsh": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ssh-items>
<Ssh-list>
<vrf>default</vrf>
<srcIf>mgmt0</srcIf>
</Ssh-list>
</ssh-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ssh source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfSsh | sys/ipSrcIf/ssh-[default] |
srcintfSsh | sys/ipSrcIf/ssh-[SampleString_123] |
srcintfSsh Properties
The following table contains information about the srcintfSsh properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for a Domain-Lookup (SSH)
Deleting the Source Interface Feature for a Domain-Lookup (SSH)
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfSsh": {
"attributes": {
"status": "deleted",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ssh-items>
<Ssh-list xc:operation="delete">
<vrf>default</vrf>
</Ssh-list>
</ssh-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ssh source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfSsh | sys/ipSrcIf/ssh-[default] |
srcintfSsh | sys/ipSrcIf/ssh-[SampleString_123] |
srcintfSsh Properties
The following table contains information about the srcintfSsh properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
Configuring the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfSsh": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ssh-items>
<Ssh-list>
<vrf>SampleString_123</vrf>
<srcIf>mgmt0</srcIf>
</Ssh-list>
</ssh-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ssh source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfSsh | sys/ipSrcIf/ssh-[default] |
srcintfSsh | sys/ipSrcIf/ssh-[SampleString_123] |
srcintfSsh Properties
The following table contains information about the srcintfSsh properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
Deleting the Source Interface Feature for a Domain-Lookup (SSH) with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfSsh": {
"attributes": {
"status": "deleted",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ssh-items>
<Ssh-list xc:operation="delete">
<vrf>SampleString_123</vrf>
</Ssh-list>
</ssh-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ssh source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfSsh | sys/ipSrcIf/ssh-[default] |
srcintfSsh | sys/ipSrcIf/ssh-[SampleString_123] |
srcintfSsh Properties
The following table contains information about the srcintfSsh properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source Interface Feature For Ping Client
Configuring the Source Interface Feature For Ping Client
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfPing": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ping-items>
<Ping-list>
<vrf>default</vrf>
<srcIf>mgmt0</srcIf>
</Ping-list>
</ping-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ping source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfPing | sys/ipSrcIf/ping-[default] |
srcintfPing | sys/ipSrcIf/ping-[SampleString_123] |
srcintfPing Properties
The following table contains information about the srcintfPing properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Configured Source Interface Feature For Ping Client
Deleting the Configured Source Interface Feature For Ping Client
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfPing": {
"attributes": {
"status": "deleted",
"vrf": "default"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ping-items>
<Ping-list xc:operation="delete">
<vrf>default</vrf>
</Ping-list>
</ping-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ping source-interface mgmt 0
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfPing | sys/ipSrcIf/ping-[default] |
srcintfPing | sys/ipSrcIf/ping-[SampleString_123] |
srcintfPing Properties
The following table contains information about the srcintfPing properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Source Interface Feature for the Ping Client with a VRF
Configuring the Source Interface Feature for the Ping Client with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfPing": {
"attributes": {
"srcIf": "mgmt0",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ping-items>
<Ping-list>
<vrf>SampleString_123</vrf>
<srcIf>mgmt0</srcIf>
</Ping-list>
</ping-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip ping source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfPing | sys/ipSrcIf/ping-[default] |
srcintfPing | sys/ipSrcIf/ping-[SampleString_123] |
srcintfPing Properties
The following table contains information about the srcintfPing properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
srcIf | nw:IfId (base:IfIndex) | Traceroute Source Interface | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Configured Source Interface Feature For Ping Client with a VRF
Deleting the Configured Source Interface Feature For Ping Client with a VRF
POST http://<mgmt0_IP>/api/mo/sys/ipSrcIf.json
{
"srcintfEntity": {
"children": [
{
"srcintfPing": {
"attributes": {
"status": "deleted",
"vrf": "SampleString_123"
}}}]}}
{
imdata:[]
}
<System>
<ipSrcIf-items>
<ping-items>
<Ping-list xc:operation="delete">
<vrf>SampleString_123</vrf>
</Ping-list>
</ping-items>
</ipSrcIf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip ping source-interface mgmt 0 vrf SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
srcintfEntity | sys/ipSrcIf |
srcintfPing | sys/ipSrcIf/ping-[default] |
srcintfPing | sys/ipSrcIf/ping-[SampleString_123] |
srcintfPing Properties
The following table contains information about the srcintfPing properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
vrf | l3:VrfName (string:Basic) | Traceroute Source VRF | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: