S5600系列交换机路由协议OSPF虚连接的配置
一 组网需求:
区域2与区域0没有直接相连。要求将区域1用作运输区域来连接区域2和区域0,在区域1的SwitchB和SwitchC之间正确配置一条虚连接。
二 组网图:
三 配置步骤:
1.配置SwitchA
<SwitchA> system-view
[SwitchA] interface Vlan-interface 1
[SwitchA-Vlan-interface1] ip address 196.1.1.1 255.255.255.0
[SwitchA-Vlan-interface1] quit
[SwitchA] router id 1.1.1.1
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
2.配置SwitchB
<SwitchB> system-view
[SwitchB] interface vlan-interface 7
[SwitchB-Vlan-interface7] ip address 196.1.1.2 255.255.255.0
[SwitchB-Vlan-interface7] quit
[SwitchB] interface vlan-interface 8
[SwitchB-Vlan-interface8] ip address 197.1.1.2 255.255.255.0
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] area 1
[SwitchB-ospf-1-area-0.0.0.1] network 197.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.1] vlink-peer 3.3.3.3
3.配置SwitchC
<SwitchC> system-view
[SwitchC] interface Vlan-interface 1
[SwitchC-Vlan-interface1] ip address 152.1.1.1 255.255.255.0
[SwitchC-Vlan-interface1] quit
[SwitchC] interface Vlan-interface 2
[SwitchC-Vlan-interface2] ip address 197.1.1.1 255.255.255.0
[SwitchC-Vlan-interface2] quit
[SwitchC] router id 3.3.3.3
[SwitchC] ospf
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] network 197.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2
[SwitchC-ospf-1] area 2
[SwitchC-ospf-1-area-0.0.0.2] network 152.1.1.0 0.0.0.255
四 配置关键点:
1.虚连接不能穿越Stub区域。
2.为使虚连接生效,在虚连接的两端都需配置此命令:vlink-peer xx并且两端配置的hello、dead等参数必须一致。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作