diff --git a/content/cumulus-linux-510/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-510/Layer-2/Link-Layer-Discovery-Protocol.md index 6be21dc3cc..ad88533829 100644 --- a/content/cumulus-linux-510/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-510/Layer-2/Link-Layer-Discovery-Protocol.md @@ -184,6 +184,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-511/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-511/Layer-2/Link-Layer-Discovery-Protocol.md index f812dc4781..4449f0ccd4 100644 --- a/content/cumulus-linux-511/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-511/Layer-2/Link-Layer-Discovery-Protocol.md @@ -243,6 +243,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-512/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-512/Layer-2/Link-Layer-Discovery-Protocol.md index f812dc4781..4449f0ccd4 100644 --- a/content/cumulus-linux-512/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-512/Layer-2/Link-Layer-Discovery-Protocol.md @@ -243,6 +243,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-54/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-54/Layer-2/Link-Layer-Discovery-Protocol.md index 8dbae3cce3..8517fce853 100644 --- a/content/cumulus-linux-54/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-54/Layer-2/Link-Layer-Discovery-Protocol.md @@ -118,6 +118,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-55/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-55/Layer-2/Link-Layer-Discovery-Protocol.md index f9fa8670f6..f016d9bfb1 100644 --- a/content/cumulus-linux-55/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-55/Layer-2/Link-Layer-Discovery-Protocol.md @@ -118,6 +118,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-56/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-56/Layer-2/Link-Layer-Discovery-Protocol.md index 5df7898e19..be356fe031 100644 --- a/content/cumulus-linux-56/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-56/Layer-2/Link-Layer-Discovery-Protocol.md @@ -180,6 +180,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-57/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-57/Layer-2/Link-Layer-Discovery-Protocol.md index 87e30d606e..54eba175e8 100644 --- a/content/cumulus-linux-57/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-57/Layer-2/Link-Layer-Discovery-Protocol.md @@ -184,6 +184,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-58/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-58/Layer-2/Link-Layer-Discovery-Protocol.md index 87481f1382..7bdb90f94c 100644 --- a/content/cumulus-linux-58/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-58/Layer-2/Link-Layer-Discovery-Protocol.md @@ -184,6 +184,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames. diff --git a/content/cumulus-linux-59/Layer-2/Link-Layer-Discovery-Protocol.md b/content/cumulus-linux-59/Layer-2/Link-Layer-Discovery-Protocol.md index c886dd261d..1f5072c332 100644 --- a/content/cumulus-linux-59/Layer-2/Link-Layer-Discovery-Protocol.md +++ b/content/cumulus-linux-59/Layer-2/Link-Layer-Discovery-Protocol.md @@ -184,6 +184,32 @@ cumulus@switch:~$ sudo systemctl restart lldpd - The `-M 4` option sends a field in discovery packets to indicate that the switch is a network device. {{%/notice%}} +## Change CDP Settings + +Cumulus Linux provides support for [CDP](## "Cisco Discovery Protocol ") so that the switch can advertise information about itself with Cisco routers that do not support LLDP. By default, the Cumulus Linux switch sends CDP packets only if the peer sends CDP packets. You can change this setting by replacing `-c` in the `/etc/default/lldpd` file with one of the following options: + +| Option | Description | +|--------|-------------| +| -cc | The Cumulus Linux switch sends CDPv1 packets even when there is no detected CDP peer. | +| -ccc | The Cumulus Linux switch sends CDPv2 packets even when there is no detected CDP peer. | +| -cccc | The Cumulus Linux switch disables CDPv1 and enables CDPv2. | +| -ccccc | The Cumulus Linux switch disables CDPv1 and forces CDPv2. | + +The following example changes the CDP setting to `-ccc` so that the switch sends CDPv2 packets even when there is no detected CDP peer: + +``` +cumulus@switch:~$ sudo nano /etc/default/lldpd +... +# Enable CDP by default +DAEMON_ARGS="-ccc -x -M 4" +``` + +You must restart the `lldpd` service for the changes to take effect. + +``` +cumulus@switch:~$ sudo systemctl restart lldpd +``` + ## Set LLDP Mode By default, the `lldpd` service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can change this behavior and configure the `lldpd` service to send only CDP frames or only LLDP frames.