From cbb4c7bf0da006605ceddac929cb25e593cc5486 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Tue, 30 Apr 2019 16:54:16 +0300 Subject: [PATCH] add ip-source-guard to ZTE-F660 config --- devapp/expect_scripts/f660.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devapp/expect_scripts/f660.py b/devapp/expect_scripts/f660.py index 403149e..a2ae8c8 100644 --- a/devapp/expect_scripts/f660.py +++ b/devapp/expect_scripts/f660.py @@ -8,7 +8,7 @@ from . import base def get_onu_template(vlan_id: int, mac_addr: str): template = ( 'switchport mode hybrid vport 1', - 'service-port 1 vport 1 user-vlan 100 vlan %d' % vlan_id, + 'service-port 1 vport 1 user-vlan %d vlan %d' % (vlan_id, vlan_id), 'port-location format flexible-syntax vport 1', 'port-location sub-option remote-id enable vport 1', 'port-location sub-option remote-id name %s vport 1' % mac_addr,