show cli dynamic integers
show cli dynamic integers
import json
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show cli dynamic integers",
"output_format": "json"
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
"ins_api": {
"type": "cli_show",
"version": "1.0",
"sid": "eoc",
"outputs": {
"output": {
"input": "show cli dynamic integers",
"msg": "Success",
"code": "200",
"body": {
"TABLE_dynamic_integers": {
"ROW_dynamic_integers": [
{
"name-o": "<i1>",
"min": 1,
"max": 30
},
{
"name-o": "<module>",
"min": 1,
"max": 30
},
{
"name-o": "<new_id>",
"min": 1,
"max": 1
},
{
"name-o": "<vdc-id>",
"min": 1,
"max": 1
},
{
"name-o": "<module-number>",
"min": 1,
"max": 30
},
{
"name-o": "<fan_num>",
"min": 1,
"max": 3
},
{
"name-o": "<po-lb-rotate-range>",
"min": 0,
"max": 63
},
{
"name-o": "<vdc-mgr-max-mem>",
"min": 256,
"max": 16015
},
{
"name-o": "<mc_id>",
"min": 0,
"max": 131072
},
{
"name-o": "<gsh_rootfs>",
"min": 250,
"max": 2000
},
{
"name-o": "<gsh_cpu>",
"min": 1,
"max": 20
},
{
"name-o": "<gsh_memory>",
"min": 256,
"max": 3840
},
{
"name-o": "<mcast-ent>",
"min": 0,
"max": 8000
},
{
"name-o": "<size-in-bytes>",
"min": 27456,
"max": 12582912
},
{
"name-o": "<xoff-bytes>",
"min": 12480,
"max": 12582912
},
{
"name-o": "<xon-bytes>",
"min": 12480,
"max": 12582912
},
{
"name-o": "<q-size>",
"min": 1,
"max": 12582912
},
{
"name-o": "<min-thresh>",
"min": 1,
"max": 12582912
},
{
"name-o": "<max-thresh>",
"min": 1,
"max": 12582912
}
]
}
}
}
}
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show cli dynamic integers command, see the CLI command reference:
Note: This example was added in Cisco NX-OS Release 9.2(1).
CLI Output |
---|
|
show cli dynamic strings
show cli dynamic strings
import json
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show cli dynamic strings ",
"output_format": "json"
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
"ins_api": {
"type": "cli_show",
"version": "1.0",
"sid": "eoc",
"outputs": {
"output": {
"input": "show cli dynamic strings",
"msg": "Success",
"code": "200",
"body": {
"TABLE_dynamic_strings": {
"ROW_dynamic_strings": [
{
"name-o": "<cfs-dyn-app-name>",
"value": [
"arp",
"callhome",
"dhcp_snoop",
"eth-port-sec",
"eth_port_channel",
"evb",
"hmm",
"icmpv6",
"igmp",
"l2fm",
"l2fwd",
"mcectest",
"ngoam",
"ntp",
"nve",
"pim",
"radius",
"role",
"session-mgr",
"stp",
"tacacs",
"vlan_mgr",
"vpc"
]
},
{
"name-o": "<chkpoint_name>",
"value": [
"checkpoint1",
"user-checkpoint-4",
"user-checkpoint-5"
]
},
{
"name-o": "<cmap-dce-name>",
"value": [
"c-in-q-default",
"c-in-q1",
"c-in-q2",
"c-in-q3",
"c-in-q4",
"c-in-q5",
"c-in-q6",
"c-in-q7",
"c-out-8q-q-default",
"c-out-8q-q1",
"c-out-8q-q2",
"c-out-8q-q3",
"c-out-8q-q4",
"c-out-8q-q5",
"c-out-8q-q6",
"c-out-8q-q7",
"c-out-q-default",
"c-out-q1",
"c-out-q2",
"c-out-q3"
]
},
{
"name-o": "<cmap-name-nq>",
"value": [
"c-8q-nq-default",
"c-8q-nq1",
"c-8q-nq2",
"c-8q-nq3",
"c-8q-nq4",
"c-8q-nq5",
"c-8q-nq6",
"c-8q-nq7",
"c-nq-default",
"c-nq1",
"c-nq2",
"c-nq3"
]
},
{
"name-o": "<igmp-event-hist-buf-name>",
"value": [
"CLI",
"debugs",
"error",
"events",
"ha",
"igmp-internal",
"instrumentation",
"mtrace",
"mvr",
"nbm",
"objst",
"pim-library",
"policy",
"vrf"
]
},
{
"name-o": "<igmp-snoop-event-hist-buf-name>",
"value": [
"coop",
"igmp-snoop-internal",
"mfdm",
"mfdm-sum",
"object-store",
"rib",
"vlan",
"vlan-events",
"vpc"
]
},
{
"name-o": "<ipv6-protocol>",
"value": [
"am",
"direct",
"discard",
"icmpv6",
"local",
"m6rib",
"mstatic",
"otm",
"rpm",
"sal",
"static"
]
},
{
"name-o": "<license-feature>",
"value": [
"FCOE_NPV_PKG",
"FC_PORT_ACTIVATION_PKG",
"LAN_ENTERPRISE_SERVICES_PKG",
"N9K_LIC_1G",
"N9K_UPG_EX_10G",
"NETWORK_SERVICES_PKG",
"NXOS_ADVANTAGE_GF",
"NXOS_ADVANTAGE_M4",
"NXOS_ADVANTAGE_M8-16",
"NXOS_ADVANTAGE_XF",
"NXOS_ESSENTIALS_GF",
"NXOS_ESSENTIALS_M4",
"NXOS_ESSENTIALS_M8-16",
"NXOS_ESSENTIALS_XF",
"NXOS_OE_PKG",
"PORT_ACTIVATION_PKG",
"SAN_ENTERPRISE_PKG",
"SECURITY_PKG",
"TP_SERVICES_PKG",
"VPN_FABRIC"
]
},
{
"name-o": "<m6rib-event-hist-buf-name>",
"value": [
"cli",
"mfdm-debugs",
"mfdm-events",
"mfdm-stats",
"objstore-error",
"objstore-events",
"rib",
"rib-summary",
"vrf"
]
},
{
"name-o": "<mrib-event-hist-buf-name>",
"value": [
"cli",
"mdt",
"mfdm-debugs",
"mfdm-events",
"mfdm-stats",
"mofrr",
"nbm",
"notify-clients",
"objstore-error",
"objstore-events",
"pim-library",
"rib",
"rib-error",
"urib-debugs",
"vrf"
]
},
{
"name-o": "<namespace-version>",
"value": [
"1.0",
"9.2.1."
]
},
{
"name-o": "<pmap-name-nq>",
"value": [
"default-8q-nq-policy",
"default-nq-policy"
]
},
{
"name-o": "<pmap-name-que-temp>",
"value": [
"default-8q-out-policy",
"default-out-policy"
]
},
{
"name-o": "<pmap-name-que>",
"value": [
"default-8q-out-policy",
"default-out-policy"
]
},
{
"name-o": "<protocol>",
"value": [
"am",
"broadcast",
"direct",
"local",
"monitor",
"mstatic",
"sal",
"static"
]
},
{
"name-o": "<res-mgr-res-known-name-all>",
"value": [
"dmod",
"eltm_lif",
"eltm_lif_inband",
"fex_id",
"m4route-mem",
"m6route-mem",
"mcecm_lid",
"monitor-session",
"monitor-session-erspan-dst",
"monitor-session-inband-src",
"port-channel",
"test_sugg",
"u4route-mem",
"u6route-mem",
"ulib",
"vlan",
"vrf"
]
},
{
"name-o": "<res-mgr-res-known-name>",
"value": [
"m4route-mem",
"m6route-mem",
"port-channel",
"u4route-mem",
"u6route-mem",
"vlan",
"vrf"
]
},
{
"name-o": "<res-mgr-template-known-name-all>",
"value": [
"global-default",
"vdc-default"
]
},
{
"name-o": "<smm-event-hist-buf-name>",
"value": [
"ha",
"smm"
]
},
{
"name-o": "<sync_cmd_name>",
"value": "sync"
},
{
"name-o": "<trap_arg>",
"value": [
"aaa",
"bridge",
"callhome",
"cfs",
"config",
"entity",
"feature-control",
"generic",
"license",
"link",
"mmode",
"rf",
"rmon",
"snmp",
"storm-control",
"stpx",
"sysmgr",
"system",
"upgrade",
"vtp"
]
},
{
"name-o": "<u6rib-event-hist>",
"value": [
"am",
"cli",
"errors",
"general",
"ha",
"lfe",
"recursive-next-hop",
"summary",
"ufdm",
"ufdm-summary"
]
},
{
"name-o": "<urib-event-hist>",
"value": [
"add-route",
"cli",
"delete-route",
"detail",
"dme",
"errors",
"general",
"ha",
"loop-detection",
"modify-route",
"notifications",
"recursive-next-hop",
"summary",
"ufdm",
"ufdm-detail",
"ufdm-summary"
]
},
{
"name-o": "<vrf-cfg-name>",
"value": "management"
},
{
"name-o": "<vrf-known-name>",
"value": [
"default",
"management"
]
}
]
}
}
}
}
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show cli dynamic strings command, see the CLI command reference:
Note: This example was added in Cisco NX-OS Release 9.2(1).
CLI Output |
---|
|