Physical Link Parameters¶
Unlike the MAC and MTU parameters which are applicable to all
Ethernet interfaces, the following settings are only applicable to physical
interfaces (i.e., interfaces backed by a physical PCI port).
See also
The command reference for details.
Auto-Negotiation¶
Even though it is often left enabled, auto-negotiation may be changed to cope with certain physical connections.
vsr running config# / vrf main interface physical eth1 ethernet auto-negotiate false
Duplex Mode¶
By default, this setting is negotiated automatically with the connected
endpoint. When auto-negotiation is set to false, you must specify
the duplex mode of the connection.
vsr running config# / vrf main interface physical eth1 ethernet duplex-mode full
Port Speed¶
By default, this setting is negotiated automatically with the connected
endpoint. When auto-negotiation is set to false, you must specify
the port speed.
vsr running config# / vrf main interface physical eth1 ethernet port-speed 10gb
Flow Control¶
Pause frames are used by the NIC to ask a peer to slow down. It can be configured to automatically send pause frames as soon as the receive buffer is getting low, and to accept or not pause frames from other devices.
The default settings vary with hardware and device drivers. You may force them with the following commands:
vsr running config# / vrf main interface physical eth1 ethernet flow-control-tx false
vsr running config# / vrf main interface physical eth1 ethernet flow-control-rx false
Configuring VLAN extended filter¶
Some NICs do not receive VLAN packets, even with the promiscuous mode enabled, due to the VLAN filtering. This can result in packets coming from unknown VLAN IDs not being accepted.
To address this limitation, the following command enables managing a list of
VLANs that must be ignored by the VLAN filtering. In this example, the VLAN
IDs 50, 5 to 10, and 400 to 410 are authorized on the physical interface eth1.
vsr running config# / vrf main interface physical eth1 vlan-extended-filter allow-vlan-id 5-10
vsr running config# / vrf main interface physical eth1 vlan-extended-filter allow-vlan-id 50
vsr running config# / vrf main interface physical eth1 vlan-extended-filter allow-vlan-id 400-410
For some NICs receiving VLAN untagged traffic will add VLAN 0 to the VLAN filtering list, causing issues if those NICs also have a very low VLAN filtering capacity.
To prevent this, the following command specifies whether the VLAN 0 can be added to the VLAN filtering or not. When set to false, it will restrain VLAN 0 from being added to the VLAN filtering list.
vsr running config# / vrf main interface physical eth1 vlan-extended-filter allow-vlan-zero false
Warning
There is a limitation on the ixgbe NIC; up to 64 VLANs can be set regardless of their ID. Any VLAN set after exceeding this limit will be ignored.