Hướng dẫn ethtool cheat sheet - ethtool cheat sheet


Linux Lệnh#mạng

Ethtool - Hiển thị hoặc thay đổi Cài đặt thẻ Ethernet

Mục lục

       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]

       -i --driver
              queries the specified ethernet device for associated driver information.

       -k --show-offload
              queries the specified ethernet device for offload information.

Thí dụ

Kiểm tra

# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes

-S --change

       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on

-i --driver

       -i --driver
              Queries the specified network device for associated driver information.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1

show-offload

       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off

Ethtool

Truy vấn hoặc Cài đặt trình điều khiển mạng và phần cứng của Truy vấn hoặc Điều khiển

ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

Để truy vấn thống kê giao diện

trong đó [n] là số giây để nhấp nháy

Kiểm tra phần cứng mạng

mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok

Thay đổi tự động đàm phán

# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
0

Thay đổi tốc độ

# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
1

Hiển thị cài đặt trình điều khiển Ethernet

Hiển thị tự động đàm phán, RX và TX

Hiển thị số liệu thống kê mạng

Sử dụng Linux để kết nối hoàn toàn hợp nhất ngăn xếp mạng. Việc chuyển đổi từ các hệ điều hành mạng truyền thống rất dễ dàng và có thể được thực hiện với bộ kỹ năng hiện có. Bảng gian lận tiện dụng này là một tài liệu tham khảo nhanh khi bạn học và sử dụng NVIDIA® Cumulus® Linux. Nó có tính năng Linux bản địa phổ biến nhất, cũng như các lệnh Cumulus NVUE, với các giải thích về cách sử dụng chúng.
This handy cheat sheet is a quick reference as you learn and use NVIDIA® Cumulus® Linux. It features the most common native Linux, as well as Cumulus NVUE, commands with explanations on how to use them.

Các lệnh Linux phổ biến

sudo
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
2run một lệnh trong root
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
2Run a command in root
Menu Trợ giúp người đàn ông
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
3Display cho chương trình
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
3Display help menu for program
giết
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
4HALT bằng cách xử lý-ID
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
4Halt process by process-id
Killall
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
5Halt bất kỳ quy trình nào dựa trên tên
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
5Halt any processes based on a name
Lịch sửDisplay đã nhập các lệnh gần đây
Display recently entered commands
sudo khởi động lại công tắc ngay lập tức
Reboot the switch immediately
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6 -hdisplay Lệnh trợ giúp menu-h
Display commands help menu
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6 & gửi lệnh thực thi lệnh đến nền (sử dụng FG FG để gửi lệnh đến tiền cảnh)&
Send command execution to the background
(use “fg” to send command to the foreground)

Các lệnh quản trị người dùng Linux

sudo adduser
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Add một người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Add a user
sudo userdel -r
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Delete một người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Delete a user
sudo passwd
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Change Mật khẩu người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Change a user password
sudo passwd -l
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8 có thể sử dụng được người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Disable a user
ID
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Display Thông tin người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Display user information
whodisplay tất cả người dùng đăng nhập và hoạt động của họ
Display all logged-in users and their activity
whoamidisplay người dùng đăng nhập hiện tại
Display the current logged-in user
SU
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Switch Người dùng
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
8Switch user
LastDisplay Đăng nhập cuối cùng của (các) người dùng
Display last login of a user(s)
Thoát khỏi phiên hiện tại
Logout of the current session

Linux giám sát và khắc phục các lệnh

TopView CPU thời gian thực/thông tin bộ nhớ
View real-time CPU/memory info
MIỄN PHÍ -Mshow Memory miễn phí trong MB
Show free memory in MB
PS phụ trợ tất cả các quy trình đang chạy
Show all running processes
Tối ưu hóa thông tin thời gian hoạt động
Display uptime info
NSLOOKUP
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
4Perform DNS Tra cứu
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
4Perform DNS lookup
Truy vấn NTPQ -PNPERFORM
Perform ntp query
ngày báo hiệu ngày và giờ hiện tại
Print the current date and time
TCPDUMP -I
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5COLLECT Traffic Traff
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Collect control plane traffic from an interface
rõ ràng màn hình dòng lệnh
Clear a command-line screen
Smonctl -Vshow PSU/FAN/TEMP Thông tin
Show PSU/FAN/Temp information
Ping
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
6 Keeck Trạng thái kết nối với IP từ xa
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
6Check connectivity status to remote IP
Sudo CL-SupportCreate Một tệp lưu trữ để khắc phục sự cố.A Tệp TAR sẽ được tạo trong thư mục/var/hỗ trợ/.
Create an archive file for troubleshooting.
A tar file will be created in the /var/support/ directory.

