HP 6125G HP 6125G & 6125G/XG Blade Switches IRF Command Reference-R210 - Page 17

irf-port, irf-port-configuration active, Examples, Syntax, Default level, Parameters, Description

Page 17 highlights

Examples # Log in to the CLI of IRF member switch 2. system-view [Sysname] irf switch-to 2 irf-port Syntax irf-port member-id/port-number View undo irf-port member-id/port-number System view Default level 3: Manage level Parameters member-id/port-number: Specifies an IRF port number. The member-id argument represents the IRF member ID. The port-number argument represents the index of the port on the member switch, and must be 1 or 2. Description Use irf-port to enter IRF port view. Use undo irf-port to remove all port bindings on an IRF port. To set up an IRF link between two switches, you must enter IRF port view to bind physical ports to the IRF port used by each switch for IRF connection. Before removing all port bindings on an IRF port, shut down all its physical ports. Related commands: port group interface. Examples # Bind Ten-GigabitEthernet 3/1/1 to IRF-port 1 on member device 3. 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 irf-port-configuration active Syntax irf-port-configuration active 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

14
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
: Specifies an IRF port number. The
member-id
argument represents the IRF
member ID
.
The
port-number
argument represents the index of the port on the member switch, and must
be 1 or 2.
Description
Use
irf-port
to enter IRF port view.
Use
undo
irf-port
to remove all port bindings on an IRF port.
To set up an IRF link between two switches, you must enter IRF port view to bind physical ports to the IRF
port used by each switch for IRF connection.
Before removing all port bindings on an IRF port, shut down all its physical ports.
Related commands:
port group interface
.
Examples
# Bind Ten-GigabitEthernet 3/1/1 to IRF-port 1 on member device 3.
<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
irf-port-configuration active
Syntax
irf-port-configuration active