You are on page 1of 22

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Ị AGG Alcatel 7750-SR Ngày hiệu lực: 18/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 AGG Alcatel 7750-SR
- 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

1.1-HDCV-quytrinhcauhinhagg
II. CHI TIẾT CẤU HÌNH

STT NỘI DUNG THỰC HIỆN


1 Cấu hình trên AGG
1.1 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
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

1.1-HDCV-quytrinhcauhinhagg
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
#
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

1.1-HDCV-quytrinhcauhinhagg
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
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

1.1-HDCV-quytrinhcauhinhagg
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
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

1.1-HDCV-quytrinhcauhinhagg
1.2 Cấu hình card, mda:
configure
card 1
card-type iom3-xp-c
mda 1
mda-type m2-10gb-xp-xfp
sync-e
network
ingress
queue-policy "Network_Queue_Mobifone"
exit
exit
no shutdown
exit
mda 2
mda-type m10-1gb-xp-sfp
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/1/13
description "Metro AGG-DNGSTA31_TE1/1/13___AGG-DNGSTA21_TE1/1/14#MF#1"
ethernet
encap-type dot1q
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit
exit
no shutdown
exit
configure port 1/1/14
description "Metro AGG-DNGSTA31_TE1/1/14___AGG-DNGTKE12_TE1/1/1#MF#1"
ethernet
encap-type dot1q

1.1-HDCV-quytrinhcauhinhagg
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit
exit
no shutdown
exit

configure port 1/1/1


description "Metro AGG-DNGSTA31_GE1/1/1___CSG-DNST10_GE1/3/3#MF#1"
ethernet
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit
exit
no shutdown
exit
configure port 1/1/2
description "Metro AGG-DNGSTA31_GE1/1/2___CSG-DNST03_GE1/3/3#MF#1"
ethernet
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit

1.1-HDCV-quytrinhcauhinhagg
exit
no shutdown
exit
configure port 1/1/3
description "Metro AGG-DNGSTA31_GE1/1/3___CSG-DNST26_GE1/2/3#MF#1"
ethernet
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit
exit
no shutdown
exit
configure port 1/1/4
description "Metro AGG-DNGSTA31_GE1/1/4___CSG-DNST28_GE1/2/3#MF#1"
ethernet
mtu 9212
hold-time up 5
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
ssm
no shutdown
exit
exit
no shutdown
exit

configure lag 1
description "To_AGG-DNGSTA21_lag-2"
mode network
encap-type dot1q
port 1/1/13
lacp active
no shutdown
exit all
configure lag 2
description "To_AGG-DNGTKE12_lag-1"
mode network

1.1-HDCV-quytrinhcauhinhagg
encap-type dot1q
port 1/1/14
lacp active
no shutdown
exit all
1.4 Cấu hình các interface:
configure router
interface "system"
address 10.250.0.20/32
bfd 500 receive 500 multiplier 3 type cpm-np
no shutdown
exit
interface "loopback0"
address 10.250.1.20/32
loopback
no shutdown
exit
interface to_AGG-DNGSTA21:10
address 10.250.2.90/30
port lag-1:10
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no shutdown
exit
interface to_AGG-DNGSTA21:903
address 10.250.8.70/30
port lag-1:903
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no shutdown
exit
interface to_CSG-DNST10
address 10.250.8.90/30
ldp-sync-timer 10
port 1/1/1
qos 100
bfd 10 receive 10 multiplier 3 type cpm-np
no shutdown
exit
interface to_AGG-DNGSTA21:904
address 10.250.8.94/30
port lag-1:904
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no shutdown
exit
interface to_CSG-DNST87
address 10.250.8.110/30
ldp-sync-timer 10
port 1/1/2
qos 100
bfd 10 receive 10 multiplier 3 type cpm-np
no shutdown
exit

1.1-HDCV-quytrinhcauhinhagg
interface to_AGG-DNGTKE12:10
address 10.250.2.93/30
port lag-2:10
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no shutdown
exit
interface to_AGG-DNGTKE12:905
address 10.250.8.113/30
port lag-2:905
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no shutdown
exit
interface to_CSG-DNST25
address 10.250.8.110/30
ldp-sync-timer 10
port 1/1/3
qos 100
bfd 10 receive 10 multiplier 3 type cpm-np
no shutdown
exit
interface to_AGG-DNGTKE12:906
address 10.250.8.141/30
port lag-2:906
bfd 10 receive 10 multiplier 3 type cpm-np
ldp-sync-timer 10
no
interface to_CSG-DNST28
address 10.250.8.145/30
ldp-sync-timer 10
port 1/1/4
qos 100
bfd 10 receive 10 multiplier 3 type cpm-np
no shutdown
exit
exit
1.5 Cấu hình OSPF:
configure router ospf
router-id 10.250.0.20
traffic-engineering
timers
spf-wait 10 10 10
lsa-arrival 2
lsa-generate 10 10 10
exit
area 0.0.0.0
interface "system"
no shutdown
exit
interface "loopback0"
no shutdown
exit
interface to_AGG-DNGSTA12:10
bfd-enable

