Skip to content

Commit 4161fbf

Browse files
committed
Merge branch '5.17-reviews' into stage
2 parents 2aa59d9 + 3b56625 commit 4161fbf

2 files changed

Lines changed: 34 additions & 20 deletions

File tree

content/cumulus-linux-517/Layer-2/Link-Layer-Discovery-Protocol.md

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ Cumulus Linux provides granular LLDP TLV control so that you can:
402402
- Control egress TLVs at the system level by defining a global policy for which optional TLVs the switch includes in its LLDP advertisements across all ports.
403403
- Control egress TLVs for each port by overriding the global policy on specific interfaces (suppress System Name and Management Address only on host-facing ports while keeping full TLV advertisement on fabric or uplink ports).
404404
- Control ingress TLV processing by defining which TLVs from received LLDP frames to process and store in the neighbor table, limiting information exposure even on the receive side.
405-
- Define reusable TLV profiles (host-facing-secure, fabric-full) that you can apply at both the system (global) level and for each port, simplifying configuration across large-scale deployments.
405+
- Define reusable TLV profiles (for example, host-facing-secure, fabric-full) at the system level with the `nv set system lldp tlv profile <name>` command and apply them to interfaces with the `nv set interface <ifname> lldp tlv profile <name>` command. Use the system-level egress-policy or ingress-policy for switch-wide defaults.
406406

407-
By default, all mandatory TLVs (Chassis ID, Port ID, TTL) are enabled and all optional TLVs (port description, system name, system description, system capabilities, and management address) are disabled. You can configure a global ingress or egress policy to enable optional TLVs across all ports or create a profile to enable optional TLVs and apply the profile to specific ports. You cannot configure mandatory TLVs.
407+
By default, the mandatory TLVs and the basic optional 802.1AB TLVs (port description, system name, system description, system capabilities, management address) are enabled. IEEE 802.1 TLVs (port-vlan-id, vlan-name) and DCBX QoS TLVs (dcbx-pfc, dcbx-ets-config, dcbx-ets-recomm) are disabled by default. Use the global egress or ingress policy or a profile to override these defaults.
408408

409409
### Global Configuration
410410

@@ -423,7 +423,7 @@ The following example configures a global ingress policy to transmit the port de
423423

424424
```
425425
cumulus@leaf01:mgmt:~$ nv set system lldp tlv ingress-policy port-description state enabled
426-
cumulus@leaf01:mgmt:~$ nv set system lldp tlv ingress-policymanagement-address state enabled
426+
cumulus@leaf01:mgmt:~$ nv set system lldp tlv ingress-policy management-address state enabled
427427
cumulus@leaf01:mgmt:~$ nv config apply
428428
```
429429

@@ -457,14 +457,23 @@ cumulus@leaf01:mgmt:~$ nv set interface swp50 lldp tlv profile fabric-full
457457
cumulus@leaf01:mgmt:~$ nv config apply
458458
```
459459

460+
```
461+
cumulus@leaf01:mgmt:~$ nv set system lldp tlv profile host-facing-secure description "Mandatory TLVs only for host-facing ports"
462+
cumulus@leaf01:mgmt:~$ nv set interface swp1-3 lldp tlv profile host-facing-secure
463+
cumulus@leaf01:mgmt:~$ nv config apply
464+
```
465+
460466
{{%notice note%}}
461-
- A profile overrides system defaults for an interface.
462-
- If you enabled LLDP TLVs in Cumulus Linux 5.16 and earlier for specific interfaces with the `nv set interface <interface-id> lldp <tlv-type> enabled` command, when upgrading to Cumulus Linux 5.17, the upgrade process converts the interface-specific configuration to a profile configuration using the profile name `auto-migrated-<interface-id>` and the equivalent egress-policy entries.
467+
- A profile fully replaces system defaults on the interface to which you apply it.
468+
- Inside a profile, every TLV defaults to disabled; you must enable each TLV you want.
469+
- The switch always sends the mandatory TLVs (Chassis ID, Port ID, TTL, End of LLDPDU) regardless of profile.
463470
{{%/notice%}}
464471

465-
- To show LLDP TLV profile configuration, run the `nv show system lldp tlv profile <lldp-profile-name-id>` command.
466-
- To show ingress policy configuration for an LLDP TLV profile, run the `nv show system lldp tlv profile <lldp-profile-name-id> ingress-policy` command.
467-
- To show egress policy configuration for an LLDP TLV profile, run the `nv show system lldp tlv profile <lldp-profile-name-id> egress-policy` command.
472+
To show LLDP TLV profile configuration, run the `nv show system lldp tlv profile <lldp-profile-name-id>` command.
473+
474+
To show ingress policy configuration for an LLDP TLV profile, run the `nv show system lldp tlv profile <lldp-profile-name-id> ingress-policy` command.
475+
476+
To show egress policy configuration for an LLDP TLV profile, run the `nv show system lldp tlv profile <lldp-profile-name-id> egress-policy` command.
468477

469478
### BGP Unreachable Prefix TLV
470479

@@ -491,7 +500,9 @@ cumulus@leaf01:mgmt:~$ nv config apply
491500
```
492501

