- Table of Contents
-
- H3C S3600 Series Ethernet Switches Command Manual-Release 1510(V1.04)
- 00-1Cover
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-IP Address and Performance Configuration Command
- 06-Management VLAN Command
- 07-Voice VLAN Command
- 08-GVRP Command
- 09-Port Basic Configuration Command
- 10-Link Aggregation Command
- 11-Port Isolation Command
- 12-Port Security-Port Binding Command
- 13-DLDP Command
- 14-MAC Address Table Command
- 15-Auto Detect Command
- 16-MSTP Command
- 17-Routing Protocol Command
- 18-Multicast Command
- 19-802.1x Command
- 20-AAA-RADIUS-HWTACACS-EAD Command
- 21-VRRP Command
- 22-Centralized MAC Address Authentication Command
- 23-ARP Command
- 24-DHCP Command
- 25-ACL Command
- 26-QoS-QoS Profile Command
- 27-Web Cache Redirection Command
- 28-Mirroring Command
- 29-IRF Fabric Command
- 30-Cluster Command
- 31-PoE-PoE Profile Command
- 32-UDP Helper Command
- 33-SNMP-RMON Command
- 34-NTP Command
- 35-SSH Terminal Service Command
- 36-File System Management Command
- 37-FTP and TFTP Command
- 38-Information Center Command
- 39-System Maintenance and Debugging Command
- 40-VLAN-VPN Command
- 41-HWPing Command
- 42-DNS Command
- 43-Access Management Command
- 44-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
29-IRF Fabric Command | 71 KB |
Table of Contents
1.1.5 display rmon history unit
1.1.6 display rmon statistics unit
1.1.10 irf-fabric authentication-mode
Chapter 1 IRF Fabric Commands
1.1 IRF Fabric Commands
1.1.1 change self-unit
Syntax
change self-unit to { unit-id | auto-numbering }
View
System view
Parameter
unit-id: Unit ID to be set to.
auto-numbering: Changes the unit ID automatically.
Description
Use the change self-unit command to change the unit ID of the current switch.
By default, the unit ID of a switch that belongs to no IRF fabric is 1. After a switch is added to an IRF fabric, it is automatically numbered through FTM function with its unit ID ranging from 1 to 8.
& Note:
If you do not enable the fabric port, you cannot change the unit ID of a local switch.
Example
# Configure the unit ID of the current switch to be automatically numbered.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] change self-unit to auto-numbering
1.1.2 change unit-id
Syntax
change unit-id unit-id1 to { unit-id2 | auto-numbering }
View
System view
Parameter
unit-id1: Current unit ID.
Unit-id2: New unit ID.
auto-numbering: Changes the unit ID automatically.
Description
Use the change unit-id command to configure the unit ID of a switch in an IRF fabric to a new value. By default, when a switch is added to an IRF fabric, it uses the automatically assigned unit ID.
l If the modified unit ID does not exist in the fabric, the system sets its priority to 5 and saves it in the unit Flash memory.
l If the modified unit ID is an existing one, the system prompt you to confirm if you really want to change the unit ID. If you choose to change, the existing unit ID is replaced and the priority is set to 5. Then you can use the fabric save-unit-id command to save the modified unit ID into the unit Flash memory and clear the information about the existing one.
l If auto-numbering is selected, the system reserves the unit ID and sets the unit priority to 10. You can use the fabric save-unit-id command to save the modified unit ID into the unit Flash memory and clear the information about the existing one.
& Note:
l Unit IDs in an IRF fabric are not always arranged in order of 1 to 8.
l Unit IDs in an IRF fabric can be inconsecutive.
l It is recommended that you reboot the device after you change the Unit ID and synchronize the configuration.
Related command: fabric save-unit-id.
Example
# Change the unit ID of the switch from 6 to 4. Use the display ftm command to display information about each unit in the fabric.
<H3C> display ftm topology-database
Total number of units in fabric : 2, My CPU ID : 6
UID CPU-Mac Priority Stack-Port Board-ID A/M
1 000f-e20f-5002 10 /Right 1 A
2 000f-e20f-5132 10 Left/ 1 A
3 000f-e20f-5252 10 /Right 1 A
4 000f-e20f-8922 10 Left/ 1 A
5 000f-cbb7-2142 10 /Right 1 A
*6 000f-cbb7-3264 10 Left/ 1 A
7 000f-cbb7-2260 10 /Right 1 A
8 000f-cbb7-2734 10 Left/ 1 A
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] change unit-id 6 to 4
The unit 4 already exists in fabric.
Continue? [Y/N] y
%Apr 2 00:48:34:574 2000 H3C FTM/3/DDPFLA:- 6 -Change unitid successful, un
it 4 saved UnitID(4) in flash!
[H3C] display ftm topology-database
Total number of units in fabric : 2, My Unit ID : 4
UID CPU-Mac Priority Stack-Port Board-ID A/M
1 000f-e20f-5002 10 /Right 1 A
2 000f-e20f-5132 10 Left/ 1 A
3 000f-e20f-5252 10 /Right 1 A
*4 000f-cbb7-3264 5 Left/ 1 M
5 000f-cbb7-2142 10 /Right 1 A
6 000f-e20f-8922 10 Left/ 1 A
7 000f-cbb7-2260 10 /Right 1 A
8 000f-cbb7-2734 10 Left/ 1 A
1.1.3 display ftm
Syntax
display ftm{ information | topology-database }
View
Any view
Parameter
Information: Displays the FTM protocol information, including DDP status, unit ID, link status of the fabric, status of the fabric port, and DDP packets statistics.
topology-database: Displays the topology database information of the fabric.
Description
Use the display ftm command to display the protocol information or the topology database information of the current fabric.
Example
# Display the FTM protocol information of the switch.
<H3C> display ftm information
FTM State : HB STATE
Unit ID : 2 (FTM-Master)
Fabric Type : Line
Fabric Auth : NONE
Fabric Vlan ID : 4093
Left Port : Disable
Right Port : Normal
Advertise : Send = 5, Receive = 3
Advertise ACK : Send = 0, Receive = 5
Heart Beat : Send = 20, Receive = 0
Left Port : Index = 255, IsEdge = 0
Right Port : Index = 25, IsEdge = 0
Units Num Left : 1
Units Num Right : 2
Units Num Backup: 2
1.1.4 display irf-fabric
Syntax
display irf-fabric [ port | status ]
View
Any view
Parameter
port: Displays the fabric port information.
status: Displays operation status of the current fabric, including fabric name and unit ID.
Description
Use the display irf-fabric command to view the information of the entire fabric, including unit ID, unit name, and operation mode of the system. If the fabric information is displayed on the Console port of a device, an asterisk (*) will be added to the unit ID of the current device.
Example
# Display fabric information on the Console port of unit 1.
<H3C> display irf-fabric
Fabric name is H3C, system mode is L3.
Unit Name Unit ID
First 1(*)
# Display fabric operation status on the Console port of unit 1.
<H3C> display irf-fabric status
Fabric name is H3C, system mode is L3.
Unit Name Unit ID Status
First 1(*) Master
1.1.5 display rmon history unit
Syntax
display rmon history unit unit-id
View
Parameter
unit-id: Unit ID of a device in an IRF fabric.
Description
Use the display rmon history unit command to collect RMON history data of the local device or other devices in the fabric.
Related command: rmon history.
Example
# Display the RMON history data of unit 3.
<H3C> display rmon history unit 3
1.1.6 display rmon statistics unit
Syntax
display rmon statistics unit unit-id
View
Any view
Parameter
unit-id: Unit ID of a device in an IRF fabric.
Description
Use the display rmon statistics unit command to collect RMON statistics of the local device or other devices in the fabric.
Related command: rmon statistics.
Example
# Display the RMON statistics of unit 2.
<H3C> display rmon statistics unit 2
1.1.7 fabric save-unit-id
Syntax
fabric save-unit-id
undo fabric save-unit-id
View
User view
Parameter
None
Description
Use the fabric save-unit-id command to save the unit IDs of all the units in an IRF fabric into the unit Flash and set the unit priority to 5.
Use the undo fabric save-unit-id command to remove the saved unit IDs and restore the unit priority to 10.
Example
# Save the unit IDs of all the units in an IRF fabric to the unit Flash memory.
<H3C> display ftm topology-database
Total number of units in fabric : 8, My Unit ID : 1
UID CPU-Mac Priority Stack-Port Board-ID A/M
*1 000f-e20f-5002 10 /Right 1 A
2 000f-e20f-5132 10 Left/ 1 A
3 000f-e20f-5252 10 /Right 1 A
4 000f-e20f-8922 10 Left/ 1 A
5 000f-cbb7-2142 10 /Right 1 A
6 000f-cbb7-3264 10 Left/ 1 A
7 000f-cbb7-2260 10 /Right 1 A
8 000f-cbb7-2734 10 Left/ 1 A
<H3C> fabric save-unit-id
The unit ID will be saved to the device.
Are you sure? [Y/N] y
%Apr 2 02:13:44:413 2000 3600 FTM/3/DDPFLA:- 4 -Save self unitid, unit 4 sav
ed UnitID(4) in flash!
Unit 1 saved unit ID successfully.
Unit 2 saved unit ID successfully.
Unit 3 saved unit ID successfully.
Unit 4 saved unit ID successfully.
Unit 5 saved unit ID successfully.
Unit 6 saved unit ID successfully.
Unit 7 saved unit ID successfully.
Unit 8 saved unit ID successfully.
<H3C> display ftm topology-database
Total number of units in fabric : 8, My Unit ID : 4
UID CPU-Mac Priority Stack-Port Board-ID A/M
*1 000f-e20f-5002 5 /Right 1 M
2 000f-e20f-5132 5 Left/ 1 M
3 000f-e20f-5252 5 /Right 1 M
4 000f-e20f-8922 5 Left/ 1 M
5 000f-cbb7-2142 5 /Right 1 M
6 000f-cbb7-3264 5 Left/ 1 M
7 000f-cbb7-2260 5 /Right 1 M
8 000f-cbb7-2734 5 Left/ 1 M
From the above example, you can see the priority of each unit changes from 10 to 5, and the numbering mode changes from A (automatic numbering) to M (manual numbering).
# Remove the saved unit ID of each unit.
<H3C> undo fabric save-unit-id
The saved unit ID will be erased.
Are you sure? [Y/N] y
Unit 1 removed unit ID successfully.
%Apr 2 19:43:24:368 2000 H3C FTM/3/FTMCHIDAUTO:- 1 -Change unitid to auto successful, unit 1 removed UnitID from flash!
Unit 2 removed unit ID successfully.
Unit 3 removed unit ID successfully.
Unit 4 removed unit ID successfully.
Unit 5 removed unit ID successfully.
Unit 6 removed unit ID successfully.
Unit 7 removed unit ID successfully.
Unit 8 removed unit ID successfully.
<H3C> display ftm topology-database
Total number of units in fabric : 8, My Unit ID : 1
UID CPU-Mac Priority Stack-Port Board-ID A/M
*1 000f-e20f-5002 10 /Right 1 A
2 000f-e20f-5132 10 Left/ 1 A
3 000f-e20f-5252 10 /Right 1 A
4 000f-e20f-8922 10 Left/ 1 A
5 000f-cbb7-2142 10 /Right 1 A
6 000f-cbb7-3264 10 Left/ 1 A
7 000f-cbb7-2260 10 /Right 1 A
8 000f-cbb7-2734 10 Left/ 1 A
1.1.8 fabric-port enable
Syntax
fabric-port interface-type interface-number enable
undo fabric-port interface-type interface-number enable
View
System view
Parameter
interface-type: Type of the port to be configured as a fabric port. Note that only GigabitEthernet ports can be configured as fabric ports.
interface-number: Number of the port to be configured as a fabric port.
Description
Use the fabric-port enable command to configure a specified port as a fabric port.
Use the undo fabric-port enable command to disable the fabric port function for a port. When the last fabric port on a switch is disabled, the fabric function is disabled globally.
& Note:
l Establishing an IRF system requires a high consistency of the configuration of each device. Hence, before you enable the fabric port, do not perform any configuration for the port, and do not enable some functions that affect the IRF (such as TACACAS and VLAN-VPN) for other ports or globally. Otherwise, you cannot enable the fabric port. For detailed restrictions refer to the error information output by devices.
l When you have enabled fabric port function for a fabric port group, if you need to change the fabric port group, you must disable the fabric function of the current fabric port group before you execute the enable command on another group. Otherwise, the system will prompt that the current fabric port group is in use, you cannot change the fabric port group.
Example
# Set GigabitEthernet1/1/3 port as a fabric port.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] fabric-port GigabitEthernet1/1/3 enable
1.1.9 ftm fabric-vlan
Syntax
ftm fabric-vlan vlan-id
undo ftm fabric-vlan
View
System view
Parameter
vlan-id: ID of the IRF fabric VLAN, in the range of 2 to 4094. By default, the number of the IRF Fabric VLAN is 4093.
Description
Use the ftm fabric-vlan command to specify the VLAN that the switch uses for IRF fabric.
Use the undo ftm fabric-vlan command to restore the default VLAN.
You need to specify the IRF fabric VLAN before the IRF fabric is established. Moreover, the VLAN you specified must be the one that has not been created.
Example
# Specify VLAN 2 of the switch as an IRF fabric VLAN.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ftm fabric-vlan 2
1.1.10 irf-fabric authentication-mode
Syntax
irf-fabric authentication-mode { simple password | md5 key }
undo irf-fabric authentication-mode
View
System view
Parameter
simple: Uses simple authentication mode.
password: Password for fabric authentication, a string of 1 to 16 characters.
md5: Uses MD5 encryption authentication mode.
key: MD5 key, a string of 1 to 16 characters.
Description
Use the irf-fabric authentication-mode command to configure the authentication mode for an IRF fabric.
Use the undo irf-fabric authentication-mode command to remove the IRF fabric authentication configuration.
By default, no authentication mode is configured on a switch.
Example
# Set the authentication mode of the IRF fabric to simple, with the password "hello".
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] irf-fabric authentication-mode simple hello
1.1.11 reset ftm statistics
Syntax
reset ftm statistics
View
Parameter
None
Description
Use the reset ftm statistics command to clear FTM statistics.
Example
# Clear FTM statistics.
<H3C> reset ftm statistics
1.1.12 set unit name
Syntax
set unit unit-id name unit-name
View
System view
Parameter
unit-id: Unit ID of a device.
unit-name: Unit name to be set, a string of 1 to 64 characters.
Description
Use the set unit name command to set a name for a device.
Example
# Set the name to “hello” for the device with unit ID 1.
<H3C> display irf-fabric
Fabric name is H3C, system mode is L3.
Unit Name Unit ID
First 1
Second 2(*)
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] set unit 1 name hello
[H3C] display irf-fabric
Fabric name is H3C, system mode is L3.
Unit Name Unit ID
hello 1
Second 2(*)
1.1.13 sysname
Syntax
sysname sysname
undo sysname
View
System view
Parameter
sysname: Fabric name to be set, a string of 1 to 30 characters. By default, the fabric name of an S3600 Series Ethernet switch is H3C.
Description
Use the sysname command to set the name for the fabric where the current device belongs. The modification will affect the prompt character in the command line interface. For example, if the fabric name of the Ethernet switch is H3C, the prompt character in user view is <H3C>.
Use the undo sysname command to restore the default fabric name.
Example
# Change the fabric name of the device to “hello”.
<H3C> display irf-fabric
Fabric name is H3C, system mode is L3.
Unit Name Unit ID
First 1
Second 2(*)
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] sysname hello
[hello] display irf-fabric
Fabric name is hello, system mode is L3.
Unit Name Unit ID
First 1
Second 2(*)