H3C S12500X-AF Configuration Examples page 13

Irf configuration examples
Hide thumbs Also See for S12500X-AF:
Table of Contents

Advertisement

[RouterB] interface bridge-aggregation 2
[RouterB-Bridge-Aggregation2] quit
[RouterB] interface hundredgige 4/0/2
[RouterB-HundredGigE4/0/2] port link-mode bridge
[RouterB-HundredGigE4/0/2] port link-aggregation group 2
[RouterB-HundredGigE4/0/2] quit
[RouterB] interface hundredgige 2/0/2
[RouterB-HundredGigE2/0/2] port link-mode bridge
[RouterB-HundredGigE2/0/2] port link-aggregation group 2
[RouterB-HundredGigE2/0/2] quit
2.
Configure VLANs, ports, and IP addresses:
# Create VLAN 41, assign an IP address to VLAN-interface 41, and assign Bridge-Aggregation
1 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 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 HundredGigE 4/0/3
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 hundredgige 4/0/3
[RouterB-HundredGigE4/0/3] port link-mode bridge
[RouterB-HundredGigE4/0/3] port access vlan 50
[RouterB-HundredGigE4/0/3] quit
3.
Configure OSPF between Router B and the IRF fabric.
[RouterB] ospf
[RouterB-ospf-1] import-route direct
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 172.24.41.0 0.0.0.255
11

Advertisement

Table of Contents
loading

Table of Contents