1.1-HDCV-quytrinhcauhinhagg
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
interface to_AGG-DNGSTA31:10
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
exit
area 0.0.0.44
interface to_AGG-DNGSTA21:903
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
interface to_CSG-DNST10
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
exit
area 0.0.0.45
interface to_AGG-DNGSTA21:904
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
interface to_CSG-DNST87
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100

1.1-HDCV-quytrinhcauhinhagg
exit
exit
area 0.0.0.46
interface to_AGG-DNGTKE12:905
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
interface to_CSG-DNST25
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
exit
area 0.0.0.47
interface to_AGG-DNGTKE12:906
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
interface to_CSG-DNST28
bfd-enable
authentication-type message-digest
message-digest-key 1 md5 "mlmt12345"
interface-type point-to-point
hello-interval 10
dead-interval 40
metric 100
exit
exit
configure router
autonomous-system 65333
ecmp 2
router-id 10.250.0.20
exit
1.6 Cấu hình BGP:
configure router bgp
local-as 65333
router-id 10.250.0.20
enable-peer-tracking
min-route-advertisement 2
rapid-withdrawal
multipath 2

1.1-HDCV-quytrinhcauhinhagg
backup-path ipv4
next-hop-resolution
label-route-transport-tunnel
family ipv4
resolution-filter
ldp
rsvp
exit
resolution filter
exit
family vpn
resolution-filter
ldp
rsvp
exit
resolution filter
exit
exit
exit
enable-rr-vpn-forwarding
group "Metro Core"
family ipv4 vpn-ipv4
next-hop-self
type internal
peer-as 65333
neighbor 10.250.0.1 # address of Higher-Level Route-reflector (Metro Core router)
bfd-enable
authentication-key "mlmt12345"
local-address 10.250.0.22
advertise-label ipv4
exit
neighbor 10.250.0.2 # address of Higher-Level Route-reflector (Metro Core router)
bfd-enable
authentication-key "mlmt12345"
local-address 10.250.0.22
advertise-label ipv4
exit
exit
group "CSG"
family vpn-ipv4
next-hop-self
cluster 10.250.0.20 #AGG router system IP address
type internal
peer-as 65333
exit
exit
1.7 Cấu hình MPLS:
configure router mpls
resignal-timer 30
path dyn
no shutdown
exit
interface to_AGG-DNGSTA21:10
no shutdown
exit

1.1-HDCV-quytrinhcauhinhagg
interface to_AGG-DNGSTA21:903
no shutdown
exit
interface to_CSG-DNST10
no shutdown
exit
interface to_AGG-DNGSTA21:904
no shutdown
exit
interface to_CSG-DNST87
no shutdown
exit
interface to_AGG-DNGTKE12:10
no shutdown
exit
interface to_AGG-DNGTKE12:905
no shutdown
exit
interface to_CSG-DNST25
no shutdown
exit
interface to_AGG-DNGTKE12:906
no shutdown
exit
interface to_CSG-DNST28
no shutdown
exit
1.8 Cấu hình RSVP:
configure router rsvp
keep-multiplier 3
refresh-time 30
interface to_AGG-DNGSTA12:10
hello-interval 10000
no shutdown
exit
interface to_AGG-DNGSTA21:10
hello-interval 10000
no shutdown
exit
interface to_AGG-DNGSTA21:903
hello-interval 10000
no shutdown
exit
interface to_CSG-DNST10
hello-interval 10000
no shutdown
exit
interface to_AGG-DNGSTA21:904
hello-interval 10000
no shutdown
exit
interface to_CSG-DNST87
hello-interval 10000
no shutdown
exit

1.1-HDCV-quytrinhcauhinhagg
interface to_AGG-DNGTKE12:10
hello-interval 10000
no shutdown
exit
interface to_AGG-DNGTKE12:905
hello-interval 10000
no shutdown
exit
interface to_CSG-DNST25
hello-interval 10000
no shutdown
exit
interface to_AGG-DNGTKE12:906
hello-interval 10000
no shutdown
exit
interface to_CSG-DNST28
hello-interval 10000
no shutdown
exit
no shutdown
exit
1.9 Cấu hình trỏ LSP tới MC, 2GGW và các AGG:
configure router mpls lsp LSP01-to-MTC-DNGSTA11
to 10.250.0.1
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-MTC-DNGTKE11
to 10.250.0.2
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-2GG-DNGTKE11
to 10.250.0.3
adspec
cspf
retry-timer 30
retry-limit 0