Làm việc với các tệp và thư mục

Nano
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Edit một tệp văn bản
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Edit a text file
Phân cấp hệ thống tập tin Treeshow
Show filesystem hierarchy
Tên thư mục hiện tại PWDPrint
Print current folder name
đầu -n 5
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display 5 dòng của một tệp
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display top 5 lines of a file
đuôi -n 5
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display 5 dòng cuối cùng của một tệp
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display last 5 lines of a file
Tail -f
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Follow File và Disaplay Neak Dòng
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Follow file and disaplay new lines
MKDIR
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
1Make thư mục mới
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
1Make new folder
CD
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
1Change vào thư mục khác nhau
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
1Change into different folder
ls -lhalist Các tệp trong thư mục hiện tại
List the files in the current folder
Tìm / -Name
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7find có tên
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
4
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Find file named
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
4
Tìm / -Name
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
5find File_Name chứa
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
5Find file_name containing
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
Chmod 777
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7 Quyền tệp cho tất cả
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Change file permissions to all
MV
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
8 ________ 39move/Đổi tên một tệp
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
8
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Move/rename a file
CP
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
8
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Copy một tệp
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
8
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Copy a file
RM
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Delete một tệp
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Delete a file
Chown
       -i --driver
              Queries the specified network device for associated driver information.
3
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Change Quyền sở hữu tập tin
       -i --driver
              Queries the specified network device for associated driver information.
3
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Change file ownership
grep
       -i --driver
              Queries the specified network device for associated driver information.
5
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Search cho một văn bản
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
       -i --driver
              Queries the specified network device for associated driver information.
5
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Search file for a text
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
Chạm vào
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7 tạo ra một tệp mới
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Create a new file
Cat
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display một tệp văn bản
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
7Display a text file
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6>
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9REDIRECT STADNDARD Lệnh đầu ra vào tệp.e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
2>
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Redirect stadndard command output to a file.
e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
2
Mèo
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
3 | grep
       -i --driver
              Queries the specified network device for associated driver information.
5>
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9filter Một chương trình/tệp đầu ra vào một tệp.e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
6
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
3 | grep
       -i --driver
              Queries the specified network device for associated driver information.
5 >
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Filter one program’s/files output to a file.
e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
6
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6 &>
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Redirect Stadndard Đầu ra và lỗi tiêu chuẩn cho một tệp.e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
9& >
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
9Redirect stadndard command output and Standard error to a file.
e.g.
# ethtool -i eth3
driver: tg3
version: 3.119
firmware-version: 5715s-v3.28
bus-info: 0000:07:04.1
9

NVUE (Trải nghiệm người dùng NVIDIA) Các lệnh chung

danh sách NV-CommandSlist Tất cả các lệnh NVUE
List all NVUE commands
NV Show
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
0
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
1Show Cấu hình hệ thống
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
0
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
1Show system configuration
NV SET
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
1Modify system configurations
NV unset
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
1Remove Thuộc tính cấu hình hệ thống
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
1Remove system configurations attribute
Cấu hình NV ________ 12Manage/Áp dụng cấu hình hệ thống
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
2Manage/Apply system configurations
NV
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6 -Hshow lệnh sử dụng với tất cả các tùy chọn và thuộc tính của nó
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
6 -h
Show command usage with all its options and attributes

Các lệnh phần mềm và phần cứng hệ thống

