#!/bin/bash
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 sh vlan
#exit
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan mode dot1q
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan add port 1-16 index 31
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 0
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 1
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 2
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 3
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 4
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 5
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 6
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 7
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 8
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 9
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 10
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 11
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 12
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 13
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 14
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-16 index 15
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan index 1 vid 544
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan add port 1,2,3 index 1
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config interface 1,2,3 index 1
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config interface 4-16 index 31
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config interface 1 trunk enable
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config interface 2 tag remove
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config interface 3 tag remove
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 config vlan delete port 1-3 index 31
./rtl83xx_compex_ps2216_6e 00:80:48:77:17:69@vlan999 write memory
Комментариев нет:
Отправить комментарий