Skip to content

Commit ae3e02b

Browse files
committed
Merge branch '513' into stage
2 parents 9d5c03e + caf22fd commit ae3e02b

2 files changed

Lines changed: 20 additions & 10 deletions

File tree

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

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ After you install and configure FreeRADIUS, the FreeRADIUS server can serve Cumu
5151
- You must configure 802.1X on a bridged interface. To configure a bridge, refer to {{<link url="Ethernet-Bridging-VLANs" text="Ethernet Bridging - VLANs">}}.
5252
- NVUE enables BPDU guard when you enable 802.1X on an interface; the interface goes into a protodown state if it receives BPDU packets.
5353

54+
{{%notice note%}}
55+
In Cumulus Linux 5.13 and later, you must provide the <span class="a-tooltip">[NAS](## "Network Access Server")</span> IP address and, or NAS identifier when configuring 802.1x interfaces.
56+
{{%/notice%}}
57+
5458
To configure an 802.1X interface:
5559
- **Required**: Provide the 802.1X RADIUS server IPv4 or IPv6 address. If you want to specify more than one server, provide the priority for each server (a value between 1 and 3). If you specify just one server, Cumulus Linux sets the priority to 1. You can also specify a VRF for outgoing RADIUS accounting and authorization packets. A VRF is optional.
5660
- **Required**: Provide the 802.1X RADIUS shared secret.
61+
- **Required**: Provide either the NAS IP address or the NAS identifier, or both. The NAS IP address is an IPv4 address used only in Access-Request packets from the RADIUS client (the Cumulus switch) to the RADIUS server (not in subsequent packet types, such as Access-Accept, Access-Reject, or Access-Challenge). The NAS identifier is a string such as a fully qualified domain name that identifies the NAS to the RADIUS server. The RADIUS server uses the NAS IP address and the NAS identifier for accounting purposes. On the RADIUS server, the NAS IP address and the NAS identifier identify the source NAS. If two or more NAS devices have the same NAS IP address, you can use a different NAS identifier for each of them to uniquely identify them at the RADIUS server.
5762
- **Required**: Enable 802.1X on an interface.
5863
- Optional: Change the default 802.1X RADIUS accounting port. You can specify a value between 1000 and 65535. The default value is 1813.
5964
- Optional: Change the default 802.1X RADIUS authentication port. You can specify a value between 1000 and 65535. The default value is 1812.
@@ -70,10 +75,13 @@ Changing the 802.1X interface settings does *not* reset existing authorized user
7075
The following example:
7176

7277
- Sets the 802.1X RADIUS server IP address to 10.10.10.1 and the shared secret to `mysecret`.
78+
- Sets the NAS IP address to 10.10.10.3 and the NAS identifier to AP-123.
7379
- Enables 802.1X on swp1 through swp3.
7480

7581
```
7682
cumulus@switch:~$ nv set system dot1x radius server 10.10.10.1 shared-secret mysecret
83+
cumulus@switch:~$ nv set system dot1x radius nas-ip-address 10.10.10.3
84+
cumulus@switch:~$ nv set system dot1x radius nas-identifier AP-123
7785
cumulus@switch:~$ nv set interface swp1,swp2,swp3 dot1x eap enabled
7886
cumulus@switch:~$ nv config apply
7987
```
@@ -85,6 +93,7 @@ The following example:
8593
- Sets the 802.1X RADIUS authentication port to 2813.
8694
- Sets the 802.1X RADIUS accounting port to 2812.
8795
- Sets the fixed IP address for the RADIUS client to receive requests to 10.10.10.6.
96+
- Sets the NAS IP address to 10.10.10.3.
8897
- Sets the EAP reauthentication interval to 40.
8998
- Enables 802.1X on swp1, swp2, and swp3.
9099

@@ -94,18 +103,12 @@ cumulus@switch:~$ nv set system dot1x radius server 10.10.10.1 shared-secret mys
94103
cumulus@switch:~$ nv set system dot1x radius server 10.10.10.1 authentication-port 2813
95104
cumulus@switch:~$ nv set system dot1x radius server 10.10.10.1 accounting-port 2812
96105
cumulus@switch:~$ nv set system dot1x radius client-src-ip 10.10.10.6
106+
cumulus@switch:~$ nv set system dot1x radius nas-ip-address 10.10.10.3
97107
cumulus@switch:~$ nv set system dot1x reauthentication-interval 40
98108
cumulus@switch:~$ nv set interface swp1,swp2,swp3 dot1x eap enabled
99109
cumulus@switch:~$ nv config apply
100110
```
101-
<!--feature in 5.8
102-
To assign a tagged VLAN for voice devices and assign different VLANs to the devices based on authorization:
103111

104-
```
105-
cumulus@switch:~$ nv set interface swp1,swp2,swp3 dot1x voice-vlan 20 enabled
106-
cumulus@switch:~$ nv config apply
107-
```
108-
-->
109112
{{%notice note%}}
110113
When you enable or disable 802.1X on an interface, `hostapd` reloads; however, existing authorized sessions do not reset.
111114
{{%/notice%}}
@@ -118,6 +121,7 @@ Edit the `/etc/hostapd.conf` file to configure 802.1X settings, then restart the
118121
The following example:
119122
- Sets the 802.1X RADIUS server IP address to 10.10.10.1.
120123
- Sets the 802.1X RADIUS shared secret to mysecret.
124+
- Sets the NAS IP address (`own_ip_addr`) to 10.10.10.3 and the NAS identifier (`nas_identifier`) to AP-123.
121125
- Enables 802.1X on swp1 through swp3.
122126

123127
```
@@ -128,6 +132,8 @@ interfaces=swp1,swp2,swp3
128132
auth_server_addr=10.10.10.1
129133
auth_server_port=1812
130134
auth_server_shared_secret=mysecret
135+
own_ip_addr=10.10.10.3
136+
nas_identifier="AP-123"
131137
...
132138
```
133139

@@ -138,6 +144,7 @@ The following example:
138144
- Sets the 802.1X RADIUS authentication port to 2813.
139145
- Sets the 802.1X RADIUS accounting port to 2812.
140146
- Sets the fixed IP address for the RADIUS client to receive requests to 10.10.10.6.
147+
- Sets the NAS IP address (`own_ip_addr`) to 10.10.10.3.
141148
- Sets the EAP reauthentication interval to 40.
142149
- Enables 802.1X on swp1 through swp3.
143150

@@ -155,6 +162,7 @@ acct_server_addr=10.10.10.1%BLUE
155162
acct_server_port=2812
156163
acct_server_shared_secret=mysecret
157164
radius_client_addr=10.10.10.6
165+
own_ip_addr=10.10.10.3
158166
...
159167
```
160168

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ Cumulus Linux 5.13.0 supports new platforms, provides bug fixes, and contains se
4646
- NVUE
4747
- {{<link url="NVUE-CLI/#list-directory-contents" text="Command to list directory contents">}}
4848
- {{<link url="NVUE-CLI/#get-the-hash-for-a-file" text="Command to get the hash for a file">}}
49+
- {{<link url="802.1X-Interfaces/#configure-8021x-interfaces" text="Commands to set the NAS IP address and NAS identifier for 802.1X">}}
4950
- Enable CRL support
5051
- SSH certificate-based authorization
51-
- .1x support for NAS-IP-Address and NAS-Identifier
5252
- Additional FRR filters
5353
- {{< expand "Changed NVUE Commands" >}}
5454
| Cumulus Linux 5.13 | Cumulus Linux 12 and Earlier |
5555
| --------------- |---------------------------------------|
56-
| `nv unset maintenance unit all-protocols state maintenance`| `nv action enable|disable system maintenance mode` |
57-
| | `nv action enable|disable system maintenance ports` |
56+
| `nv set maintenance unit all-protocols state maintenance`| `nv action enable system maintenance mode`<br>`nv action disable system maintenance mode` |
57+
| | `nv action enable system maintenance ports`<br>`nv action disable system maintenance ports` |
5858
{{< /expand >}}
5959
- {{< expand "Removed NVUE Commands" >}}
6060
```
@@ -79,6 +79,8 @@ For descriptions and examples of all NVUE commands, refer to the [NVUE Command R
7979

8080
```
8181
nv set service dhcp-server <vrf> static <host>> vendor-class
82+
nv set system dot1x radius nas-identifier AP-123
83+
nv set system dot1x radius nas-ip-address
8284
nv set system dot1x reauth-timeout-ignore
8385
```
8486

0 commit comments

Comments
 (0)