#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
推荐阅读
-
「运势」5月3号运势如虹,财旺运旺,贵人如云,咸鱼翻身发大财的3生肖
-
「运输机」国外媒体称轰20为红色B2,准确消息称今年将首次飞行。军迷们蹲了三天三夜。
-
母亲把高考女儿送错考点当场痛哭|母亲把高考女儿送错考点当场痛哭 究竟怎么回事?
-
-
-
梦泪|梦泪和Fly多排,梦泪拿出马超,Fly拿出花木兰,这真是神仙组合!
-
隔年的橘子皮不就是“陈皮”,为啥能卖到5000一斤?专家说出实情
-
-
央视新闻客户端|阿根廷确诊病例超125万 首都已取消隔离管控
-
-
-
-
王岳伦亲手为李湘画画像,当成品出来的那一刻,这技术没搞错吧?
-
-
生肖▲下月开始,红鸾星动,前缘未了,和前任甜蜜牵手的四大生肖
-
-
-
开幕|“写不尽的世界”李名郎书法作品展,昨日在云栖小镇谷田美术馆开幕
-
梦见梨树是什么意思,好不好,代表什么 梦见梨树是什么意思周公解梦
-