【思科cisco packet tracer】思科cisco 3560配置命令讲解

IT  点击:   2020-10-16

思科cisco 3560配置命令讲解:cisco的几个配置模式

switch 命令行模式;config#特权模式

一、配置交换机vlan模式;有两种方式

第一种:

config#vlan ID 这里的ID是需要你个人给要划分的vlan起的编号

config-if#name 名字

switch#show vlan brief 查看vlan 用来检验是否配置成功

第二种:

switch#vlan database 交换机的vlan配置状态

switch(vlan)#vlan ID name 名字 配置vlan 并且分配相应的名字

二、3560上开启路由功能配置

switch(config)#ip routing

switch(config)#ip route ipaddress net-hop 配置路由(静态)

switch(config)#ip default-gateway ipaddress 配置网关

三、开启聚合链路配置

#conf t

SW(config)#interface range f1/1 -2

SW(config-if)#channel-group 1 mode desirable/on

SW(config-if)#swithport

SW(config-if)#switchport mode trunk

SW(config-if)#switchport trunk encap dot1q

四、启动telnet管理模式

switch(config)#line vty 0 4

switch(config-line)#password 密码

switch(config-line)#login

五、开启cisco日志功能

switch(config)#logging on

switch(config)#logging trap 信息

switch(config)#logging host 你的IP地址

switch(config)#logging facility 你选着的信息

配置3550作为dhcp服务器

六、配置cisco启动dhcp功能

配置地址池

switch(config)ip dhcp pool 名字

switch(config-pool)network mask

switch(config-pool)dns-server

switch(config-pool)default-router 网关

设置dhcp保留不分配的地址

switch(config)ip dhcp excluded-address 地址 地址

【思科cisco packet tracer】思科cisco 3560配置命令讲解

http://m.sccdzwls.cn/shuma/86188/

相关文章
推荐内容
上一篇:[思科三层交换机配置ip]基本思科三层交换机配置命令介绍
下一篇:【恢复iphone固件发生itunes未知错误17】恢复iPhone固件发生itunes未知错误1604解决方法
Copyright 生活资讯网 版权所有 All Rights Reserved