2 # vlan-aware bridge access ports and pruned vlan example
4 # 'bridge' is a vlan aware bridge with all ports (swp1-52).
5 # native vlan is by default 1
7 # 'bridge-vids' attribute is used to declare vlans.
8 # 'bridge-pvid' attribute is used to specify native vlans if other than 1
9 # 'bridge-access' attribute is used to declare access port
13 # The following is an access port to vlan 310, no trunking
17 mstpctl-portadminedge yes
20 # The following is a truk port that is "pruned".
21 # native vlan is 1, but only .1q tags of 707, 712, 850 are
26 bridge-vids 707 712 850
27 mstpctl-portadminedge yes
30 # The following port is the trunk uplink and inherits all vlans
34 mstpctl-portpathcost 10
35 # Enable bridge assurance on uplink port using 'portnetwork' attribute
36 mstpctl-portnetwork yes
38 # The following port is the trunk uplink and inherits all vlans
42 mstpctl-portpathcost 0
43 # Enable bridge assurance on uplink port using 'portnetwork' attribute
44 mstpctl-portnetwork yes
47 # ports swp3-swp48 are trunk ports which inherit vlans from the 'bridge'
48 # ie vlans 310,700,707,712,850,910
51 # the following is a vlan aware bridge with ports swp1-swp52
57 bridge-ports glob swp1-52
59 bridge-vids 310 700 707 712 850 910