Está en la página 1de 55

CU HNH DCH V MAN-E

www.ct-in.com.vn
Joint Stock Company for Telecom & Informatics (CTIN)
L B Duy Mn CCIE#24929 (SP)
Dec 2009
Ni dung
Gii thiu v m hnh cu hnh Cisco EVC
Cu hnh dch v EPL
Cu hnh dch v EVPL
Cu hnh dch v EP-LAN
Cu hnh dch v EVP-LAN
Cu hnh dch v EP-TREE
Cu hnh dch v EVP-TREE
Cu hnh dch v HSI
Cu hnh dch v IPTV


May 30, 2014
2
www.ct-in.com.vn
Flexible Ethernet Edge

May 30, 2014
www.ct-in.com.vn
3
Access
Edge
BRAS
SR/PE
DPI
Core Network
MPLS /IP
Content Farm
VOD TV SIP
DSL
Residential
STB
Content Farm
VOD TV SIP
Mobile
ETTx
PON
MSPP
Cable
Business
Corporate
Residential
STB
Aggregation
L2 P-to-P (local or
xconnect)
L2 MP local
bridging
L2 MP VPLS
L3 routed
Untagged
Single tagged
Double
tagged
802.1q
802.1ad
etc
Example

May 30, 2014
www.ct-in.com.vn
4
ndu-acc-76-01
Switch 3750
PE-VDC
PTIC FTP Server
Cisco BRAS
1000
V
la
n
3
0
CE500
Vlan 5
tunneling
Internet
Vlan 304
V
lan
20
V
la
n
1
0
V
l
a
n

1

(
n
a
t
i
v
e
)
ES20
Vlan 10
Vlan 20
Vlan (30,5)
Vlan 304
Vlan 102
untagged
V
l
a
n

3
0
4
V
l
a
n

(
3
0
3
,
5
0
)
V
l
a
n

(
3
0
1
,

2
0
)
V
l
a
n

(
3
0
2
,

2
)
EVC New CLI

May 30, 2014
www.ct-in.com.vn
5
interface
sub-interface
service instance X service instance Y

Per Port Per EVC
Features
Per Port Per EVC
Features
Per Port
Features
Per Sub-interface
Features (L3)
Layer 2 Services
Bridging (VPLS via SVI)
xconnect (EoMPLS)
Local Connect
L3/VRF termination
interface <type><slot/port>
service instance <id> ethernet <evc-name> ID is per interface scope
<match criteria commands> VLAN tags, MAC, CoS, Ethertype
<rewrite commands> VLAN tags pop/push/translation
<forwarding commands> bridge-domain, xconnect or local connect
<feature commands> QoS, ACL, etc
M hnh EVC
Thit b bin mng ca phn lp tp trung lu lng trong kin trc Carrier
Ethernet tng th phi p ng kh nng giao tip, n nhiu loi lu lng khc
nhau:
Untagged
Single tagged
Double tagged
802.1q
802.1 ad

Trn cng 1 giao tip Ethernet, v phi c kh nng chuyn ti cc loi lu lng
ny ti tp cc dch v khc nhau:
L2 point to point local connect
L2 point to point xconnect
L2 multipoint local bridging
L2 multipoint VPLS
L3 termination.


May 30, 2014
www.ct-in.com.vn
6
M hnh EVC
M hnh EVC l kin trc dng lnh mi dng
cu hnh cc giao din Ethernet
Cc m hnh cu hnh truyn thng (Port, vlan,
sub-interface) h tr cu hnh cc tnh nng
c bn, nhng khng h tr tt c cc tnh
nng ca mt thit b bin dch v mi nh
Selective QinQ, Double Tag Translation. Cc
tnh nng ny ch c h tr trong m hnh
EVC.


May 30, 2014
www.ct-in.com.vn
7
EVC Khi to Service Instances

May 30, 2014
www.ct-in.com.vn
8
Physical Interface
Services instance
interface <type><slot/port>
service instance <id> ethernet <evc-
name> ID is per interface scope
interface TenGigabitEthernet1/0/1
no ip address

