VPRN Agg NSN

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

Cấu hình base:

CSG:

A:CSG-DNHC16# /admin display-config | match DNHC03 context all


#--------------------------------------------------
router
interface "TDM-IP-DNHC03"
address 10.250.11.129/30
ldp-sync-timer 10
port 1/2/4:10
bfd 10 receive 10 multiplier 3 type np
no shutdown
#--------------------------------------------------
ospf
area 0.0.0.15
interface "TDM-IP-DNHC03"
interface-type point-to-point
mtu 9000
metric 200
no shutdown
#--------------------------------------------------
mpls
interface "TDM-IP-DNHC03"
admin-group "access"
no shutdown
#--------------------------------------------------
rsvp
interface "TDM-IP-DNHC03"
no shutdown
#--------------------------------------------------
ldp
interface-parameters
interface "TDM-IP-DNHC03"
A:CSG-DNHC16#

*A:AGG-DNGHCU11>config>service>cpipe# (lấy ví dụ là DNCL11)

sdp 1503 mpls create


far-end 10.250.15.3
lsp "LSP01-to-TDMIP-DNCL11"
keep-alive
shutdown
exit
no shutdown
exit

ldp
targeted-session
peer 10.250.15.3
bfd-enable
no shutdown

mpls
lsp "LSP01-to-TDMIP-DNCL11"
to 10.250.15.3
cspf
primary "dyn"
exit
no shutdown

Cấu hình dịch vụ trên AGG NOKIA:

vprn 30001 customer 1 create


description "VRF-3G-Dummy"
vrf-import "Import-RNC-IuB-NSN-TDMIP"
vrf-export "Export-IuB-3G-default-route"
autonomous-system 65333
route-distinguisher 10.250.0.9:30001
auto-bind-tunnel
resolution any
exit
static-route 0.0.0.0/0 black-hole
spoke-sdp 1001 create
exit
spoke-sdp 1002 create
exit
no shutdown
exit
vprn 30010 customer 1 create
description "OAM-3G"
vrf-import "Import-RNC-OAM"
vrf-export "Export-OAM-3G-default-route"
autonomous-system 65333
route-distinguisher 10.250.0.6:30010
auto-bind-tunnel
resolution any
exit
static-route 0.0.0.0/0 black-hole
spoke-sdp 1001 create
exit
spoke-sdp 1002 create
exit
no shutdown
exit
vprn 40001 customer 1 create
description "VRF enodeB-4G Dummy"
vrf-import "Import-EPC-enodeB-4G"
vrf-export "Export-4G-default-route"
autonomous-system 65333
route-distinguisher 10.250.0.9:40001
auto-bind-tunnel
resolution any
exit
static-route 0.0.0.0/0 black-hole
spoke-sdp 1001 create
exit
spoke-sdp 1002 create
no shutdown
exit
vprn 40004 customer 1 create
description "VRF OAM-4G Dummy"
vrf-import "Import-4G-OAM"
vrf-export "Export-OAM-4G-default-route"
autonomous-system 65333
route-distinguisher 10.250.0.9:40004
auto-bind-tunnel
resolution any
exit
static-route 0.0.0.0/0 black-hole
spoke-sdp 1001 create
exit
spoke-sdp 1002 create
exit
no shutdown
exit

Cấu hình policy:

prefix-list "VRF-default-route"
prefix 0.0.0.0/0 exact
exit
community "RT-EPC-4G" members "target:131429:40010"
community "RT-RNC-OAM" members "target:131429:30010"
community "4G-IPBB-SGW" members "target:64803:100"
community "RT-3G-OAM-DF" members "target:65333:998"
community "RT-4G-OAM-DF" members "target:65333:997"
community "RT-IuB-3G-DF" members "target:65333:999"
community "RT-NodeB-OAM" members "target:131429:30020"
community "RT-RNC-IuB-NSN" members "target:131429:30001"
community "RT-4G-eNodeB-DF" members "target:65333:996"
community "RT-enodeB-S1-4G" members "target:131429:40001"
community "RT-enodeB-X2-4G" members "target:65333:40001"
community "RT-EPC-OAM-64803" members "target:64803:40004"
community "RT-EPC-OAM-65333" members "target:65333:40004"
community "RT-import-4G-OAM" members "target:131429:40003"
community "RT-import-4G-OAM-65333" members "target:65333:40004"
community "RT-import-4G-OAM-131429" members "target:131429:40004"

policy-statement "Import-4G-OAM"
entry 10
from
community "RT-import-4G-OAM"
exit
action accept
exit
exit
entry 20
from
community "RT-export-4G-OAM"
exit
action accept
exit
exit
entry 30
from
community "RT-import-4G-OAM-131429"
exit
action accept
exit
exit
entry 40
from
community "RT-import-4G-OAM-65333"
exit
action accept
exit
exit
exit
policy-statement "Import-EPC-OAM"
entry 10
from
community "RT-EPC-OAM-65333"
exit
action accept
exit
exit
entry 20
from
community "RT-EPC-OAM-64803"
exit
action accept
exit
exit
exit
policy-statement "Import-RNC-OAM"
entry 10
from
community "RT-RNC-OAM"
exit
action accept
exit
exit
entry 20
from
community "RT-NodeB-OAM"
exit
action accept
exit
exit
exit
policy-statement "Import-EPC-enodeB-4G"
entry 10
from
community "RT-enodeB-X2-4G"
exit
action accept
exit
exit
entry 20
from
community "RT-EPC-4G"
exit
action accept
exit
exit
entry 30
from
community "4G-IPBB-SGW"
exit
action accept
exit
exit
entry 40
action accept
exit
exit
exit
policy-statement "Export-4G-default-route"
entry 10
from
prefix-list "VRF-default-route"
exit
action accept
community add "RT-4G-eNodeB-DF"
exit
exit
exit
policy-statement "Import-RNC-IuB-NSN-TDMIP"
entry 10
from
community "RT-RNC-IuB-NSN"
exit
action accept
exit
exit
exit
policy-statement "Export-IuB-3G-default-route"
entry 10
from
prefix-list "VRF-default-route"
exit
action accept
community add "RT-IuB-3G-DF"
exit
exit
default-action reject
exit
policy-statement "Export-OAM-3G-default-route"
entry 10
from
prefix-list "VRF-default-route"
exit
action accept
community add "RT-3G-OAM-DF"
exit
exit
default-action reject
exit
policy-statement "Export-OAM-4G-default-route"
entry 10
from
prefix-list "VRF-default-route"
exit
action accept
community add "RT-4G-OAM-DF"
exit
exit
default-action reject
exit
----------------------------------------------
*A:AGG-DNGHCU11>config>router>policy-options#

You might also like