show system internal aclqos platform mtc info tcam 0 region nat
show system internal aclqos platform mtc info tcam 0 region nat
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 system internal aclqos platform mtc info tcam 0 region nat",
"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": {
"outputs": {
"output": {
"body": {
"TABLE_module": {
"ROW_module": {
"TABLE_tcam_region": {
"ROW_tcam_region": [
{
"range_high": "47",
"range_low": "0",
"tcam_name": "sup tcam"
},
{
"range_high": "1151",
"range_low": "512",
"tcam_name": "vacl tcam"
},
{
"range_high": "511",
"range_low": "112",
"tcam_name": "ifacl tcam"
},
{
"range_high": "4031",
"range_low": "3840",
"tcam_name": "qos tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "pacl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "rbacl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "span tcam"
},
{
"range_high": "3583",
"range_low": "2048",
"tcam_name": "racl tcam"
},
{
"range_high": "3839",
"range_low": "3584",
"tcam_name": "e-racl tcam"
},
{
"range_high": "1791",
"range_low": "1152",
"tcam_name": "e-vacl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "qoslbl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipsg tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "arpacl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipv6-racl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipv6-e-racl tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipv6-sup tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipv6-qos tcam"
},
{
"range_high": "2047",
"range_low": "1792",
"tcam_name": "nat tcam"
},
{
"range_high": "4095",
"range_low": "4032",
"tcam_name": "e-qos tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "pbr tcam"
},
{
"range_high": "0",
"range_low": "0",
"tcam_name": "ipv6-pbr tcam"
},
{
"range_high": "111",
"range_low": "48",
"tcam_name": "Copp tcam"
}
]
},
"TABLE_tcam_type": {
"ROW_tcam_type": {
"end": "2047",
"size": "256",
"start": "1792",
"tcam_type": "nat tcam",
"valid": "1"
}
},
"asic_id": "0",
"in_use_entry": "0",
"module_number": "1",
"range_bmp": "0-0"
}
}
},
"code": "200",
"input": "show system internal aclqos platform mtc info tcam 0 region nat",
"msg": "Success"
}
},
"sid": "eoc",
"type": "cli_show",
"version": "1.0"
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show system internal aclqos platform mtc info tcam 0 region nat command, see the CLI command reference:
CLI Output |
---|
|