service instance 20 ethernet
description ELINE Test

EVC Map lu lng vo Service instance

May 30, 2014
www.ct-in.com.vn
9
Physical Interface
Service Instance
interface <type><slot/port>
service instance <id> ethernet
<evc-name> ID is per interface
scope
encapsulation <vlan | untagged |
default>
.1Q traffic vi tag vlan = 10
.1Q traffic vi tag vlan = 20
QinQ traffic 10,20)
Untagged traffic
EVC Map lu lng vo Service instance

May 30, 2014
www.ct-in.com.vn
10
Physical Interface
Service instance
.1Q traffic vi tag vlan = 10
.1Q traffic vi tag vlan = 20
QinQ traffic 10,20)
Untagged traffic
interface TenGigabitEthernet1/0/1
no ip address

service instance 1 ethernet
encapsultion dot1q 10

Service instance 2 ethernet
Encapsultion dot1q 20

Service instance 3 ethernet
Encapsulation dot1q 10 second-dot1q 20

Service instance 40 ethernet
Encapsulation untagged

Flexible Frame Matching CLI


May 30, 2014
www.ct-in.com.vn
11
Single tagged frame
encapsulation dot1q {any | <vlan-id>[,<vlan-id>[-<vlain-id>]]}
Vlan tag can be single, multiple or range or any (1-4096).

Double tagged frame (only look up to 2 tags if receive more than 2 tagged frames)
encapsulation dot1q <vlan-id> second-dot1q {any | <vlan-id>[,<vlan-id>[-<vlain-id>]]}
First vlan tag must be unique, second vlan tag can be any, unique, range or multiple

Default tag
encapsulation default
Match all frames tagged or untagged that are not matched by other more specific service
instances

untagged
encapsulation untagged
Match no tagged frames, for example native vlan

interface gig 1/1/1
service instance 1 ethernet
encapsulation ?
default catch-all unconfigured encapsulation
dot1ad 802.1ad - Provider Bridges
dot1q IEEE 802.1Q Virtual LAN or S-VLAN
priority-tagged Priority tagged EFP
untagged Untagged encapsulation
EVC VLAN Manipultion


May 30, 2014
www.ct-in.com.vn
12
Physical Interface
Physical Interface
interface <type><slot/port>
service instance <id> ethernet
<evc-name> ID is per interface
scope
encapsulation <vlan | untagged |
default>
rewrite ingress <push | pop |
translate>
.1Q traffic vi tag vlan = 10
.1Q traffic vi tag vlan = 20
QinQ traffic 10,20)
Untagged traffic
QinQ traffic vi tag vlan = (50,100)
.1Q traffic vi tag vlan = 100
Untagged traffic
.1Q traffic Vlan = 101
EVC Flexible VLAN Tag
Manipulation and Translation

May 30, 2014
www.ct-in.com.vn
13
Flexible VLAN tag manipulation and translation
of any combination of up to 2 VLAN tags.
Virtually any tag (0,1 or 2) can be rewritten to any
other tag (0,1,2)
1-1,1-2,2-1,2-2 VLAN translation
Add 1 or 2 new VLAN tags
Removing 1 or 2 existing VLAN tags
Encapsulation Rewrite CLI


May 30, 2014
www.ct-in.com.vn
14
NPE1(config-if-srv)#rewrite ingress tag pop ?
1 Pop the outermost tag remove 1 tag
2 Pop two outermost tags remove 2 tag

NPE1(config-if-srv)#rewrite ingress tag push dot1q 10 add one tag
NPE1(config-if-srv)#rewrite ingress tag push dot1q 10 second-dot1q 20 add two tag

NPE1(config-if-srv)#rewrite ingress tag translate ?
1-to-1 Translate 1-to-1
1-to-2 Translate 1-to-2
2-to-1 Translate 2-to-1
2-to-2 Translate 2-to-2
interface gig 1/1/1
service instance 1 ethernet
encapsulation dot1q 10
rewrite ingress tag ?
pop Pop the tag
push Rewrite Operation of push
translate Translate Tag

EVC Map traffic vo dch v

