文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > cisco命令集合
侵权投诉

cisco命令集合

Cisco命令集是通过平时工作与学习总结整理出来的文档模板,方便大家日常使用,并配有注释,易于理解与操作。

一、密码设置
enable
configure terminal
hostname switch2950 #更改交换机名称为switch2950
no logging console #关闭控制台日志功能
no ip domain-lookup #关闭域名查找
line vty 0 4
password cisco0 #设置vty密码为cisco0
login #使密码生效
exit
line console 0
password cisco1 #设置console 0密码为cisco1
login #使密码生效
exit

二、Vlan的划分
enable
configure terminal
no ip domain-lookup
no logging console
hostname cisco2950
interface range fastEthernet 0/10 - 15 #直接将相应端口添加到Vlan 2中
switchport mode access
switchport access vlan 2
exit
interface range fastEthernet 0/16 - 20 #直接将相应端口添加到Vlan 3中
switchport mode access
switchport access vlan 3
exit
vlan 2
name students1
exit
vlan 3
name teachers1
exit
#设F0/24为Trunk端口,并允许所有Vlan通过
interface fastEthernet 0/24
switchport mode trunk
switchport trunk allowed vlan all
exit

三、链路聚合+端口镜像
conf t
interface range f0/23-24
channel-group 1 mode on
exit

二层端口镜像
intfa f0/24
port monitor f0/1
port monitor f0/2
no shut
三层端口镜像
monitor session 1 source intf f0/1 #被监听端口
monitor session 1 destination intf f0/2 #镜像端口

四、端口安全
ena
conf t
hostname cisco3750
no ip domain-lookup
no logging console
interface gigabitEthernet 1/0/1
switchport mode access
switchport port-security #启用端口安全功能
switchport port-security maximum 1 #设置最大地址范围,默认设为1
switchport port-security mac-address 0001.6C8E.43ED #填写MAC地址时注意格式
interface gigabitEthernet 1/0/11
switchport mode access
switchport port-security
switchport port-security mac-address 00e0.4c43.d9a6
switchport port-security violation shutdown
exit
errdisable recovery cause all #恢复错误

五、802.1X
ena
conf t
host 2960
aaa new-model #启用验证
aaa authentication dot1x default group radius
dot1x system-auth-control
interface range f0/1-2
switchport mode access
dot1x port-control auto
exit
interface vlan 1
ip add 192.168.1.254 255.255.255.0
no shutdown
exit
radius-server host 192.168.1.5 auth-port 1234 acct-port 4321 key 123456
exit

六、MSTP配置
conf t
spanning-tree mst configuration
instance 10 vlan 1-2
instance 20 vlan 3
exit
spanning-tree
spanning-tree mode mst
spanning-tree mst 10 priority 4096
spanning-tree mst 20 priority 8192
exit

七、PAP单向验证
主验证方的配置
conf t
hos R1
username cisco password cisco #给被验证方用的
int s0/0/0
ip add 192.168.1.1 255.255.255.0
clock rate 64000 #必须要配置个时钟频率
encapsulation ppp
ppp authentication pap #只有主验证方才启用PAP验证(被验证方不要此命令)
no shut
exit

八、CHAP单向验

第1页

你可能喜欢

  • 思科3560
  • 思科第一学期
  • 命令提示符
  • 代理商资格
  • H3C配置命令
  • 思科命令大全

热门文档

相关文档

  • Cisco命令集合

    Cisco命令集合Cisco命令集合隐藏>> Cisco2620 路由器的配置与维护 对于分布在多个不同场点的企业分部来说,如何访问中心场点服务器,获取相应的信息,是企业网络建设 ...

  • cisco常用命令集合

    cisco常用命令集合 cisco常用命令集合涵盖了基本的Cisco常用的一些命令,适合初学者使用阅览cisco常用命令集合涵盖了基本的Cisco常用的一些命令,适合初学者使用阅览隐藏...

  • 思科命令全集汇总

    Cisco 的密码是 sap End 退出配置模式 Erase 删除闪存或配置缓存 Erase startup-config 删除 NVRAM 中的内容 Exec-timeout 配置 EXEC 命令解释器在检测到用户输入前...

  • 思科命令大全(完整版)

    思科命令大全(完整版)_计算机硬件及网络_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 思科命令大全(完整版)_计算机硬件及网络_IT/计算机_专业资料。...

  • cisco命令大集合

    CISCO 技术大集合 命令状态 1. router> 路由器处于用户命令状态,这时用户可以看路由器的连接状态,访问其它网络和主机,但不能看到和更改 路由器的设置内容。 2. ...

  • Cisco命令大全。

    Cisco命令大全。_IT/计算机_专业资料。Cisco配置命令大全。。Cisco 清除配置使用: erase startup-config (删除 NVRAM 中的内容) 然后重启路由器 reload; , 华为...

  • cisco常用命令大全详解完整版

    cisco常用命令大全详解完整版_IT/计算机_专业资料。详解完整版路由器的几个基本命令: Router>enable 进入特权模式 Router#disable 从特权模式返回到用户模式 Router#...

  • CISCO命令大全

    CISCO命令大全_IT认证_资格考试/认证_教育专区。CISCO命令大全CISCO 路由命令大全 Cisco 路由器常用命令 1 Exec commands: <1-99> 恢复一个会话 bfe 手工应急...

  • Cisco命令汇总

    Cisco 常用命令及缩写 常用命令及缩写 1、 ↑/↓键:调出上/下一条命令。 ... 39页 1下载券 CISCO命令全集 9页 免费 cisco命令大集合 52页 免费...

  • CISCO命令全集

    Cisco 的密码是 sap End 退出配置模式 Erase 删除闪存或配置缓存 Erase startup-config 删除 NVRAM 中的内容 Exec-timeout 配置 EXEC 命令解释器在检测到用户输入前...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email