493502
{{%notice note%}}
494-
You can only enable the unreachable prefix TLV in the `egress-policy` of a TLV profile; it is not supported on ingress.
503+
- The switch supports the unreachable-prefix TLV for ingress and egress.
504+
- You can see received information with the `lldpcli` command.
505+
- You can disable TLV ingress processing if necessary.
495506
{{%/notice%}}
496507

497508
### LLDP DCBX TLVs
@@ -586,7 +597,7 @@ cumulus@leaf01:mgmt:~$ nv config apply
586597
The following example disables the Link Aggregation TLV on egress for the profile LINK-AGG:
587598

588599
```
589-
cumulus@leaf01:mgmt:~$ nv set system lldp tlv profile LINK-AGG egress-policy max-frame-size state disabled
600+
cumulus@leaf01:mgmt:~$ nv set system lldp tlv profile LINK-AGG egress-policy link-aggregation state disabled
590601
```
591602

592603
#### QoS TLVs
@@ -604,9 +615,11 @@ You can transmit the following QoS TLVs. By default, all QoS TLV transmission is
604615
{{%notice info%}}
605616
Adding the QoS TLVs to LLDP packets on an interface relies on PFC and ETS configuration from `switchd`. Refer to {{<link url="Quality-of-Service" text="Quality of Service">}} for information on configuring PFC and ETS.
606617

607-
When you enable {{<link url="RDMA-over-Converged-Ethernet-RoCE" text="ROCE">}} on the switch:
608-
- QoS TLV transmission (PFC Configuration, ETS Configuration, and ETS Recommendation) is on globally for all ports, which overrides any QoS TLV transmission setting on a switch port interface.
609-
- LLDP frames for all switch port interfaces carry PFC configuration, ETS configuration, ETS recommendation, and APP Priority TLVs. The ETS configuration and PFC configuration TLV payloads are the same for all interfaces.
618+
When you enable {{<link url="RDMA-over-Converged-Ethernet-RoCE" text="ROCE">}} on the switch, NVUE writes explicit configuration that sets the DCBX QoS TLVs (dcbx-pfc, dcbx-ets-config, dcbx-ets-recomm, dcbx-app-priority) to enabled in the system-level egress-policy. You can override this in two ways:
619+
- System-wide with the `nv set system lldp tlv egress-policy <tlv> state disabled` command.
620+
- For an interface by applying a profile that disables the DCBX TLVs. The profile for an interface takes full precedence over the system-level setting.
621+
622+
When you disable RoCE, NVUE shows a warning if DCBX TLVs remain enabled at the system level, prompting you to revert if no longer needed.
610623
{{%/notice%}}
611624

612625
You enable PFC Configuration, ETS Configuration, and ETS Recommendation TLV transmission either globally or for a profile, then set the interface.
@@ -773,39 +786,39 @@ cumulus@switch:~$ nv config apply
773786
The following example unsets application priority 3 for iSCSI, then disables transmission of the application priority TLVs on swp1.
774787

775788
```
776-
cumulus@switch:~$ nv unset service lldp application-tlv app iSCSI priority 3
789+
cumulus@switch:~$ nv unset system lldp application-tlv app iSCSI priority 3
777790
cumulus@switch:~$ nv unset interface swp1 lldp application-tlv app iSCSI
778791
cumulus@switch:~$ nv config apply
779792
```
780793

