port group interface

Use port group interface to bind a physical interface to an IRF port.

Use undo port group interface to remove the binding of a physical interface and an IRF port.

Syntax

port group interface interface-type interface-number

undo port group interface interface-name

Default

No physical interfaces are bound to any IRF port.

Views

IRF port view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies a physical interface by its type and number.

interface-name: Specifies a physical interface in the interface-typeinterface-number format. No space is allowed between the interface-type and interface-number arguments.

Usage guidelines

Bind a minimum of one physical interface to an IRF port for setting up an IRF connection. The upper limit varies by software version.

Use the shutdown command to shut down all ports in a port group before you bind them to or remove them from IRF ports. After the binding or binding removal operation is complete, use the undo shutdown command to bring up all the physical interfaces.

The system does not dynamically remove IRF port bindings when IRF links are lost. To remove IRF port bindings, you must use the undo port group interface command.

For more information about IRF port binding requirements, see IRF Configuration Guide.

Examples

# Bind Ten-GigabitEthernet 3/0/45 through Ten-GigabitEthernet 3/0/48 to IRF-port 3/1 on IRF member 3.

<Sysname> system-view
[Sysname] interface range ten-gigabitethernet 3/0/45 to ten-gigabitethernet 3/0/48
[Sysname-if-range] shutdown
[Sysname-if-range] quit
[Sysname] irf-port 3/1
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/45
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/46
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/47
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/48
[Sysname-irf-port3/1] quit
[Sysname] interface range ten-gigabitethernet 3/0/45 to ten-gigabitethernet 3/0/48
[Sysname-if-range] undo shutdown