#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
推荐阅读
-
-
幻化成蝶|深圳图灵奖实验室重大成果!新一代微型电脑主板采用RISC-V指令集
-
钓鱼|在冬季钓鲫鱼的“窗口期”出钓,能过把钓鱼瘾,还可能连竿爆护
-
-
魔芋|春天减肥晚餐就吃这么一碗,刮油清肠,多吃还不长胖,好吃又便宜
-
-
-
“儿子,和她离婚没损失,反正两套房子保住了”“妈,你闭嘴”
-
小姐姐|路人街拍,小姐姐优雅靓丽,穿黑色的修身背心,凸显好身材
-
-
-
白鲸瞭望台|新德里失去牵制巴铁筹码,莫迪迎新挑战!伊朗对印度关闭重要港口
-
答题卡|河南一考生高考时撕毁其他2人答题卡 知情学生:当时老师都懵了
-
-
黑龙江黑河:黑嫩公路一路面发生坍塌 过往车辆需绕行
-
-
[小留学生]1.5万名“小留学生”,包机究竟有多贵?整整27亿!网友:不可能
-
#运营商#手机号13、15、18开头的注意了,11月底前携号转网将全
-
“烂大街”名字排行榜出炉,网友:“梓”字把00后毁了,坑太深
-