Binding physical interfaces to IRF ports
When you bind physical interfaces to IRF ports, follow these guidelines:
Follow the restrictions in "IRF physical interface requirements."
You must always shut down a physical interface before binding it to an IRF port or removing the binding. Start the shutdown operation on the master, and then the member device that has the fewest number of hops from the master.
On a physical interface bound to an IRF port, you can execute only the following commands:
Command category | Commands | Remarks |
---|---|---|
Basic Ethernet interface commands |
| See Layer 2—LAN Switching Configuration Guide. |
LLDP commands |
| See Layer 2—LAN Switching Configuration Guide. |
To bind physical interfaces to IRF ports:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view or interface range view. |
| To shut down a range of IRF physical interfaces, enter interface range view. To shut down one IRF physical interface, enter its interface view. |
3. Shut down the interface or the range of interfaces. | shutdown | By default, all interfaces are up. |
4. Return to system view. | quit | N/A |
5. Enter IRF port view. | irf-port member-id/port-number | N/A |
6. Bind each physical interface to the IRF port. | port group interface interface-type interface-number | By default, no physical interfaces are bound to an IRF port. Repeat this step to assign multiple physical interfaces to the IRF port for link redundancy. You can bind up to eight physical interfaces to an IRF port. |
7. Return to system view. | quit | N/A |
8. Enter interface view or interface range view. |
| N/A |
9. Bring up the interface or the range of interfaces. | undo shutdown | N/A |
10. Return to system view. | quit | N/A |
11. Save the configuration. | save | Activating IRF port settings causes IRF merge and reboot. To avoid data loss, save the running configuration to the startup configuration file before you perform the operation. |
12. Activate the IRF port settings. | irf-port-configuration active | After this step is performed, the state of the IRF port changes to UP, the member devices elect a master automatically, and the subordinate device reboots automatically. After the IRF fabric is formed, you can add additional physical interfaces to an IRF port (in UP state) without repeating this step. |