Chapter 11 Register DMPs

Reference

NEW_TRIGGER=CISCO_CDPDEVICE_EVENT

if [[ $_nd_cdp_capabilities_bit_4 -eq YES ]]; then DEVICE_TYPE=”Host”

NEW_TRIGGER=CISCO_HOST_EVENT

if [[ $_nd_cdp_platform =~ ^(CIVS-IPC-2[45]CIVS-IPC-4[35]) ]]; then DEVICE_TYPE=”Camera”

NEW_TRIGGER=CISCO_IPVSC_EVENT fetch IS_IPVSC_DETECTION_ENABLED

/config/interface{$INTERFACE}/device_trigger{$IPVSC}/macro_auto_device_cntrl if [[ $IS_IPVSC_DETECTION_ENABLED -eq NO ]]; then

return 0

fi

fi

if [[ $_nd_cdp_platform =~ ^(CTS[13]000) ]]; then DEVICE_TYPE=”CTS”

NEW_TRIGGER=CISCO_CTS_EVENT

fi

if [[ $_nd_cdp_platform =~ “((Cisco DMP 4305G)(Cisco DMP 4400G)(Cisco DMP 4310G))” ]]; then

NEW_TRIGGER=CISCO_DMP_EVENT DEVICE_TYPE=”DMP”

fetch IS_DMP_DETECTION_ENABLED /config/interface{$INTERFACE}/device_trigger{$DMP}/macro_auto_device_cntrl

if [[ $IS_DMP_DETECTION_ENABLED -eq NO ]]; then return 0

fi

fi

if [[ $_nd_cdp_platform =~ “^((Cisco IP Phone)(Cisco IP Confe))” ]]; then DEVICE_TYPE=”Phone”

NEW_TRIGGER=CISCO_PHONE_EVENT fetch IS_PHONE_DETECTION_ENABLED

/config/interface{$INTERFACE}/device_trigger{$PHONE}/macro_auto_device_cntrl if [[ $IS_PHONE_DETECTION_ENABLED -eq NO ]]; then

return 0

fi

fi

fi

if [[ $_nd_cdp_capabilities_bit_7 -eq YES ]]; then DEVICE_TYPE=”Phone”

NEW_TRIGGER=CISCO_PHONE_EVENT fetch IS_PHONE_DETECTION_ENABLED

/config/interface{$INTERFACE}/device_trigger{$PHONE}/macro_auto_device_cntrl if [[ $IS_PHONE_DETECTION_ENABLED -eq NO ]]; then

return 0;

fi

fi

if [[ $_nd_cdp_qos_tlv_bandwidth -eq ““ ]]; then

BANDWIDTH_LIMIT=0 else

BANDWIDTH_LIMIT=$_nd_cdp_qos_tlv_bandwidth

fi

IS_AP125X=”” LIMIT=0

if [[ $_nd_cdp_platform =~ “^(cisco AIR-LAP)” ]]; then

if [[ $_nd_cdp_platform =~ “^(cisco AIR-LAP125)” ]]; then IS_AP125X=AP125X

else IS_AP125X=””

fi

DEVICE_TYPE=”LightWeight Access Point”

NEW_TRIGGER=CISCO_WIRELESS_LIGHTWEIGHT_AP_EVENT LIMIT=$BANDWIDTH_LIMIT

 

User Guide for Cisco Digital Media Manager 5.2.x

11-22

OL-15762-03

Page 146
Image 146
Cisco Systems 5.2.x manual 11-22, Newtrigger=Ciscohostevent