May 30, 2014
www.ct-in.com.vn
15
ATM / FR
PVC / DLCI
BD
SWIDB
Service Instances
L2 inter-working
Bridging

Ethernet access to L3VPN/IP
EFPs
Physical Ports
BD
BD
SVI
L2 VFI
BD (Bridge domain) = VLAN
SVI (Switched Virtual Interface) = Interface VLAN
BD
SVI
P-to-P xconnect, local connect
SWIDB L3/VRF
M
P
L
S

MPLS
UPLINK
Service CLI Point-to-point
May 30, 2014
www.ct-in.com.vn
16
P-to-P local/xconnect doesnt require global VLAN resource, no MAC learning/forwarding. It can scale beyond 4K
VLAN limit
Point-to-point local connect
connect <name> <interface-type/slot/port> <efp-id> <ethernet-type/slot/port> <efp-id>

interface GigabitEthernet4/1/0
service instance 3 ethernet
encapsulation dot1q 51
rewrite ingress tag translate 1-to-2 dot1q 52 second-dot1q 52 symmetric

interface GigabitEthernet4/1/1
service instance 3 ethernet
encapsulation dot1q 52 second-dot1q 52

connect eline-3 GigabitEthernet4/1/0 3 GigabitEthernet4/1/1 3
Point-to-point xconnect
xconnect <peer-add> <VC-ID> encapsulation mpls
interface GigabitEthernet4/1/1
service instance 11 ethernet
encapsulation dot1q 101 second-dot1q 60-70
xconnect 10.0.0.3 101 encapsulation mpls
Service CLI Multipoint
MAC based forwarding

May 30, 2014
www.ct-in.com.vn
17
Multiple point local bridging and VPLS
bridge-domain <global-vlan-id> [split-horizon]
Split-horizon to disable L2 communication between two EFPs
Local Bridging
(Packet flow example 3C)

interface GigabitEthernet4/1/0
service instance 101 ethernet
encapsulation dot1q 101-1000
bridge-domain 100

interface GigabitEthernet4/1/1
service instance 101 ethernet
encapsulation dot1q 101-1000
bridge-domain 100

interface GigabitEthernet3/1
switchport access vlan 100
switchport mode dot1q-tunnel

VPLS

interface GigabitEthernet4/1/0
service instance 2 ethernet
encapsulation dot1q 20
bridge-domain 20 split-horizon

interface GigabitEthernet4/1/1
service instance 2 ethernet
encapsulation dot1q 20
bridge-domain 20 split-horizon

interface Vlan20
xconnect vfi vpls-20

Service CLI L3 routed


May 30, 2014
www.ct-in.com.vn
18
Single tag termination

interface GigabitEthernet4/1/1
service instance 100 ethernet
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100

interface Vlan100
ip address 100.1.100.1 255.255.255.0




Double tag termination

interface GigabitEthernet4/1/1
service instance 100 ethernet
encapsulation dot1q 100 second 200
rewrite ingress tag pop 2 symmetric
bridge-domain 100

interface Vlan100
ip address 100.1.100.1 255.255.255.0



Cu hnh dch v EPL

May 30, 2014
www.ct-in.com.vn
19
Router ID:

PE1: 1.1.1.1
PE2: 2.2.2.2






Cu hnh dch v EPL
May 30, 2014
www.ct-in.com.vn
20
PE1

int g2/24
switchport
switchport access vlan 20
switchport mode dot1q-tunnel
no cdp enable
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp

vlan 20

int vlan 20
no ip address
xconnect 2.2.2.2 100 encapsulation
mpls
exit

PE2

int g2/24
switchport
switchport access vlan 20
switchport mode dot1q-tunnel
no cdp enable
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp

vlan 20

int vlan 20
no ip address
xconnect 1.1.1.1 100 encapsulation
mpls
exit

Nu khng s dng m hnh EVC, mi dch v EPL cn 1 S-VLAN i vi khch hng s
dng CPE l switch
Cu hnh dch v EPL

May 30, 2014
www.ct-in.com.vn
21
PE1

