系统转发


nv show system forwarding

显示交换机上的流量转发配置。

版本历史

在 Cumulus Linux 5.2.0 中引入

示例

cumulus@switch:~$ nv show system forwarding
                          applied
------------------------  -------
ecmp-hash                        
  destination-ip          on     
  destination-port        on     
  gtp-teid                off    
  ingress-interface       off    
  inner-destination-ip    off    
  inner-destination-port  off    
  inner-ip-protocol       off    
  inner-ipv6-label        off    
  inner-source-ip         off    
  inner-source-port       off    
  ip-protocol             on     
  ipv6-label              on     
  source-ip               on     
  source-port             on     
lag-hash                         
  destination-ip          on     
  destination-mac         on     
  destination-port        on     
  ether-type              on     
  gtp-teid                off    
  ip-protocol             on     
  source-ip               on     
  source-mac              on     
  source-port             on     
  vlan                    on     
programming                      
  log-level               info   
host-route-preference     route 

nv show system forwarding ecmp-hash

显示交换机上的流量转发 ECMP 哈希配置。

版本历史

在 Cumulus Linux 5.2.0 中引入

示例

cumulus@switch:~$ nv show system forwarding ecmp-hash
                       applied
----------------------  -------
destination-ip          on     
destination-port        on     
gtp-teid                off    
ingress-interface       off    
inner-destination-ip    off    
inner-destination-port  off    
inner-ip-protocol       off    
inner-ipv6-label        off    
inner-source-ip         off    
inner-source-port       off    
ip-protocol             on     
ipv6-label              on     
source-ip               on     
source-port             on  

nv show system forwarding ecmp-weight-normalisation

显示 ECMP 权重归一化配置设置。

版本历史

在 Cumulus Linux 5.7.0 中引入

示例

cumulus@switch:~$ nv show system forwarding ecmp-weight-normalisation
               applied  pending
-------------  -------  -------
mode           enabled  enabled
max-hw-weight  32       32  

nv show system forwarding lag-hash

显示交换机上的流量转发 LAG 哈希配置。

版本历史

在 Cumulus Linux 5.2.0 中引入

示例

cumulus@switch:~$ nv show system forwarding lag-hash
                  applied
----------------  -------
destination-ip    on     
destination-mac   on     
destination-port  on     
ether-type        on     
gtp-teid          off    
ip-protocol       on     
source-ip         on     
source-mac        on     
source-port       on     
vlan              on

nv show system forwarding programming

显示流量转发日志级别配置。

版本历史

在 Cumulus Linux 5.3.0 中引入

示例

cumulus@switch:~$ nv show system forwarding programming
          applied
---------  -------
log-level  info