前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ospf结合bfd(1)

ospf结合bfd(1)

作者头像
随心助手
发布2021-12-13 14:48:03
3610
发布2021-12-13 14:48:03
举报
文章被收录于专栏:nginx遇上redis

配置如下:

sw1:

代码语言:javascript
复制
interface Vlanif1
#
interface Vlanif10
 ip address 192.168.10.254 255.255.255.0 
#
interface Vlanif20
 ip address 192.168.20.1 255.255.255.0 
#
interface Vlanif30
 ip address 192.168.30.1 255.255.255.0 
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#

sw2:

代码语言:javascript
复制
interface Vlanif1
#
interface Vlanif30
 ip address 192.168.30.2 255.255.255.0 
#
interface Vlanif40
 ip address 192.168.40.2 255.255.255.0 
#
interface Vlanif50
 ip address 192.168.50.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 50
#

sw3:

代码语言:javascript
复制
interface Vlanif1
#
interface Vlanif20
 ip address 192.168.20.2 255.255.255.0 
#
interface Vlanif40
 ip address 192.168.40.1 255.255.255.0 
#
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#

sw4:

代码语言:javascript
复制
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094

结论:切换速度提升10倍左右。

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2021-12-09,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 nginx遇上redis 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档