interface GigabitEthernet1/0/1
no ip address
service instance 20 ethernet
description EPL
encapsulation default
xconnect 1.1.1.1 100 encapsulation mpls

PE2

interface GigabitEthernet1/0/1
no ip address
service instance 20 ethernet
description EPL
encapsulation default
xconnect 2.2.2.2 100 encapsulation mpls
i vi m hnh Cisco EVC, cc dch v Point to Point khng i hi tiu tn S-VLAN ca
nh cung cp dch v
Cu hnh dch v EVPL
May 30, 2014
www.ct-in.com.vn
22
Router ID:

PE1: 1.1.1.1
PE2: 2.2.2.2
PE3: 3.3.3.3






Cu hnh dch v EVPL
May 30, 2014
www.ct-in.com.vn
23
PE1
interface GigaEthernet2/23.100
encapsulation dot1Q 100
xconnect 2.2.2.2 102 encapsulation
mpls
mtu 1526
no cdp enable

interface GigaEthernet2/23.200
encapsulation dot1Q 200
xconnect 3.3.3.3 103 encapsulation
mpls
mtu 1526
no cdp enable
end

PE2
interface GigaEthernet2/23.100
encapsulation dot1Q 100
xconnect 1.1.1.1 102 encapsulation
mpls
mtu 1526
no cdp enable
PE3
interface GigaEthernet2/23.200
encapsulation dot1Q 200
xconnect 1.1.1.1 103 encapsulation
mpls
mtu 1526
no cdp enable
Nu khng s dng m hnh EVC, mi knh ca dch v
EVPL yu cu 1 S-VLAN
Cu hnh dch v EVPL

May 30, 2014
www.ct-in.com.vn
24
PE1

interface GigabitEthernet1/0/1
no ip address
service instance 10 ethernet
description EVPL
encapsulation dot1q 100
xconnect 2.2.2.2 102 encapsulation mpls

service instance 20 ethernet
description EVPL
encapsulation dot1q 200
xconnect 3.3.3.3 103 encapsulation mpls


PE2

interface GigabitEthernet1/0/1
no ip address
service instance 10 ethernet
description EVPL
encapsulation dot1q 100
xconnect 1.1.1 102 encapsulation mpls


PE3

interface GigabitEthernet1/0/1
no ip address
service instance 20 ethernet
description EVPL
encapsulation dot1q 200
xconnect 1.1.1.1 103 encapsulation mpls


i vi m hnh Cisco EVC, cc dch v
Point to Point khng i hi tiu tn S-
VLAN ca nh cung cp dch v
Cu hnh dch v EP-LAN

May 30, 2014
www.ct-in.com.vn
25
Router ID:

PE1: 1.1.1.1
PE2: 2.2.2.2
PE3: 3.3.3.3






Cu hnh dch v EP-LAN
May 30, 2014
www.ct-in.com.vn
26
PE1
int g2/24
switchport
switchport access vlan 20
switchport mode dot1q-
tunnel
no cdp enable
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 2.2.2.2
encapsulation mpls
Neighbor 3.3.3.3
encapsulation mpls

PE2

int g2/20
switchport
switchport access vlan 20
switchport mode dot1q-
tunnel
no cdp enable
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1
encapsulation mpls
Neighbor 3.3.3.3
encapsulation mpls

PE3

int g2/20
switchport
switchport access vlan 20
switchport mode dot1q-
tunnel
no cdp enable
l2protocol-tunnel cdp
l2protocol-tunnel stp
l2protocol-tunnel vtp

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1
encapsulation mpls
Neighbor 2.2.2.2
encapsulation mpls

Cu hnh dch v EP-LAN
May 30, 2014
www.ct-in.com.vn
27
PE1
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
bridge-domain 20

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit
PE2
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
bridge-domain 20

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit



PE3
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
bridge-domain 20

vL2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls
Neighbor 2.2.2.2 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit



Dch v EP-LAN yu cu 1 S-VLAN cho mi khch hng
Hot ng ca EP-LAN
Split horizon Rule

