16
To return to the CLI of the master switch, use the
quit
command.
Examples
# Log in to the CLI of IRF member switch 2.
<Sysname> system-view
[Sysname] irf switch-to 2
<Sysname-Slave#2>
irf-port
Syntax
irf-port
member-id
/
port-number
undo irf-port
member-id
/
port-number
View
System view
Default level
3: Manage level
Parameters
member-id
/
port-number
: IRF port number, where
member-id
represents the ID of the IRF member switch
.
The
port-number
argument specifies the port number, and the value can be 1 or 2.
Description
Use the
irf-port
command to create an IRF port and enter IRF port view. If the IRF port is already created,
you enter IRF port view directly.
Use the
undo
irf-port
command to delete an IRF port.
By default, no IRF port is created on the switch.
IRF ports are virtual ports. An IRF port is available only after you bind a physical port to it.
Related commands:
port group interface
.
Examples
# Create IRF port IRF-port 1 for IRF member switch 3, and bind this port to physical IRF port
Ten-GigabitEthernet 3/1/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/1/1
[Sysname-Ten-GigabitEthernet3/1/1] shutdown
[Sysname-Ten-GigabitEthernet3/1/1] quit
[Sysname] irf-port 3/1
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/1/1
[Sysname-irf-port3/1] quit
[Sysname] interface ten-gigabitethernet 3/1/1
[Sysname-Ten-GigabitEthernet3/1/1] undo shutdown