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 to an IRF port.

Syntax

port group [ mdc mdc-name ] interface interface-type interface-number [ mode { enhanced | extended } ]

undo port group [ mdc mdc-name ] interface interface-name

Default

No physical interfaces are bound to an IRF port.

Views

IRF port view

Predefined user roles

network-admin

Parameters

mdc mdc-name: Specifies an MDC name, a case-sensitive string of 1 to 15 characters. If you specify an MDC, this command binds physical interfaces on the MDC to an IRF port. If you do not specify an MDC, this command binds physical interfaces on the default MDC to an IRF port.

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.

mode: Specifies a binding mode for the IRF physical interface.

enhanced: Sets the binding mode to enhanced.

extended: Sets the binding mode to extended. This mode is not supported by the IRF physical interfaces on the LSU1TGS16SC0 (JC628A) interface module. If the extended mode is used, an IRF fabric can contain a maximum of two chassis.

Usage guidelines

Execute this command multiple times to bind multiple physical interfaces to an IRF port. You can bind a maximum of 16 physical interfaces to an IRF port.

The MDC settings might lose effect after the device reboots to join an IRF fabric. As a best practice, create MDCs and bind the physical interfaces on non-default MDCs to an IRF port only after the IRF fabric is formed. For more information about MDCs, see Virtual Technologies Configuration Guide.

In IRF mode, use the shutdown command to shut down a physical interface before you bind it to or remove it from an IRF port. To bring up the physical interface after a binding or binding removal operation, use the undo shutdown command. In standalone mode, the shutdown and undo shutdown operations are not required.

Make sure the IRF physical interfaces of an IRF port use the same binding mode. In IRF mode, IRF physical interfaces of an IRF port cannot be configured to use different binding modes. In standalone mode, you can configure the IRF physical interfaces of an IRF port to use different binding modes. However, only one binding mode takes effect after the operating mode changes from standalone to IRF. The binding mode of the first IRF physical interface in the configuration file has the highest priority.

The system does not dynamically remove IRF port bindings when IRF links are lost, for example, because an interface module is removed. To remove IRF port bindings, you must use the undo port group interface command.

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

Examples

# (In standalone mode.) Bind Ten-GigabitEthernet 1/0/1 to IRF-port 1.

<Sysname> system-view
[Sysname] irf-port 1
[Sysname-irf-port1] port group interface ten-gigabitethernet 1/0/1

# (In IRF mode.) Bind Ten-GigabitEthernet 1/1/0/1 to IRF-port 1/1 on IRF member 1.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/0/1
[Sysname-Ten-GigabitEthernet1/1/0/1] shutdown
[Sysname-Ten-GigabitEthernet1/1/0/1] quit
[Sysname] irf-port 1/1
[Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/1/0/1
[Sysname-irf-port1/1] quit
[Sysname] interface ten-gigabitethernet 1/1/0/1
[Sysname-Ten-GigabitEthernet1/1/0/1] undo shutdown

Related commands

irf-port