openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

swirl_ge_uc.soc (676B)


      1 #
      2 # 
      3 #
      4 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      5 # 
      6 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      7 
      8 #Ports 0-1 configuration
      9 set rcerror=F
     10 vlan destroy 10
     11 vlan destroy 20
     12 
     13 port ge0 LB=PHY AF=F EN=T
     14 port ge1 LB=PHY AF=F EN=T
     15 
     16 s epc_link 0xffffffff
     17 m config tag_en=1
     18 
     19 vlan create 10 PBM=ge0 UBM=none
     20 modify pvlan 0 1 vlan_tag=10 port_bitmap=1 ut_port_bitmap=0 sp_st=3 cml=2
     21 
     22 l2 add PBM=ge0 MAC=00:00:00:00:00:01 V=10 ST=T
     23 
     24 tx 1 PBM=0x1 UBM=none L=68 VL=10 P=0x12345678 PI=1 SM=00:00:00:00:00:02 SMI=0 DM=00:00:00:00:00:01 DMI=0 COS=0 CRC=Recompute
     25 
     26 loop * "show counters"
     27 
     28 
     29 
     30