配置华为S2300经验之浅谈
1、开机后如果已恢复出厂设置,首先要设置密码,需要输入两次;
2、设置名称:sysname XXX
3、新建vlan,一般可同时新建管理vlan和使用vlan,作好标记;
vlan 2
des guanli
vlan 716
des zhongahi
4、为管理vlan配置ip;
interface Vlanif2
ip address 192.168.75.162 255.255.255.0
5、将接口定义为trunk或access;
interface Ethernet0/0/1
port link-type access
port default vlan 162
interface Ethernet0/0/24
port link-type trunk
port trunk allow-pass vlan 2 162 716
6、设置路由;
ip route-static 0.0.0.0 0.0.0.0 192.168.75.1
7、设置远程;
user-interface vty 0 4
8、在aaa下新建admin用户;
aaa
local-user admin password cipher ysq721024
9、打开telnet服务;
local-user admin service-type telnet
备注:如果需要定义光口或电口
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 162 716
combo-port copper