HDCV - Quy Trình Cấu Hình CSG

You might also like

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

HƯỚNG DẪN CÔNG VIỆC Lần ban hành/sửa đổi: 1/0

CẤU HÌNH THIẾT BỊ CSG 7705-SAR Ngày hiệu lực: 13/10/2017

I. MỤC ĐÍCH & PHẠM VI


1. Mục đích
- Chỉ ra các bước cấu hình thiết bị router CSG 7705-SAR
- Cung cấp thông tin một cách nhanh chóng và chính xác cho bên có liên quan phối hợp debug
2. Phạm vi
- Đài vận hành Đà Nẵng
- Đài vô tuyến Đà Nẵng
- Phòng Kỹ thuật
- Các đơn vị liên quan

II. CHI TIẾT CẤU HÌNH

STT NỘI DUNG THỰC HIỆN


1 Cấu hình trên CSG
1.1 Cấu hình card, mda
configure system name CSG-DNST01
configure
card 1
card-type iom-sar
mda 1
mda-type i8-chds1-x
no shutdown
exit
mda 2
mda-type i7-mix-eth
no shut
exit

1.2 Cấu hình QOS


configure qos sap-ingress 1001 create
description "L3VPN SAP ingress"
queue 1 create
exit
queue 3 create
exit
queue 5 create
exit
queue 6 create
exit
queue 8 create
exit

1.1-HDCV-quytrinhcauhinhcsg
fc "be" create
queue 1
exit
fc "af" create
queue 3
exit
fc "h2" create
queue 5
exit
fc "ef" create
queue 6
exit
fc "nc" create
queue 8
exit
dscp be fc "be" priority high
dscp af21 fc "af" priority high
dscp af41 fc "h2" priority high
dscp ef fc "ef" priority high
dscp nc1 fc "nc" priority high
exit
configure qos sap-egress 2001 create
description "L3VPN SAP egress"
queue 1 create
exit
queue 3 create
exit
queue 5 create
exit
queue 6 create
exit
queue 8 create
exit
fc "be" create
queue 1
dscp be
exit
fc "af" create
queue 3
dscp af21
exit
fc "h2" create
queue 5
dscp af41
exit
fc "ef" create
queue 6
dscp ef
exit
fc "nc" create
queue 8
dscp nc1
exit
exit
#

1.1-HDCV-quytrinhcauhinhcsg
configure qos sap-ingress 1002 create
description "L2VPN SAP ingress"
queue 1 create
exit
queue 3 create
exit
queue 5 create
exit
queue 6 create
exit
queue 8 create
exit
fc "be" create
queue 1
exit
fc "af" create
queue 3
exit
fc "h2" create
queue 5
exit
fc "ef" create
queue 6
exit
fc "nc" create
queue 8
exit
dot1p 0 fc "be" priority low
dot1p 2 fc "af" priority high
dot1p 4 fc "h2" priority high
dot1p 5 fc "ef" priority high
dot1p 6 fc "nc" priority high
exit
configure qos sap-egress 2002 create
description "L2VPN SAP egress"
queue 1 create
exit
queue 3 create
exit
queue 5 create
exit
queue 6 create
exit
queue 8 create
exit
fc "be" create
queue 1
dot1p 0
exit
fc "af" create
queue 3
dot1p 2
exit
fc "h2" create
queue 5

1.1-HDCV-quytrinhcauhinhcsg
dot1p 4
exit
fc "ef" create
queue 5
dot1p 5
exit
fc "nc" create
queue 5
dot1p 6
exit
exit
#
configure qos network 100 create
description "Network policy"
ingress
dscp be fc be profile in
dscp af21 fc af profile in
dscp af41 fc h2 profile in
dscp ef fc ef profile in
dscp nc1 fc nc profile in
lsp-exp 0 fc be profile in
lsp-exp 2 fc af profile in
lsp-exp 4 fc h2 profile in
lsp-exp 5 fc ef profile in
lsp-exp 6 fc nc profile in
exit
egress
fc be
dscp-in-profile be
dscp-out-profile be
lsp-exp-in-profile 0
lsp-exp-out-profile 0
exit
fc af
dscp-in-profile af21
dscp-out-profile af21
lsp-exp-in-profile 2
lsp-exp-out-profile 2
exit
fc h2
dscp-in-profile af41
dscp-out-profile af41
lsp-exp-in-profile 4
lsp-exp-out-profile 4
exit
fc ef
dscp-in-profile ef
dscp-out-profile ef
lsp-exp-in-profile 5
lsp-exp-out-profile 5
exit
fc nc
dscp-in-profile nc1
dscp-out-profile nc1
lsp-exp-in-profile 6

1.1-HDCV-quytrinhcauhinhcsg
lsp-exp-out-profile 6
exit
exit
exit
configure qos network-queue "Network_Queue_Mobifone" create
description "Network-Queue Policy"
queue 1 create
exit
queue 3 create
exit
queue 5 create
exit
queue 6 create
exit
queue 8 create
exit
fc be create
queue 1
exit
fc af create
queue 3
exit
fc h2 create
queue 5
exit
fc ef create
queue 6
exit
fc nc create
queue 8
exit
exit
#sync-e
network
ingress
queue-policy "Network_Queue_Mobifone"
exit
exit
no shutdown
exit
mda 3
mda-type i7-mix-eth
#sync-e
network
ingress
queue-policy "Network_Queue_Mobifone"
exit
exit
no shutdown
exit
no shutdown
exit
1.3 Cấu hình port uplink
configure port 1/2/3
description "Metro CSG_DNST01_GE1/2/3___AGG-

