Skip to content

Commit

Permalink
add CDP section that was somehow deleted since 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Dec 9, 2024
1 parent cfc24e1 commit 89b201f
Show file tree
Hide file tree
Showing 9 changed files with 234 additions and 0 deletions.
26 changes: 26 additions & 0 deletions content/cumulus-linux-510/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-511/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-512/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-54/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-55/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-56/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-57/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-58/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down
26 changes: 26 additions & 0 deletions content/cumulus-linux-59/Layer-2/Link-Layer-Discovery-Protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="a-tooltip">[CDP](## "Cisco Discovery Protocol ")</span> 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.
Expand Down

0 comments on commit 89b201f

Please sign in to comment.