作者:泽明
交换机S5750配置telnet
配置脚本
| en conf t enable password ruijie username Jan passw ruijie line vty 0 4 login lo exit vlan 10 name telnet exit int vlan 10 ip add 192.168.1.1 255.255.255.0 exit int gi 0/1 sw acc vlan 10 exit |
结果验证
交换机S5750DHCP配置
配置脚本
|
en conf t ser dhcp ip dhcp pool vlan10 network 192.168.7.0 255.255.255.0 default-router 192.168.7.254 exit int vlan 10 ip add 192.168.7.254 255.255.255.0 exit int gi0/1 sw acc vlan 10 exit |
结果验证
物理机分配的ip:
交换机S5750配置ssh
配置脚本
| en conf t enable password ruijie username Jan passw ruijie enab ser ssh cry ******* rsa y line vty 0 4 login lo exit vlan 10 name ssh exit int vlan 10 ip add 192.168.1.1 255.255.255.0 exit int gi 0/1 sw acc vlan 10 exit |
结果验证