ignore (for CDP groups)

Syntax

ignore [seq <SEQ-NUM>] {platform <PLATFORM> | sw-version <SWVERSION> | 
     voice-vlan-query <VLAN-ID>}

no ignore [seq <SEQ-ID>] {platform <PLATFORM> | sw-version <SWVERSION> | 
     voice-vlan-query <VLAN-ID>}

Description

Defines a rule to ignore devices for a CDP (Cisco Discovery Protocol) group. Up to 64 match/ignore rules can be defined for a group.

The no form of this command removes a rule for ignoring devices from a CDP group.

Command context

config-cdp-group

Parameters

seq <SEQ-ID>
Specifies the ID of the rule to create or modify. If no ID is specified when adding a rule, an ID is automatically assigned in increments of 10 in the order in which rules are added. When more than one rule matches the command entered, the rule with the lowest ID takes precedence.
platform <PLATFORM>

Specifies the hardware or model details of the neighbor. Range: 1 to 128 alphanumeric characters.

sw-version <SWVERSION>

Specifies the software version of the neighbor. Range: 1 to 128 alphanumeric characters.

voice-vlan-query <VLAN-ID>

Specifies the VLAN query value of the neighbor. Range: 1 to 65535.

Authority

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

Examples

Adding a rule to the CDP group grp01 that ignores a device that transmits PLATFORM01 in the platform TLV:

switch(config)# port-access cdp-group grp01
switch(config-cdp-group)# ignore platform PLATFORM01

Adding a rule to the CDP group grp01 that ignores a device that transmits SWVERSION in software version TLV:

switch(config)# port-access cdp-group grp01
switch(config-cdp-group)# ignore sw-version SWVERSION

Removing the rule that matches the sequence number 25 from the CDP group named grp01.

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