ignore
(for LLDP groups)
Syntax
忽略(seq ] {sys-desc | sysname | vendor-oui [type (价值 ]]} no ignore [seq ] {sys-desc | sysname | vendor-oui [type (价值 ]]}
Description
Defines a rule to ignore devices for an LLDP group. Up to 64 match/ignore rules can be defined for a group.
Theno
form of this command removes a rule for ignoring devices from an LLDP group.
Command context
config-lldp-group
Parameters
-
seq
- 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.
-
sys-desc
-
Specifies the LLDP system description type-length-value (TLV). Range: 1 to 256 alphanumeric characters.
-
sysname
- Specifies the LLDP system name TLV. Range: 1 to 64 alphanumeric characters.
-
vendor-oui
- Specifies the LLDP system vendor OUI TLV. Range: 1 to 6 alphanumeric characters.
-
type
- Specifies the vendor OUI subtype key. Optional.
-
value
- Specifies the vendor OUI subtype value. Range: 1 to 256 alphanumeric characters.
Authority
Administrators or local user group members with execution rights for this command.
Examples
添加一个规则LLDP组grp01that ignores a device that transmitsPLATFORM01in the system description TLV:
switch(config)#port-access lldp-group grp01switch(config-lldp-group)#ignore sys-desc PLATFORM01
Removing the rule that matches the sequence number25from the LLDP group namedgrp01.
switch(config)#port-access lldp-group grp01switch(config-lldp-group)#no match seq 25