Marvel Demo

You might also like

You are on page 1of 11

pi

password "raspberry"

sudo minicom -D /dev/ttyUSB2 - core-1

sudo minicom -D /dev/ttyUSB3 - core-0

In core-0
----------
echo 1 > /isam/config/reboot

In core-1
---------
cpssEarlyCmdInit

configure
interface ethernet 0/2
speed 10000 mode SR_LR
no shutdown
exit
interface ethernet 0/3
speed 10000 mode SR_LR
no shutdown
exit

npEnableMvlPort 9 1
npEnableMvlPort 10 1
npEnableMvlPort 11 1
lua
config

interface vlan device 0 vid 302


exit
interface ethernet 0/1
switchport allowed vlan add 302 tagged
exit
interface port-channel 66
switchport allowed vlan add 302 tagged
exit
interface port-channel 67
switchport allowed vlan add 302 tagged
exit

interface vlan device 0 vid 4094


exit
interface ethernet 0/32
switchport allowed vlan add 4094 tagged
exit
interface port-channel 65
switchport allowed vlan add 4094 tagged
exit

show interfaces status all

show vlan device 0

show interfaces mac counters ethernet 0/2


show interfaces mac counters ethernet 0/3
show interfaces mac counters ethernet 0/4
show interfaces mac counters ethernet 0/12

ifconfig eth0 down


ifconfig eth-mgnt down
iproute del default
iproute del 135.249.101.0
iproute del 135.249.101.0/24
ifconfig eth0 up
ifconfig eth0 135.249.101.193 netmask 255.255.255.0
ifconfig eth0 135.249.101.193 netmask 255.255.255.0
ifconfig eth0 135.249.101.193 netmask 255.255.255.0

ip route add default via 135.249.101.1

ifconfig eth-mgnt up
ifconfig eth-mgnt 135.249.101.191 netmask 255.255.255.0
ifconfig eth-mgnt 135.249.101.191 netmask 255.255.255.0
ifconfig eth-mgnt 135.249.101.191 netmask 255.255.255.0
ip route add default via 135.249.101.1

ifconfig eth0 up
ifconfig eth0 135.249.101.191 netmask 255.255.255.0
ifconfig eth0 135.249.101.191 netmask 255.255.255.0
ifconfig eth0 135.249.101.191 netmask 255.255.255.0
ip route add default via 135.249.101.1
cd /mnt/cf/ihub/
scp gviswana@135.249.22.193:/home/gviswana/ihub.bin.gz 1

ifconfig eth0 up
ifconfig eth0 10.9.69.47 netmask 255.255.255.0
ifconfig eth0 10.9.69.47 netmask 255.255.255.0
ifconfig eth0 10.9.69.47 netmask 255.255.255.0
ip route add default via 10.9.69.1

cd /mnt/emmc-persistent/ihub
rm ihub.bin.gz
scp gviswana@135.249.22.193:/repo/gviswana/mf2_drop/vobs/dsl/IPD/bin/7710-
mips64/ihub.bin.gz .
scp jiangusu@135.251.206.190:/home/jiangusu/gviswana/ihub.bin.gz .
scp gviswana@10.131.232.38:/repo/gviswana/sros20_latest/vobs/dsl/IPD/bin/7250-
mips64/ihub.bin.gz .
scp gviswana@10.131.232.38:/repo/gviswana/l3_prot_repo/vobs/dsl/IPD/bin/7710-
mips64/ihub.bin.gz .

bC.apdLMm53

scp gviswana@135.249.22.193:/repo/gviswana/mf2_latest/vobs/dsl/IPD/bin/7710-
mips64/ihub.bin.gz .
scp gviswana@10.131.232.38:/repo/gviswana/MF2/vobs/dsl/IPD/bin/7710-
mips64/ihub.bin.gz .

ifconfig eth-mgnt down


ifconfig eth-mgnt 135.249.101.193 netmask 255.255.255.0 up
ifconfig eth-mgnt 135.249.101.193 netmask 255.255.255.0 up
ifconfig eth-mgnt 135.249.101.193 netmask 255.255.255.0 up
ip route delete default
ip route add default via 135.249.101.1
ifconfig eth-mgnt
ip route

