Huawei S6700 Series Configuration Manual page 172

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4.
Issue 01 (2012-03-15)
# Configure Switch D.
[SwitchD] router id 4.4.4.4
[SwitchD] ospf
[SwitchD-ospf-1] area 0
[SwitchD-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255
[SwitchD-ospf-1-area-0.0.0.0] quit
[SwitchD-ospf-1] quit
# Check the DR or BDR status.
[SwitchA] display ospf peer
OSPF Process 1 with Router ID 1.1.1.1
Neighbors
Area 0.0.0.0 interface 192.168.1.1(Vlanif10)'s neighbors
Router ID: 2.2.2.2
State: 2-Way
Mode:Nbr is
DR: 192.168.1.4
BDR: 192.168.1.3
Dead timer due in 32
Retrans timer interval: 5
Neighbor is up for 00:00:00
Authentication Sequence: [ 0 ]
Router ID: 3.3.3.3
State: Full
Mode:Nbr is
DR: 192.168.1.4
BDR: 192.168.1.3
Dead timer due in 37
Retrans timer interval: 5
Neighbor is up for 00:04:06
Authentication Sequence: [ 0 ]
Router ID: 4.4.4.4
State: Full
Mode:Nbr is
DR: 192.168.1.4
BDR: 192.168.1.3
Dead timer due in 37
Retrans timer interval: 5
Neighbor is up for 00:03:53
Authentication Sequence: [ 0 ]
Check information about the neighbor of Switch A. You can view the DR priority and
neighbor status. By default, the DR priority is 1. Now Switch D is a DR and Switch C is a
BDR.
NOTE
When the priority is the same, the Switch with a higher router ID is selected as DR. If one Ethernet
interface of the Switch becomes DR, the other broadcast interfaces of the Switch have a high priority
of being selected as DRs in future DR selection. That is, select the DR Switch as DR. DR cannot be
preempted.
Configure DR priorities on the interfaces.
# Configure Switch A.
[SwitchA] interface Vlanif 10
[SwitchA-Vlanif10] ospf dr-priority 100
[SwitchA-Vlanif10] quit
# Configure Switch B.
[SwitchB] interface Vlanif 10
[SwitchB-Vlanif10] ospf dr-priority 0
[SwitchB-Vlanif10] quit
# Configure Switch C.
[SwitchC] interface Vlanif 10
[SwitchC-Vlanif10] ospf dr-priority 2
[SwitchC-Vlanif10] quit
# View the DR or BDR status.
[SwitchD] display ospf peer
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Address: 192.168.1.2
Master
Priority: 1
MTU: 0
sec
Address: 192.168.1.3
Master
Priority: 1
MTU: 0
sec
Address: 192.168.1.4
Master
Priority: 1
MTU: 0
sec
4 OSPF Configuration
153

Advertisement

Table of Contents
loading

Table of Contents