NCA-4020 User Manual
129
BCM Diagnostic Shell
Decompress the tarball to a working directory:
e.g., tar xzf bcm_sdk_6.5.13_kv-4.15.0_x64_static_0529.tar.gz -C /root/brcm/sdk_bin
Enter the folder where you decompresses the tar file as above and launch BCM diagnostic shell with
root privilege:
e.g., cd /root/brcm/sdk_bin/bcm_sdk_6.5.13_kv-4.15.0_x64_static_0529
e.g., sudo ./bcm_diag.sh
When the prompt “BCM.0>” shows up, you are in the BCM diagnostic shell.
Please refer to the help command of BCM diagnostic shell for more information
e.g., “ps” to show all port status
e.g., “vlan show” to dump VLAN group setting
VLAN Configuration on Switch Side
The VLAN settings shown below are already applied to rc.SOC file.
Create 802.1Q VLAN Group
vlan remove 1 pbm=ge,xe
vlan create 10 pbm=ge0,xe0
vlan create 11 pbm=ge1,xe0
vlan create 12 pbm=ge2,xe0
vlan create 13 pbm=ge3,xe0
vlan create 14 pbm=ge4,xe0
vlan create 15 pbm=ge5,xe0
vlan create 16 pbm=ge6,xe0
vlan create 17 pbm=ge7,xe0
vlan create 18 pbm=ge8,xe0
vlan create 19 pbm=ge9,xe0
vlan create 20 pbm=xe2,xe1
vlan create 21 pbm=xe3,xe1
vlan create 22 pbm=xe4,xe1
vlan create 23 pbm=xe5,xe1
Port VID assignment
pvlan set ge0 10
pvlan set ge1 11
pvlan set ge2 12