Configuring an IPv6 Unicast Address Family Under a VRF for an OSPFv3 Instance
Configuring the Default Metric for Redistributed Routes
Configuring the Default Metric for Redistributed Routes
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"defaultMetric": "1",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<defaultMetric>1</defaultMetric>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
default-metric 1
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
defaultMetric | ospfv3:DefMetric (scalar:Uint32) | Specify default metric for redistributed routes | RANGE: [0 , 16777214] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting the Default Metric for Redistributed Routes
Deleting the Default Metric for Redistributed Routes
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"defaultMetric": "unspecified",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<defaultMetric>0</defaultMetric>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
no default-metric 1
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
defaultMetric | ospfv3:DefMetric (scalar:Uint32) | Specify default metric for redistributed routes | RANGE: [0 , 16777214] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring the Default Metric for Redistributed Routes
Configuring the Default Metric for Redistributed Routes
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"defaultMetric": "7938938",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<defaultMetric>7938938</defaultMetric>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
default-metric 7938938
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
defaultMetric | ospfv3:DefMetric (scalar:Uint32) | Specify default metric for redistributed routes | RANGE: [0 , 16777214] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting the Default Metric for Redistributed Routes
Deleting the Default Metric for Redistributed Routes
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"defaultMetric": "unspecified",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<defaultMetric>0</defaultMetric>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
no default-metric 7938938
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
defaultMetric | ospfv3:DefMetric (scalar:Uint32) | Specify default metric for redistributed routes | RANGE: [0 , 16777214] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring the OSPFv3 Administrative Distance
Configuring the OSPFv3 Administrative Distance
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"adminDistance": "100",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<adminDistance>100</adminDistance>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
distance 100
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
adminDistance | ospfv3:AdminDist (scalar:UByte) | Adminitrative distance value | RANGE: [1 , 255] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting the OSPFv3 Administrative Distance
Deleting the OSPFv3 Administrative Distance
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"adminDistance": "unspecified",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<adminDistance>110</adminDistance>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
no distance 100
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
adminDistance | ospfv3:AdminDist (scalar:UByte) | Adminitrative distance value | RANGE: [1 , 255] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring the OSPFv3 Administrative Distance
Configuring the OSPFv3 Administrative Distance
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"adminDistance": "100",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<adminDistance>100</adminDistance>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
distance 100
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
adminDistance | ospfv3:AdminDist (scalar:UByte) | Adminitrative distance value | RANGE: [1 , 255] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting the OSPFv3 Administrative Distance
Deleting the OSPFv3 Administrative Distance
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ospfv3Entity": {
"children": [
{
"ospfv3Inst": {
"attributes": {
"name": "Test_1"
},
"children": [
{
"ospfv3Dom": {
"attributes": {
"name": "VRF_1"
},
"children": [
{
"ospfv3DomAf": {
"attributes": {
"adminDistance": "unspecified",
"type": "ipv6-ucast"
}
}
}
]
}
},
{
"ospfv3Dom": {
"attributes": {
"name": "default"
}
}
}
]
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ospfv3-items>
<inst-items>
<Inst-list>
<name>Test_1</name>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv6-ucast</type>
<adminDistance>110</adminDistance>
</DomAf-list>
</af-items>
</Dom-list>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
</ospfv3-items>
</System>
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.
router ospfv3 Test_1
vrf VRF_1
address-family ipv6 unicast
no distance 100
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 |
ospfv3Entity | sys/ospfv3 |
ospfv3Inst | sys/ospfv3/inst-Test_1 |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-VRF_1 |
ospfv3DomAf | sys/ospfv3/inst-Test_1/dom-VRF_1/af-ipv6-ucast |
ospfv3Dom | sys/ospfv3/inst-Test_1/dom-default |
ospfv3Inst Properties
The following table contains information about the ospfv3Inst 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: 128 |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
ospfv3DomAf Properties
The following table contains information about the ospfv3DomAf 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 |
---|---|---|---|
adminDistance | ospfv3:AdminDist (scalar:UByte) | Adminitrative distance value | RANGE: [1 , 255] DEFAULT: unspecified |
type | ospfv3:AfT (scalar:Enum8) | IPv6 unicast address family type | SELECTION: 1 - ipv6-ucast DEFAULT: ipv6-ucast |
ospfv3Dom Properties
The following table contains information about the ospfv3Dom 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 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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: