update xdp filter documentation

This commit is contained in:
NetworkNub
2016-10-18 09:49:24 -04:00
parent 2aae3e6dff
commit 81133cc09e

View File

@@ -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: