Identify A NIC PortΒΆ
If you ever need to, you can have a specific port of a physical NIC on the router blink to visually identify it.
To do that, run the following command:
vsr> cmd identify-port pci-b131s0f1 duration 300
Where pci-b131s0
is the network-port
(not currently in use by the fast path) you want to identify.
The command can be interrupted before the specified duration (in seconds) by
hitting ctrl-c
.
Note
If you see the following error message:
Cannot identify NIC: Operation not supported
It means that your network adapter does not support LED control or that the port is currently managed by the fast path.
Tip
To display the list of all network-port
s and their description, you may
use the following command:
vsr> show state / network-port
network-port pci-b6s0
bus-addr 0000:06:00.0
vendor "Intel Corporation"
model "I350 Gigabit Network Connection"
mac-address 52:54:00:12:34:57
interface eth0
..
network-port pci-b131s0
bus-addr 0000:83:00.0
vendor "Intel Corporation"
model "82599ES 10-Gigabit SFI/SFP+ Network Connection"
mac-address de:ad:de:01:02:03
interface eth1
..
network-port pci-b131s0f1
bus-addr 0000:83:00.1
vendor "Intel Corporation"
model "82599ES 10-Gigabit SFI/SFP+ Network Connection"
mac-address 52:54:00:12:34:56
interface eth2
..
network-port pci-b134s0
bus-addr 0000:86:00.0
vendor "Mellanox Technologies"
model "MT27700 Family [ConnectX-4]"
mac-address 52:54:00:12:34:58
interface eth3
..
network-port pci-b134s0f1
bus-addr 0000:86:00.1
vendor "Mellanox Technologies"
model "MT27700 Family [ConnectX-4]"
mac-address 52:54:00:12:34:59
interface eth4
..
See also
The command reference for more details.