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

All rights reserved.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Auto-integration is ongoing. Please invoke command !!
!! "auto-integration abort" if it is not desired. !!
!! Node reboot will follow. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[local]router6000#auto-integration abort
...
...

********************************************
CONFIGURE THE ETHERNET MANAGEMENT PORT:
********************************************

config
context local
interface mgmt
ip address 192.168.1.1/24
port eth management
description local_eth_mgmt_port
no shutdown
bind interface mgmt local

sh config port management


sh ip interface mgmt

commit

********************************************
Habilitar Protocolos:
********************************************

sh service

config
cont local
service ssh
service sftp
service scp

sh service
commit
end

********************************************
Criar os usuários:
********************************************

configure
cont local

!
no logging console
!
aaa authentication administrator local
!
administrator enmuser password Ericsson123
privilege start 15
privilege max 15
allow-password-change
role NetconfPlatformAdministrator
!
administrator ericsson password Ericsson123#
privilege start 15
privilege max 15

commit
end

[local]router6000#save configuration
Save to file: /flash/ericsson.cfg
Target file exists, overwrite? (y/n) y

********************************************
CONFIGURE LAPTOP IP-ADDRESS:
********************************************

ip: 192.168.1.2
mask: 255.255.255.0
default_gateway: 192.168.1.1

********************************************
ACESSAR COM FILEZILLA:
********************************************

login: administrator
password: Ericsson123#

~~Em análise para transferência do arquivo (/flash)~~~

-----------------------------------------------------------------------

Ativar a porta USB:

config
system usb-port
commit
end

[local]router6000#sh usb-port
Current usb mode is Host
Current usb status is Enable

[local]router6000#cd /media/flash
Current directory is now /media/flash

[local]router6000#dir
Contents of /media/flash/
total 36728
drwxr-xr-x 0 root root 8192 May 25 2018 CRAFT 16A
drwxr-xr-x 0 root root 8192 Jul 5 2017 ELEMENT_MANAGER_JAVA_7.4
drwxr-xr-x 0 root root 57344 Sep 5 2018 System Volume Information
drwxr-xr-x 13 root root 8192 Mar 19 2018 cygwin
-rwxr-xr-x 1 root root 1123 Sep 17 2017 cygwin - Atalho.lnk
-rwxr-xr-x 1 root root 7205 Dec 1 2021 ericsson_SPSB02.cfg
-rwxr-xr-x 1 root root 16438680 Apr 15 2009 jre-6u13-windows-i586-p-s.exe
-rwxr-xr-x 1 root root 21052880 May 3 2012 jre-7u4-windows-i586.exe
drwxr-xr-x 0 root root 16384 May 25 2018 radio ericsson

[local]router6000#copy /media/flash/ericsson_SPSB02.cfg /flash


copying from local:/media/flash/ericsson_SPSB02.cfg to
local:/flash/ericsson_SPSB02.cfg...

[local]router6000#dir
Contents of /media/flash/
total 36728
drwxr-xr-x 0 root root 8192 May 25 2018 CRAFT 16A
drwxr-xr-x 0 root root 8192 Jul 5 2017 ELEMENT_MANAGER_JAVA_7.4
drwxr-xr-x 0 root root 57344 Sep 5 2018 System Volume Information
drwxr-xr-x 13 root root 8192 Mar 19 2018 cygwin
-rwxr-xr-x 1 root root 1123 Sep 17 2017 cygwin - Atalho.lnk
-rwxr-xr-x 1 root root 7205 Dec 1 2021 ericsson_SPSB02.cfg
-rwxr-xr-x 1 root root 16438680 Apr 15 2009 jre-6u13-windows-i586-p-s.exe
-rwxr-xr-x 1 root root 21052880 May 3 2012 jre-7u4-windows-i586.exe
drwxr-xr-x 0 root root 16384 May 25 2018 radio ericsson

[local]router6000#pwd
/media/flash

[local]router6000#cd /flash
Current directory is now /flash

[local]router6000#pwd
/flash

