H3C CR16006-F Configuration Examples page 10

Irf configuration examples
Table of Contents

Advertisement

[DeviceA-ospf-1] quit
Configuring SW 1
1.
Configure a link aggregation:
# Create Bridge-Aggregation 1 and enable the dynamic aggregation mode. You must enable
the dynamic aggregation mode because this link aggregation will be used for LACP MAD.
<SW1> system-view
[SW1] interface bridge-aggregation 1
[SW1-Bridge-Aggregation1] link-aggregation mode dynamic
[SW1-Bridge-Aggregation1] quit
# Assign the uplink ports that connect to the IRF fabric to Bridge-Aggregation 1.
[SW1] interface ten-gigabitethernet 4/0/1
[SW1-Ten-GigabitEthernet4/0/1] port link-aggregation group 1
[SW1-Ten-GigabitEthernet4/0/1] quit
[SW1] interface ten-gigabitethernet 4/0/2
[SW1-Ten-GigabitEthernet4/0/2] port link-aggregation group 1
[SW1-Ten-GigabitEthernet4/0/2] quit
2.
Configure VLAN settings:
# Create all VLANs.
[SW1] vlan all
# Configure VLAN settings on the uplink aggregate interface that connects to the IRF fabric.
[SW1] interface bridge-aggregation 1
[SW1-Bridge-Aggregation1] port link-type trunk
[SW1-Bridge-Aggregation1] undo port trunk permit vlan 1
[SW1-Bridge-Aggregation1] port trunk permit vlan 10
[SW1-Bridge-Aggregation1] quit
# Configure VLAN settings on the port that connects to Server Group 1.
[SW1] interface gigabitethernet 3/0/1
[SW1-GigabitEthernet3/0/1] port link-type trunk
[SW1-GigabitEthernet3/0/1] port trunk permit vlan all
[SW1-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[SW1-GigabitEthernet3/0/1] quit
Configuring SW 2
1.
Configure a link aggregation:
# Create Bridge-Aggregation 1.
<SW2>system-view
[SW2] interface bridge-aggregation 1
[SW2-Bridge-Aggregation1] quit
# Assign the uplink ports that connect to the IRF fabric to Bridge-Aggregation 1.
[SW2] interface ten-gigabitethernet 4/0/1
[SW2-Ten-GigabitEthernet4/0/1] port link-aggregation group 1
[SW2-Ten-GigabitEthernet4/0/1] quit
[SW2] interface ten-gigabitethernet 4/0/2
[SW2-Ten-GigabitEthernet4/0/2] port link-aggregation group 1
[SW2-Ten-GigabitEthernet4/0/2] quit
2.
Configure VLAN settings:
# Create all VLANs.
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr16010-fCr16014-fCr16010h-fCr16018-f

Table of Contents