1.1-HDCV-quytrinhcauhinhcsg
DNGSTA11_GE1/1/1#MF#1"
ethernet
mode network
mtu 9212
network
queue-policy "Network_Queue_Mobifone"
exit
lldp
dest-mac nearest-bridge
admin-status tx-rx
tx-tlvs port-desc sys-name sys-desc sys-cap
exit
exit
hold-time up 5
ssm
no shutdown
exit
exit
no shutdown
exit
exit
configure port 1/3/3
description "Metro
CSG_DNST01_GE1/3/3___CSG_DNST37_GE1/2/3#MF#1"
ethernet
mode network
mtu 9212
network
queue-policy "Network_Queue_Mobifone"
exit
lldp
dest-mac nearest-bridge
admin-status tx-rx
tx-tlvs port-desc sys-name sys-desc sys-cap
exit
exit
hold-time up 5
ssm
no shutdown
exit
exit
no shutdown
exit
exit

1.1-HDCV-quytrinhcauhinhcsg
1.4 Cấu hình các interface
configure router
interface "system"
address 10.250.3.1/32
bfd 500 receive 500 multiplier 3 type np
no shutdown
exit
interface "loopback0"
address 10.250.4.1/32
loopback
bfd 500 receive 500 multiplier 3 type np
no shutdown
exit

interface to-AGG-DNGSTA11
address 10.250.5.6/30
port 1/2/3
bfd 10 receive 10 multiplier 3 type np
ldp-sync-timer 10
no shutdown
exit
interface to-CSG-DNST37
address 10.250.5.9/30
port 1/3/3
bfd 10 receive 10 multiplier 3 type np
ldp-sync-timer 10
no shutdown
exit
exit

1.5 Cấu hình OSPF:


configure router ospf
router-id 10.250.3.1
traffic-engineering
timers
spf-wait 10 10 10
lsa-arrival 2
lsa-generate 10 10 10
exit
area 0.0.0.11
stub
no summaries
exit
interface "system"
no shutdown
exit
interface "loopback0"
no shutdown
exit
interface to-AGG-DNGSTA11
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point

1.1-HDCV-quytrinhcauhinhcsg
hello-interval 10
dead-interval 40
metric 200
no shutdown
exit
interface to-CSG-DNST37
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 200
no shutdown
exit
exit
exit
1.6 Cấu hình BGP
configure router
autonomous-system 65333
router-id 10.250.3.1 #Router-ID cũng chính là IP của CSG
exit

configure router bgp


local-as 65333
router-id 10.250.3.1
enable-peer-tracking
rapid-withdrawal
backup-path ipv4
transport-tunnel mpls
group "Aggregation"
family vpn-ipv4
peer-as 65333
local-address 10.250.3.1
neighbor 10.250.0.5
authentication-key "mlmt12345"
bfd-enable
exit
neighbor 10.250.0.6 # address of Lower-Level Route-reflector(AGG)
bfd-enable
authentication-key "mlmt12345"
exit
exit
exit

1.1-HDCV-quytrinhcauhinhcsg
1.7 Cấu hình MPLS
configure router mpls
resignal-timer 30
path dyn
no shutdown
exit
interface to-CSG-DNST37
no shutdown
exit
interface to-AGG-DNGSTA11
no shutdown
exit
no shutdown
exit

1.8 Cấu hình RSVP


configure router rsvp
keep-multiplier 3
refresh-time 30
interface to-CSG-DNST37
hello-interval 10000
no shutdown
exit
interface to-AGG-DNGSTA11
hello-interval 10000
no shutdown
exit
no shutdown
exit

1.1-HDCV-quytrinhcauhinhcsg
1.9 Cấu hình các LSP trỏ tới AGG
configure router mpls lsp LSP01-to-AGG-DNGSTA11
to 10.250.0.5
adspec
cspf
retry-timer 30
retry-limit 0
fast-reroute facility
exit
primary dyn
exit
no shutdown
exit
exit
configure router mpls lsp LSP01-to-AGG-DNGHCU31
to 10.250.0.6
adspec
cspf
retry-timer 30
retry-limit 0
fast-reroute facility
exit
primary dyn
exit
no shutdown
exit
exit

1.1 Cấu hình LDP


configure router ldp
interface-parameters
interface to-AGG-DNGSTA11
exit
interface to-CSG-DNST37
exit
exit
exit
exit
#
configure router ldp
targeted-session
peer 10.250.0.5
bfd-enable
exit
peer 10.250.0.6
bfd-enable
exit
exit
exit

1.1-HDCV-quytrinhcauhinhcsg
1.11 Cấu hình các service SDP tương ứng với LSP
configure service sdp 1005 mpls create
far-end 10.250.0.5
lsp "LSP01-to-AGG-DNGSTA11"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1006 mpls create
far-end 10.250.0.6
lsp "LSP01-to-AGG-DNGHCU31"
keep-alive
shutdown
exit
no shutdown
exit

1.12 cấu hình system


echo "Source IP Address Configuration"
#--------------------------------------------------
configure system
security
source-address
application snmptrap "loopback0"
application ntp "loopback0"
exit
exit
exit
#--------------------------------------------------
echo "System Sync-If-Timing Configuration"
#--------------------------------------------------
configure system
sync-if-timing #đặt đồng bộ
begin
ql-selection
ref-order ref1 ref2 external
ref1
source-port 1/2/3
no shutdown
exit
ref2
source-port 1/3/3
no shutdown
exit
external
input-interface
shutdown
exit
exit
revert
commit
exit
exit

1.1-HDCV-quytrinhcauhinhcsg
#--------------------------------------------------
echo "System Time Configuration"
#--------------------------------------------------
configure system
time
ntp
exit
exit
exit

exit all

1.1-HDCV-quytrinhcauhinhcsg

You might also like