天天看点

CentOS 8 网卡命令使用

CentOS 8 网卡命令使用

nmcli命令整理

用nmcli命令查看网卡信息

CentOS 8 网卡命令使用

查看网卡设备详细信息

命令nmcli device show

CentOS 8 网卡命令使用

查看网卡设备状态

命令 nmcli device status

CentOS 8 网卡命令使用
启用命令

nmcli connection up ens33

CentOS 8 网卡命令使用
停止命令

nmcli connection down eth0(可被自动激活)