scp -P 2222 ihub.bin.gz 10.10.0.1:/mnt/cf/ihub

redPostSetActiveRedcyState

cpssLogEnableSet 1

jsh
tmc
traceLimitDisable
traceEnable
traceFdSet -2
tracepointSet MOD_CFGMGNT
tracepointSet MOD_L1IW
tracepointSet MOD_MDADRV
tracepointSet MOD_IOM
tracepointSet MOD_PMGR
tracepointSet MOD_ICC
tracepointSet MOD_NPAPISYS 0 0 0 "npPortConfigSpeed_mv"
tracepointSet MOD_NPAPISYS 0 0 0 "npCheckIsPortIdValid"
tracepointSet MOD_NPAPISYS 0 0 0 "npPortConfigAdminStatus_mv"
tracepointSet MOD_NPAPISYS 0 0 0 "npEnableMvlPort"
tracepointSet MOD_NPAPISYS 0 0 0 "linkScanCallBackHdlr"
gNpapiDebugAll=1

tracepointSet MOD_IOM_LLDP

tracepointSet MOD_L1IW
tracepointSet MOD_NPAPISYS 0 0 0 "linkScanCallBackHdlr"

tracepointSet MOD_MDADRV
tracepointSet EQPT_HWA
npapiDebugEnableDebugAll

configure {
card 1 {
admin-state enable
card-type iom-fad
mda 1 {
admin-state enable
mda-type nt-sfp
mda-name "nt-a-sfp"
}
mda 2 {
admin-state enable
mda-type nt-non-sfp
mda-name "nt-a-non-sfp"
}
mda 5 {
admin-state enable
mda-type nt-virtual
mda-name "nt-virtual"
}
mda 3 {
admin-state enable
mda-type nt-sfp
mda-name "nt-b-sfp"
}
mda 4 {
admin-state enable
mda-type nt-non-sfp
mda-name "nt-b-non-sfp"
}
mda 8 {
admin-state enable
mda-type lwlt-c
mda-name "lwlt-c"
}

}
}

confd_cli -u admin

STEP 1 : on Linux shell :


mkdir -p /mnt/persistent/rootfs-overlay/isam/config
cd /mnt/persistent/rootfs-overlay/isam/config
echo 1 > skip_drop_when_marked_packet
echo 1 > skip_mark_local_mgnt_unknown
sync
reboot

STEP 2 : interrupt uboot while booting up (type ftest when uboot asks for it)
at the uboot prompt
setenv kernel_extra_args
saveenv
isam boot
After that core 0 should again come up, now with the RAKUTEN solution.

STEP 3 : make the LEMI interface pingable


LEMI should be connected to the network
Now configure your ip address on the LEMI interface (do this 2 times !!!)
Example from on my setup :

LT bringup
ip link del eth0.4094:1

vconfig add eth0 4094


ip addr add 169.254.1.253/24 dev eth0.4094
ip addr add 169.254.1.19/24 dev eth0

./netconf-console --host 135.249.101.191 --port 833 -u admin --password "admin"


--rpc ../../enable_debug.xml
confd_cli -u techsupport
hardware-state component Chassis software software application_software download
download-software url
http://135.252.245.44/official_moswa_build/lightspan_2109.434/L6GQAG/L6GQAG2109.434
name L6GQAH2109.434 verify-enable false
hardware-state component Chassis software software application_software revisions
revision L6GQAH2109.422 activate-revision activate
hardware-state component Chassis software software application_software revisions
revision L6GQAH2109.422 commit-revision commit

