《思科交换机基础配置指南》是一份全面介绍如何设置和管理思科交换机的实用手册。涵盖从基本连接到高级安全功能的各项操作步骤与技巧,适合初学者及网络管理员参考学习。
思科交换机基本配置手册:
1. 设置主机名/系统名:
- 在基于IOS的交换机上:`switch(config)# hostname hostname`
- 在基于CLI的交换机上:`switch(enable) set system name name-string`
2. 设置登录口令:
- 在基于IOS的交换机上:`switch(config)# enable password level 1 password`
- 在基于CLI的交换机上:执行以下命令设置密码
```
switch(enable) set password
switch(enable) set enalbepass
```
3. 设置远程访问:
- 在基于IOS的交换机上,配置如下:
```
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
```
- 在基于CLI的交换机上,执行以下命令设置远程访问:
```
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
```