R0打一條隧道到R1,使能了組播。拓撲很簡單,一看配置就知道了。WVRP調試通過。
R0
#
sysname Quidway
#
multicast routing-enable
#
mpls lsr-id 1.1.1.1
mpls
mpls te
mpls rsvp-te
mpls te cspf
#
interface Ethernet0/0/0
ip address 192.168.1.1 255.255.255.0
pim sm
mpls
mpls te
mpls te max-link-bandwidth 10000
mpls te max-reservable-bandwidth 5000
mpls rsvp-te
#
interface NULL0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
pim sm
#
interface Tunnel0/0/0
ip address unnumbered interface LoopBack0
tunnel-protocol mpls te
destination 2.2.2.2
mpls te tunnel-id 100
mpls te bandwidth bc0 2000
mpls te commit
mpls
#
aaa
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
#
ospf 1
opaque-capability enable
area 0.0.0.0
network 0.0.0.0 255.255.255.255
mpls-te enable
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
對端,R1
#
sysname Quidway
#
multicast routing-enable
#
mpls lsr-id 2.2.2.2
mpls
mpls te
mpls rsvp-te
mpls te cspf
#
interface Ethernet0/0/0
ip address 192.168.1.2 255.255.255.0
pim sm
mpls
mpls te
mpls te max-link-bandwidth 10000
mpls te max-reservable-bandwidth 5000
mpls rsvp-te
#
interface NULL0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
pim sm
#
aaa
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
#
ospf 1
opaque-capability enable
area 0.0.0.0
network 0.0.0.0 255.255.255.255
mpls-te enable
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return