aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/l2_bridge_domain.vat
blob: e1d36b6bcfcf4ba521708301854a7e1a7d30ac45 (plain)
1
2
3
4
5
sw_interface_set_flags sw_if_index {sw_if_id1} admin-up link-up
sw_interface_set_flags sw_if_index {sw_if_id2} admin-up link-up
bridge_domain_add_del bd_id {bd_id} flood 1 uu-flood 1 forward 1 learn {learn} arp-term 0
sw_interface_set_l2_bridge sw_if_index {sw_if_id1} bd_id {bd_id} shg 0  enable
sw_interface_set_l2_bridge sw_if_index {sw_if_id2} bd_id {bd_id} shg 0  enable