781794
The following example unsets application priority 5 for NVMe using TCP port 4420, then disables transmission of the application priority TLVs on swp1.
782795

783796
```
784-
cumulus@switch:~$ nv unset service lldp application-tlv app NVME_4420 priority 5
797+
cumulus@switch:~$ nv unset system lldp application-tlv app NVME_4420 priority 5
785798
cumulus@switch:~$ nv unset interface swp1 lldp application-tlv app NVME_4420
786799
cumulus@switch:~$ nv config apply
787800
```
788801

789802
The following example unsets application priority 7 for NVMe using TCP port 8009, then disables transmission of the application priority TLVs on swp1.
790803

791804
```
792-
cumulus@switch:~$ nv unset service lldp application-tlv app NVME_8009 priority 7
805+
cumulus@switch:~$ nv unset system lldp application-tlv app NVME_8009 priority 7
793806
cumulus@switch:~$ nv unset interface swp1 lldp application-tlv app NVME_8009
794807
cumulus@switch:~$ nv config apply
795808
```
796809

797810
The following example unsets application priority 6 for the application using TCP port 4217, then disables transmission of application priority TLVs on swp1:
798811

799812
```
800-
cumulus@switch:~$ nv unset service lldp application-tlv tcp-port 4217 priority 6
813+
cumulus@switch:~$ nv unset system lldp application-tlv tcp-port 4217 priority 6
801814
cumulus@switch:~$ nv unset interface swp1 lldp application-tlv tcp-port 4217
802815
cumulus@switch:~$ nv config apply
803816
```
804817

805818
The following example unsets application priority 4 for the application using UDP port 4317, then disables transmission of application priority TLVs on swp1:
806819

807820
```
808-
cumulus@switch:~$ nv unset service lldp application-tlv udp-port 4317 priority 4
821+
cumulus@switch:~$ nv unset system lldp application-tlv udp-port 4317 priority 4
809822
cumulus@switch:~$ nv unset interface swp1 lldp application-tlv udp-port 4317
810823
cumulus@switch:~$ nv config apply
811824
```

content/cumulus-linux-517/Monitoring-and-Troubleshooting/gNMI Streaming.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,15 +1035,16 @@ User authentication is enabled by default. gNMI subscription requests must inclu
10351035
You can use your gNMI client on a host to request capabilities and data to which the gNMI agent subscribes.
10361036

10371037
{{%notice note%}}
1038-
Cumulus Linux processes gNMI client subscription create and delete requests sequentially (one at a time). The switch rejects concurrent subscription requests with a `CANCELLED: System is busy`​ gRPC status and the gNMI client must reinitiate the request with the appropriate backoff. This limitation applies only to subscription setup or teardown. After the subscription establishes, multiple subscriptions run concurrently and stream telemetry data independently.
1038+
- Cumulus Linux processes gNMI client subscription create and delete requests sequentially (one at a time). The switch rejects concurrent subscription requests with a `CANCELLED: System is busy`​ gRPC status and the gNMI client must reinitiate the request with the appropriate backoff. This limitation applies only to subscription setup or teardown. After the subscription establishes, multiple subscriptions run concurrently and stream telemetry data independently.
1039+
- For better performance, NVIDIA recommends that you enable gzip in your gNMI client tools by adding `gnmic --gzip` to the request header.
10391040
{{%/notice%}}
10401041

10411042
#### Dial-in Mode Examples
10421043

10431044
The following example shows a basic dial-in mode subscribe request in an HTTP basic authentication header:
10441045

10451046
```
1046-
gnmic subscribe --mode stream -i 10s --tls-cert gnmi_client.crt --tls-key gnmi_client.key -u cumulus -p ******* --auth-scheme Basic -a 192.168.200.3:9339 --prefix "system/cpus/cpu[index=0]" --path "state"
1047+
gnmic subscribe gnmic --gzip --mode stream -i 10s --tls-cert gnmi_client.crt --tls-key gnmi_client.key -u cumulus -p ******* --auth-scheme Basic -a 192.168.200.3:9339 --prefix "system/cpus/cpu[index=0]" --path "state"
10471048
...
10481049
```
10491050

0 commit comments

Comments
 (0)