Skip to content

Commit ea650cb

Browse files
committed
Merge branch '517' into stage
2 parents 955abf9 + 16e7766 commit ea650cb

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

content/cumulus-linux-517/Layer-1-and-Switch-Ports/802.1X-Interfaces.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,61 @@ If you do not want to notify the supplicant of the deauthentication, you can add
952952
```
953953
cumulus@switch:~$ nv action deauthenticate interface swp1 dot1x authorized-sessions 00:55:00:00:00:09 silent
954954
```
955+
956+
## LLDP on 802.1X Unauthenticated Ports
957+
958+
By default, Cumulus Linux blocks LLDP packets on unauthorized ports. You can configure the switch to allow LLDP packets on unauthorized ports on ingress, egress, or both.
959+
960+
{{%notice note%}}
961+
This feature only affects the ports in the pre-authentication stage. The authenticated ports are not affected.
962+
{{%/notice%}}
963+
964+
{{< tabs "TabID960 ">}}
965+
{{< tab "NVUE Commands ">}}
966+
967+
The following example allows LLDP packets on unauthorized ports on ingress:
968+
969+
```
970+
cumulus@switch:~$ nv set system dot1x pre-auth allow-protocol lldp ingress
971+
```
972+
973+
The following example allows LLDP packets on unauthorized ports on egress:
974+
975+
```
976+
cumulus@switch:~$ nv set system dot1x pre-auth allow-protocol lldp egress
977+
```
978+
979+
The following example allows LLDP packets on unauthorized ports on both ingress and egress:
980+
981+
```
982+
cumulus@switch:~$ nv set system dot1x pre-auth allow-protocol lldp both
983+
```
984+
985+
To revert to the default setting of blocking LLDP packets on unauthorized ports, run the `nv unset system dot1x pre-auth allow-protocol lldp` commands. For example:
986+
- To block LLDP packets on unauthorized ports on ingress, run the `nv unset system dot1x pre-auth allow-protocol lldp ingress` command.
987+
- To block LLDP packets on unauthorized ports on egress, run the `nv unset system dot1x pre-auth allow-protocol lldp egress` command.
988+
- To block LLDP packets on unauthorized ports on both ingress and egress, run the `nv unset system dot1x pre-auth allow-protocol lldp both` command.
989+
990+
{{< /tab >}}
991+
{{< tab "Linux Commands ">}}
992+
993+
Edit the `/etc/hostapd.conf` file to add the `preauth_ingress_allow_protocol=lldp` option and, or the `preauth_egress_allow_protocol=lldp` option, then reload the `hostapd` service.
994+
995+
```
996+
cumulus@switch:~$ sudo nano /etc/hostapd.conf
997+
...
998+
preauth_ingress_allow_protocol=lldp
999+
preauth_egress_allow_protocol=lldp
1000+
...
1001+
```
1002+
1003+
```
1004+
cumulus@switch:~$ sudo systemctl reload hostapd
1005+
```
1006+
1007+
{{< /tab >}}
1008+
{{< /tabs >}}
1009+
9551010
<!--
9561011
### Dynamic VRF Assignment
9571012

content/cumulus-linux-517/Whats-New/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Cumulus Linux 5.17 contains new features and improvements, and provides bug fixe
1818
- {{<link url="Quality-of-Service/#lossless-headroom-based-on-small-packet-probability" text="Lossless headroom size based on small packet probability">}} (Beta)
1919
- {{<link url="Quality-of-Service/#dynamic-ecn" text="Dynamic ECN">}} (Beta)
2020
- {{<link url="Installing-a-New-Cumulus-Linux-Image-with-ONIE/#show-secure-boot-details" text="NVUE command to show secure boot status and details">}}
21+
- {{<link url="802.1X-Interfaces/#lldp-on-802.1x-unauthenticated-ports" text="Allow LLDP on 802.1X unauthenticated ports">}}
2122
- Instant Retransmission System (Beta)
2223
- LLDP BGP Route Redistribution Extension (Beta)
2324
- Open Telemetry Granular metric selection (Beta)
@@ -27,7 +28,6 @@ Cumulus Linux 5.17 contains new features and improvements, and provides bug fixe
2728
- Security - Alert in the event of an audit processing failure\
2829
- Security - Support organizational requirements to conduct backups of information system documentation
2930
- Support SSD-SED disable in BIOS (Spectrum-6)
30-
- Allow LLDP to work on 802.1X unauthenticated ports
3131
- Routing Convergence Enhancement for full connectivity loss (all links Up/restart)
3232
- BER monitoring | GSHUT and port down due to error disabled
3333
- Security - Support "sudo" validation when TACACS server is connected to the default VRF

0 commit comments

Comments
 (0)