[local]router6000#dir
Contents of /flash/
total 80
drwxr-xr-x 2 root root 536 Nov 30 16:16 autod_config
drwxr-xr-x 2 root root 240 Nov 30 15:34 bcm
drwxr-xr-x 2 root root 160 Nov 30 15:33 brm
-rw------- 1 root root 896 Nov 30 17:22 cs.bin
-rw------- 1 root root 32 Nov 30 17:22 cs.bin.iv
drwxr-xr-x 2 root root 160 Nov 30 15:33 diags
drwxr-xr-x 3 root root 312 Nov 30 16:17 eps
-rw-r--r-- 1 root root 34940 Nov 30 16:52 ericsson.bin
-rw-r--r-- 1 root fsa 2937 Nov 30 16:52 ericsson.cfg
-rw-r--r-- 1 root fsa 911 Nov 30 16:52 ericsson.cfg.bak
-rw-r--r-- 1 root siara 7205 Nov 30 17:20 ericsson_SPSB02.cfg
drwxr-xr-t 4 root siara 296 Nov 30 16:39 home
drwxr-x--- 2 root root 296 Nov 30 15:33 licm
drwxr-xr-x 3 root root 232 Nov 30 15:33 lm
-rw-r--r-- 1 root root 35 Nov 30 15:34 oam_frag_filter.txt
-rw-r--r-- 1 root root 10 Nov 30 16:17 prev_hostname_file
drwxr-xr-x 2 root root 232 Nov 30 16:19 qostm
drwxr-xr-x 5 root root 360 Nov 30 15:33 secm
-rw------- 1 root root 185 Nov 30 16:17 snmpEngine.cfg
-rw------- 1 root root 185 Nov 30 16:17 snmpEngine.cfg~
dr--r--r-- 2 root root 232 Nov 30 16:02 subca
-rw-r--r-- 1 root root 499 Nov 30 16:17 swm.cfg

[local]router6000#config

[local]router6000(config)#boot configuration ericsson_SPSB02.cfg

[local]router6000(config)#commit

[local]router6000(config)#end

[local]router6000#

[local]router6000#save configuration
Save to file: /flash/ericsson_SPSB02.cfg
Target file exists, overwrite? (y/n) y

reload

-----------------------------------------------------------------------

Ativar pelo prompt:

config

CTRL+C no arquivo de backup


Botão direito (colar) no prompt do router

save configuration

reload

Para fazer um backup:

[local]R6672-SPSB02#pwd
/flash

[local]R6672-SPSB02#dir
Contents of /flash/
total 88
drwxr-xr-x 2 root root 536 Nov 30 13:16 autod_config
drwxr-xr-x 2 root root 240 Nov 30 12:34 bcm
drwxr-xr-x 2 root root 160 Nov 30 12:33 brm
-rw------- 1 root root 912 Nov 30 15:06 cs.bin
-rw------- 1 root root 32 Nov 30 15:06 cs.bin.iv
drwxr-xr-x 2 root root 160 Nov 30 12:33 diags
drwxr-xr-x 3 root root 312 Nov 30 15:03 eps
-rw-r--r-- 1 root root 40693 Nov 30 15:01 ericsson.bin
-rw-r--r-- 1 root fsa 7205 Nov 30 15:01 ericsson.cfg
-rw-r--r-- 1 root fsa 7205 Nov 30 15:01 ericsson.cfg.bak
-rw-r--r-- 1 root siara 2989 Nov 30 14:27 ericsson_SPSB02.cfg
drwxr-xr-t 4 root siara 296 Nov 30 13:39 home
drwxr-x--- 2 root root 296 Nov 30 12:33 licm
drwxr-xr-x 3 root root 232 Nov 30 12:33 lm
-rw-r--r-- 1 root root 35 Nov 30 12:34 oam_frag_filter.txt
-rw-r--r-- 1 root root 12 Nov 30 15:03 prev_hostname_file
drwxr-xr-x 2 root root 232 Nov 30 15:04 qostm
drwxr-xr-x 5 root root 440 Nov 30 14:58 secm
-rw------- 1 root root 186 Nov 30 15:03 snmpEngine.cfg
-rw------- 1 root root 186 Nov 30 15:03 snmpEngine.cfg~
dr--r--r-- 2 root root 232 Nov 30 13:02 subca
-rw-r--r-- 1 root root 499 Nov 30 15:03 swm.cfg