SUDO -E APT DANH SÁCH
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
6Show the list of packages based on package name
(all if
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
7 not specified)
sudo -e apt -get install
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
6install một gói từ kho lưu trữ
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
6Install a package from the repository
sudo -e apt -get updateUpdate gói cho các phiên bản mới nhất
Update software packages to latest versions
sudo apt-cache tìm kiếm
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
9Look cho các gói chứa
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
9Look for packages containing
ethtool -s eth0 speed 100 duplex full autoneg off
ethtool -s eth0 autoneg on
6
sudo systemctl
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
1 ________ 72.ServiceControl Thực hiện hiện tại của một dịch vụ
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
1
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
2.service
Control current execution of a service
sudo systemctl
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
3 ________ 72.ServiceSet/Unset a Service Để bắt đầu khi khởi động hệ thống
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
3
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
2.service
Set/unset a service to start on system boot
Phiên bản phần mềm chính xác của mèo /etc /hình ảnh
Show precise software version
NV Hiển thị hệ thống Globalshow Switch Cấu hình toàn cầu
Show switch global configuration
Phần mềm NV Show Platform được cài đặt
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
7How Một gói phần mềm được cài đặt cụ thể trên công tắc (tất cả nếu
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
7 không được chỉ định)
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
7
Show a specific installed software package on the switch
(all if
       -k --show-features --show-offload
              Queries the specified network device for the state of protocol offload and other features.
7 not specified)
NV hiển thị nền tảng capabilitiesshow thông tin phần cứng
Show switch hardware information
NV hiển thị phần cứng nền tảng
# ethtool -k eth3
Offload parameters for eth3:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off
generic-receive-offload: off
7
Show switch hardware information
NV Hiển thị nền tảng Phần cứng Thiết bị thành phần FanShow Switch PSU/FAN/TEMP Thông tin
Show switch PSU/FAN/Temp information

Làm việc với giao diện

Sử dụng các lệnh Linux

IP Addr hiển thị
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Layer 2 và 3 Trạng thái giao diện
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Layer 2 and 3 interface status
CL-NETSTATDISPLAY Bộ đếm
Display interfaces counters
IFUP
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5et Port Admin
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Set port admin UP
IFDOWN
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5SET Cổng quản trị viên
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Set port admin DOWN
IFRELOAD -Aapply Cấu hình giao diện thay đổi
Apply interface configuration changes
IP Addr Set
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

1 Dev
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Set Địa chỉ IP và mặt nạ đến giao diện
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

1 dev
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Set IP address and mask to an interface
ifquery -sshow tất cả các từ khóa giao diện
Show ALL interface keywords
IFQuery -Ashow Giao diện Cấu hình (sẽ được áp dụng)
Show interfaces config (to be applied)
Ethtool
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5 Show Thông tin bộ thu phát
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Show transceiver information
Ethtool -S
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5 Show Thống kê cổng
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Show port statistics
ETHTOOL -S
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 TỐC ĐỘ
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

6 SET
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 speed
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

6Set physical interface's speed
IP Monitor LinkMonitor thay đổi trạng thái liên kết trong thời gian thực
Monitor changes to link state in real time

Sử dụng các lệnh NVUE

NV hiển thị trạng thái giao diện cấp độ giao diện
High-level interfaces status
Giao diện NV Hiển thị
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Detailed Trạng thái và bộ đếm
       ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii] [mdix auto|on|off] [autoneg on|off]
              [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...]  [sopass xx:yy:zz:aa:bb:cc]
              [msglvl N | msglvl type on|off ...]
5Detailed interface status and counters
Giao diện NV SET
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 link state down
Administratively disable physical port
Giao diện NV Set
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 Liên kết trạng thái nâng cao Cổng vật lý (theo mặc định, tất cả các cổng Ethernet đều bị vô hiệu hóa)
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 link state up
Administratively enable physical port
(by default all ethernet ports are disabled)
Giao diện NV SET
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 Địa chỉ IP
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
1Set Địa chỉ IP đến cổng Lớp 3 vật lý hoặc Loopback
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 ip address
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
1Set IP address to physical layer 3 port or loopback
NV SET
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 miền cầu Br_DefaultCreates một cây cầu mặc định và đặt cổng vật lý làm thành viên của nó
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 bridge domain br_default
Creates a default bridge and sets physical port/s as its member
Giao diện NV unset
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 Địa chỉ IP Địa chỉ IP từ một inteface (SVI/Lớp 3/LO)
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 ip address
Unset IP address from an inteface (SVI/layer 3/Lo)
NV Đặt giao diện Vlan
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
4 Địa chỉ IP
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
1Create và đặt địa chỉ IP thành Cổng Lớp 3 logic (SVI)
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
4 ip address
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
1Create and set IP address to logical layer 3 port (SVI)
Giao diện NV SET
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
6 Thành viên trái phiếu
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
7Create Bond (LAG) Giao diện và đặt (các) thành viên vật lý thành nó
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
6 bond member
mii-tool eth0
eth0: no autonegotiation, 1000baseT-FD flow-control, link ok
7Create bond(LAG) interface and set physical member(s) into it
Giao diện NV SET
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 Tốc độ liên kết
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