1.1-HDCV-quytrinhcauhinhagg
fast-reroute facility
exit
primary dyn
exit
no shutdown
exit
exit
configure router mpls lsp LSP01-to-2GG-DNGTKE12
to 10.250.0.4
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-DNGSTA12
to 10.250.0.18
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-DNGSTA05
to 10.250.0.19
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-DNGTKE12
to 10.250.0.21
adspec
cspf
retry-timer 30
retry-limit 0
fast-reroute facility
exit
primary dyn

1.1-HDCV-quytrinhcauhinhagg
exit
no shutdown
exit
exit
1.1 Cấu hình LDP:
configure router ldp
interface-parameters
interface to_AGG-DNGSTA21:10
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_AGG-DNGSTA21:903
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_CSG-DNST10
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_AGG-DNGSTA21:904
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_CSG-DNST87
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit

1.1-HDCV-quytrinhcauhinhagg
no shutdown
exit
interface to_AGG-DNGTKE12:10
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_AGG-DNGTKE12:905
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_CSG-DNST25
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_AGG-DNGTKE12:906
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
interface to_CSG-DNST28
ipv4
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
exit
exit
#

1.1-HDCV-quytrinhcauhinhagg
configure router ldp
targeted-session
peer 10.250.0.1
bfd-enable
exit
peer 10.250.0.2
bfd-enable
exit
peer 10.250.0.3
bfd-enable
exit
peer 10.250.0.4
bfd-enable
exit
peer 10.250.0.18
bfd-enable
exit
peer 10.250.0.19
bfd-enable
exit
peer 10.250.0.21
bfd-enable
exit
peer 10.250.3.119
bfd-enable
exit
peer 10.250.3.120
bfd-enable
exit
peer 10.250.3.121
bfd-enable
exit
peer 10.250.3.122
bfd-enable
exit
peer 10.250.3.123
bfd-enable
exit
peer 10.250.3.124
bfd-enable
exit
peer 10.250.3.125
bfd-enable
exit
peer 10.250.3.126
bfd-enable
exit
peer 10.250.3.127
bfd-enable
exit
peer 10.250.3.128
bfd-enable
exit
peer 10.250.3.129
bfd-enable

1.1-HDCV-quytrinhcauhinhagg
exit
peer 10.250.3.130
bfd-enable
exit
peer 10.250.3.131
bfd-enable
exit
peer 10.250.3.132
bfd-enable
exit
peer 10.250.3.133
bfd-enable
exit
peer 10.250.3.134
bfd-enable
exit
exit
exit
1.11 Cấu hình SDP :
configure service sdp 1001 mpls create
far-end 10.250.0.1
lsp "LSP01-to-MTC-DNGSTA11"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1002 mpls create
far-end 10.250.0.2
lsp "LSP01-to-MTC-DNGTKE11"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1003 mpls create
far-end 10.250.0.3
lsp "LSP01-to-2GG-DNGTKE11"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1004 mpls create
far-end 10.250.0.4
lsp "LSP01-to-2GG-DNGTKE12"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1018 mpls create
far-end 10.250.0.18
lsp "LSP01-to-AGG-DNGSTA12"
keep-alive

1.1-HDCV-quytrinhcauhinhagg
shutdown
exit
no shutdown
exit
configure service sdp 1019 mpls create
far-end 10.250.0.19
lsp "LSP01-to-AGG-DNGSTA21"
keep-alive
shutdown
exit
no shutdown
exit
configure service sdp 1021 mpls create
far-end 10.250.0.21
lsp "LSP01-to-AGG-DNGTKE12"
keep-alive
shutdown
exit
no shutdown
exit
1.12 Cấu hình đồng bộ synce và ptp:
configure system
sync-if-timing
begin
ref-order ref1 ref2 bits
bits
input
shutdown
exit
output
shutdown
exit
exit
ref1
source-port 1/1/13
no shutdown
exit
ref2
shutdown
exit
revert
ql-selection
commit
exit
exit
configure system ptp
profile ieee1588-2008
clock-type boundary
peer 10.250.0.18 create
no shutdown
exit
peer 10.250.0.20 create
no shutdown
exit
no shutdown

1.1-HDCV-quytrinhcauhinhagg
exit all
1.13 Cấu hình system:
configure system
snmp
packet-size 9216
no shutdown
exit
time
ntp
server 10.151.59.251
no shutdown
exit
zone ICT 07:00
exit
exit
configure system
security
source-address
application snmptrap "loopback0"
application ntp "loopback0"
exit
snmp
access group "snmpv3" security-model usm security-level privacy read iso write iso notify
iso
exit
user snmpv3_user
access snmp
snmp
group "snmpv3"
exit
exit
exit
exit

1.1-HDCV-quytrinhcauhinhagg

You might also like