32
[RouterB-Vlan-interface41] ip address 10.214.50.6 30
[RouterB-Vlan-interface41] quit
[RouterB] interface vlan-interface 42
[RouterB-Vlan-interface42] ip address 10.214.50.10 30
[RouterB-Vlan-interface42] quit
# Configure OSPF.
[RouterB] ospf
[RouterB-ospf-1] import-route direct
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 10.214.70.0 0.0.0.3
[RouterB-ospf-1-area-0.0.0.0] network 10.214.50.0 0.0.0.3
[RouterB-ospf-1-area-0.0.0.0] network 10.214.50.8 0.0.0.3
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
3.
Configure the IRF fabric:
# Create VLANs 10, 20, 40, and 41.
<IRF> system-view
[IRF] vlan 10
[IRF-vlan10] quit
[IRF] vlan 20
[IRF-vlan20] quit
[IRF] vlan 40
[IRF-vlan40] quit
[IRF] vlan 41
[IRF-vlan41] quit
# Create Bridge-Aggregation 10, and set its link aggregation mode to dynamic.
[IRF] interface bridge-aggregation 10
[IRF-Bridge-Aggregation10] link-aggregation mode dynamic
[IRF-Bridge-Aggregation10] quit
# Assign Ten-GigabitEthernet 1/0/10, Ten-GigabitEthernet 2/0/10, Ten-GigabitEthernet 3/0/10,
and Ten-GigabitEthernet 4/0/10 to the aggregation group for Bridge-Aggregation 10.
[IRF] interface ten-gigabitethernet 1/0/10
[IRF-Ten-GigabitEthernet1/0/10] port link-aggregation group 10
[IRF-Ten-GigabitEthernet1/0/10] quit
[IRF] interface ten-gigabitethernet 2/0/10
[IRF-Ten-GigabitEthernet2/0/10] port link-aggregation group 10
[IRF-Ten-GigabitEthernet2/0/10] quit
[IRF] interface ten-gigabitethernet 3/0/10
[IRF-Ten-GigabitEthernet3/0/10] port link-aggregation group 10
[IRF-Ten-GigabitEthernet3/0/10] quit
[IRF] interface ten-gigabitethernet 4/0/10
[IRF-Ten-GigabitEthernet4/0/10] port link-aggregation group 10
[IRF-Ten-GigabitEthernet4/0/10] quit
# Assign Bridge-Aggregation 10 to VLAN 10.
[IRF] interface bridge-aggregation 10
[IRF-Bridge-Aggregation10] port access vlan 10
[IRF-Bridge-Aggregation10] quit