May 30, 2014
www.ct-in.com.vn
28
Hot ng ca EP-LAN
Flooding and MAC Learning
May 30, 2014
www.ct-in.com.vn
29
VFI MAC Port
101 aa E0/1
Hot ng ca EP-LAN
Flooding and MAC Learning
May 30, 2014
www.ct-in.com.vn
30
VFI MAC Port
101 aa E0/1
VFI MAC Port
101 aa PW13
VFI MAC Port
101 aa PW12
Hot ng ca EP-LAN
MAC Learning & Switching
May 30, 2014
www.ct-in.com.vn
31
VFI MAC Port
101 aa E0/1
101 cc PW12
VFI MAC Port
101 aa PW13
VFI MAC Port
101 aa PW12
101 cc E0/1
Hot ng ca EP-LAN
MAC Learning & Switching

May 30, 2014
www.ct-in.com.vn
32
VFI MAC Port
101 aa E0/1
101 cc PW12
VFI MAC Port
101 aa PW13
VFI MAC Port
101 aa PW12
101 cc E0/1
Cu hnh dch v EVP-LAN
May 30, 2014
www.ct-in.com.vn
33

Cu hnh dch v EVP-LAN
May 30, 2014
www.ct-in.com.vn
34
PE1
int g2/24
switchport
switchport mode trunk
Switchport trunk allowed vlan 10, 20
no cdp enable

Vlan 10

Interface vlan 10
Xconnect 3.3.3.3 103 encapsulation mpls

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

PE2
int g2/24
switchport
switchport mode trunk
Switchport trunk allowed
vlan 20
no cdp enable

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20
manual
Vpn id 200
Neighbor 1.1.1.1
encapsulation mpls
Neighbor 3.3.3.3
encapsulation mpls

PE3
int g2/24
switchport
switchport mode trunk
Switchport trunk allowed vlan 10, 20
no cdp enable

Vlan 10

Interface vlan 10
Xconnect 1.1.1.1 103 encapsulation mpls

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

Cu hnh dch v EVP-LAN
May 30, 2014
www.ct-in.com.vn
35
PE1
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EPL
encapsulation dot1q 10
Xconnect 3.3.3.3 103 encapsulation mpls

service instance 2 ethernet
description EP-LAN
encapsulation dot1q 20
bridge-domain 20

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls


PE2
interface GigabitEthernet1/0/1
service instance 2 ethernet
description EP-LAN
encapsulation dot1q 20
bridge-domain 20

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 1.1.1.1 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls


PE3
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EPL
encapsulation dot1q 10
Xconnect 1.1.1.1 103 encapsulation
mpls

service instance 2 ethernet
description EP-LAN
encapsulation dot1q 20
bridge-domain 20

Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 1.1.1.1 encapsulation mpls



VPLS and H-VPLS
May 30, 2014
www.ct-in.com.vn
36
Kin trc H-VPLS cho php gim s EoMPLS PW trong mt VFI
Ch cc core node (khi to VFI) thc hin hc a ch MAC ca khch hng
EP-LAN with H-VPLS architecture

May 30, 2014
www.ct-in.com.vn
37
EP-LAN with H-VPLS architecture
May 30, 2014
www.ct-in.com.vn
38
PE1
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
xconnect 11.11.11.11 200
encapsulation mpls



PE2
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
xconnect 11.11.11.11 200
encapsulation mpls



PE3
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-LAN
encapsulation default
xconnect 3.3.3.3 200 encapsulation
mpls



P1
Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 33.33.33.33
encapsulation mpls
Neighbor 1.1.1.1 encapsulation
mpls no-split-horizon
Neighbor 2.2.2.2 encapsulation
mpls no-split-horizon





P2
Vlan 20

Interface vlan 20
Xconnect vfi EP-LAN-20

L2 vfi EP-LAN-20 manual
Vpn id 200
Neighbor 11.11.11.11
encapsulation mpls
Neighbor 3.3.3.3 encapsulation
mpls no-split-horizon





Router ID:

PE1: 1.1.1.1
PE2: 2.2.2.2
PE3: 3.3.3.3
P1: 11.11.11.11
P2: 22.22.22.22
P3: 33.33.33.33






