H3C交换机普通配置项

交换机配置项:

1.名称,local-user XXXX

2.密码,password cipher XXXX;

3.acl 2000 列表:  

rule 1 permit source 10.1.0.1  

rule 3 permit source 10.1.0.2

4.进入VLAN1 设置交换机的管理IP和默认网关:

 ip address 10.1.0.XXX 255.255.255.0

5.设置缺省路由为VLAN 1的网关:

ip route-static 0.0.0.0 0.0.0.0 10.1.0.254

6.划分VLAN

#

vlan 201 to 301

#

7.授权等级为3

authorization-attribute level 3: 

8.设置SSH远程连接

service-type ssh terminalSSH:

9.SSH服务可用

ssh server enable  

ssh user XXXX service-type stelnet authentication-type password    

10.配置ssh登陆需要生成rsa和dsa密钥对

public-key local create rsa   

public-key local create dsa

 

11.user-interface aux 0   

authentication-mode scheme   

user-interface vty 0 4   

acl 2000 inbound   

authentication-mode scheme   

protocol inbound ssh   

user-interface vty 5 15

 

ps:SAVE!!!

posted on 2015-03-17 20:30  某猫米  阅读(778)  评论(0编辑  收藏  举报