Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Overriding interface names based on hardware bindings

Consider a scenario in which interfaces map to PCI slots as shown in the following table.

Table 1. Mapping of interface names to PCI slots
Interface name PCI slot
dp0s4 4
dp0s5 5
dp0s6 6

To override the interface names, you must configure hardware binding by using the set interfaces dataplane interface-name hardware pci-slot slot-number command, as shown in the following example.

Table 2. Overriding interface names
Step Command
Create new placeholder interface names.
Note: Do not move your management interface if you are on a Telnet or SSH console.
vyatta@R1# set interfaces dataplane dp0s1 hardware pci-slot 4
[edit]
vyatta@R1# set interfaces dataplane dp0s2 hardware pci-slot 5
[edit]
vyatta@R1# set interfaces dataplane dp0s3 hardware pci-slot 6
[edit]
Commit your changes.
vyatta@R1# commit
[edit]
Save your changes.
vyatta@R1# save
[edit]
Exit the configuration mode.
vyatta@R1# exit
logout
Reboot your
vyatta@R1:~$ reboot
Verify that you have correctly configured the override of the interface names.
vyatta@R1:~$ show interfaces dataplane
Apply the configuration of dp0s4, dp0s5 and dp0s6 to dp0s1, dp0s2 and dp0s3, respectively.
vyatta@R1:~$ configure
...
Delete the configuration for the dp0s4, dp0s5, and dp0s6 interfaces.
vyatta@R1# delete interface dataplane dp0s4
[edit]
vyatta@R1# delete interface dataplane dp0s5
[edit]
vyatta@R1# delete interface dataplane dp0s6
[edit]
Commit your changes.
vyatta@R1# commit
[edit]
Save your changes.
vyatta@R1# save
[edit]
Exit the configuration mode.
vyatta@R1# exit
logout