Skip to content

Commit 6854ccf

Browse files
committed
updates
1 parent 9055aa6 commit 6854ccf

2 files changed

Lines changed: 19 additions & 21 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@ cumulus@switch:~$ nv action deauthenticate interface swp1 dot1x authorized-sessi
983983
By default, Cumulus Linux blocks LLDP packets on unauthorized ports. If you need to discover the physical topology before 802.1X authentication (for example, in multi-tenant data centers), you can configure the switch to allow LLDP packets on unauthorized ports on ingress, egress, or both.
984984

985985
{{%notice note%}}
986-
This feature only affects ports in the pre-authentication stage. Cumulus Linux does not block authenticated ports.
986+
- This feature only affects ports in the pre-authentication stage. Cumulus Linux does not block authenticated ports.
987+
- Link down puts the 802.1x enabled ports in the pre-authentication state.
988+
- When you reboot the switch, the 802.1x enabled ports come up in either blocked or allowed mode based on the configuration.
987989
{{%/notice%}}
988990

989991
{{< tabs "TabID960 ">}}
@@ -1010,7 +1012,7 @@ cumulus@switch:~$ nv set system dot1x pre-auth allow-protocol lldp both
10101012
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:
10111013
- To block LLDP packets on unauthorized ports on ingress, run the `nv unset system dot1x pre-auth allow-protocol lldp ingress` command.
10121014
- To block LLDP packets on unauthorized ports on egress, run the `nv unset system dot1x pre-auth allow-protocol lldp egress` command.
1013-
- 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.
1015+
- 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 or the `nv set system dot1x pre-auth allow-protocol lldp none` command.
10141016

10151017
{{< /tab >}}
10161018
{{< tab "Linux Commands ">}}

content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -930,10 +930,10 @@ Dynamic ECN is a congestion marking mechanism optimized for high-performance tra
930930

931931
{{%notice note%}}
932932
- Cumulus Linux supports dynamic ECN on switches with Spectrum-4 and later.
933-
- ECN marking probability has a hardware granularity of 1 percent; effective probabilities below 1 percent do not produce any marking.
933+
- ECN marking probability has a hardware granularity of one percent; effective probabilities below one percent do not produce any marking.
934934
{{%/notice%}}
935935

936-
To configure dynamic ECN:
936+
To configure dynamic ECN, determine which traffic classes carry loss-sensitive or bursty traffic (such as RoCE on traffic class 3), determine the percentage of dynamic buffer allowance you want to trigger congestion marking, then set dynamic ECN:
937937
- Set the dynamic ECN mode to `relative` for the `default-global` profile to apply system-wide default settings or for a custom profile for specific port groups. The default value is `absolute`.
938938

939939
When you set the dynamic ECN mode to `relative`, the switch hardware ignores existing byte thresholds and the ASIC immediately begins marking based on the dynamic buffer calculation: threshold = (alpha_quota * percent) / 100. When you set the dynamic ECN mode to `absolute`, the switch hardware ignores percentage thresholds and the ASIC reverts to marking based on static cell counts derived from the configured byte values.
@@ -1930,12 +1930,15 @@ The QoS subsystem supports multiple lossless priority groups that share a single
19301930
All lossless priority groups continue to share the same ingress and egress buffer pools. However, each priority groups maintains its own reserved buffers, xon and xoff thresholds, and descriptor buffer allocations. This design provides isolation and independent flow-control behavior while still making efficient use of shared buffer resources.
19311931

19321932
You can configure the following headroom settings:
1933-
- Required headroom
1934-
- Exclusive headroom
1935-
- Oversubscription ratio
1936-
- Port shared buffer
1933+
- Required headroom per priority group in bytes. The switch converts this value to cells.
1934+
- Exclusive headroom per priority group in bytes. The switch converts this value to cells.
1935+
- Oversubscription ratio for the shared headroom pool. You can set a value between 1 and 256.
19371936

1938-
The following example assigns switch priority 3 and 4 to priority group 3, configures the ingress lossless buffer service pool mapping to service-pool 1, and sets the required and exclusive headroom for switch priority 3 and 4 to 1024, oversubscription ratio to 2, and port shared buffer to 1024. The example enables the shared headroom pool on swp10.
1937+
{{%notice note%}}
1938+
The required headroom must be more than exclusive headroom.
1939+
{{%/notice%}}
1940+
1941+
The following example assigns switch priority 3 and 4 to priority group 3, configures the ingress lossless buffer service pool mapping to service-pool 1, and sets the required headroom for switch priority 3 and 4 to 1024, the exclusive headroom for switch priority 3 and 4 to 1010, and oversubscription ratio to 2. The example enables the shared headroom pool on swp10.
19391942

19401943
{{< tabs "TabID1935 ">}}
19411944
{{< tab "NVUE Commands ">}}
@@ -1945,9 +1948,8 @@ The following example assigns switch priority 3 and 4 to priority group 3, confi
19451948
cumulus@switch:~$ nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group service7 switch-priority 3,4
19461949
cumulus@switch:~$ nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group service3 service-pool 1
19471950
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom required-headroom-per-pg 1024
1948-
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom exclusive-headroom-per-pg 1024
1951+
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom exclusive-headroom-per-pg 1010
19491952
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom oversubscription-ratio 2
1950-
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom port-shared-buffer 10240
19511953
cumulus@switch:~$ nv set interface swp10 qos shared-headroom-pool enable
19521954
cumulus@switch:~$ nv config apply
19531955
```
@@ -1960,17 +1962,11 @@ Edit the `/etc/mlx/datapath/qos/qos_infra.conf` file.
19601962
```
19611963
cumulus@switch:~$ sudo nano /etc/mlx/datapath/qos/qos_infra.conf
19621964
...
1963-
flow_contriol.cos_3.lossless_pg = 3
1964-
flow_contriol.cos_4.lossless_pg = 3
1965-
...
1966-
lossless.ingress_service_pool = 1
1967-
...
1968-
shp.pg.required_headroom = 1024
1965+
# Shared headroom pool configuration
1966+
shared_headroom_pool.port_list = [swp10]
1967+
shp.pg.oversubscription_ratio = 2
19691968
shp.pg.exclusive_headroom = 1024
1970-
shp.pg. oversubscription_ratio = 2
1971-
shp.pg. port_shared_buffer = 2
1972-
...
1973-
shared_headroom_pool.port_list = swp10
1969+
shp.pg.required_headroom = 1028
19741970
```
19751971

19761972
{{< /tab >}}

0 commit comments

Comments
 (0)