A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?
Deprecated Linux networking commands and their replacements: ip, netstat and others
https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
The command that can be used to check the link status of a network interface named eth1 in a Linux server is option D, ip link show eth1.
The ip command is used to show or manipulate the network interfaces on a Linux system. The link option is used to display or modify the attributes of a network device, and the show option is used to display the specified device.
To check the link status of eth1, the following command can be used:
ip link show eth1
This command will display information about the eth1 network interface, including its status and any configured options.
The command "ip link show eth1" is the correct command to check the link status of the network interface named eth1 in a Linux server.
The "ip" command is part of the iproute2 suite of networking tools, which provides a more advanced and flexible way of managing network interfaces compared to the traditional ifconfig command. The "link" subcommand of "ip" can be used to show information about network interfaces, including the link status. By adding the interface name (eth1), the command will only show information about the specified interface.
The "ip link show eth1" command will display information about the eth1 interface, including the current status of the link, the speed and duplex of the connection, and the MTU (maximum transmission unit) of the interface. If the link is up and running, the status of the interface will be "UP", and if there is an issue with the link, the status will be "DOWN".
looks like ip link show is the correct command as netstat -r is meant to view route information, and not the status of a network interface
upvoted 3 times
...
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Alizadeh
8 months, 3 weeks agoangellorv
1 year agolinux_admin
1 year, 2 months agoKnifeClown1
1 year, 2 months agoCkl22
1 year, 4 months agoCkl22
1 year, 4 months ago