Nbm-diag – ADLINK aTCA-N700 User Manual

Page 64

Advertising
background image

aTCA-N700 SW Users Guide

58


Usage:
nbm-util (rtm1|rtm2) (add|del) : add or delete RTM1 or RTM2
nbm-util swconfig FILENAME : convert simple config file to bcm.user command set

** Set i2c devices for RTM1


[root@N700]$ nbm-util rtm1 add


** Convert fabric switch configuration


[root@N700]$ cat /tmp/test
[LINK]
xe0 XFI
[VLAN]
100 xe1,xe2
[FP]
self-redirect xe2
[TX]
port xe3
time 10
[CHECK]
xe0-xe3
[root@N700]$ nbm-util swconfig /tmp/test

##### LINK CONFIG #####
port xe0 sp=10000 an=off en=true

##### VLAN CONFIG #####
vlan remove 1 pbm=xe
vlan create 100 pbm=xe1,xe2 ubm=xe1,xe2
pvlan set xe1,xe2 100

##### FP CONFIG #####
fp init
fp qset clear
fp qset add inports
fp group create 0 1
fp entry create 1 1
fp qual 1 inports xe2
fp action add 1 redirectport 0 xe2
fp entry install 1

##### START, WAIT and STOP #####
tx 100 u=yes pbm=xe3 ubm=xe3 l=68
sleep 10
port xe3 lb=none

##### STATISTICS #####
show c all r ruc.xe0-xe3



9.7. nbm-diag


nbm_diag performs diagnostics of aTCA-N700 board hardware resources. Depending
on the purpose of the test, the test may be done by internal testing process or by
external programs.
The configuration file can control the testing by directives.

The directives in the configuration file are shown in

Advertising