6Set Giao diện vật lý
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 link speed
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

6Set physical interface's speed
Giao diện NV Hiển thị
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
01Show interface's configuration
Giao diện NV Set
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 Liên kết đột phá
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
03Breakout Giao diện vật lý theo các tùy chọn được hỗ trợ
ethtool eth0
Settings for eth0:
  Supported ports: [ TP ]
  Supported link modes:   10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Supports auto-negotiation: Yes
  Advertised link modes:  10baseT/Half 10baseT/Full 
                          100baseT/Half 100baseT/Full 
                          1000baseT/Full 
  Advertised pause frame use: No
  Advertised auto-negotiation: Yes
  Speed: 1000Mb/s
  Duplex: Full
  Port: Twisted Pair
  PHYAD: 0
  Transceiver: internal
  Auto-negotiation: on
  MDI-X: Unknown
  Supports Wake-on: d
  Wake-on: d
  Current message level: 0x00000007 (7)
  Link detected: yes

5 link breakout
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
03Breakout physical interfaces according to the supported options

Các tập tin nhật ký quan trọng

CAT/VAR/LOG/APTLOGS cho tiện ích apt
Logs for apt utility
CAT/VAR/LOG/AUDIT/*Nhật ký cho Dịch vụ Auditd
Logs for auditd service
CAT/VAR/LOG/SYSLOGTHE SYST SYST
The main system log
Trạng thái CAT/VAR/LOG/CLAGDLOGS của dịch vụ Clagd
Logs status of the clagd service
Cat /var/log/frr/frr.loglocation của nhật ký frrouting (nếu được bật)
Location of the FRRouting log (if enabled)
Cat /var/log/rdnbrd.loglogs cho người hàng xóm phân phối lại
Logs for redistribute neighbor
Cat /var/log/netd.loglog cho NVUE
Log file for NVUE
Tệp CAT/VAR/LOG/PTMDLOGS cho dịch vụ PTMD
Logs file for ptmd service
Cat /var/log/switchd.logthe HAL Nhật ký cho Nvidia Cumulus Linux
The HAL log for NVIDIA Cumulus Linux
Đầu ra CAT/VAR/LOG/AutoProvisionLogs được tạo bằng cách chạy tập lệnh ZTP
Logs output generated by running the ZTP script
cat /var/log/dpkg.loglog cho các gói được thêm hoặc xóa bằng lệnh dpkg
Log file for packages added or removed using dpkg command
Cat/var/log/installer/*Thư mục chứa các tệp liên quan đến cài đặt NVIDIA Cumulus Linux
Directory containing files related to the NVIDIA Cumulus Linux installation
DMESG (tin nhắn trình điều khiển) là một lệnh in buff thông báo của kernel
(driver message) is a command that prints the message buff of the kernel

Quản lý cấu hình với các lệnh NVUE

Cấu hình NV áp dụng ứng dụng cấu hình đang chờ xử lý
Applies the pending configuration
NV config detyDetaches Cấu hình từ hiện tại đang chờ xử lý
Detaches the configuration from the current pending
Cấu hình NV SaveOverWrites Cấu hình khởi động với cấu hình được áp dụng (ghi vào
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
04). Cấu hình này vẫn tồn tại sau khi khởi động lại.
Overwrites startup configuration with the applied configuration (writes to
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
04). This configuration persists after reboot.
NV Config Diff
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
05
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
06Compares giữa hai loại cấu hình (ví dụ:
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
07 so với
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
08)
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
05
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
06Compares between two configuration types (e.g.
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
07 vs.
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
08)
Lịch sử cấu hình NV
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09 Lịch sử cấu hình ứng dụng cho bản sửa đổi
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09
Shows applied configuration history for the revision
Bản vá cấu hình NV
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09Updates Cấu hình đang chờ xử lý với tệp YAML
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09
Updates pending configuration with a YAML file
Cấu hình NV thay thế
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09REPLACE đang chờ cấu hình với tệp yaml
# ethtool eth3
Settings for eth3:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes
09
Replaces pending configuration with a YAML file