Configuration Script CSG - ATN910C-B.HUIZUCAR - PHEONIX.01
Configuration Script CSG - ATN910C-B.HUIZUCAR - PHEONIX.01
system
undo dcn
y
sysname CSG.ATN910C-B.HUIZUCAR_PHEONIX.01
ssh client first-time enable
telnet server enable
ftp server enable
lldp enable
license
active port-basic slot 2 port 4
ntp-service unicast-server 172.16.128.1
tunnel-policy IPRAN
tunnel select-seq cr-lsp lsp load-balance-number 1
#
ip vpn-instance Huawei_O&M
ipv4-family
route-distinguisher 400:1
tnl-policy IPRAN
apply-label per-instance
vpn-target 65000:400 export-extcommunity
vpn-target 65000:401 import-extcommunity
#
ip vpn-instance Tigo_O&M
ipv4-family
route-distinguisher 300:1
tnl-policy IPRAN
apply-label per-instance
vpn-target 65000:300 export-extcommunity
vpn-target 65000:301 import-extcommunity
#
ip vpn-instance Tigo_Service
ipv4-family
route-distinguisher 100:1
tnl-policy IPRAN
apply-label per-instance
vpn-target 65000:100 export-extcommunity
vpn-target 65000:101 import-extcommunity
#
ip vpn-instance S1
ipv4-family
route-distinguisher 500:1
tnl-policy IPRAN
apply-label per-instance
vpn-target 65000:505 export-extcommunity
vpn-target 65000:505 import-extcommunity
#
set net-manager vpn-instance Huawei_O&M
#
router id 172.16.131.227
#
bfd
#
mpls lsr-id 172.16.131.227
mpls
mpls te
mpls rsvp-te
mpls rsvp-te bfd all-interfaces enable
mpls rsvp-te bfd all-interfaces min-tx-interval 100 min-rx-interval 100
mpls rsvp-te hello
mpls rsvp-te srefresh
mpls te cspf
#
explicit-path To_RSG.CX.PYNZA_M.01
next hop 10.0.28.38 include loose
#
explicit-path To_ASG.CX.BEETHOVEN_M.01
next hop 10.0.28.34 include loose
#
mpls ldp
#
ntp-service unicast-server 172.16.128.1
#
interface GigabitEthernet0/2/4
description **To_CSG.ATN910C.NUEVO_CUSCATLAN.01_GigabitEthernet0/2/4**
mtu 9500
ip add 10.0.30.81 30
ospf cost 100
ospf network-type p2p
ospf ldp-sync
mpls
mpls te
mpls rsvp-te
mpls rsvp-te hello
mpls rsvp-te srefresh
mpls ldp
trust upstream default
#
interface LoopBack0
ip address 172.16.131.227 255.255.255.255
#
interface LoopBack1
ip binding vpn-instance Huawei_O&M
ip address 172.16.139.227 255.255.255.255
#
interface Tunnel0/0/1
ip address unnumbered interface LoopBack0
tunnel-protocol mpls te
destination 172.16.128.5
mpls te tunnel-id 1
mpls te record-route label
mpls te path explicit-path To_RSG.CX.PYNZA_M.01
mpls te backup hot-standby mode revertive wtr 60
mpls te backup hot-standby overlap-path
mpls te reoptimization
mpls te commit
#
interface Tunnel0/0/2
ip address unnumbered interface LoopBack0
tunnel-protocol mpls te
destination 172.16.128.6
mpls te tunnel-id 2
mpls te record-route label
mpls te path explicit-path To_ASG.CX.BEETHOVEN_M.01
mpls te backup hot-standby mode revertive wtr 60
mpls te backup hot-standby overlap-path
mpls te reoptimization
mpls te commit
#
bgp 65000
router-id 172.16.131.227
graceful-restart
peer 172.16.128.5 as-number 65000
peer 172.16.128.5 connect-interface loopback0
peer 172.16.128.6 as-number 65000
peer 172.16.128.6 connect-interface loopback0
ipv4-family unicast
undo synchronization
undo peer 172.16.128.5 enable
y
undo peer 172.16.128.6 enable
y
#
ipv4-family vpnv4
policy vpn-target
peer 172.16.128.5 enable
y
peer 172.16.128.6 enable
y
ipv4-family vpn-instance Huawei_O&M
import-route direct
import-route static
ipv4-family vpn-instance S1
import-route direct
import-route static
#
ospf 1 router-id 172.16.131.227
bfd all-interfaces enable
bfd all-interfaces min-tx-interval 100 min-rx-interval 100
spf-schedule-interval intelligent-timer 200 50 50
lsa-originate-interval intelligent-timer 500 50 100
lsa-arrival-interval intelligent-timer 100 50 50
opaque-capability enable
stub-router on-startup
area 7
network 10.0.30.81 0.0.0.0
network 172.16.131.227 0.0.0.0
stub
mpls-te enable
#
bfd lsp1 bind mpls-te interface Tunnel0/0/1 te-lsp
discriminator local 1
discriminator remote 799
process-pst
commit
#
bfd lsp2 bind mpls-te interface Tunnel0/0/2 te-lsp
discriminator local 2
discriminator remote 799
process-pst
commit
#
bfd te1 bind mpls-te interface Tunnel0/0/1
discriminator local 101
discriminator remote 1799
min-tx-interval 50
min-rx-interval 50
process-pst
commit
#
bfd te2 bind mpls-te interface Tunnel0/0/2
discriminator local 102
discriminator remote 1799
min-tx-interval 50
min-rx-interval 50
process-pst
commit
#
snmp-agent
snmp-agent community write cipher tigou2000
snmp-agent community read cipher tigo1234
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 172.30.14.172 vpn-instance
Huawei_O&M params securityname tigou2000 v2c private-netmanager ext-vb
snmp-agent trap source LoopBack1
snmp-agent sys-info location SAN MIGUEL
snmp-agent trap enable
snmp-agent packet max-size 12000
snmp-agent notification-log enable
snmp-agent extend error-code enable
snmp-agent inform timeout 5 resend-times 6 pending 7
snmp-agent notification-log enable
snmp-agent notification-log global-ageout 24
#
aaa
local-user nsorto password cipher Huawei@123
local-user nsorto level 3
local-user nsorto service-type ftp telnet ssh
local-user nsorto ftp-directory cfcard:/
local-user crivera password cipher Huawei@123
local-user crivera level 3
local-user crivera service-type ftp telnet ssh
local-user crivera ftp-directory cfcard:/
local-user tigohuawei password cipher TigoATN950&910
local-user tigohuawei user-group manage-ug
local-user tigohuawei level 3
local-user tigohuawei service-type ssh telnet
local-user tigohuawei ftp-directory cfcard:/
#
Stelnet server enable
#
ssh user Tigohuawei
ssh user Tigohuawei authentication-type password
ssh user Tigohuawei service-type all
#
snetconf server enable
ssh server-source all-interface
telnet server-source all-interface
y
sftp client-source -i LoopBack 1
#
ssh client first-time enable
#
user-interface con 0
authentication-mode password
set authentication password cipher TigoHuawei
user-interface vty 0 4
authentication-mode aaa
idle-timeout 5 0
protocol inbound all
#
commit
return
save
y