S3610_S5510系列交换机IPv6路由协议OSPFv3 DR的配置
一 组网需求:
1.Switch A的优先级为100,它是网络上的最高优先级,被选为DR;
2.Switch C的优先级为2,它是优先级第二高的,被选为BDR;
3.Switch B的优先级为0,这意味着它将无法成为DR;
4.Switch D没有配置优先级,取缺省值1。
二 组网图:
三 配置步骤:
1.配置SwitchA,启动OSPFv3,并设置其Switch ID为1.1.1.1
<SwitchA> system-view
[SwitchA] switch-mode dual-ipv4-ipv6
[SwitchA] ipv6
[SwitchA] ospfv3
[SwitchA-ospfv3-1] router-id 1.1.1.1
[SwitchA-ospfv3-1] quit
[SwitchA] interface Vlan-interface 100
[SwitchA-Vlan-interface100] ospfv3 1 area 0
[SwitchA-Vlan-interface100] quit
2.配置SwitchB,启动OSPFv3,并设置其Switch ID为2.2.2.2
<SwitchB> system-view
[SwitchB] switch-mode dual-ipv4-ipv6
[SwitchB] ipv6
[SwitchB] ospfv3
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface Vlan-interface 200
[SwitchB-Vlan-interface200] ospfv3 1 area 0
[SwitchB-Vlan-interface200] quit
3.配置SwitchC,启动OSPFv3,并设置其Switch ID为3.3.3.3
<SwitchC> system-view
[SwitchC] switch-mode dual-ipv4-ipv6
[SwitchC] ipv6
[SwitchC] ospfv3
[SwitchC-ospfv3-1] router-id 3.3.3.3
[SwitchC-ospfv3-1] quit
[SwitchC] interface Vlan-interface 100
[SwitchC-Vlan-interface100] ospfv3 1 area 0
[SwitchC-Vlan-interface100] quit
4.配置SwitchD,启动OSPFv3,并设置其Switch ID为4.4.4.4
<SwitchD> system-view
[SwitchD] switch-mode dual-ipv4-ipv6
[SwitchD] ipv6
[SwitchD] ospfv3
[SwitchD-ospfv3-1] router-id 4.4.4.4
[SwitchD-ospfv3-1] quit
[SwitchD] interface Vlan-interface 200
[SwitchD-Vlan-interface200] ospfv3 1 area 0
[SwitchD-Vlan-interface200] quit
5.配置SwitchA的接口Vlan-interface100的DR优先级为100。
[SwitchA] interface Vlan-interface 100
[SwitchA-Vlan-interface100] ospfv3 dr-priority 100
[SwitchA-Vlan-interface100] quit
6.配置SwitchB的接口Vlan-interface200的DR优先级为0。
[SwitchB] interface Vlan-interface 200
[SwitchB-Vlan-interface200] ospfv3 dr-priority 0
[SwitchB-Vlan-interface200] quit
7.配置SwitchC的接口Vlan-interface100的DR优先级为2。
[SwitchC] interface Vlan-interface 100
[SwitchC-Vlan-interface100] ospfv3 dr-priority 2
[SwitchC-Vlan-interface100] quit
8.重新进行DR/BDR选择
将所有接口一次shutdown和undo shutdown,使OSPFv3重新进行DR/BDR的选择。
四 配置关键点:
1.路由器接口的DR优先级将影响接口在选举DR时所具有的资格,优先级为0的路由器不会被选举为DR或BDR。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作