[local]R6672-SPSB02#more ericsson.cfg

... copiar todo conteúdo do prompt para um arquivo:

!
! Configuration last changed by user '_cde' at Mon Nov 30 15:00:53 2020
!
! Configuration last changed by system user '%COM%' at Mon Nov 30 15:00:56 2020
!
!
!
!
service multiple-contexts
!
!
!
!
!
!
!
!
!
!
!
!
no release description
!
!
!
!
!
!
global synchronization option 1
!
!
no release description
!
!release ID 2
!
!
alarm-port 1 input 1 active low
alarm-port 1 input 1 admin-state disabled
alarm-port 1 input 1 severity critical
no alarm-port 1 input 1 description
alarm-port 1 input 2 active low
alarm-port 1 input 2 admin-state disabled
alarm-port 1 input 2 severity critical
no alarm-port 1 input 2 description
alarm-port 1 input 3 active low
alarm-port 1 input 3 admin-state disabled
alarm-port 1 input 3 severity critical
no alarm-port 1 input 3 description
!
alarm-port 1 output 1 admin-state disabled
no alarm-port 1 output 1 description
!
!
netconf tls server admin-state enabled
!
context local
!
description SCRIPT_ERIBOX
!
no ip domain-lookup
!

!
!
interface bvi_oam
ip address 10.111.37.193/29
dhcp relay 1000
ip source-address telnet snmp ssh dhcp-server
!
interface uplink_p2p
ip address 10.36.227.84/29
!
!
ip route 0.0.0.0/0 10.36.227.81
ip route 10.38.145.168/32 10.111.37.194
ip route 10.38.145.169/32 10.111.37.195
ip route 10.38.145.170/32 10.111.37.196
ip route 10.38.145.171/32 10.111.37.197
!
!
!
service ssh
service sftp
service scp
service snmp server

!
ntp-mode
!
server 10.216.224.6 version 3
server 10.216.224.20 version 3

!
!
dhcp relay option hostname
dhcp relay server 10.216.224.12
max-hops 16
!
dhcp relay server 10.216.224.13
max-hops 16
!
!
!
no logging console
!
aaa authentication administrator local
!
!
administrator enmuser encrypted 2 $6$I0irDm/R$AKLrjJBJmRuR43MhMBEAExq9yzHP.rdHJ
/XIw2qrtjFaBFH/ORu3Q0qjkD/Ol2qhFKJmPz/w1Wm9rJx.QvYY01
privilege start 15
privilege max 15
allow-password-change
role NetconfPlatformAdministrator
administrator ericsson encrypted 2 $6$I0irDm/R$liGFYoHszWGLhq.8oy0XfY3nDrtIDH.Z
L4eQnQ0zwsT5TgGoCrxWmQZyABivAgsSroFXGNcGOAARpOrdkWjog0
privilege start 15
privilege max 15

public-key RSA
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvniUQoZTxK2K/H3RcNt2gwVeATqVqlrorYlbGE+IdqrJ
jJHFjA5jvmKAYuxGpZYe4LaMaueLpolQ41jm65GeLTHlppG4lO03Yccf5+rmsFixdgnf5pTrS3a+aWjE
6socDtaWdZP7aLhdRx8QdjQCFTRfBY9vNMIAHk6osXj0iX3qDXlAioiFqIW1VYeqVZskK9yxTS94fttu
W7jZ6zhZSYMbzb8SHdnbrznkZ/e5Lsv7ughusO5AcEvbI2xw1PhRpM2byag8regdO6vgzCNs/o+I+1IN
TFbs4pJvsuq3lt6r781CQgcV0naL7sa0F8DC04RGFe3Z36wsLruiHCMoyQ== f8015950@scp-4-amos

