#!/pkg/bin/ksh
# ---------------------------------------------------------------------
# show_tech_lpts_platform - PD show commands for show tech-support lpts
#                       spawned by show_tech_fast
#
# January 2016, Saravanan Devarajan
#
# Copyright (c) 2012-2016, 2019-2020 by cisco Systems, Inc.
# All rights reserved.
# --------------------------------------------------------------------



# ***********************************************************
#  Show commands to be run by the show tech-support commands
#  The PD commands specified here are included in show_tech_lpts
#  This file is sourced in show_tech_lpts.
# ***********************************************************


#############################################################
# Commands that run on all LCs
platform_lc_exec[1]="show lpts pifib hardware entry brief"
platform_lc__ksh[1]='platform_show_pifib -z 0x2'
platform_lc_exec[2]="show lpts pifib hardware police"
platform_lc__ksh[2]='platform_show_pifib -z 0x8'
platform_lc_exec[3]="show lpts trace platform error"
platform_lc__ksh[3]='show_platform_pifib_trace -E'
platform_lc_exec[4]="show lpts trace platform info"
platform_lc__ksh[4]='show_platform_pifib_trace -I'
platform_lc_exec[5]="show lpts trace platform event"
platform_lc__ksh[5]='show_platform_pifib_trace -V'
platform_lc_exec[6]="show lpts trace platform all"
platform_lc__ksh[6]='show_platform_pifib_trace -A'
platform_lc_exec[7]="show lpts pifib hardware entry"
platform_lc__ksh[7]='platform_show_pifib -z 0x1'
platform_lc_exec[8]="show lpts pifib hardware entry br "
platform_lc__ksh[8]='platform_show_pifib -z 0x2  | grep -v -E "   0      0        "'
