H3C CR16006-F Configuration Examples page 11

Irf configuration examples
Table of Contents

Advertisement

[SW2] vlan all
# Configure VLAN settings on the uplink aggregate interface that connects to the IRF fabric.
[SW2] interface bridge-aggregation 1
[SW2-Bridge-Aggregation1] port link-type trunk
[SW2-Bridge-Aggregation1] undo port trunk permit vlan 1
[SW2-Bridge-Aggregation1] port trunk permit vlan 20
[SW2-Bridge-Aggregation1] quit
# Configure VLAN settings on the port that connects to Server Group 2.
[SW2] interface gigabitethernet 3/0/1
[SW2-GigabitEthernet3/0/1] port link-type trunk
[SW2-GigabitEthernet3/0/1] port trunk permit vlan all
[SW2-GigabitEthernet3/0/1] undo port trunk permit vlan 1
[SW2-GigabitEthernet3/0/1] quit
Configuring Router A
This example provides only settings for connectivity to the IRF fabric. Settings for external
connectivity are beyond the scope of this example.
1.
Configure link aggregations:
# Create Bridge-Aggregation 1 and assign the downlink ports that connect to the IRF fabric to
Bridge-Aggregation 1.
<RouterA> system-view
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] quit
[RouterA] interface ten-gigabitethernet 4/0/1
[RouterA-Ten-GigabitEthernet4/0/1] port link-mode bridge
[RouterA-Ten-GigabitEthernet4/0/1] port link-aggregation group 1
[RouterA-Ten-GigabitEthernet4/0/1] quit
[RouterA] interface ten-gigabitethernet 2/0/1
[RouterA-Ten-GigabitEthernet2/0/1] port link-mode bridge
[RouterA-Ten-GigabitEthernet2/0/1] port link-aggregation group 1
[RouterA-Ten-GigabitEthernet2/0/1] quit
# Create Bridge-Aggregation 2 and assign the ports that connect to Router B to Bridge-
Aggregation 2.
[RouterA] interface bridge-aggregation 2
[RouterA-Bridge-Aggregation2] quit
[RouterA] interface ten-gigabitethernet 4/0/2
[RouterA-Ten-GigabitEthernet4/0/2] port link-mode bridge
[RouterA-Ten-GigabitEthernet4/0/2] port link-aggregation group 2
[RouterA-Ten-GigabitEthernet4/0/2] quit
[RouterA] interface ten-gigabitethernet 2/0/2
[RouterA-Ten-GigabitEthernet2/0/2] port link-mode bridge
[RouterA-Ten-GigabitEthernet2/0/2] port link-aggregation group 2
[RouterA-Ten-GigabitEthernet2/0/2] quit
2.
Configure VLAN, IP address, and internal routing protocol settings:
# Create VLAN 40, assign an IP address to VLAN-interface 40, and assign Bridge-
Aggregation 1 (the interface connected to the IRF fabric) to VLAN 40.
[RouterA] vlan 40
[RouterA-vlan40] quit
[RouterA] interface vlan-interface 40
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr16010-fCr16014-fCr16010h-fCr16018-f

Table of Contents