port-access cdp-group

Syntax

port-access cdp-group <CDP-GROUP-NAME>

no port-access cdp-group <CDP-GROUP-NAME>

Description

Creates a CDP (Cisco Discovery Protocol) group or modifies an existing CDP group. A CDP Group is used to classify connected devices based on the CDP packet details advertised by the device. A maximum of 32 CDP groups can be configured on the switch. Each group accepts 64 match/ignore commands.

The no form of this command removes a CDP group.

Command context

config

Parameters

<CDP-GROUP-NAME>
Specifies the name of the CDP group to create or modify. The maximum number of characters supported is 32. Required.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Creating a CDP group named grp01:

switch(config)# port-access cdp-group grp01
switch(config-cdp-group)# match platform CISCO
switch(config-cdp-group)# match sw-version 11.2(12)P
switch(config-cdp-group)# match voice-vlan-query 512
switch(config-cdp-group)# seq 50 match platform cisco sw-version 11.2(12)P voice-vlan-query 512
switch(config-cdp-group)# exit
switch(config)# do show running-config

Current configuration:
!
!Version ArubaOS-CX Virtual.10.0X.000
!export-password: default
led locator on
!
!
vlan 1
port-access cdp-group grp01
     seq 10 match platform CISCO
     seq 20 match sw-version 11.2(12)P
     seq 30 match voice-vlan-query 512
     seq 50 match platform cisco sw-version 11.2(12)P voice-vlan-query 512

Removing a CDP group named grp01:

switch(config)# no port-access cdp-group grp01