Viewing HQoS Configurations

To display the HQoS configurations, use the show config command.

Syntax

show config

Example
supervisor@rtbrick>LEAF01: cfg> show config forwarding-options class-of-service
{
  "rtbrick-config:class-of-service": {
    "classifier": [
      {
        "classifier-name": "BA_L2TP_UPSTREAM_CLASSIFIER_ONE",
        "match-type": [
          {
            "match-type": "ieee-802.1",
            "codepoint": [
              {
                "codepoint": 1,
                "class": "class-1"
              },
              {
                "codepoint": 2,
                "class": "class-2"
              },
              {
                "codepoint": 3,
                "class": "class-3"
              },
              {
                "codepoint": 4,
                "class": "class-4"
              }
            ]
          }
        ]
      },
      {
        "classifier-name": "EXP_CLASSIFIER",
        "match-type": [
          {
            "match-type": "exp",
            "codepoint": [
              {
                "codepoint": 0,
                "class": "class-0"
              },
              {
                "codepoint": 1,
                "class": "class-1"
              },
              {
                "codepoint": 2,
                "class": "class-2"
              },
              {
                "codepoint": 3,
                "class": "class-3"
              }
            ]
          }
        ]
      }
    ],
    "class-policer-map": [
      {
        "class-policer-map-name": "LAC_CLASS_POLICER_MAP",
        "class": [
          {
            "class": "class-0",
            "policer-level": "level-1"
          },
          {
            "class": "class-1",
            "policer-level": "level-1"
          },
          {
            "class": "class-2",
            "policer-level": "level-2"
          },
          {
            "class": "class-3",
            "policer-level": "level-2"
          },
          {
            "class": "class-4",
            "policer-level": "level-3"
          },
          {
            "class": "class-5",
            "policer-level": "level-3"
          },
          {
            "class": "class-6",
            "policer-level": "level-4"
          },
          {
            "class": "class-7",
            "policer-level": "level-4"
          }
        ]
      },
      {
        "class-policer-map-name": "PTA_CLASS_POLICER_MAP",
        "class": [
          {
            "class": "class-0",
            "policer-level": "level-1"
          },
          {
            "class": "class-1",
            "policer-level": "level-1"
          },
          {
            "class": "class-2",
            "policer-level": "level-2"
          },
          {
            "class": "class-3",
            "policer-level": "level-2"
          },
          {
            "class": "class-4",
            "policer-level": "level-3"
          },
          {
            "class": "class-5",
            "policer-level": "level-3"
          },
          {
            "class": "class-6",
            "policer-level": "level-4"
          },
          {
            "class": "class-7",
            "policer-level": "level-4"
          }
        ]
      }
    ],
    "class-queue-map": [
      {
        "class-queue-map-name": "CLASS_QUEUE_MAP_LAC_RESIDENTIAL",
        "class": [
          {
            "class-type": "class-0",
            "queue-name": "LAC_IPTV"
          },
          {
            "class-type": "class-1",
            "queue-name": "LAC_VOIP"
          },
          {
            "class-type": "class-2",
            "queue-name": "LAC_CONTROL"
          },
          {
            "class-type": "class-3",
            "queue-name": "LAC_LOWLOSS"
          }
        ]
      },
      {
        "class-queue-map-name": "CLASS_QUEUE_MAP_PTA_RESIDENTIAL",
        "class": [
          {
            "class-type": "class-0",
            "queue-name": "PTA_IPTV"
          },
          {
            "class-type": "class-1",
            "queue-name": "PTA_VOIP"
          },
          {
            "class-type": "class-2",
            "queue-name": "PTA_CONTROL"
          },
          {
            "class-type": "class-3",
            "queue-name": "PTA_LOWLOSS"
          }
        ]
      }
    ],
    "global": {
      "classifier-name": "EXP_CLASSIFIER"
    },
    "interface": [
      {
        "name": "ifp-0/0/3",
        "scheduler-map-name": "DPU_GPON_THREE"
      }
    ],
    "policer": [
      {
        "policer-name": "LAC_SUBSCRIBERS_POLICER",
        "flags": "color-blind",
        "level1-rates": {
          "cir": 9000,
          "cbs": 1000,
          "pir": 9200,
          "pbs": 1000
        },
        "level2-rates": {
          "cir": 1000,
          "cbs": 1000,
          "pir": 1200,
          "pbs": 1000
        },
        "level3-rates": {
          "cir": 3100,
          "cbs": 1000,
          "pir": 3500,
          "pbs": 1000
        },
        "level4-rates": {
          "cir": 7100,
          "cbs": 1000,
          "pir": 7500,
          "pbs": 1000
        },
        "levels": 4,
        "type": "two-rate-three-color"
      },
      {
        "policer-name": "PTA_SUBSCRIBERS_POLICER",
        "flags": "color-blind",
        "level1-rates": {
          "cir": 9000,
          "cbs": 1000,
          "pir": 9200,
          "pbs": 1000
        },
        "level2-rates": {
          "cir": 1000,
          "cbs": 1000,
          "pir": 1200,
          "pbs": 1000
        },
        "level3-rates": {
          "cir": 3100,
          "cbs": 1000,
          "pir": 3500,
          "pbs": 1000
        },
        "level4-rates": {
          "cir": 7100,
          "cbs": 1000,
          "pir": 7500,
          "pbs": 1000
        },
        "levels": 4,
        "type": "two-rate-three-color"
      }
    ],
    "profile": [
      {
        "profile-name": "LAC_RESIDENTIAL_PROFILE_RTBRICK",
        "classifier-name": "BA_L2TP_UPSTREAM_CLASSIFIER_ONE",
        "class-queue-map-name": "CLASS_QUEUE_MAP_LAC_RESIDENTIAL",
        "class-policer-map-name": "LAC_CLASS_POLICER_MAP",
        "policer-name": "LAC_SUBSCRIBERS_POLICER",
        "scheduler-map-name": "LAC_SCHEDULER_MAP_RTBRICK_RESIDENTIAL"
      },
      {
        "profile-name": "PTA_RESIDENTIAL_PROFILE_RTBRICK",
        "class-queue-map-name": "CLASS_QUEUE_MAP_PTA_RESIDENTIAL",
        "remark-map-name": "REMARK_DOWN",
        "scheduler-map-name": "PTA_SCHEDULER_MAP_RTBRICK_RESIDENTIAL",
        "class-policer-map-name": "PTA_CLASS_POLICER_MAP",
        "policer-name": "PTA_SUBSCRIBERS_POLICER",
      }
    ],
    "queue": [
      {
        "queue-name": "LAC_CONTROL",
        "queue-size": 250000
      },
      {
        "queue-name": "LAC_IPTV",
        "queue-size": 250000
      },
      {
        "queue-name": "LAC_LOWLOSS",
        "queue-size": 250000
      },
      {
        "queue-name": "LAC_VOIP",
        "queue-size": 250000
      },
      {
        "queue-name": "PTA_CONTROL",
        "queue-size": 250000
      },
      {
        "queue-name": "PTA_IPTV",
        "queue-size": 250000
      },
      {
        "queue-name": "PTA_LOWLOSS",
        "queue-size": 250000
      },
      {
        "queue-name": "PTA_VOIP",
        "queue-size": 250000
      }
    ],
    "queue-group": [
      {
        "queue-group-name": "LAC_QUEUE_GROUP_ONE",
        "queue-numbers": 4
      },
      {
        "queue-group-name": "PTA_QUEUE_GROUP_ONE",
        "queue-numbers": 4
      }
    ],
    "remark-map": [
      {
        "remark-map-name": "REMARK_DOWN",
        "remark-type": [
          {
            "remark-type": "ieee-802.1",
            "match-codepoint": [
              {
                "match-codepoint": 2,
                "color": [
                  {
                    "color": "all",
                    "remark-codepoint": 4
                  }
                ]
              },
              {
                "match-codepoint": 64
              }
            ]
          }
        ]
      }
    ],
    "scheduler": [
      {
        "scheduler-name": "DPU_FOUR_SCHEDULER",
        "type": "fair_queueing"
      },
      {
        "scheduler-name": "DPU_ONE_SCHEDULER",
        "type": "fair_queueing"
      },
      {
        "scheduler-name": "GPON_ONE_SCHEDULER",
        "type": "fair_queueing"
      },
      {
        "scheduler-name": "GPON_THREE_SCHEDULER",
        "type": "fair_queueing"
      },
      {
        "scheduler-name": "LAC_ONE_SCHEDULER_RTBRICK",
        "shaper-name": "SESSION_SHAPER",
        "type": "3sp_wfq_discrete",
        "composite": "true"
      },
      {
        "scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
        "shaper-name": "SESSION_SHAPER",
        "type": "3sp_wfq_discrete",
        "composite": "true"
      }
    ],
    "scheduler-map": [
      {
        "scheduler-map-name": "DPU_GPON_ONE",
        "scheduler-name": [
          {
            "name": "DPU_ONE_SCHEDULER",
            "parent-scheduler-name": "GPON_ONE_SCHEDULER",
            "connection-point": "no_priority"
          },
          {
            "name": "GPON_ONE_SCHEDULER"
          }
        ]
      },
      {
        "scheduler-map-name": "DPU_GPON_THREE",
        "scheduler-name": [
          {
            "name": "DPU_FOUR_SCHEDULER",
            "parent-scheduler-name": "GPON_THREE_SCHEDULER",
            "connection-point": "no_priority"
          },
          {
            "name": "GPON_THREE_SCHEDULER"
          }
        ]
      },
      {
        "scheduler-map-name": "LAC_SCHEDULER_MAP_RTBRICK_RESIDENTIAL",
        "queue-group-name": [
          {
            "group-name": "LAC_QUEUE_GROUP_ONE",
            "queue-name": [
              {
                "name": "LAC_CONTROL",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_2",
                "weight": 2
              },
              {
                "name": "LAC_IPTV",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "LAC_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_1"
              },
              {
                "name": "LAC_LOWLOSS",
                "parent-flow": "low-flow",
                "parent-scheduler-name": "LAC_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_2",
                "weight": 1
              },
              {
                "name": "LAC_VOIP",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "LAC_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_0"
              }
            ]
          }
        ],
        "scheduler-name": [
          {
            "name": "LAC_ONE_SCHEDULER_RTBRICK"
          }
        ]
      },
      {
        "scheduler-map-name": "PTA_SCHEDULER_MAP_RTBRICK_RESIDENTIAL",
        "queue-group-name": [
          {
            "group-name": "PTA_QUEUE_GROUP_ONE",
            "queue-name": [
              {
                "name": "PTA_CONTROL",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_2",
                "weight": 2
              },
              {
                "name": "PTA_IPTV",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_1"
              },
              {
                "name": "PTA_LOWLOSS",
                "parent-flow": "low-flow",
                "parent-scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_2",
                "weight": 1
              },
              {
                "name": "PTA_VOIP",
                "parent-flow": "high-flow",
                "parent-scheduler-name": "PTA_ONE_SCHEDULER_RTBRICK",
                "connection-point": "strict_priority_0"
              }
            ]
          }
        ],
        "scheduler-name": [
          {
            "name": "PTA_ONE_SCHEDULER_RTBRICK"
          }
        ]
      }
    ],
    "shaper": [
      {
        "shaper-name": "SESSION_SHAPER",
        "shaping-rate-high": 10000,
        "shaping-rate-low": 10200
      }
    ]
  }
}