Cu hnh EP-TREE

May 30, 2014
www.ct-in.com.vn
39

Cu hnh EP-TREE

May 30, 2014
www.ct-in.com.vn
40
PE1
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation default
bridge-domain 20

L2 vfi EP-TREE-20 manual
Vpn id 100
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-TREE-20
Exit
PE2
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation default
bridge-domain 20

L2 vfi EP-TREE-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-TREE-20
Exit



PE3
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation default
bridge-domain 20

vL2 vfi EP-TREE-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-TREE-20
Exit




Cu hnh EVP-TREE

May 30, 2014
www.ct-in.com.vn
41


Cu hnh EVP-TREE

May 30, 2014
www.ct-in.com.vn
42
PE1
interface GigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation dot 1q 10
bridge-domain 10

service instance 2 ethernet
description EP-LAN
encapsulation dot 1q 20
bridge-domain 20

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit
PE2
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation dot 1q 10
bridge-domain 10

service instance 2 ethernet
description EP-LAN
encapsulation dot 1q 20
bridge-domain 20

L2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit



PE3
interface TenGigabitEthernet1/0/1
service instance 1 ethernet
description EP-TREE
encapsulation dot 1q 10
bridge-domain 10

service instance 2 ethernet
description EP-LAN
encapsulation dot 1q 20
bridge-domain 20

vL2 vfi EP-LAN-20 manual
Vpn id 100
Neighbor 1.1.1.1 encapsulation mpls
Neighbor 2.2.2.2 encapsulation mpls

vlan 20

int vlan 20
no ip address
xconnect vfi EP-LAN-20
Exit




Cu hnh EVP-TREE

May 30, 2014
www.ct-in.com.vn
43
PE1

L2 vfi EP-TREE-10 manual
Vpn id 50
Neighbor 2.2.2.2 encapsulation mpls
Neighbor 3.3.3.3 encapsulation mpls

vlan 10

int vlan 10
no ip address
xconnect vfi EP-TREE-10
Exit

PE2

L2 vfi EP-TREE-10 manual
Vpn id 50
Neighbor 1.1.1.1 encapsulation mpls


vlan 10

int vlan 10
no ip address
xconnect vfi EP-TREE-10
Exit



PE3

L2 vfi EP-TREE-10 manual
Vpn id 50
Neighbor 1.1.1.1 encapsulation mpls


vlan 10

int vlan 10
no ip address
xconnect vfi EP-TREE-10
Exit



Cu hnh dch v HSI
May 30, 2014
www.ct-in.com.vn
44

ACI: Agent Circuit ID
Cu hnh dch v HSI
May 30, 2014
www.ct-in.com.vn
45
Access Router
interface GigabitEthernet0/0/1.62
Encapsulation dot1q 62
Xconnect 2.2.2.2 62 encapsulation mpls



Core Router
interface GigabitEthernet0/0/1.62
Encapsulation dot1q 62
Xconnect 1.1.1.1 62 encapsulation mpls



Router ID:

Access Router: 1.1.1.1
Core Router: 2.2.2.2

S-VLAN:

S-VLAN = 62







Cu hnh dch v HSI
May 30, 2014
www.ct-in.com.vn
46
Access Router
interface GigabitEthernet0/0/1
service instance 1 ethernet
Encapsulation dot1q 62
Xconnect 2.2.2.2 100 encapsulation mpls



Core Router
interface GigabitEthernet0/0/1
service instance 1 ethernet
Encapsulation dot1q 62
Xconnect 1.1.1.1 100 encapsulation mpls



Router ID:

Access Router: 1.1.1.1
Core Router: 2.2.2.2

S-VLAN:

S-VLAN = 62







Cu hnh dch v HSI
May 30, 2014
www.ct-in.com.vn
47

Cu hnh dch v HSI
May 30, 2014
www.ct-in.com.vn
48
Access Router
interface GigabitEthernet0/0/1
service instance 1 ethernet
Encapsulation default
Rewrite ingress tag push 1 dot1q 62
Xconnect 2.2.2.2 62 encapsulation mpls



