Last active
July 2, 2019 10:41
-
-
Save puppywang/cf309bb2fbfe81311e4d9965de2a60cd to your computer and use it in GitHub Desktop.
K2P单臂路由脚本
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup egcon and pvid for K2P & K2 | |
switch vlan set 2 0000110 0 0 ----tt- | |
switch vlan set 1 1111101 0 0 uuuuu-u | |
switch pvid 4 1 | |
# Setup portmap for K2P | |
switch reg w 0x2004 0x005f0003 | |
switch reg w 0x2104 0x005f0003 | |
switch reg w 0x2204 0x005f0003 | |
switch reg w 0x2304 0x005f0003 | |
switch reg w 0x2404 0x007f0003 | |
switch reg w 0x2604 0x005f0003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment