#sysname SwitchB#router id 10.2.2.2#vlan batch 20 30#multicast routing-enable#mpls lsr-id 10.2.2.2mpls mpls te mpls rsvp-te mpls te cspf#interface Vlanif20 ip address 10.0.0.2 255.255.255.0 pim sm#interface Vlanif30 ip address 10.0.1.2 255.255.255.0 pim sm mpls mpls te mpls rsvp-te#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 20#interface GigabitEthernet1/0/2 port link-type trunk port trunk allow-pass vlan 30#interface LoopBack0 ip address 10.2.2.2 255.255.255.255#interface Tunnel1 ip address unnumbered interface LoopBack0 tunnel-protocol mpls te destination 10.4.4.4 mpls te tunnel-id 100 mpls te igp shortcut ospf mpls te igp metric relative -10 mpls te commit#ospf 1 opaque-capability enable enable traffic-adjustment local-mt enable area 0.0.0.0 network 10.2.2.2 0.0.0.0 network 10.0.0.0 0.0.0.255 network 10.0.1.0 0.0.0.255 mpls-te enable#return
#sysname SwitchC#router id 10.3.3.3#vlan batch 30 40#multicast routing-enable#mpls lsr-id 10.3.3.3mpls mpls te mpls rsvp-te#interface Vlanif30 ip address 10.0.1.1 255.255.255.0 pim sm mpls mpls te mpls rsvp-te#interface Vlanif40 ip address 10.0.2.2 255.255.255.0 pim sm mpls mpls te mpls rsvp-te#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 30#interface GigabitEthernet1/0/2 port link-type trunk port trunk allow-pass vlan 40#interface LoopBack0 ip address 10.3.3.3 255.255.255.255#ospf 1 opaque-capability enable area 0.0.0.0 network 10.3.3.3 0.0.0.0 network 10.0.1.0 0.0.0.255 network 10.0.2.0 0.0.0.255 mpls-te enable#return
#sysname SwitchD#router id 10.4.4.4#vlan batch 40 50#multicast routing-enable#mpls lsr-id 10.4.4.4mpls mpls te mpls rsvp-te#interface Vlanif40 ip address 10.0.2.1 255.255.255.0 pim sm mpls mpls te mpls rsvp-te#interface Vlanif50 ip address 10.0.3.1 255.255.255.0 pim sm#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 50#interface GigabitEthernet1/0/2 port link-type trunk port trunk allow-pass vlan 40#interface LoopBack0 ip address 10.4.4.4 255.255.255.255#ospf 1 opaque-capability enable area 0.0.0.0 network 10.4.4.4 0.0.0.0 network 10.0.2.0 0.0.0.255 network 10.0.3.0 0.0.0.255 mpls-te enable#pim c-bsr Vlanif50 c-rp Vlanif50#return
#sysname SwitchE#router id 10.5.5.5#vlan batch 50 60#multicast routing-enable#interface Vlanif50 ip address 10.0.3.3 255.255.255.0 pim sm#interface Vlanif60 ip address 192.168.3.1 255.255.255.0 pim sm#interface GigabitEthernet1/0/1 port link-type trunk port trunk allow-pass vlan 50#interface GigabitEthernet1/0/2 port link-type access port default vlan 60#interface LoopBack0 ip address 10.5.5.5 255.255.255.255#ospf 1 area 0.0.0.0 network 10.5.5.5 0.0.0.0 network 10.0.3.0 0.0.0.255 network 192.168.3.0 0.0.0.255#return
推荐阅读
-
-
防控|喀什调整疏附县部分乡镇风险等级:将兰干镇等由中风险调整为低风险
-
陕西卒中急救地图发布 打造“区域黄金一小时卒中救治圈”
-
-
1985年中央电视台早晚黄金档播放的30分钟瑜伽系列节目《跟蕙兰练瑜伽》的片头曲歌名
-
-
steam|2020第一黑马竟是个沙雕游戏?碾压Steam各种大作,登上畅销榜第一
-
潮人|F Cup版「Jennie」火辣身材太不科学了!原来「人间香奈儿」有那么多?
-
-
-
平日笑谈|无奈带男同学救急,老爸一看:我认识…,开心一笑:家里逼婚
-
-
每天放松一笑|还带了两个,什么原因啊!,搞笑gif-太嚣张了
-
2021年Android开发新技术动向,未来的路该怎么走?
-
宣城27岁小伙澡堂洗澡不幸身亡 浴室被判赔偿12万余元
-
[奇瑞]都说奇瑞质量好,为何最后都买了长城汽车?懂车的人终于说出实话
-
O科技Phone好迹象,小米之家消费复苏!360万人假期涌入打卡购物
-
穿搭|童瑶关晓彤同框!珊瑚蓝礼裙再好看,也比不过30岁顾佳的锁骨
-
-
原神|新游“神作”接连出现,原神只是一个开始,图四已成为老玩家标配