H3C CR16006-F Configuration Examples page 13

Irf configuration examples
Table of Contents

Advertisement

[RouterB] interface ten-gigabitethernet 2/0/1
[RouterB-Ten-GigabitEthernet2/0/1] port link-mode bridge
[RouterB-Ten-GigabitEthernet2/0/1] port link-aggregation group 1
[RouterB-Ten-GigabitEthernet2/0/1] quit
# Create Bridge-Aggregation 2 and assign the ports that connect to Router A to Bridge-
Aggregation 2.
[RouterB] interface bridge-aggregation 2
[RouterB-Bridge-Aggregation2] quit
[RouterB] interface ten-gigabitethernet 4/0/2
[RouterB-Ten-GigabitEthernet4/0/2] port link-mode bridge
[RouterB-Ten-GigabitEthernet4/0/2] port link-aggregation group 2
[RouterB-Ten-GigabitEthernet4/0/2] quit
[RouterB] interface ten-gigabitethernet 2/0/2
[RouterB-Ten-GigabitEthernet2/0/2] port link-mode bridge
[RouterB-Ten-GigabitEthernet2/0/2] port link-aggregation group 2
[RouterB-Ten-GigabitEthernet2/0/2] quit
2.
Configure VLAN, IP address, and internal routing protocol settings:
# Create VLAN 41, assign an IP address to VLAN-interface 41, and assign Bridge-
Aggregation 1 (the interface connected to the IRF fabric) to VLAN 41.
[RouterB] vlan 41
[RouterB-vlan41] quit
[RouterB] interface vlan-interface 41
[RouterB-vlan-interface41] ip address 172.24.41.3 24
[RouterB-vlan-interface41] quit
[RouterB] interface bridge-aggregation 1
[RouterB-Bridge-Aggregation1] port access vlan 41
[RouterB-Bridge-Aggregation1] quit
# Create VLAN 30, assign an IP address to VLAN-interface 30, and assign Bridge-
Aggregation 2 (the interface connected to Router A) to VLAN 30.
[RouterB] vlan 30
[RouterB-vlan30] quit
[RouterB] interface vlan-interface 30
[RouterB-vlan-interface30] ip address 172.24.2.3 24
[RouterB-vlan-interface30] quit
[RouterB] interface bridge-aggregation 2
[RouterB-Bridge-Aggregation2] port link-type access
[RouterB-Bridge-Aggregation2] port access vlan 30
[RouterB-Bridge-Aggregation2] quit
# Create VLAN 50, assign an IP address to VLAN-interface 50, and assign Ten-
GigabitEthernet 4/0/3 (the interface connected to the external network) to VLAN 50.
[RouterB] vlan 50
[RouterB-vlan50] quit
[RouterB] interface vlan-interface 50
[RouterB-vlan-interface50] ip address 172.24.4.3 24
[RouterB-vlan-interface50] quit
[RouterB] interface ten-gigabitethernet 4/0/3
[RouterB-Ten-GigabitEthernet4/0/3] port link-mode bridge
[RouterB-Ten-GigabitEthernet4/0/3] port access vlan 50
[RouterB-Ten-GigabitEthernet4/0/3] quit
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr16010-fCr16014-fCr16010h-fCr16018-f

Table of Contents