aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/l2_bridge_domain.vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat/l2_bridge_domain.vat')
-rw-r--r--resources/templates/vat/l2_bridge_domain.vat5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/templates/vat/l2_bridge_domain.vat b/resources/templates/vat/l2_bridge_domain.vat
new file mode 100644
index 0000000000..84bf409944
--- /dev/null
+++ b/resources/templates/vat/l2_bridge_domain.vat
@@ -0,0 +1,5 @@
+bridge_domain_add_del bd_id 1 flood 1 uu-flood 1 forward 1 learn 1 arp-term 0
+sw_interface_set_l2_bridge {interface1} bd_id 1 shg 0 enable
+sw_interface_set_l2_bridge {interface2} bd_id 1 shg 0 enable
+sw_interface_set_flags {interface1} admin-up link-up
+sw_interface_set_flags {interface2} admin-up link-up \ No newline at end of file