Core Router
interface GigabitEthernet0/0/1
service instance 1 ethernet
Encapsulation dot1q 62
Xconnect 1.1.1.1 62 encapsulation mpls



Router ID:

Access Router: 1.1.1.1
Core Router: 2.2.2.2

S-VLAN:

S-VLAN = 62







Cu hnh dch v IPTV

May 30, 2014
www.ct-in.com.vn
49
S dng IGMP Static join i vi cc knh thng
xuyn c dng m bo Video content lun
c ti v node ny
-> Gim c thi gian delay lc chuyn knh
Static PIM-SSM mapping hoc DNS-based PIM SSM
c s dng trong trng hp STB dng IGMPv2,
MAN-E s dng PIM-SSM
IGMPv2 join
Cu hnh dch v IPTV
H thng Setup Box (STB) c gn a ch IP static hoc nhn t
ng qua giao thc DHCP
Tnh nng DHCP relay c s dng trn access router relay
bn tin DHCP request t STB ti DHCP server
Mng Metro thc hin chc nng routing, to ra kt ni gia STB
v Multicast source (IPTV Server)
Mi knh (channel) tng ng vi 1 multicast group address
Khi ngi dng xem 1 knh, STB gi bn tin IGMP join vo
multicast group address tng ng vi knh
Phng thc truyn ti multicast c s dng truyn d liu
t multicast source ti STB
May 30, 2014
www.ct-in.com.vn
50
Cu hnh dch v IPTV
i vi cc knh thng xuyn c s dng, IGMP
static join c s dng trn 1 s router ko lu
lng video lun sn sng trn router ny, gip gim
tr thi gian truyn ti video ti STB
-> Gim c thi gian delay lc chuyn knh
Trong tng hp nh cung cp dch v s dng giao
thc PIM-SSM, Static PIM-SSM mapping hoc DNS-
based PIM SSM c s dng h tr STB khng
support IGMPv3 m ch support IGMPv2


May 30, 2014
www.ct-in.com.vn
51
Cu hnh dch v IPTV
Cu hnh ipDSLAM facing Interface
Access Router
interface GigabitEthernet1/0/0
service instance 120 ethernet
description EFP for Video Service
encapsulation dot1q 120
rewrite ingress tag pop 1 symmetric
bridge-domain 517 split-horizon

interface Vlan517
description SA-DSLAM1 Trunk Video Edge
ip dhcp relay information trusted
ip address 170.201.0.1 255.255.0.0
ip helper-address 10.20.61.11 ! -> a ch ca DHCP Server
no ip unreachables
ip pim sparse-mode
load-interval 30


May 30, 2014
www.ct-in.com.vn
52
Cu hnh dch v IPTV
Cu hnh Static PIM-SSM Mapping
Access Router

ip igmp ssm-map enable .
ip igmp ssm-map static access-list source-address

V d:

ip igmp ssm-map static 15 203.150.100.100
access-list 15 permit 232.1.1.0 0.0.0.255

Cc bn tin IGMPv2 join vo multicast group address thuc vo ACL 15 s c
mapping thnh bn tin join vo multicast group address thuc vo ACL15 v
multicast source 203.150.100.100

May 30, 2014
www.ct-in.com.vn
53
Cu hnh dch v IPTV
DNS based PIM-SSM Mapping
Access Router

ip igmp ssm-map enable
ip igmp ssm-map query dns
ip name-server server-address1 [server-address2...server-address6]


May 30, 2014
www.ct-in.com.vn
54
Cu hnh dch v IPTV
Cu hnh IGMP static join
Core Router

class-map type multicast-flows static ! Tn ca class map
group 227.7.7.7
group 232.7.7.7 to 232.7.7.9 source 10.1.1.10
group 232.7.7.7 source 10.1.1.10
group 227.7.7.7 to 227.7.7.9

Interface Gi1/0/10
Description connect to Edge Router
ip igmp static-group class-map static

May 30, 2014
www.ct-in.com.vn
55

También podría gustarte