#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
推荐阅读
-
-
-
霸气的小猪佩琦|生死战23分惨案!湖人连赢4场太狠,休城面临重建
-
「久期财经」展望“稳定”,惠誉:确认蓝色光标(300058.SZ)“B+”长期本外币发行人评级
-
|84岁老爷爷参加高考,考前自估630,得知成绩后欲哭无泪
-
-
-
好声音■《好声音》导师阵容确定,没了沈腾贾玲搭档,他能适应吗?
-
利利讲快乐|东方卫视新综艺亮相,放弃《欢乐喜剧人》了吗,90%喜剧大咖聚齐
-
特斯拉|金钱在燃烧 马斯克:特斯拉柏林、德州超级工厂正亏损数十亿美元
-
开屏|杨丽萍到公园偶遇孔雀,孔雀纷纷开屏迎接,万物皆有灵!
-
-
尤文图斯|虽然来得晚些,尤文图斯仍如愿捧杯,C罗续写着他的辉煌
-
睡前常做4种行为,容易诱发失眠,做的越多,失眠的情况越严重
-
演唱会|经典音乐人:开演唱会都不用自己开口的人!全是观众在唱——伍佰
-
-
-
-
-