3com 5500G ユーザーズマニュアル
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
104
C
HAPTER
15: R
OUTING
C
ONFIGURATION
G
UIDE
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
■
Configure Switch C.
# Assign a router ID to Switch C.
<SwitchC> system-view
[SwitchC] router id 3.3.3.3
# Configure an IP address for the VLAN interface.
[SwitchC] interface Vlan-interface 1
[SwitchC-Vlan-interface1] ip address 196.1.1.3 255.255.255.0
# Assign a DR priority to the VLAN interface.
[SwitchC-Vlan-interface1] ospf dr-priority 2
[SwitchC-Vlan-interface1] quit
# Enable OSPF and specify the VLAN interface to belong to area 0.
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
■
Configure Switch D.
# Assign a router ID to Switch D.
<SwitchD> system-view
[SwitchD] router id 4.4.4.4
# Configure an IP address for the VLAN interface.
[SwitchD] interface Vlan-interface 1
[SwitchD-Vlan-interface1] ip address 196.1.1.4 255.255.255.0
[SwitchD-Vlan-interface1] quit
# Enable OSPF and specify the VLAN interface to belong to area 0.
[SwitchD] ospf
[SwitchD-ospf-1] area 0
[SwitchD-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
Complete Configuration
■
Perform the following configuration on Switch A.
#
router id 1.1.1.1
#
vlan 1
#
interface Vlan-interface 1
ip address 196.1.1.1 255.255.255.0
ospf dr-priority 100
#
ospf 1