
用2851和2821做了个实验,想用vlc测试组播,pe两端直连pc,vlc中选择串流网络播放,地址为238.0.0.1,结果当然是没成功。。可能理解有问题(怀疑在vrf的rp地址指定,或者vlc地址组这里),贴上配置,大家帮帮忙看看 ,不胜感激!2 q9 {. V; _: v) `& W: l
2851的配置2 |4 V9 q! }) O; N( I
pe-2851#show run+ d# ^6 S6 ?3 P; S w: s9 C) C
Building configuration...! J+ n6 O7 H/ ?, x' j7 W; k9 s( I
* t) E8 Y3 J9 `- UCurrent configuration : 2253 bytes
% F S5 h6 w& Y" l$ [( f8 s+ K) x!6 `2 A) j9 @3 b/ a+ D
version 12.3
$ O) n7 }& s* wservice timestamps debug datetime msec6 s" H& l2 W' z- G2 r
service timestamps log datetime msec5 G$ `( |9 e* L* U+ l- J* g
no service password-encryption
9 a0 \( N* z$ V1 r!4 K2 S s* T% J3 r4 V4 `' K5 {
hostname pe-2851
* P- V V2 p9 R!
; u/ \+ k6 l) z; \boot-start-marker7 U8 r8 F# B" ?) \ _
boot-end-marker. C; m- R5 g. _
; S0 `3 {, Y! }- M) r
!
4 z0 }. l% b* Z" |% C2 @. U: @no aaa new-model% G! s' Z( E0 a( G( F$ [' m$ d* j
!
" t" z- q0 X, l. P, A$ ]resource policy
3 M/ b% e7 U8 n" Y7 G C5 J!
- Z& | B! L) }' ]" X" u1 s, B* hip subnet-zero
- m4 L- U, X2 o! @0 N' o!
) R% S0 C: s# G- n* m5 |!, g6 j# d3 z( q: S* T0 d, v" V4 M
ip cef
. X) b+ a' `( I3 e& Z- J1 R0 Dno ip dhcp use vrf connected ^! F9 ~ C: v6 T/ p0 j
! 2 P1 d# R/ }6 F) x: R
!
1 R" X' P d/ |2 J' Z" Y: F J% A! ! r$ R% ?/ t4 u
ip vrf multicast
: [( p0 j# C: j5 s; f; L rd 200:1 / N$ Q G$ C3 ^( q) Q$ Y: R
route-target export 200:1: m2 ~ P8 w& E) ~) N% D
route-target import 200:1 `3 |. ^; ^% H% {, b
mdt default 239.1.1.1. \4 ^7 X4 {: L% G5 O' x) n: a
! % O" n. H' J; n$ I" I
ip vrf vpn1
, ~2 L2 a# S- a: p% J' c6 M, { rd 100:2 7 h/ c' p5 j/ e
route-target export 100:2+ w: M8 ]1 G- f3 p
route-target import 100:2
' z, U1 T9 L* }! ! ?7 r. p4 `5 F# y' Y! ?
ip multicast-routing " ]4 T, t4 r3 u9 i
ip multicast-routing vrf multicast : ]2 b8 R0 w# F# u( |
mpls label protocol ldp1 w: r3 _/ v4 @% x4 [) |: f: a# b
no ftp-server write-enable
& E9 L0 E! a4 p# l1 f!
7 j8 U. T, ]% ]7 n, X! ' F; P B- P+ _/ E, G! J9 O& O) r) J* h: q
interface Loopback0# M, ^$ H( @* R2 |/ t
ip address 3.3.3.3 255.255.255.255
3 \8 h5 W1 h8 T: p0 ^' R% ^ ip pim sparse-mode$ W; c* p5 m1 i u, b$ ~( l0 c
! 2 q! J: D! b( [7 h8 s) P! e" f( Y
interface GigabitEthernet0/0# l1 u) F$ F* o
ip vrf forwarding multicast
' b9 f5 R' ~6 C ip address 192.168.10.167 255.255.255.0
: q. z. x3 T5 X- y$ {) ^' v ip pim sparse-mode# w) }; p& g8 y+ v0 H7 o
duplex auto' B: D8 p8 {9 ?; I- b
speed auto3 T$ R* b# _8 e. W$ @& r
!
4 k5 p$ f' o X5 u6 | u$ finterface GigabitEthernet0/1
! s: Y% _% m% G ip address 10.0.2.2 255.255.255.252
1 j) [, K; x; G' K8 t8 S ip pim sparse-mode
7 Q: j# B) q/ \, H9 @6 P, i duplex auto) P! F" z! u, C8 y* v' i. G8 ~5 ^
speed auto# U' O4 l& Z7 J4 d0 [
tag-switching ip
/ P- g; V% D7 T' [6 T# _!
4 g& a& W. S, Krouter ospf 100
& S$ n Z% v" z# ^1 A log-adjacency-changes9 S: I0 S" o2 [6 l0 A
network 3.3.3.3 0.0.0.0 area 0
4 |% y( l+ O- _* }/ E% Y9 U network 10.0.2.0 0.0.0.3 area 09 t4 {/ @9 u; j2 p
!
4 ~% H! Z* L& p* J8 [( ^9 trouter bgp 1001 h5 R* F% |0 q5 Y* ]8 j) z( z
no bgp default ipv4-unicast/ j9 Y" l5 G0 J/ I$ h T7 V" S
no bgp default route-target filter
6 Q5 J% H! C' e- i5 A! v bgp log-neighbor-changes
8 ^1 x3 ^) w! L7 J; O* R7 z neighbor 4.4.4.4 remote-as 100
9 l. a! s# P" l neighbor 4.4.4.4 update-source Loopback0
: n( o8 B }' S9 M& s !
' b' M9 w. m. V$ q) e5 u8 t. k address-family ipv44 r8 O. R% h, y. k, }
neighbor 4.4.4.4 activate
! d4 u, ]) J0 X: X9 d7 J neighbor 4.4.4.4 send-community extended
% _, N' x8 t3 o4 L no auto-summary
8 W; {+ \; S) L5 ?% H1 I( ^2 h9 L0 ?1 R no synchronization* I7 U: k7 M; I h/ G/ y2 u G
exit-address-family
! U: ^" Z. J4 q1 p ! * g" e* m! q' J1 ^
address-family vpnv4$ _' j- Z: d/ d5 H4 p) m1 U! Q
neighbor 4.4.4.4 activate% Q8 s6 Z" z% R2 z0 W
neighbor 4.4.4.4 send-community extended+ w; _% W+ m" M5 e2 {8 F. Z
exit-address-family
; ~0 s! Q6 i1 Y+ n$ K* C !
& x( x8 N2 q" [2 |5 Y" o. X
! b0 h D; l! ]. b !
' V7 T$ ?& B1 o8 C* T address-family ipv4 vrf multicast1 ]0 W# n/ h" m3 y2 Q6 M
redistribute connected
x) U, Q5 }, E$ K C3 _ no auto-summary3 w7 t5 k* T+ C0 Q; y) q
no synchronization
- p1 V, m4 a5 Y& O! n exit-address-family, h4 q, n/ f( F" ~( [
!
" R7 \6 n' j" m/ S& ]) X1 t K9 [
!
! t* R. Q3 n4 l" Bip classless
) E6 y6 `! U6 s" y! " s9 o, M' o( w; i6 M O
!
6 n5 {( S- c3 d2 cip http server
2 ]3 q. R) Q8 W- Z4 Dno ip http secure-server
1 X: C& W. H1 Z0 \ip pim rp-address 3.3.3.3
& F9 r# W5 v. y+ lip pim vrf multicast rp-address 192.168.10.1663 {0 X" @' i2 M& H, z- Z
% A# ]4 u. Q! A) C
2821的配置: q0 _! f( Y5 W6 l7 d" M1 i n
pe-2821#show run0 L) O: c: D: o+ C- R
Building configuration.../ c/ i% V7 K( W) r
3 E4 P% `) G7 h* i- g, M- n* TCurrent configuration : 2227 bytes
2 L: E* M# y7 V# \! V; x!
/ B$ q6 O( ^' e: s8 Gversion 12.3
/ v7 B0 ~1 r8 p/ ^" g; Rservice timestamps debug datetime msec
3 x! s( p. o$ G; oservice timestamps log datetime msec
8 t; i6 q( ]1 [% G1 }6 Wno service password-encryption$ g1 @7 F+ Y9 {6 B- S$ |4 C
!
7 X1 D, Y- Q; \$ _( Ahostname pe-2821
& a- S, d$ A4 i+ H3 `!
) P$ f5 e% l' i8 V6 _* bboot-start-marker
9 E" F+ F. A* _% q% K1 q- Sboot-end-marker
- k3 n+ u% N. k8 }5 t, H9 _!
6 I5 Z" a0 b9 `, I+ y- F l4 O!
% j* s9 L! o9 V% B: h# l. D' Eno aaa new-model5 \) [: b+ G2 [% b7 f) S8 t
!
- |. R+ w/ w5 j* D. r6 @8 } oresource policy; I. ~2 \2 S6 l0 Q0 [) S5 s6 E
!
4 p5 M+ i8 O, a" [2 Bno network-clock-participate wic 0
/ l' D8 m; F; J( a4 m) T; Rip subnet-zero( W, r1 h, G a7 Z) e! d) H
!. N5 `8 T# s0 z$ c( \( y: ]
!
: h1 i2 ]; c% J C% ]- sip cef3 M, n/ }6 H+ _2 B, u8 p o. J
no ip dhcp use vrf connected6 _4 v' E! v5 n+ k' q- u
!
* e& k' Q+ V# [; t) |. J
% |/ u4 q7 I+ w5 j! ' {/ K9 z9 J u/ c$ e
ip vrf multicast
9 t6 I6 f/ O- t rd 200:1
$ p- f/ ^8 {0 Q, A/ a: T route-target export 200:1
: O/ M: J" B2 L0 { route-target import 200:1$ v* L# R5 V$ p& `
mdt default 239.1.1.1
# H4 _& A h0 ]4 t& \4 S! + _* A- c a4 D
ip multicast-routing # d6 L9 F5 S* P
ip multicast-routing vrf multicast
1 _' @) }- \0 g5 @& W# `mpls label protocol ldp& v d; z; Q1 m
no ftp-server write-enable
1 p& i& l7 l+ r" `9 c9 v" y 6 C/ X& O8 a/ R! h! k
! / y) l1 a7 t: D# w) ]
controller E1 0/0/0
( |( U; O% }; v9 n9 k!
7 [1 l# p, g, b+ a3 b1 I7 q, v5 Y+ rcontroller E1 0/0/1 \' _% R9 D& @
- k: v! |2 I r& ^
! 7 H% x; r1 `( s" U
interface Loopback0- k0 P0 l/ ~. c. o R( Q' U
ip address 4.4.4.4 255.255.255.255
* W. `9 w" g8 F5 Y2 P4 j ip pim sparse-mode
! Y6 V7 ^# y$ X. J3 M9 g# p!
& d$ T9 y: t' Y0 A, f# Tinterface GigabitEthernet0/0
+ X% w ]! n; | ip vrf forwarding multicast
. Y- F( _5 v( M* Y1 o8 U% ~" \ ip address 20.168.10.168 255.255.255.0
& m0 E; e1 z0 Q: C! U! T) ~ ip pim sparse-mode
( ~) o% I4 K9 B, j' Z- ] ip igmp join-group 238.0.0.1
7 T8 n& N+ P) S* r2 x2 i duplex auto$ S8 p& \: h% A* q: `
speed auto' B, p( P4 o' l* R! ]
!
1 Z H9 U. c' u' p f! ~5 Pinterface GigabitEthernet0/1
! H7 t; {( [3 G ^ ip address 10.0.2.1 255.255.255.2523 J. N Y7 C2 P' s o" ~, s+ e
ip pim sparse-mode
6 s K5 e7 o; ?8 m! d; Q duplex auto
+ }+ o% F: D: M* o1 M6 w% P, h speed auto
7 m! ]8 ~6 Q# J p0 |7 I# e/ Q tag-switching ip
' y& p8 v5 T* t! ( M6 [7 T5 M" W3 m/ C! W% H
interface Serial0/1/0
% A! D0 X! o" f* d no ip address7 H+ @/ Z2 F7 w& q( F
shutdown
* @1 ]2 L b" C8 Q5 t5 P9 X no fair-queue; Z' l% G6 K' M& N5 Z2 c8 q0 c
clockrate 2000000
6 T& `) @5 ^& f3 W! 9 `" K/ e3 D/ m$ q- |" V
interface Serial0/1/1
5 D* e3 S; |9 E2 J7 ^7 g no ip address$ N" c1 V% ^3 ^, R5 `! U
shutdown
9 x: z5 Q6 w2 y! A% l clockrate 2000000* _ X x n7 i6 S
!
( M" b7 J" P7 B) M2 ?6 z" R; irouter ospf 100
# k7 L- e- e5 B" A" n C. N! l log-adjacency-changes
- r$ C3 W; k9 ?! Q4 ]& K network 4.4.4.4 0.0.0.0 area 0' L: `+ b8 m8 \2 h; g, i' \
network 10.0.2.0 0.0.0.3 area 0/ f* ` |! j* |: u9 M0 ~
!
& G/ M1 G! N' H) Z$ A, K. B1 D- qrouter bgp 100
# L2 K- A- f3 _+ F/ e4 K9 L no bgp default ipv4-unicast6 f% \* F: s3 f: B1 `
bgp log-neighbor-changes1 L* k% Y# @8 w) b
neighbor 3.3.3.3 remote-as 1009 \1 h/ E' L# v) I5 w3 \
neighbor 3.3.3.3 update-source Loopback0
" ~! A ] F1 x% n ! 6 s2 C6 U1 [) i
address-family ipv41 n2 P# Z$ |8 ?
neighbor 3.3.3.3 activate' c# B7 y4 l1 D
neighbor 3.3.3.3 send-community extended v y' {* t% S& s
no auto-summary3 T7 ]! L! z" k% j" y
no synchronization
; S7 v" ^! f# j% C exit-address-family
+ H& o! K2 M0 E7 o ! + Y, z7 }1 d3 l) v1 ]8 M ]
address-family vpnv4
- a. }8 I1 L' [. ]! M neighbor 3.3.3.3 activate
; q, y' R: w9 }1 P7 a R( f neighbor 3.3.3.3 send-community extended
! @6 r( l$ J( |) b6 H" q, o exit-address-family
4 R( J+ a" p& y- I; H !
- N5 ?) Z, u. }$ T! C address-family ipv4 vrf multicast% r8 `# ^3 ^0 f
redistribute connected
$ @& g- u: b+ F2 U* p! \ no auto-summary
6 @+ d. g0 I' ^2 k/ n5 _ no synchronization
9 s* b0 ? B+ \) X S exit-address-family
2 A6 @# X0 l5 | ! ) t$ @* ~5 }. {
( ]5 L' |+ \* ]) Z% @
ip classless$ Y. t- `( R# W: [
!
' |% h7 o/ C2 U; F!
0 l& y/ J4 G g( W% d5 ^ip http server
+ g0 C% {- s' l: S# E0 |3 y O, dno ip http secure-server
% N& ^3 i3 X' a* g+ Bip pim rp-address 3.3.3.3
: P& R! P+ A/ f( Mip pim vrf multicast rp-address 192.168.10.1669 ~3 T. b, i% Q
! 6 C$ @3 @' R3 a. ` L% l) z
1 r' {. a; h* `" x: b) @7 `
! 1 y$ o( S4 h* h* t0 f! N+ s
control-plane: C6 a" j: Q! `: ]/ l6 {) j6 \
! " Q; j7 F& Q) B' T2 q/ ]/ p
" y, x0 ^7 t5 Q$ I0 A! + \0 c! }, e6 u; P) S
! ! C- W# c* H6 p; o1 P5 w
line con 0- U0 d+ q* l) B& V( S# C
line aux 0$ A) F1 O+ f# E3 |* j F
line vty 0 4
8 X- n1 c m4 ~" S. B; U4 H& {' g login . D: [4 ~- Z% O g3 B
! Q' i2 A4 Y. e! O8 A
scheduler allocate 20000 1000 |
|