!
!
! ** End Context **
!
!
ipv4 enable-fragment
!
!
!
link-group group01
description to TIM-CSR
no shutdown
encapsulation dot1q
maximum-links 2
lacp active
dot1q pvc 2107
bind interface uplink_p2p local
!
!
!
!
!
system clock timezone BR-SPO -3 0 local
!
!
card lc-1-10ge-20-8-port 1
!
port ethernet 1/1
description BB1
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 20
match
dot1q 20
service-instance 30
match
dot1q 30
!
port ethernet 1/2
description BB2
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 20
match
dot1q 20
service-instance 30
match
dot1q 30
!
port ethernet 1/3
description BB3
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 20
match
dot1q 20
service-instance 30
match
dot1q 30
!
port ethernet 1/4
description BB4
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 20
match
dot1q 20
service-instance 30
match
dot1q 30
!
port ethernet 1/9 10ge
description BB1
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 100
match
dot1q 100
service-instance 101
match
dot1q 101
!
port ethernet 1/10 10ge
description BB2
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 100
match
dot1q 100
service-instance 101
match
dot1q 101
!
port ethernet 1/11 10ge
description BB3
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 100
match
dot1q 100
service-instance 101
match
dot1q 101
!
port ethernet 1/12 10ge
description BB4
synchronous-mode
no shutdown
encapsulation dot1q
service-instance 100
match
dot1q 100
service-instance 101
match
dot1q 101
!
port ethernet 1/15
description to TIM-CSR
no auto-negotiate
no shutdown
link-group group01
!
port ethernet 1/16
description to TIM-CSR
no shutdown
link-group group01
!
!
port bvi bvi_oam
no shutdown
bridge name bvi_oam
encapsulation dot1q
dot1q pvc 20
bind interface bvi_oam local
!
boot configuration /flash/ericsson.cfg
!
ipv6 path-mtu-discovery discovery-interval 600
!
service exit-prompt
!
system hostname R6672-SPSB02
system dnprefix SubNetwork=ONRM_ROOT_MO_R,SubNetwork=LTE,SubNetwork=TSP,SubNetwo
rk=Transport,MeContext=R6672-SPSB02
!
tcp path-mtu-discovery
!
!
snmp server
traps ifmib ip
traps l2tpmib
traps l2vpnmib
traps mplsl3vpn
traps nemib non-exclusive
alarms ospfNbrStateChange
alarms bgpEstablishedNotification
alarms mplsLdpSessionUp
alarms bfdSessionDown
snmp view all internet included
snmp view ENM-View internet included
snmp view ENM-View system included
snmp view ENM-View snmp included
snmp view ENM-View snmpEngine included
snmp view ENM-View snmpMPDStats included
snmp view ENM-View usmStats included
snmp community public all-contexts view all read-write
snmp target ENM_public_v2c 10.216.224.33 security-name public version 2c view EN
M-View
snmp ericsson-alarm heartbeat-interval 100
bridge bvi_oam
port 1/1 service-instance 20
port 1/2 service-instance 20
port 1/3 service-instance 20
port 1/4 service-instance 20
bridge id_100
description CA
port 1/9 service-instance 100
port 1/10 service-instance 100
port 1/11 service-instance 100
port 1/12 service-instance 100
bridge id_101
description COMP
port 1/9 service-instance 101
port 1/10 service-instance 101
port 1/11 service-instance 101
port 1/12 service-instance 101
!
!
licensing
fingerprint R6672-SPSB02
!
LI-START
LI-END
!
!
synchronization
tod input tod-a
no shutdown
protocol ericsson-combined ericsson-personality
ptp-clock g8275-1 t-bc
ptp-port 1
description Conectado a BB1
transport ethernet multicast
circuit 1/1
no shutdown
ptp-port 2
description Conectado a BB2
transport ethernet multicast
circuit 1/2
no shutdown
ptp-port 3
description Conectado a BB3
transport ethernet multicast
circuit 1/3
no shutdown
ptp-port 4
description Conectado a BB4
transport ethernet multicast
circuit 1/4
no shutdown
ptp-port 5
description Conectado a BB1
transport ethernet multicast
circuit 1/9
no shutdown
ptp-port 7
description Conectado a BB2
transport ethernet multicast
circuit 1/10
no shutdown
ptp-port 9
description Conectado a BB3
transport ethernet multicast
circuit 1/11
no shutdown
ptp-port 11
description Conectado a BB4
transport ethernet multicast
circuit 1/12
no shutdown
ptp-port 50 virtual
description Conectado ao GPS
local-priority 32
attach tod-a
no shutdown
equipment-clock
input-source 1 external tod-a
priority 100
!
!
end

You might also like