Chinaunix首页 | 论坛 | 博客
  • 博客访问: 49680
  • 博文数量: 11
  • 博客积分: 950
  • 博客等级: 准尉
  • 技术积分: 251
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-11 00:37
文章分类

全部博文(11)

文章存档

2011年(1)

2009年(5)

2008年(5)

我的朋友
最近访客

分类: 系统运维

2008-05-14 22:16:02

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

阅读(1383) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-10-07 17:23:27

顶··~~