恢复出厂设置,清空配置

1、更改名字
system-view
sysname tp-10-50-01-04

2、配置管理接口
int vlan 1
ip add 10.50.1.4 255.255.254.0
quit

2、链路汇聚
interface eth-trunk 1
mode lacp
quit

3、绑定端口
interface eth-trunk 1
trunkport gigabitethernet 0/0/45 to 0/0/48
quit

3、telnet
telnet server enable

4、http
http server enable

5、acl
acl 2000
rule permit source 10.50.1.253 0
rule permit source 10.50.1.252 0
quit

6、认证配置
user-interface vty 0 4
authentication-mode aaa
quit

aaa
local-user admin password irreversible-cipher *123
local-user admin service-type http telnet terminal web
local-user admin privilege level 15
quit

acl 2000
rule permit source 10.50.1.253 0
rule permit source 10.50.1.252 0
quit
user-interface vty 0 4
acl 2000 inbound
quit

user-interface vty 0 4
authentication-mode aaa
protocol inbound all

6、登录测试

查看配置