rm -rf /mnt/cf/confd-cdb/*.cdb

rm -rf /mnt/cf/confd-cdb/*.xml

rm -rf /isam/slot_default/fast_db/*

rm -rf /mnt/cf/ihub/config/*

CLIexit - to exit

lua -enter into lua

npPortConfigAdminStatus - 1
npPortConfigAutoNegMode - 2
npPortConfigSpeed - 1
npPortConfigDuplexity - 2
npPortConfigDuplexAdvertise - 2
npPortLinkStatusGet_bcm - 1
npRetrievePortSpeed - 1
npRetrivePortDuplex - 1

config
no interfaces interface outband
no routing control-plane-protocols control-plane-protocol static outband
interfaces interface outband type ipForward ipv4 address 135.249.101.191 netmask
255.255.255.0
exit
exit
routing control-plane-protocols control-plane-protocol static outband static-routes
ipv4 route 0.0.0.0/0 next-hop next-hop-address 135.249.101.1
commit

system management cli transport ssh ip_itf enable true


system management debug ip_itf enable true
commit

Lt gici

135.249.59.213 port 15

135.249.59.213 port 13

cd /lib/firmware/
rm ihub-oswp
ln -sf /mnt/cf/emmc-persistent/ihub.bin ihub-oswp
ls -lh
cd /tmp_ihub_fw
rm -rf ihub-oswp
cp /mnt/emmc-persistent/ihub.bin ihub-oswp
ls -lh

Lt
===
/etc/init.d/S52brugal_user stop
echo 0 >/isam/config/reboot
ls /isam/config/reboot

echo 1 >/isam/config/reboot

[13/11 13:12] Sun, Jianguo B. (NSB - CN/Shanghai)

mkdir -p /mnt/persistent/rootfs-overlay/

echo 0 > /mnt/persistent/rootfs-overlay/isam/config/remote_cdb

echo 1 > /mnt/persistent/rootfs-overlay/isam/config/slot_id

echo 0 > /mnt/persistent/rootfs-overlay/isam/config/run_wallander

echo LMXR-A > /mnt/persistent/rootfs-overlay/isam/config/chassis

mkdir -p /mnt/persistent/rootfs-overlay/isam/config

101.191
--------
135.249.20.208 1.0/1.1 and 3.0/3/1

101.213
--------

RPi - 135.249.101.197
Pwd: welcome123
USB 2
101.194
-------
135.249.101.197 - pi/welcome123

console 1.0 and 4.0

interfaces interface outband type ipForward ipv4 address 135.249.101.191 netmask


255.255.255.0

routing control-plane-protocols control-plane-protocol static outband static-routes


ipv4 route 0.0.0.0/0 next-hop next-hop-address 135.249.101.1

interfaces interface outband type ipForward ipv4 address 135.249.101.191 netmask


255.255.255.0
routing control-plane-protocols control-plane-protocol static outband static-routes
ipv4 route 0.0.0.0/0 next-hop next-hop-address 135.249.101.1
commit

no interfaces interface outband


no routing control-plane-protocols control-plane-protocol static outband
interfaces interface outband type ipForward ipv4 address 135.249.101.191 netmask
255.255.255.0
routing control-plane-protocols control-plane-protocol static outband static-routes
ipv4 route 0.0.0.0/0 next-hop next-hop-address 135.249.101.1

191:
===
135.249.101.191 / OOB Interface for MGMT
Pi : pi@135.249.20.208 , passwd: raspberry console connect 1.0/1.1, 3.0/3.1

LT Gicci: 135.249.59.213 port 15


191: LT2 Gicci: 135.249.59.213 port 13

STC:
10G :
[135.249.20.4 6/9 and 6/10]
to nt-a:xfp:1 and nt-b:xfp:1 on 135.249.101.191.
1G:
Need to check

194:
===
135.249.101.194 / LEMI for Mgmt
Pi : pi@135.249.101.197 , passwd: welcome123 console connect 1.0/1.1, 4.0/4.1

LT Gicci: 135.249.20.39 port 29

193
=====
=====
NTA RPI: 135.249.20.208, pwd: raspberry port USB 4
NTB RPI: 135.249.101.197, pwd: welcome123 port USB 3
LT GICI: 135.249.59.213 port 25

china server
135.251.194.63
root/install10
root/install10

LT backplane:
=============
cd /isam/slot_default/switch_hwa_app/run

calamares_bin -cnt tty1_ext

hh bpLink 0

hh bpLink linkcntrs all 1 ------- Read and clear BpLink counter

hh statistics 4 0 1 ---Get counter from Brugal chips 1st


>>hh statistics 4 1 1 ---Get counter from Brugal chips 2nd

devmem 0x4F80009C 32 | tail -c 5

1A02, means A1

1A01, means A0

[22:01] Narayanaswamy, Navaneetha (Nokia - IN/Chennai)

hardware-state component Chassis software software application_software download


download-software url
http://135.252.245.44/official_moswa_build/lightspan_2109.429/L6GQAG/L6GQAG2109.429
name L6GQAH2109.429

hardware-state component Chassis software software application_software download


download-software url
http://135.252.245.44/official_moswa_build/lightspan_2106.278/L6GQAG/L6GQAG21.278

hardware-state component Chassis software software application_software revisions


revision L6GQAG2109.429 activate-revision activate

system management netconf transport ssh ip_itf enable true


system management debug ip_itf enable true
system management cli serial enable true
system management cli transport ssh ip_itf enable true
Core0 SSH : ssh root@135.249.102.191 -p 923
Passwd : 2x2=4

Core1 SSH : ssh admin@135.249.102.191 -p 922


Passwd : admin

NETCONF : ssh -p 831 admin@135.249.102.191 -s netconf


Passwd : isamcli!

SHELF-NE : ssh -p 832 admin@135.249.102.191 -s netconf


Passwd : admin

LT-NE-console : ssh -l admin 135.249.102.191 -o StrictHostKeyChecking=no -o


UserKnownHostsFile=/dev/null -p 924
Password : Netconf#150

LT-NE-NCY : ssh -p 833 admin@135.249.102.191 -s netconf


Passwd : Netconf#150

configure { system }
configure { system management-interface }
configure { system management-interface netconf }
configure { system management-interface netconf admin-state enable }
configure { system security }
configure { system security user-params }
configure { system security user-params local-user }
configure { system security user-params local-user user "admin" }
configure { system security user-params local-user user "admin" password
"$2y$10$TQrZlpBDra86.qoexZUzQeBXDY1FcdDhGWdD9lLxMuFyPVSm0OGy6" }
configure { system security user-params local-user user "admin" access }
configure { system security user-params local-user user "admin" access console
true }
configure { system security user-params local-user user "admin" access netconf
true }
configure { system security user-params local-user user "admin" console }
configure { system security user-params local-user user "admin" console member
["administrative"] }

L3 config:
----------

(gl)[configure service]
A:cli_user@FAD-Chassis# info
ies "2" {
admin-state enable
customer "1"
interface "test_1" {
admin-state enable
sap 1/5/1:200 {
admin-state enable
}
ipv4 {
primary {
address 80.1.1.1
prefix-length 24
}
}
}
}
vpls "200" {
admin-state enable
customer "1"
v-vpls true
vlan 200
sap 1/1/1:200 {
admin-state enable
}
sap 1/8/1:200 {
admin-state enable
}
}

ies "2" {
admin-state enable
customer "1"
interface "mgmt" {
admin-state enable
sap 1/5/1:100 {
admin-state enable
}
ipv4 {
primary {
address 135.249.102.191
prefix-length 24
}
}
}
}
vpls "100" {
admin-state enable
customer "1"
v-vpls true
vlan 100
sap 1/2/1:0 {
admin-state enable
}
}

static-routes {
route 0.0.0.0/0 route-type unicast {
next-hop "135.249.102.1" {
admin-state enable
}
}
}
}

cat /sys/class/reborn/nt_status/status

For cpu-port throttling we need to use cpssDxChPortTxShaperEnableSet . Marvel has


confirmed we can use
“cpssDxChPortTxShaperProfileSet" and “cpssDxChPortTxShaperModeSet" to achieve CPU
port rate shaping.
(cpssDxChPortTxShaperProfileSet and cpssDxChPortTxShaperEnableSet)

cd /isam/slot_default/switch_hwa_app/run && calamares -cnt tty1_ext

>> hh bpLink linkcntrs all 1


hh bpLink linkst

cpssDxChTrunkDbEnabledMembersGet

cpss-api call cpssDxChBrgFdbAuMsgRateLimitGet devNum 0

cpss-api call cpssDxChNetIfSdmaRxErrorCountGet devNum 0

You might also like