Question about trunking with other switch


Userlevel 1
Hello,

I am now designing a cumulus switch now which need to config with following requirement:

- swp 1 - Connecting to PC with port access 400
- swp 2 - Connecting to PC with port access 400
- swp 48 - Trunk port connecting to another switch
- Allow traffic within same VLAN is allow between swp1 & swp2
- Allow VLAN 1, 400 traffic in/out with whole network via trunk port (swp48)

Does following config is correct I should do more modification?

-----
auto bridge
iface bridge
bridge-vlan-aware yes
bridge-ports swp1 swp2 swp48.400
bridge-vids 400
bridge-pvid 1
bridge-stp on

auto swp1
iface swp1
bridge-access 400

auto swp2
iface swp2
bridge-access 400

auto swp48
iface swp48

auto swp48
iface swp48.400
---------
Thanks!

1 reply

Userlevel 2
Try this:

auto bridge
iface bridge
bridge-vlan-aware yes
bridge-ports swp1 swp2 swp48
bridge-vids 400
bridge-pvid 1
bridge-stp on
auto swp1
iface swp1
bridge-access 400
auto swp2
iface swp2
bridge-access 400
auto swp48
iface swp48 bridge-vids 1 400

Reply