diff --git a/doc/Extensions/Auto-Discovery.md b/doc/Extensions/Auto-Discovery.md index b1595f255c..7fb73ac59d 100644 --- a/doc/Extensions/Auto-Discovery.md +++ b/doc/Extensions/Auto-Discovery.md @@ -67,17 +67,23 @@ Enabled by default. This includes FDP, CDP and LLDP support based on the device type. -Devices may be excluded from xdp discovery by name, description, or platform. +Devices may be excluded from xdp discovery by sysname and sysdesc. ```php //Exclude devices by name -$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/^dev/' +$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/host1/'; +$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/^dev/'; //Exclude devices by description -$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/unmanaged switch/' +$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/Vendor X/'; +$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/Vendor Y/'; +``` +Devices may be excluded from cdp discovery by platform. + +```php //Exclude devices by platform(Cisco only) -$config['autodiscovery']['cdp_exclude']['platform_regexp'][] = 'WS-C3750G-12S' +$config['autodiscovery']['cdp_exclude']['platform_regexp'][] = '/WS-C3750G/'; ``` These devices are excluded by default: