Configuring an Interface as a Trunk Port and Enabling a List of Allowed VLANs
Configuring an Interface as a Trunk Port and Enabling a List of Allowed VLANs
The example in this section configures an interface as a trunk port and enables a list of trunk VLANs. When this API call executes, an l1PhysIf object named "phys-[eth1/2]" (/sys/intf/phys-[eth1/2]/) is created in the MO database, as well as several other objects that are required for port-channel functionality.
The phys-[eth1/2] object holds the configuration for the interface that is configured as a trunk port.
To verify that the interface configuration was created, issue an HTTP GET request to query the following URI.
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.
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
mode
l1:Mode (scalar:Enum8)
Administrative port mode
SELECTION:
1 - access
2 - trunk
3 - fex-fabric
4 - dot1q-tunnel
5 - promiscuous
6 - host
7 - trunk_secondary
8 - trunk_promiscuous
9 - vntag
DEFAULT: access
trunkVlans
l1:l1IfTrunkVlans (l2:VlanBitmap)
Configed Trunk Vlans
DEFAULT: 1-4094
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
The example in this section queries the trunk port interface configuration that was specified in the previous POST request.
Note: The property information for this example was added in Release 9.3(3).
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
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
FECMode
l1:FECMode (scalar:Enum8)
FEC Mode
SELECTION:
1 - fc-fec
2 - rs-fec
3 - fec-off
4 - auto
5 - rs-ieee
6 - rs-cons16
7 - kp-fec
DEFAULT: auto
accessVlan
l1:l1IfAccessVlan (base:Encap)
Configured Access Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
adminSt
l1:AdminSt (scalar:Enum8)
Administrative port state
SELECTION:
1 - down
2 - up
DEFAULT: up
autoNeg
l1:AutoNeg (scalar:Enum8)
Administrative port auto-negotiation
SELECTION:
1 - on
2 - off
3 - 25G
DEFAULT: on
beacon
l1:Beacon (scalar:Enum8)
Beacon State
SELECTION:
1 - on
2 - off
DEFAULT: off
bw
l1:Bw (scalar:Uint32)
The bandwidth parameter for a routed interface, port channel, or subinterface.
RANGE: [0 , 3200000000]
DEFAULT: 0
childAction
mo:ModificationChildAction scalar:Bitmask32
Delete or ignore. For internal use only.
SELECTION:
16384u - deleteAll
4096u - ignore
8192u - deleteNonPresent
DEFAULT: 0
controllerId
aggregate:ControllerIdBitmap (base:BitArray)
Controller ID
ARRAY SIZE: 256
delay
l1:Delay (scalar:Uint32)
The administrative port delay time.
RANGE: [1 , 16777215]
DEFAULT: 1
descr
naming:Descr1024 (string:Basic)
descr
MAX SIZE: 254
dfeTuningDelay
l1:DfeTuningDelay (scalar:Uint16)
DFE (Decision Feedback Equalizer) Tuning Delay
RANGE: [100 , 10000]
DEFAULT: 100
dn
reference:BinRef
A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
dot1qEtherType
l1:DDot1qEtherType (scalar:Uint32)
The administrative port Dot1q ether-type. Dot1q Ether Type configures the TPID value in the VLAN tag field for packets received and sent by the interface.
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
inhBw
l1:InheritBw (scalar:Uint32)
Administrative port inherit bandwidth
RANGE: [0 , 4294967295]
DEFAULT: 4294967295
layer
l1:Layer (scalar:Enum8)
Administrative port layer
SELECTION:
1 - Layer2
2 - Layer3
DEFAULT: Layer2
linkDebounce
l1:LinkDebounce (scalar:Uint16)
Administrative port link debounce interval
RANGE: [0 , 20000]
DEFAULT: 100
linkDebounceLinkUp
l1:LinkDebounceLinkUp (scalar:Uint16)
Link Debounce Interval - LinkUp Event
RANGE: [0 , 10000]
DEFAULT: 0
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
linkTransmitReset
l1:LinkTransmitReset (scalar:Enum8)
Link Transmit Reset
SELECTION:
0 - disable
1 - enable
DEFAULT: enable
mdix
l1:Mdix (scalar:Enum8)
The administrative Mdix mode. The Medium-dependant interface crossover (Mdix) is when the interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately.
SELECTION:
1 - auto
2 - mdi
3 - mdi-x
DEFAULT: auto
medium
l1:Medium (scalar:Enum8)
The administrative port medium type.
SELECTION:
1 - broadcast
2 - p2p
DEFAULT: broadcast
modTs
mo:TStamp (scalar:Date)
The time when this object was last modified.
SELECTION:
0 - never
DEFAULT: never
mode
l1:Mode (scalar:Enum8)
Administrative port mode
SELECTION:
1 - access
2 - trunk
3 - fex-fabric
4 - dot1q-tunnel
5 - promiscuous
6 - host
7 - trunk_secondary
8 - trunk_promiscuous
9 - vntag
DEFAULT: access
mtu
l1:Mtu (scalar:Uint32)
Administrative port mtu
RANGE: [576 , 9216]
DEFAULT: 1500
name
naming:Name256 (string:Basic)
The name of the object.
MAX SIZE: 63
nativeVlan
l1:l1IfNativeVlan (base:Encap)
Configured Native Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
packetTimestampEgressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Egress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampIngressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Ingress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
persistentOnReload
mo:Persistent scalar:Enum8
NO COMMENTS
SELECTION:
0 - false
1 - true
DEFAULT: true(1)
portT
eqpt:PortT (scalar:Enum16)
Type of the port: Fabric vs Leaf
SELECTION:
0 - unknown
1 - eobc
2 - mgmt
3 - fab
4 - leaf
5 - extchhp
6 - extchfp
DEFAULT: unknown
routerMac
address:MAC
The administrative router MAC address.
Value must match MM:MM:MM:SS:SS:SS format
DEFAULT: not-applicable
snmpTrapSt
l1:SnmpTrapSt (scalar:Enum8)
Administrative port snmp trap state
SELECTION:
1 - enable
2 - disable
DEFAULT: enable
spanMode
l1:SpanMode (scalar:Enum8)
Administrative port span mode
SELECTION:
1 - not-a-span-dest
2 - span-dest
3 - span-dest-fwd
4 - span-dest-fwd-learn
DEFAULT: not-a-span-dest
speed
l1:Speed (scalar:Enum8)
Administrative port speed
SELECTION:
0 - unknown
2 - 100M
3 - 1G
4 - 10G
5 - 40G
6 - auto
7 - auto 100M
8 - auto 100M 1G
9 - 100G
10 - 25G
11 - 10M
12 - 50G
13 - 200G
14 - 400G
15 - 2.5G
16 - 5G
17 - auto 2.5G 5G 10G
18 - auto 100M 1G 2.5G 5G
DEFAULT: auto
speedGroup
l1:SpeedGroup (scalar:Enum8)
Speed Group
SELECTION:
0 - unknown
3 - 1000
4 - 10000
5 - 40000
6 - auto
10 - 25000
DEFAULT: auto
status
mo:ModificationStatus (scalar:Bitmask32)
The upgrade status. This property is for internal use only.
SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
switchingSt
l1:SwitchingSt (scalar:Enum8)
Switching state
SELECTION:
0 - disabled
1 - enabled
DEFAULT: disabled
trunkLog
l1:TrunkLog (scalar:Enum8)
Administrative trunk logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
trunkVlans
l1:l1IfTrunkVlans (l2:VlanBitmap)
Configed Trunk Vlans
DEFAULT: 1-4094
usage
l1:PortUsage (scalar:Bitmask8)
The port usage type.
SELECTION:
1 - discovery
2 - epg
4 - fabric
8 - infra
16 - controller
32 - blacklist
DEFAULT: discovery
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
vlanmgrCfgFailedBmp
scalar:Bitmask64
The configuration attribute that encountered faults (failures) while configuring.
Configuring an Interface as a Layer 2 Access Port and Enabling an Access VLAN
Configuring an Interface as a Layer 2 Access Port and Enabling an Access VLAN
This example configures an interface as a layer 2 access port and enables an access VLAN.
When the POST request executes, the l1PhysIf object that was created in the previous POST request "phys-[eth1/2]" (/sys/intf/phys-[eth1/2]/) is reconfigured to be a layer 2 access port.
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.
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
accessVlan
l1:l1IfAccessVlan (base:Encap)
Configured Access Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
id
nw:IfId (base:IfIndex)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
mode
l1:Mode (scalar:Enum8)
Administrative port mode
SELECTION:
1 - access
2 - trunk
3 - fex-fabric
4 - dot1q-tunnel
5 - promiscuous
6 - host
7 - trunk_secondary
8 - trunk_promiscuous
9 - vntag
DEFAULT: access
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
The example in this section queries the access port interface configuration that was specified in the previous POST request.
Note: The property information for this example was added in Release 9.3(3).
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
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
FECMode
l1:FECMode (scalar:Enum8)
FEC Mode
SELECTION:
1 - fc-fec
2 - rs-fec
3 - fec-off
4 - auto
5 - rs-ieee
6 - rs-cons16
7 - kp-fec
DEFAULT: auto
accessVlan
l1:l1IfAccessVlan (base:Encap)
Configured Access Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
adminSt
l1:AdminSt (scalar:Enum8)
Administrative port state
SELECTION:
1 - down
2 - up
DEFAULT: up
autoNeg
l1:AutoNeg (scalar:Enum8)
Administrative port auto-negotiation
SELECTION:
1 - on
2 - off
3 - 25G
DEFAULT: on
beacon
l1:Beacon (scalar:Enum8)
Beacon State
SELECTION:
1 - on
2 - off
DEFAULT: off
bw
l1:Bw (scalar:Uint32)
The bandwidth parameter for a routed interface, port channel, or subinterface.
RANGE: [0 , 3200000000]
DEFAULT: 0
childAction
mo:ModificationChildAction scalar:Bitmask32
Delete or ignore. For internal use only.
SELECTION:
16384u - deleteAll
4096u - ignore
8192u - deleteNonPresent
DEFAULT: 0
controllerId
aggregate:ControllerIdBitmap (base:BitArray)
Controller ID
ARRAY SIZE: 256
delay
l1:Delay (scalar:Uint32)
The administrative port delay time.
RANGE: [1 , 16777215]
DEFAULT: 1
descr
naming:Descr1024 (string:Basic)
descr
MAX SIZE: 254
dfeTuningDelay
l1:DfeTuningDelay (scalar:Uint16)
DFE (Decision Feedback Equalizer) Tuning Delay
RANGE: [100 , 10000]
DEFAULT: 100
dn
reference:BinRef
A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
dot1qEtherType
l1:DDot1qEtherType (scalar:Uint32)
The administrative port Dot1q ether-type. Dot1q Ether Type configures the TPID value in the VLAN tag field for packets received and sent by the interface.
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
inhBw
l1:InheritBw (scalar:Uint32)
Administrative port inherit bandwidth
RANGE: [0 , 4294967295]
DEFAULT: 4294967295
layer
l1:Layer (scalar:Enum8)
Administrative port layer
SELECTION:
1 - Layer2
2 - Layer3
DEFAULT: Layer2
linkDebounce
l1:LinkDebounce (scalar:Uint16)
Administrative port link debounce interval
RANGE: [0 , 20000]
DEFAULT: 100
linkDebounceLinkUp
l1:LinkDebounceLinkUp (scalar:Uint16)
Link Debounce Interval - LinkUp Event
RANGE: [0 , 10000]
DEFAULT: 0
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
linkTransmitReset
l1:LinkTransmitReset (scalar:Enum8)
Link Transmit Reset
SELECTION:
0 - disable
1 - enable
DEFAULT: enable
mdix
l1:Mdix (scalar:Enum8)
The administrative Mdix mode. The Medium-dependant interface crossover (Mdix) is when the interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately.
SELECTION:
1 - auto
2 - mdi
3 - mdi-x
DEFAULT: auto
medium
l1:Medium (scalar:Enum8)
The administrative port medium type.
SELECTION:
1 - broadcast
2 - p2p
DEFAULT: broadcast
modTs
mo:TStamp (scalar:Date)
The time when this object was last modified.
SELECTION:
0 - never
DEFAULT: never
mode
l1:Mode (scalar:Enum8)
Administrative port mode
SELECTION:
1 - access
2 - trunk
3 - fex-fabric
4 - dot1q-tunnel
5 - promiscuous
6 - host
7 - trunk_secondary
8 - trunk_promiscuous
9 - vntag
DEFAULT: access
mtu
l1:Mtu (scalar:Uint32)
Administrative port mtu
RANGE: [576 , 9216]
DEFAULT: 1500
name
naming:Name256 (string:Basic)
The name of the object.
MAX SIZE: 63
nativeVlan
l1:l1IfNativeVlan (base:Encap)
Configured Native Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
packetTimestampEgressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Egress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampIngressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Ingress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
persistentOnReload
mo:Persistent scalar:Enum8
NO COMMENTS
SELECTION:
0 - false
1 - true
DEFAULT: true(1)
portT
eqpt:PortT (scalar:Enum16)
Type of the port: Fabric vs Leaf
SELECTION:
0 - unknown
1 - eobc
2 - mgmt
3 - fab
4 - leaf
5 - extchhp
6 - extchfp
DEFAULT: unknown
routerMac
address:MAC
The administrative router MAC address.
Value must match MM:MM:MM:SS:SS:SS format
DEFAULT: not-applicable
snmpTrapSt
l1:SnmpTrapSt (scalar:Enum8)
Administrative port snmp trap state
SELECTION:
1 - enable
2 - disable
DEFAULT: enable
spanMode
l1:SpanMode (scalar:Enum8)
Administrative port span mode
SELECTION:
1 - not-a-span-dest
2 - span-dest
3 - span-dest-fwd
4 - span-dest-fwd-learn
DEFAULT: not-a-span-dest
speed
l1:Speed (scalar:Enum8)
Administrative port speed
SELECTION:
0 - unknown
2 - 100M
3 - 1G
4 - 10G
5 - 40G
6 - auto
7 - auto 100M
8 - auto 100M 1G
9 - 100G
10 - 25G
11 - 10M
12 - 50G
13 - 200G
14 - 400G
15 - 2.5G
16 - 5G
17 - auto 2.5G 5G 10G
18 - auto 100M 1G 2.5G 5G
DEFAULT: auto
speedGroup
l1:SpeedGroup (scalar:Enum8)
Speed Group
SELECTION:
0 - unknown
3 - 1000
4 - 10000
5 - 40000
6 - auto
10 - 25000
DEFAULT: auto
status
mo:ModificationStatus (scalar:Bitmask32)
The upgrade status. This property is for internal use only.
SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
switchingSt
l1:SwitchingSt (scalar:Enum8)
Switching state
SELECTION:
0 - disabled
1 - enabled
DEFAULT: disabled
trunkLog
l1:TrunkLog (scalar:Enum8)
Administrative trunk logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
trunkVlans
l1:l1IfTrunkVlans (l2:VlanBitmap)
Configed Trunk Vlans
DEFAULT: 1-4094
usage
l1:PortUsage (scalar:Bitmask8)
The port usage type.
SELECTION:
1 - discovery
2 - epg
4 - fabric
8 - infra
16 - controller
32 - blacklist
DEFAULT: discovery
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
vlanmgrCfgFailedBmp
scalar:Bitmask64
The configuration attribute that encountered faults (failures) while configuring.
The example in this section shows how to issue a shut or no shut for an interface. In this example, the interface that was first configured to be a trunk port and then reconfigured to be a layer 2 access port, as shown in previous sections, is brought down.
If the interface is up and you want to bring it down, change "adminSt": "up" to "adminSt": "down"
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
adminSt
l1:AdminSt (scalar:Enum8)
Administrative port state
SELECTION:
1 - down
2 - up
DEFAULT: up
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
The example in this section queries the trunk port interface configuration that was specified in the previous POST request.
Note: The property information for this example was added in Release 9.3(3).
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
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
FECMode
l1:FECMode (scalar:Enum8)
FEC Mode
SELECTION:
1 - fc-fec
2 - rs-fec
3 - fec-off
4 - auto
5 - rs-ieee
6 - rs-cons16
7 - kp-fec
DEFAULT: auto
accessVlan
l1:l1IfAccessVlan (base:Encap)
Configured Access Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
adminSt
l1:AdminSt (scalar:Enum8)
Administrative port state
SELECTION:
1 - down
2 - up
DEFAULT: up
autoNeg
l1:AutoNeg (scalar:Enum8)
Administrative port auto-negotiation
SELECTION:
1 - on
2 - off
3 - 25G
DEFAULT: on
beacon
l1:Beacon (scalar:Enum8)
Beacon State
SELECTION:
1 - on
2 - off
DEFAULT: off
bw
l1:Bw (scalar:Uint32)
The bandwidth parameter for a routed interface, port channel, or subinterface.
RANGE: [0 , 3200000000]
DEFAULT: 0
childAction
mo:ModificationChildAction scalar:Bitmask32
Delete or ignore. For internal use only.
SELECTION:
16384u - deleteAll
4096u - ignore
8192u - deleteNonPresent
DEFAULT: 0
controllerId
aggregate:ControllerIdBitmap (base:BitArray)
Controller ID
ARRAY SIZE: 256
delay
l1:Delay (scalar:Uint32)
The administrative port delay time.
RANGE: [1 , 16777215]
DEFAULT: 1
descr
naming:Descr1024 (string:Basic)
descr
MAX SIZE: 254
dfeTuningDelay
l1:DfeTuningDelay (scalar:Uint16)
DFE (Decision Feedback Equalizer) Tuning Delay
RANGE: [100 , 10000]
DEFAULT: 100
dn
reference:BinRef
A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
dot1qEtherType
l1:DDot1qEtherType (scalar:Uint32)
The administrative port Dot1q ether-type. Dot1q Ether Type configures the TPID value in the VLAN tag field for packets received and sent by the interface.
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
inhBw
l1:InheritBw (scalar:Uint32)
Administrative port inherit bandwidth
RANGE: [0 , 4294967295]
DEFAULT: 4294967295
layer
l1:Layer (scalar:Enum8)
Administrative port layer
SELECTION:
1 - Layer2
2 - Layer3
DEFAULT: Layer2
linkDebounce
l1:LinkDebounce (scalar:Uint16)
Administrative port link debounce interval
RANGE: [0 , 20000]
DEFAULT: 100
linkDebounceLinkUp
l1:LinkDebounceLinkUp (scalar:Uint16)
Link Debounce Interval - LinkUp Event
RANGE: [0 , 10000]
DEFAULT: 0
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
linkTransmitReset
l1:LinkTransmitReset (scalar:Enum8)
Link Transmit Reset
SELECTION:
0 - disable
1 - enable
DEFAULT: enable
mdix
l1:Mdix (scalar:Enum8)
The administrative Mdix mode. The Medium-dependant interface crossover (Mdix) is when the interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately.
SELECTION:
1 - auto
2 - mdi
3 - mdi-x
DEFAULT: auto
medium
l1:Medium (scalar:Enum8)
The administrative port medium type.
SELECTION:
1 - broadcast
2 - p2p
DEFAULT: broadcast
modTs
mo:TStamp (scalar:Date)
The time when this object was last modified.
SELECTION:
0 - never
DEFAULT: never
mode
l1:Mode (scalar:Enum8)
Administrative port mode
SELECTION:
1 - access
2 - trunk
3 - fex-fabric
4 - dot1q-tunnel
5 - promiscuous
6 - host
7 - trunk_secondary
8 - trunk_promiscuous
9 - vntag
DEFAULT: access
mtu
l1:Mtu (scalar:Uint32)
Administrative port mtu
RANGE: [576 , 9216]
DEFAULT: 1500
name
naming:Name256 (string:Basic)
The name of the object.
MAX SIZE: 63
nativeVlan
l1:l1IfNativeVlan (base:Encap)
Configured Native Vlan
SELECTION: unknown, vlan-%d or vxlan-%d
DEFAULT: vlan-1
packetTimestampEgressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Egress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampIngressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Ingress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
persistentOnReload
mo:Persistent scalar:Enum8
NO COMMENTS
SELECTION:
0 - false
1 - true
DEFAULT: true(1)
portT
eqpt:PortT (scalar:Enum16)
Type of the port: Fabric vs Leaf
SELECTION:
0 - unknown
1 - eobc
2 - mgmt
3 - fab
4 - leaf
5 - extchhp
6 - extchfp
DEFAULT: unknown
routerMac
address:MAC
The administrative router MAC address.
Value must match MM:MM:MM:SS:SS:SS format
DEFAULT: not-applicable
snmpTrapSt
l1:SnmpTrapSt (scalar:Enum8)
Administrative port snmp trap state
SELECTION:
1 - enable
2 - disable
DEFAULT: enable
spanMode
l1:SpanMode (scalar:Enum8)
Administrative port span mode
SELECTION:
1 - not-a-span-dest
2 - span-dest
3 - span-dest-fwd
4 - span-dest-fwd-learn
DEFAULT: not-a-span-dest
speed
l1:Speed (scalar:Enum8)
Administrative port speed
SELECTION:
0 - unknown
2 - 100M
3 - 1G
4 - 10G
5 - 40G
6 - auto
7 - auto 100M
8 - auto 100M 1G
9 - 100G
10 - 25G
11 - 10M
12 - 50G
13 - 200G
14 - 400G
15 - 2.5G
16 - 5G
17 - auto 2.5G 5G 10G
18 - auto 100M 1G 2.5G 5G
DEFAULT: auto
speedGroup
l1:SpeedGroup (scalar:Enum8)
Speed Group
SELECTION:
0 - unknown
3 - 1000
4 - 10000
5 - 40000
6 - auto
10 - 25000
DEFAULT: auto
status
mo:ModificationStatus (scalar:Bitmask32)
The upgrade status. This property is for internal use only.
SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
switchingSt
l1:SwitchingSt (scalar:Enum8)
Switching state
SELECTION:
0 - disabled
1 - enabled
DEFAULT: disabled
trunkLog
l1:TrunkLog (scalar:Enum8)
Administrative trunk logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
trunkVlans
l1:l1IfTrunkVlans (l2:VlanBitmap)
Configed Trunk Vlans
DEFAULT: 1-4094
usage
l1:PortUsage (scalar:Bitmask8)
The port usage type.
SELECTION:
1 - discovery
2 - epg
4 - fabric
8 - infra
16 - controller
32 - blacklist
DEFAULT: discovery
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
vlanmgrCfgFailedBmp
scalar:Bitmask64
The configuration attribute that encountered faults (failures) while configuring.
Configuring ACL TCAM Region with e-racl TCAM Carving
The HTTP request in this example assigns an IPv4 address to an interface.
Note: The property information for this example was added in Release 9.3(3).
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
topSystem
sys
ipv4Entity
sys/ipv4
ipv4Inst
sys/ipv4/inst
ipv4Dom
sys/ipv4/inst/dom-{name}
ipv4If
sys/ipv4/inst/dom-{name}/if-{[id]}
ipv4Addr
sys/ipv4/inst/dom-{name}/if-{[id]}/addr-{[addr]}
ipv4Dom Properties
The following table contains information about the ipv4Dom 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
name
naming:Name256 (string:Basic)
The name of the object.
MAX SIZE: 63
ipv4If Properties
The following table contains information about the ipv4If 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
ipv4Addr Properties
The following table contains information about the ipv4Addr 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
addr
address:Ip
Address
Value must match ipv4 or ipv6 known format
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface e1/2 switchport
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
layer
l1:Layer (scalar:Enum8)
Administrative port layer
SELECTION:
1 - Layer2
2 - Layer3
DEFAULT: Layer2
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface e1/2 no shutdown
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
adminSt
l1:AdminSt (scalar:Enum8)
Administrative port state
SELECTION:
1 - down
2 - up
DEFAULT: up
id
nw:IfId (base:IfIndex)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface e1/2 mtu 9000
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
mtu
l1:Mtu (scalar:Uint32)
Administrative port mtu
RANGE: [576 , 9216]
DEFAULT: 1500
userCfgdFlags
l1:userCfgdFlags (scalar:Bitmask8)
Port User Config Flags
SELECTION:
0 - none
1 - admin_state
2 - admin_layer
4 - admin_router_mac
8 - admin_dce_mode
16 - admin_mtu
DEFAULT: none
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Configuring the Layer, Admin State, and MTU in the Same Payload (One-Shot)
Configuring the Layer, Admin State, and MTU in the Same Payload (One-Shot)
User configured flags (REST property userCfgdFlags in l1PhysIf and pcAggrIf MOs) are used to indicate that a property (layer, admin state, and/or mtu) has been configured by the user. If these flags are not set, you may experience configuration loss (for layer, admin state, and MTU) on the reload of the system.
Interfaces with the “admin_layer” and/or “admin_state” value set for “userCfgdFlags” will be unaffected by the system default switchport and system default switchport shutdown commands (respectively). User configured flags are automatically set correctly when CLI is executed, and only must be manually set for REST.
The example in this section queries the state of a specified subinterface.
Note: The property information for this example was added in Release 9.3(3).
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
l3EncRtdIf
sys/intf/encrtd-{[id]}
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf 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
adminSt
l1:AdminSt (scalar:Enum8)
Administrative state
SELECTION:
1 - down
2 - up
DEFAULT: down
bw
l1:Bw (scalar:Uint32)
The encapsulated routed interface bandwidth.
RANGE: [0 , 3200000000]
DEFAULT: 0
childAction
mo:ModificationChildAction scalar:Bitmask32
Delete or ignore. For internal use only.
SELECTION:
16384u - deleteAll
4096u - ignore
8192u - deleteNonPresent
DEFAULT: 0
delay
l1:Delay (scalar:Uint32)
The encapsulation routed interface delay.
RANGE: [1 , 16777215]
DEFAULT: 1
descr
naming:Descr1024 (string:Basic)
Description
MAX SIZE: 254
dn
reference:BinRef
A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
Configuring a Fabric-Facing Port on an Ethernet Interface
Configuring a Fabric-Facing Port on an Ethernet Interface
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.
interface ethernet 1/1 port-type fabric
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIfExtended
sys/intf/phys-{[id]}/physExtd
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
portTypeFabric
l1:PortTypeFabric (scalar:Enum8)
Identifies if or not the port is a fabric-facing port
SELECTION:
0 - no
1 - yes
DEFAULT: no
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Deleting a Fabric-Facing Port configured on an Ethernet Interface
Deleting a Fabric-Facing Port configured on an Ethernet Interface
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.
interface ethernet 1/1 no port-type fabric
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIfExtended
sys/intf/phys-{[id]}/physExtd
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
portTypeFabric
l1:PortTypeFabric (scalar:Enum8)
Identifies if or not the port is a fabric-facing port
SELECTION:
0 - no
1 - yes
DEFAULT: no
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/3 timestamp egress id 123
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
packetTimestampEgressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Egress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/3 timestamp ingress id 123
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
packetTimestampIngressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Ingress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Configuring Packet Timestamping (Ingress and Egress Directions)
Configuring Packet Timestamping (Ingress and Egress Directions)
Note: This example was added in Release 9.2(2).
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.
interface ethernet 1/3 timestamp ingress id 123 egress id 123
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
packetTimestampEgressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Egress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampIngressSourceId
l1:PacketTimestampSourceId (scalar:Uint32)
Ingress timestamp Source Id
RANGE: [0 , 8388606]
DEFAULT: 0
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/3 no timestamp
Note: The property information for this example was added in Release 9.3(3).
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-{[id]}
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
packetTimestampState
l1:PacketTimestampState (scalar:Enum8)
packet timestamp feature state
SELECTION:
0 - disable
1 - enable-ingress
2 - enable-egress
3 - enable-both
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/3 dfe-tuning-delay 7375
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
dfeTuningDelay
l1:DfeTuningDelay (scalar:Uint16)
DFE (Decision Feedback Equalizer) Tuning Delay
RANGE: [100 , 10000]
DEFAULT: 100
id
nw:IfId (base:IfIndex)
An identifier .
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:
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.
interface ethernet 1/3 no dfe-tuning-delay 7375
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
dfeTuningDelay
l1:DfeTuningDelay (scalar:Uint16)
DFE (Decision Feedback Equalizer) Tuning Delay
RANGE: [100 , 10000]
DEFAULT: 100
id
nw:IfId (base:IfIndex)
An identifier .
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:
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.
interface ethernet 1/3 mdix auto
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
mdix
l1:Mdix (scalar:Enum8)
The administrative Mdix mode. The Medium-dependant interface crossover (Mdix) is when the interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately.
SELECTION:
1 - auto
2 - mdi
3 - mdi-x
DEFAULT: auto
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/3 no mdix auto
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
mdix
l1:Mdix (scalar:Enum8)
The administrative Mdix mode. The Medium-dependant interface crossover (Mdix) is when the interface automatically detects the required cable connection type (straight through or crossover) and configures the connection appropriately.
SELECTION:
1 - auto
2 - mdi
3 - mdi-x
DEFAULT: auto
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
descr
naming:Descr1024 string:Basic
Additional descriptive information about the object.
RANGE:
Min: "0"
Max: "254"
id
nw:IfId (base:IfIndex)
An identifier .
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:
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.
interface ethernet 1/3 no description 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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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
descr
naming:Descr1024 string:Basic
Additional descriptive information about the object.
RANGE:
Min: "0"
Max: "254"
id
nw:IfId (base:IfIndex)
An identifier .
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:
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.
interface ethernet 1/2 ip nat outside
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
natDom
sys/nat/inst/dom-default
natEntity
sys/nat
natInst
sys/nat/inst
natDom Properties
The following table contains information about the natDom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
natIf Properties
The following table contains information about the natIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
natIf
nat:NatTrafficDir (scalar:Enum8)
NAT interface config inside/outside
SELECTION:
0 - ip-nat-invalid
1 - ip-nat-inside
2 - ip-nat-outside
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
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.
interface ethernet 1/2 no ip nat outside
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
natDom
sys/nat/inst/dom-default
natEntity
sys/nat
natIf
sys/nat/inst/dom-default/if-[eth1/2]
natIf
sys/nat/inst/dom-default/if-[po123]
natIf
sys/nat/inst/dom-default/if-[vlan1]
natInst
sys/nat/inst
natDom Properties
The following table contains information about the natDom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
natIf Properties
The following table contains information about the natIf 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)
An identifier .
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
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
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.
interface ethernet 1/2 ip nat inside
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
natDom
sys/nat/inst/dom-default
natEntity
sys/nat
natInst
sys/nat/inst
natDom Properties
The following table contains information about the natDom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
natIf Properties
The following table contains information about the natIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
natIf
nat:NatTrafficDir (scalar:Enum8)
NAT interface config inside/outside
SELECTION:
0 - ip-nat-invalid
1 - ip-nat-inside
2 - ip-nat-outside
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
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.
interface ethernet 1/2 no ip nat inside
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
natDom
sys/nat/inst/dom-default
natEntity
sys/nat
natIf
sys/nat/inst/dom-default/if-[eth1/2]
natIf
sys/nat/inst/dom-default/if-[po123]
natIf
sys/nat/inst/dom-default/if-[vlan1]
natInst
sys/nat/inst
natDom Properties
The following table contains information about the natDom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
natIf Properties
The following table contains information about the natIf 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)
An identifier .
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
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
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.
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
topSystem
sys
ipv6Entity
sys/ipv6
ipv6Inst
sys/ipv6/inst
ipv6Dom
sys/ipv6/inst/dom-default
ipv6If
sys/ipv6/inst/dom-default/if-[eth1/2]
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
ipv6Dom Properties
The following table contains information about the ipv6Dom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
ipv6If Properties
The following table contains information about the ipv6If 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
autoconfig
nw:AdminSt (scalar:Enum8)
IPv6 Stateless address autoconfig
SELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled
defaultRoute
nw:AdminSt (scalar:Enum8)
Default Route Addition with Nexthop as RA Source Address
SELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled
id
nw:IfId (base:IfIndex)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
useLinkLocalAddr
nw:AdminSt (scalar:Enum8)
IPv6 Address Use Link Local Address
SELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
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.
interface ethernet 1/2 no ipv6 address autoconfig default
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
topSystem
sys
ipv6Entity
sys/ipv6
ipv6Inst
sys/ipv6/inst
ipv6Dom
sys/ipv6/inst/dom-default
ipv6If
sys/ipv6/inst/dom-default/if-[eth1/2]
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
ipv6Dom Properties
The following table contains information about the ipv6Dom 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
name
naming:Name256 string:Basic
The name of the object.
RANGE:
Min: "1"
Max: "128"
ipv6If Properties
The following table contains information about the ipv6If 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
autoconfig
nw:AdminSt (scalar:Enum8)
IPv6 Stateless address autoconfig
SELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled
id
nw:IfId (base:IfIndex)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
useLinkLocalAddr
nw:AdminSt (scalar:Enum8)
IPv6 Address Use Link Local Address
SELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
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:
Configuring Shutdown for All LAN VLANs on an Interface
Configuring Shutdown for All LAN VLANs on an Interface
Note: This example was added in Release 9.3(3).
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.
interface ethernet 1/2-3 shutdown lan
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
topSystem
sys
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIfExtended
sys/intf/phys-[eth1/3]/physExtd
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIfExtended
sys/intf/phys-[eth1/2]/physExtd
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
shutDownLan
scalar:Enum8
Shut/Unshut all LAN VLANs on interface
DEFAULT: disable
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
shutDownLan
scalar:Enum8
Shut/Unshut all LAN VLANs on interface
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Deleting Shutdown for All LAN VLANs on an Interface
Deleting Shutdown for All LAN VLANs on an Interface
Note: This example was added in Release 9.3(3).
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.
interface ethernet 1/2-3 no shutdown lan
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
topSystem
sys
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/3]
l1PhysIfExtended
sys/intf/phys-[eth1/3]/physExtd
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIfExtended
sys/intf/phys-[eth1/2]/physExtd
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
shutDownLan
scalar:Enum8
Shut/Unshut all LAN VLANs on interface
DEFAULT: disable
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
l1PhysIfExtended Properties
The following table contains information about the l1PhysIfExtended 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
shutDownLan
scalar:Enum8
Shut/Unshut all LAN VLANs on interface
DEFAULT: disable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/2 logging event port link-status
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/2 no logging event port link-status
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Configuring UPDOWN and CHANGE Messages (Using the Default Value)
Configuring UPDOWN and CHANGE Messages (Using the Default Value)
Note: This example was added in Release 9.3(3).
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.
interface ethernet 1/2 logging event port link-status default
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
Deleting UPDOWN and CHANGE Messages (Using the Default Value)
Deleting UPDOWN and CHANGE Messages (Using the Default Value)
Note: This example was added in Release 9.3(3).
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.
interface ethernet 1/2 no logging event port link-status default
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
linkLog
l1:LinkLog (scalar:Enum8)
Administrative link logging enable
SELECTION:
1 - default
2 - enable
3 - disable
DEFAULT: default
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/2 snmp trap link-status
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
snmpTrapSt
l1:SnmpTrapSt (scalar:Enum8)
Administrative port snmp trap state
SELECTION:
1 - enable
2 - disable
DEFAULT: enable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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.
interface ethernet 1/2 no snmp trap link-status
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
interfaceEntity
sys/intf
l1PhysIf
sys/intf/phys-[eth1/2]
l1PhysIf Properties
The following table contains information about the l1PhysIf 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)
An identifier .
Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100
snmpTrapSt
l1:SnmpTrapSt (scalar:Enum8)
Administrative port snmp trap state
SELECTION:
1 - enable
2 - disable
DEFAULT: enable
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference: