Configuring a Local Source Session
Configuring a Destination Ethernet Interface
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.
monitor session 1 type local
destination interface ethernet 1/2
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
destinationPorts | nw:IfId (base:IfIndex) | Destination ports for the current session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Destination Ethernet Interface
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.
monitor session 1 type local
no destination interface ethernet 1/2
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring a Destination Port Channel Interface
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.
monitor session 1 type local
destination interface port-channel 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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
destinationPorts | nw:IfId (base:IfIndex) | Destination ports for the current session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring the Number of Access Control Groups Allowed on the Same Source Interface
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.
monitor session 1 type local
filter access-group SampleString_123 allow-sharing
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
aclName | span:AclName (string:Basic) | Name of the Access Control List applied on the current monitor session | MAX SIZE: 64 DEFAULT: |
allowSharing | scalar:Bool
| Denotes whether sharing is enabled for the given filter ACL | SELECTION: true or false DEFAULT: false |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting the Number of Access Control Groups Allowed on the Same Source Interface
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.
monitor session 1 type local
no filter access-group SampleString_123 allow-sharing
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
aclName | span:AclName (string:Basic) | Name of the Access Control List applied on the current monitor session | MAX SIZE: 64 DEFAULT: |
allowSharing | scalar:Bool
| Denotes whether sharing is enabled for the given filter ACL | SELECTION: true or false DEFAULT: false |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Source VLAN (Ingress)
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.
monitor session 1 type local
source vlan 3730 rx
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceVlan |
sys/span/monitor-1/src-[vlan-3730] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceVlan Properties
The following table contains information about the spanSourceVlan 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 |
direction | span:SrcDirection (scalar:Enum8) | The direction of the source VLAN - Rx, Tx, Both | SELECTION: 0 - invalid 1 - rx 2 - tx 3 - both 4 - any DEFAULT: both |
isSingleDirDel | scalar:Bool | NO COMMENTS | SELECTION:
false - notrue - yes DEFAULT: no(false) |
vlan | base:Encap
| VLAN id for Source VLAN | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Source VLAN (Egress)
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.
monitor session 1 type local
no source vlan 3730 tx
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceVlan |
sys/span/monitor-1/src-[vlan-3730] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceVlan Properties
The following table contains information about the spanSourceVlan 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 |
vlan | base:Encap
| VLAN id for Source VLAN | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring a Source VLAN (Both Directions)
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.
monitor session 1 type local
source vlan 3730 both
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceVlan |
sys/span/monitor-1/src-[vlan-3730] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceVlan Properties
The following table contains information about the spanSourceVlan 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 |
direction | span:SrcDirection (scalar:Enum8) | The direction of the source VLAN - Rx, Tx, Both | SELECTION: 0 - invalid 1 - rx 2 - tx 3 - both 4 - any DEFAULT: both |
isSingleDirDel | scalar:Bool | NO COMMENTS | SELECTION:
false - notrue - yes DEFAULT: no(false) |
vlan | base:Encap
| VLAN id for Source VLAN | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Source VLAN (Both Directions)
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.
monitor session 1 type local
no source vlan 3730 both
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceVlan |
sys/span/monitor-1/src-[vlan-3730] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceVlan Properties
The following table contains information about the spanSourceVlan 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 |
vlan | base:Encap
| VLAN id for Source VLAN | SELECTION: unknown, vlan-%d or vxlan-%d |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring SPAN on PFC Frames for an Ethernet Source Interface (Ingress)
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.
monitor session 1 type local
source interface ethernet 1/2 rx allow-pfc
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceIntf |
sys/span/monitor-1/srcintf-[1] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceIntf Properties
The following table contains information about the spanSourceIntf 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 |
direction | span:SrcDirection (scalar:Enum8) | The direction of the source interface - Rx, Tx, Both | SELECTION: 0 - invalid 1 - rx 2 - tx 3 - both 4 - any DEFAULT: both |
id | nw:IfId (base:IfIndex) | The interface id for the session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
isSingleDirDel | scalar:Bool | NO COMMENTS | SELECTION:
false - notrue - yes DEFAULT: no(false) |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting SPAN on PFC Frames for an Ethernet Source Interface (Ingress)
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.
monitor session 1 type local
no source interface ethernet 1/2 rx allow-pfc
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceIntf |
sys/span/monitor-1/srcintf-[1] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceIntf Properties
The following table contains information about the spanSourceIntf 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 |
id | nw:IfId (base:IfIndex) | The interface id for the session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring a Sup-Eth Source Interface (Ingress)
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.
monitor session 1 type local
source interface sup-eth 0 rx
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceIntf |
sys/span/monitor-1/srcintf-[1] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceIntf Properties
The following table contains information about the spanSourceIntf 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 |
direction | span:SrcDirection (scalar:Enum8) | The direction of the source interface - Rx, Tx, Both | SELECTION: 0 - invalid 1 - rx 2 - tx 3 - both 4 - any DEFAULT: both |
id | nw:IfId (base:IfIndex) | The interface id for the session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Sup-Eth Source Interface (Ingress)
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.
monitor session 1 type local
no source interface sup-eth 0 rx
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanSourceIntf |
sys/span/monitor-1/srcintf-[1] |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
spanSourceIntf Properties
The following table contains information about the spanSourceIntf 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 |
id | nw:IfId (base:IfIndex) | The interface id for the session | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring MTU
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.
monitor session 1 type local
mtu 65
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
mtu | span:MtuValue (scalar:Uint16) | Value of Maximum transmission unit truncation size for SPAN packets | RANGE: [64 , 10240] DEFAULT: 10240 |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting an MTU Configuration
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.
monitor session 1 type local
no mtu 65
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 |
spanEntity |
sys/span |
spanMonitor |
sys/span/monitor-1 |
spanMonitor Properties
The following table contains information about the spanMonitor 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 |
id | span:SsnId (scalar:Uint16) | Session identification number for current monitor session. | RANGE: [1 , 32] |
mtu | span:MtuValue (scalar:Uint16) | Value of Maximum transmission unit truncation size for SPAN packets | RANGE: [64 , 10240] DEFAULT: 10240 |
type | span:Type (scalar:Enum8) | Type of the current monitor session | SELECTION: 0 - local 1 - erspan-source 2 - erspanDst 3 - aclCapture 4 - fcIsolaLocal 7 - ethSpanWarp 18 - spanWarp 63 - invalid DEFAULT: local |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html