用户名: 密码: 免费注册 忘记密码? 网站地图 | 加入收藏 | 设为首页
首页 | 新闻 | 工具 | 系统 | 办公 | 聊天 | 多媒体 | 网页 | 运营 | 平面 | 欣赏 | 数据库 | 程序 | 服务器 | 组网
网页 | 3dmax | Ghost | Windows Xp| Dreamweaver | photoshop | Flash | office | Alexa | Css | QQ | Asp | PHP | Jsp | Access
Flash MX 2004入门 | 网站推广策略 | CorelDRAW入门 | ASP学习 | 网站建设大师功 | Word入门
  iTbulo.com > 学院 > 网络组建与管理教程 > 路由交换教程 > 文章正文
思科3500系列交换机的基本配置命令
iTbulo.COM 2006-2-13 未知()
Catalyst 3524 switch IP 地址的配置

直接进入默认的VLAN 1中进行配置命令如下:

interface VLAN1

ip address 172.16.1.3 255.255.0.0

即可。

在Catalyst 中控制对Telnet的访问

bluestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定义标准的访问列表)

bluestudy_a(config)#line vty 0 15(进入telnet端口,最多允许16个telnet的会话)

bluestudy_a(config-line)#access-class 2 in(应用上述定义的访问列表,即只有172.16.0.0/16的网段可以实现对交换机的telnet会话

设置交换机的enable 密码

bluestudy_a(config)#enable password bluestudy

bluestudy_a(config)#enable secret bluestudy

The enable secret you have chosen is the same as your enable password.

This is not recommended. Re-enter the enable secret.

注:对于如上的密码,secret的优先级更高,优先起作用。

设置console口密码

bluestudy_a(config)#line con 0

bluestudy_a(config-line)#password bluestudy

bluestudy_a(config-line)#

设置对telnet的密码:

bluestudy_a(config)#line vty 0 15

bluestudy_a(config-line)#login

bluestudy_a(config-line)#password bluestudy

bluestudy_a(config-line)#

设置登陆用户名和密码:

bluestudy_a(config)#username bluestudy password bluestudy

bluestudy_a(config)#

bluestudy_a#show running

Current configuration:

!

version 12.0

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname bluestudy_a

!

enable secret 5 $1$b1mb$p6XgV/PY9WqvJy9MrHZFG/

enable password bluestudy

!

username bluestudy password 0 bluestudy

!

ip subnet-zero

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface VLAN1

ip address 172.16.1.3 255.255.0.0

no ip directed-broadcast

no ip route-cache

!

access-list 2 permit 172.16.0.0 0.0.255.255

!

line con 0

password bluestudy

transport input none

stopbits 1

line vty 0 4

access-class 2 in

password bluestudy

login

line vty 5 15

access-class 2 in

password bluestudy

login

!

end

bluestudy_a#
文章搜索
相关资讯
相关文章 相关下载
配置思科三层交换的综合案例
思科3550交换机配置
思科Catalyst8500配置实例
思科推出新Catalyst 6500软件
思科推出基于IOS的Catalyst 6500系列软件
焦点信息