新增功能
本文档支持 Cumulus Linux 5.12 版本,并列出了新的平台、功能和增强功能。
- 有关 Cumulus Linux 5.12 中已解决和未解决问题的列表,请参阅Cumulus Linux 5.12 发行说明。
- 要升级到 Cumulus Linux 5.12,请按照升级 Cumulus Linux中的步骤操作。
Cumulus Linux 5.12 中的新增功能
平台
- NVIDIA SN2201M 包括更新的参数集标识 (PSID) 和固件。您无法将交换机降级到 5.11。
新功能和增强功能
- SN5400 交换机上 SyncE 支持 1G(光纤)
- 能够通过优化的映像升级从 Cumulus Linux 5.11 升级
- RoCE 单个共享缓冲区池
- 对等组上的优雅 BGP 关闭
- 软件模块重置
- 从转发表中清除动态 MAC 地址条目
- BGP 前缀无关收敛
- 下一跳组更新期间的 ECMP 资源共享
- RADIUS 用户命令计费支持具有首次响应选项的多个服务器
- 用户帐户的 SPIFFE ID 支持
- 地址自动配置 (SLAAC)现已正式发布
- 开放遥测
- NVUE
- Traceroute 命令
- Ping 命令
- 用于监控接口流量速率和 PPS 的命令
- 用于监控磁盘使用情况的命令
- 配置其他软件包存储库
- 查找目标的路由
- 其他 nv show 命令过滤器,用于按协议、邻居状态和邻居详细信息进行过滤
- 支持使用 show 命令查看 API
- 日志记录命令
- 用于转换修订版或 yaml 配置文件的命令
- ▼ 已更改的 NVUE 命令
Cumulus Linux 5.12 Cumulus Linux 5.11 及更早版本 nv set/unset system aaa ldap server <server-id>
nv set/unset system aaa ldap hostname <hostname-id>
nv set/unset system aaa ldap server <server-id> priority <priority-id>
nv set/unset system aaa ldap hostname <hostname-id> priority <priority-id
nv set/unset system aaa tacacs server <server-id> port <port-id>
nv set/unset system aaa tacacs server <priority> port <port-id>
nv set/unset system aaa tacacs server <server-id> prefer-ip-version 6
nv set/unset system aaa tacacs server <priority> prefer-ip-version 6
nv set/unset system aaa tacacs server <server-id> secret <secret-key>
nv set/unset system aaa tacacs server <priority> secret <secret-key>
- ▼ 已删除的 NVUE 命令
nv set/unset system aaa radius enable nv set/unset system aaa tacacs enable nv set/unset system aaa ldap ssl ca-list
- ▼ 新的 NVUE 命令
有关所有 NVUE 命令的描述和示例,请参阅 Cumulus Linux 的NVUE 命令参考。
nv show interface <interface> rates nv show interface rates nv show system aaa user <user-id> spiffe-id <spiffe-id> nv show system counter rates nv show system disk usage nv show system log nv show system log file nv show system log file brief nv show system log file list nv show system log file follow nv show system log file <file-name> nv show system log file <file-name> brief nv show system log component nv show system log component <component-name> nv show system log component <component-name> file nv show system log component <component-name> file <file-name> nv show system packages nv show system packages key nv show system packages key <key-id> nv show system packages repository nv show system packages repository <repo-url-id> nv show system packages repository <repo-url-id> distribution nv show system packages repository <repo-url-id> distribution <repo-dist-id> nv show system packages repository <repo-url-id> distribution <repo-dist-id> pool nv show system packages repository <repo-url-id> distribution <repo-dist-id> pool <repo-pool-id> nv show system telemetry buffer-stats nv show system telemetry buffer-stats export nv show system telemetry health nv show system telemetry health internal-metrics nv show system telemetry health internal-metrics exporters nv show system telemetry health internal-metrics process nv show system telemetry health internal-metrics processors nv show system telemetry health internal-metrics receivers nv show system telemetry interface-stats class nv show system telemetry interface-stats class phy nv show system telemetry stats-group nv show system telemetry stats-group <stats-group-id> nv show system telemetry stats-group <stats-group-id> interface-stats nv show system telemetry stats-group <stats-group-id> interface-stats export nv show system telemetry stats-group <stats-group-id> buffer-stats nv show system telemetry stats-group <stats-group-id> buffer-stats export nv show system telemetry stats-group <stats-group-id> histogram nv show system telemetry stats-group <stats-group-id> histogram export nv show system telemetry stats-group <stats-group-id> router nv show system telemetry stats-group <stats-group-id> router export nv show system telemetry stats-group <stats-group-id> control-plane-stats nv show system telemetry stats-group <stats-group-id> control-plane-stats export nv show system telemetry stats-group <stats-group-id> platform-stats nv show system telemetry stats-group <stats-group-id> platform-stats export nv show system telemetry stats-group <stats-group-id> platform-stats class nv show system telemetry stats-group <stats-group-id> platform-stats class cpu nv show system telemetry stats-group <stats-group-id> platform-stats class disk nv show system telemetry stats-group <stats-group-id> platform-stats class file-system nv show system telemetry stats-group <stats-group-id> platform-stats class environment-sensor nv show system telemetry stats-group <stats-group-id> platform-stats class memory nv show system telemetry router nv show system telemetry router export nv show system telemetry router bgp nv show system telemetry router bgp export nv show system telemetry router rib nv show system telemetry router rib export nv show system telemetry router vrf nv show system telemetry router vrf <vrf-id> nv show system telemetry router vrf <vrf-id> bgp nv show system telemetry router vrf <vrf-id> bgp export nv show system telemetry router vrf <vrf-id> bgp peer nv show system telemetry router vrf <vrf-id> bgp peer <neighbor-id> nv show system telemetry router vrf <vrf-id> bgp peer <neighbor-id> export nv show system telemetry router vrf <vrf-id> rib nv show system telemetry router vrf <vrf-id> rib export
nv set system aaa radius accounting send-records nv set system aaa ldap server <server-id> nv set system aaa ldap server <server-id> priority nv set system aaa tacacs server <server-id> nv set system aaa tacacs server <server-id> port nv set system aaa tacacs server <server-id> prefer-ip-version nv set system aaa tacacs server <server-id> priority nv set system aaa tacacs server <server-id> secret nv set system aaa user <user-id> spiffe-id <spiffe-id> nv set system counter rates load-interval nv set system packages repository <repository> distribution <distribution> pool <pool> nv set system packages repository <repository> insecure nv set system packages repository <repository> key <key> nv set system packages repository <repository> source nv set system packages use-vrf nv set system telemetry export otlp grpc destination <destination-id> stats-group <value> nv set system telemetry buffer-stats export state nv set system telemetry buffer-stats sample-interval nv set system telemetry interface-stats class phy state nv set system telemetry router bgp export state nv set system telemetry router rib export state nv set system telemetry router sample-interval <interval> nv set system telemetry router vrf <vrf> bgp export state nv set system telemetry router vrf <vrf> bgp peer <peer-id> export state nv set system telemetry router vrf <vrf> rib export state nv set system telemetry router bgp export state nv set system telemetry stats-group <stats-group-id> nv set system telemetry stats-group <stats-group-id> interface-stats export state nv set system telemetry stats-group <stats-group-id> interface-stats sample-interval nv set system telemetry stats-group <stats-group-id> buffer-stats export state nv set system telemetry stats-group <stats-group-id> buffer-stats sample-interval nv set system telemetry stats-group <stats-group-id> histogram export state nv set system telemetry stats-group <stats-group-id> router export state nv set system telemetry stats-group <stats-group-id> router sample-interval <interval> nv set system telemetry stats-group <stats-group-id> control-plane-stats export state nv set system telemetry stats-group <stats-group-id> control-plane-stats sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats export state nv set system telemetry stats-group <stats-group-id> platform-stats export sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats class cpu state nv set system telemetry stats-group <stats-group-id> platform-stats class cpu sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats class disk state nv set system telemetry stats-group <stats-group-id> platform-stats class disk sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats class file-system state nv set system telemetry stats-group <stats-group-id> platform-stats class file-system sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats class environment-sensor state nv set system telemetry stats-group <stats-group-id> platform-stats class environment-sensor sample-interval nv set system telemetry stats-group <stats-group-id> platform-stats class memory state nv set system telemetry stats-group <stats-group-id> platform-stats class memory sample-interval nv set qos roce mode lossless-single-ipool nv set vrf <vrf> router bgp peer-group <peer-group-id> graceful-shutdown nv set vrf <vrf> router bgp address-family <address-family> advertise-origin nv set vrf <vrf> router bgp address-family <address-family> nhg-per-origin
nv unset system aaa radius accounting send-records nv unset system aaa ldap server <server-id> nv unset system aaa ldap server <server-id> priority nv unset system aaa tacacs server <server-id> nv unset system aaa tacacs server <server-id> port nv unset system aaa tacacs server <server-id> prefer-ip-version nv unset system aaa tacacs server <server-id> priority nv unset system aaa tacacs server <server-id> secret nv unset system aaa user <user-id> spiffe-id <spiffe-id> nv unset system counter rates load-interval nv unset system packages repository <repository> distribution <distribution> pool <pool> nv unset system packages repository <repository> insecure nv unset system packages repository <repository> key <key> nv unset system packages repository <repository> source nv unset system packages use-vrf nv unset system telemetry export otlp grpc destination <destination-id> stats-group <value> nv unset system telemetry buffer-stats export state nv unset system telemetry buffer-stats sample-interval nv unset system telemetry interface-stats class phy state nv unset system telemetry router bgp export state nv unset system telemetry router rib export state nv unset system telemetry router sample-interval <interval> nv unset system telemetry router vrf <vrf> bgp export state nv unset system telemetry router vrf <vrf> bgp peer <peer-id> export state nv unset system telemetry router vrf <vrf> rib export state nv unset system telemetry router bgp export state nv unset system telemetry stats-group <stats-group-id> nv unset system telemetry stats-group <stats-group-id> interface-stats export state nv unset system telemetry stats-group <stats-group-id> interface-stats sample-interval nv unset system telemetry stats-group <stats-group-id> buffer-stats export state nv unset system telemetry stats-group <stats-group-id> buffer-stats sample-interval nv unset system telemetry stats-group <stats-group-id> histogram export state nv unset system telemetry stats-group <stats-group-id> router export state nv unset system telemetry stats-group <stats-group-id> router sample-interval <interval> nv unset system telemetry stats-group <stats-group-id> control-plane-stats export state nv unset system telemetry stats-group <stats-group-id> control-plane-stats sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats export state nv unset system telemetry stats-group <stats-group-id> platform-stats export sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats class cpu state nv unset system telemetry stats-group <stats-group-id> platform-stats class cpu sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats class disk state nv unset system telemetry stats-group <stats-group-id> platform-stats class disk sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats class file-system state nv unset system telemetry stats-group <stats-group-id> platform-stats class file-system sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats class environment-sensor state nv unset system telemetry stats-group <stats-group-id> platform-stats class environment-sensor sample-interval nv unset system telemetry stats-group <stats-group-id> platform-stats class memory state nv unset system telemetry stats-group <stats-group-id> platform-stats class memory sample-interval nv unset qos roce mode lossless-single-ipool nv unset vrf <vrf> router bgp peer-group <peer-group-id> graceful-shutdown nv unset vrf <vrf> router bgp address-family <address-family> advertise-origin nv unset vrf <vrf> router bgp address-family <address-family> nhg-per-origin
nv action clear bridge domain <bridge-id> mac-table dynamic nv action clear bridge domain <bridge-id> mac-table dynamic interface <interface-id nv action clear bridge domain <bridge-id> mac-table dynamic vlan <vlan-id> nv action clear bridge domain <bridge-id> mac-table dynamic interface <interface-id> vlan <vlan-id> nv action clear bridge domain <domain-id> mac-table dynamic mac <mac-address> vlan <vlan-id> nv action clear bridge domain <domain-id> mac-table dynamic mac <mac-address> interface <interface-id> nv action clear bridge domain <domain-id> mac-table dynamic mac <mac-address> vlan <vlan-id interface <interface-id> nv action delete system log component <component-name> file <file-name>` nv action delete system log file <file-name> nv action delete system packages key <key> nv action fetch system packages key <key> nv action fetch system packages key <key> scope repository nv action fetch system image files nv action lookup vrf <vrf-id> router fib <address-family> <ip-address> nv action ping system <destination> nv action ping system <destination> count nv action ping system <destination> interval nv action ping system <destination> size nv action ping system <destination> wait nv action ping system <destination> do-not-fragment nv action ping system <destination> source <source-ip-address> nv action ping system <destination> vrf nv action ping system <destination> l3protocol nv action ping system <destination> source-interface <interface> nv action reset platform transceiver <port> nv action traceroute system <destination> nv action traceroute system <destination> do-not-fragment nv action traceroute system <destination> initial-ttl nv action traceroute system <destination> l3protocol nv action traceroute system <destination> l4protocol nv action traceroute system <destination> max-ttl nv action traceroute system <destination> source <source-ip-address> nv action traceroute system <destination> vrf nv action traceroute system <destination> wait
nv config translate revision nv config translate filename <filename>
发行注意事项
在升级到 Cumulus Linux 5.12 之前,请查看以下注意事项。
Linux 配置文件被覆盖
如果您使用 Linux 命令配置交换机,请在升级到 Cumulus Linux 5.12.0 或更高版本之前阅读以下信息。
Cumulus Linux 包含默认的 NVUE startup.yaml
文件。此外,默认情况下启用 NVUE 配置自动保存。因此,当交换机在升级后重新启动或您使用 Linux passwd
命令更改 cumulus
用户帐户密码时,Cumulus Linux 会覆盖对交换机上的 Linux 配置文件所做的任何手动更改。
只有当您使用 Linux 命令配置交换机时,才会出现这些问题。如果您使用 NVUE 命令配置交换机,则不会出现这些问题,也无需采取任何措施。
为了防止 Cumulus Linux 在交换机重新启动或使用 passwd
命令更改 cumulus
用户帐户密码时覆盖对 Linux 配置文件的手动更改,请在之前升级到 5.12.0 或更高版本,或者在新的二进制映像安装后执行以下步骤
- 禁用 NVUE 自动保存
cumulus@switch:~$ nv set system config auto-save state disabled
cumulus@switch:~$ nv config apply
cumulus@switch:~$ nv config save
删除
/etc/nvue.d/startup.yaml
文件cumulus@switch:~$ sudo rm -rf /etc/nvue.d/startup.yaml
将
PASSWORD_NVUE_SYNC=no
行添加到/etc/default/nvued
文件cumulus@switch:~$ sudo nano /etc/default/nvued PASSWORD_NVUE_SYNC=no
带有主机名选项的 DHCP 租约
当启用 NVUE 的 Cumulus Linux 交换机收到包含主机名选项的 DHCP 租约时,它会忽略收到的主机名并且不应用它。有关详细信息,请参阅此知识库文章。
升级后的 NVUE 命令
Cumulus Linux 5.12 包含 NVUE 对象模型。升级到 Cumulus Linux 5.12 后,运行 NVUE 配置命令可能会覆盖现在可以使用 NVUE 配置的功能的配置,并删除您手动添加到文件或使用 Ansible、Chef 或 Puppet 等自动化工具添加的配置。要保留您的配置,您可以执行以下操作之一
- 更新您的自动化工具以使用 NVUE。
- 配置 NVUE 以忽略某些底层 Linux 文件,以在应用配置更改时。
- 对所有交换机配置使用 Linux 和 FRR (vtysh) 命令,而不是 NVUE。