同城约会| 杂志期刊| 小说| 两性论坛| 军事电影| 两性知识| 电脑知识| 汽车| 旅游| 收藏

思科3500系列交换机的基本配置命令

来源:vlan9收集 作者: 出处:综艺读书 2005-12-02 
关 键 词:word  os  

  Catalyst 3524 switch IP 地址的配置

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

interface VLAN1

ip address 172.16.1.3 255.255.0.0

即可。

在Catalyst 中控制对Telnet的访问

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

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

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

设置交换机的enable 密码

luestudy_a(config)#enable password bluestudy

luestudy_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口密码

luestudy_a(config)#line con 0

luestudy_a(config-line)#password bluestudy

luestudy_a(config-line)#

设置对telnet的密码:

luestudy_a(config)#line vty 0 15

luestudy_a(config-line)#login

luestudy_a(config-line)#password bluestudy

luestudy_a(config-line)#

设置登陆用户名和密码:

luestudy_a(config)#username bluestudy password bluestudy

luestudy_a(config)#

luestudy_a#show running

Current configuration:

!

version 12.0

o service pad

ervice timestamps debug uptime

ervice timestamps log uptime

o 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

o ip directed-broadcast

o ip route-cache

!

access-list 2 permit 172.16.0.0 0.0.255.255

!

line con 0

assword bluestudy

transport input none

topbits 1

line vty 0 4

access-class 2 in

assword bluestudy

login

line vty 5 15

access-class 2 in

assword bluestudy

login

!

end

luestudy_a# 更多文章 更多内容请看Cisco IOS技术手册  Cisco35xx系列配置  Cisco防火墙专题专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
综艺读书宗旨
相关专题
·三层交换技术专题 (1368篇文章)
·交换机与路由器密码恢复 (3289篇文章)
·思科交换机配置命令 (8篇文章)
·交换机基本配置 (225篇文章)
·交换机配置相关文章 (215篇文章)
·交换机的选购 (1304篇文章)
·常用交换机典型配置 (1304篇文章)
·Cisco IOS技术手册 (2611篇文章)
·交换机故障处理手册 (1355篇文章)
·Cisco路由器配置手册 (4086篇文章)
热点标签: word  os  
最新技术文档
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
百度推荐,商机无限
搜索您感兴趣的内容
Web 全站
综艺电脑频道编辑信箱  告诉我们您想看的专题或文章

Google

友情互链 | 收藏本站 | 联系我们 | 在线留言 | 京ICP备08008424号|