Browse Source

add ip-source-guard to ZTE-F660 config

devel
Dmitry Novikov 7 years ago
parent
commit
cbb4c7bf0d
  1. 2
      devapp/expect_scripts/f660.py

2
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,

Loading…
Cancel
Save