aaa
local-user switchadmin password cipher switchadmin privilege level 15
local-user switchadmin service-type http ssh web
rsa local-key-pair create
y
1024
dsa local-key-pair create
y
1024
q
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
stelnet server enable
ssh authentication-type default password
http server enable
http server load s5700si-v200r001c00.001.web.zip
http server port 8888
vlan 10
description OfficeOne
vlan192
description ISP_Gateway
q
dhcp enable
int vlanif 10
description OfficeOne
ip add 172.16.10.1 255.255.255.0
dhcp select global
q
ip pool vlan10
gateway-list 172.16.10.1
network 172.16.10.0 mask 255.255.255.0
excluded-ip-address 172.16.10.2 172.16.10.10
dns-list 114.114.114.114
lease day 7
q
port-group group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/4
port trunk allow-pass vlan 1 10
q
ip route-static 0.0.0.0 0.0.0.0 Vlanif192 192.168.0.100