Chinaunix首页 | 论坛 | 博客
  • 博客访问: 209141
  • 博文数量: 40
  • 博客积分: 1525
  • 博客等级: 上尉
  • 技术积分: 445
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-02 18:49
文章分类
文章存档

2016年(5)

2015年(3)

2014年(1)

2012年(3)

2009年(4)

2008年(12)

2007年(12)

我的朋友

分类: 系统运维

2007-12-03 11:44:35

              Cisco2950配置

1.主机名,密码和时钟配置

#hostname name

#colck timezone GMT 8

#clock set hh:mm:ss

#line vty 0 4

#password xxxxxx

#login

#exit

#username name password xxxxxx

#login local(telnet 显示是用户名和密码)

#enable password xxxxxx(明文显示)

#enable secret xxxxxx(密文显示)

2.ip 地址配置

#int vlan 1

#ip address 192.168.1.254 255.255.255.0(管理IP)

3.vlan 配置

#vlan database

#vlan 100 name test100

#end

4.把端口加入到VLAN中

#int fa0/x

#switchport mode access

#switchport access vlan 100

#end

5.把FA0/1 加入到TRUNK

#int fa0/1

#switchport mode trunk

#end

6.组端口配置

#int rang fa0/10 - 24

#switchport mode access

switchport access vlan 100

end

7.端口安全(绑定MAC)

#int fa0/10

#switchport port-security mac-address xxx.xxx.xxxx

 

 

 

阅读(1935) | 评论(0) | 转发(0) |
0

上一篇:ASA5505配置笔记

下一篇:一个ACL实例

给主人留下些什么吧!~~