An open API service indexing awesome lists of open source software.

https://github.com/junka/orinswitchcli

Marvell switch UMSD CLI for display and configuration
https://github.com/junka/orinswitchcli

Last synced: 9 months ago
JSON representation

Marvell switch UMSD CLI for display and configuration

Awesome Lists containing this project

README

          

## Query and configure marvell switch 88q6113 and 88q5017 on orin

This could be run on Host computer or on orin directly.

## Build for x86 remote
```
git submodule update --init
cd UMSD_v7.0.0
source setenv
make
```

## Build for onboard arm
```
git submodule update --init
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
export LD=aarch64-linux-gnu-ld
export HOST=aarch64-linux-gnu
cd UMSD_v7.0.0
source setenv
make
```

UMSD_MCLI application be created in UMSD_v7.0.0/host/linux

## usage

### umsd.cfg
basically we are using FW_RMU mode, the parameters that would need modifications are
- nic_name should always be modified before run command with the right interface
- dev_num from 0 to 31, could be scanned automatically
- ether_type packet ether proto, 0x9100 or 0x9101

### Telnet mode
- modify umsd.cfg nic_name with the correct interface name
- run ```sudo ./USMD_CLI -f umsd.cfg ```
- telnet 0 8888
- use ```?``` to see more command help information and show commands

> for example, see Port Slave/Master mode:\
> UMSD_MCLI> getPhyMode 0 1 2 3 4 5 6 7 8 9

>or show vlan configuration:\
>UMSD_MCLI> vlan dump

### Direct Command line mode, non-interactive mode
- use umsd.cfg file like above
- run ```sudo ./USMD_CLI -f umsd.cfg - vlan dump``` with command appended after dash, use like what we use for telnet mode