寻求思科2960交换机配置命令

作者&投稿:爰肯 (若有异议请与网页底部的电邮联系)
思科2960交换机vlan配置~

你是怎么删除VLAN 11的?no int vlan 11?
2960的话,要在配置模式下输入vlan data
进入(vlan)# ,然后no vlan 11回车,然后apply才能生效。
划分到一个VLAN是
(config)#int range fa0/1空格-空格47
(config-if-range)#switchport access vlan 30
退出到(config)#int fa0/48
(config-if)# switchport mode trunk
回车就可以了

5.基于IOS的交换机的端口描述:
switch(config-if)# description description-string
基于CLI的交换机的端口描述:
switch(enable)set port name module/number description-string

6.在基于IOS的交换机上设置端口速度:
switch(config-if)# speed{10|100|auto}
在基于CLI的交换机上设置端口速度:
switch(enable) set port speed moudle/number {10|100|auto}
switch(enable) set port speed moudle/number {4|16|auto}

7.在基于IOS的交换机上设置以太网的链路模式:
switch(config-if)# duplex {auto|full|half}
在基于CLI的交换机上设置以太网的链路模式:
switch(enable) set port duplex module/number {full|half}

8.在基于IOS的交换机上配置静态VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vla

switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
在基于CLI的交换机上配置静态VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list

9. 在基于IOS的交换机上配置VLAN中继线:
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
在基于CLI的交换机上配置VLAN中继线:
switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate]
Vlan-range [isl|dotlq|dotl0|lane|negotiate]

10.在基于IOS的交换机上配置VTP管理域:
switch# vlan database
switch(vlan)# vtp domain domain-name
在基于CLI的交换机上配置VTP管理域:
switch(enable) set vtp [domain domain-name]

交换机基本状态:
switch: ;ROM状态, 路由器是rommon>
hostname> ;用户模式
hostname# ;特权模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;接口状态

交换机口令设置:
switch>enable ;进入特权模式
switch#config terminal ;进入全局配置模式
switch(config)#hostname ;设置交换机的主机名
switch(config)#enable secret xxx ;设置特权加密口令
switch(config)#enable password xxa ;设置特权非密口令
switch(config)#line console 0 ;进入控制台口
switch(config-line)#line vty 0 4 ;进入虚拟终端
switch(config-line)#login ;允许登录
switch(config-line)#password xx ;设置登录口令xx
switch#exit ;返回命令

交换机VLAN设置:
switch#vlan database ;进入VLAN设置
switch(vlan)#vlan 2 ;建VLAN 2
switch(vlan)#no vlan 2 ;删vlan 2
switch(config)#int f0/1 ;进入端口1
switch(config-if)#switchport access vlan 2 ;当前端口加入vlan 2
switch(config-if)#switchport mode trunk ;设置为干线
switch(config-if)#switchport trunk allowed vlan 1,2 ;设置允许的vlan
switch(config-if)#switchport trunk encap dot1q ;设置vlan 中继
switch(config)#vtp domain ;设置发vtp域名
switch(config)#vtp password ;设置发vtp密码
switch(config)#vtp mode server ;设置发vtp模式
switch(config)#vtp mode client ;设置发vtp模式

交换机设置IP地址:
switch(config)#interface vlan 1 ;进入vlan 1
switch(config-if)#ip address ;设置IP地址
switch(config)#ip default-gateway ;设置默认网关
switch#dir flash: ;查看闪存

交换机显示命令:
switch#write ;保存配置信息
switch#show vtp ;查看vtp配置信息
switch#show run ;查看当前配置信息
switch#show vlan ;查看vlan配置信息
switch#show interface ;查看端口信息
switch#show int f0/0 ;查看指定端口信息

跟路由器的一样,不支持三层交换。
只能配置vlan。
具体的可以参照思科配置手册,网上到处都是。

http://www.hackhome.com/InfoView/Article_191192.html
里面有很多


cisco 2960 二层交换机管理ip配置
使用三层交换机配置DHCP服务器,实现IP的自动分配。使用Cisco Packet Tracer student模拟此场景。具体方法如下:1、首先需要画一个好的拓扑,只有画出拓扑图,才能事半功倍,以下计算机的IP地址是自动分配的,只需标记。2、然后配置三层交换机,即顶层交换机,将与第二层连接的两个端口配置为中继模式。3...

cisco2960交换机的简单配置
30FLoor-2960-1(config-line)#password 输入密码(yuxuan)30FLoor-2960-1(config-line)#login 30FLoor-2960-1(config-line)#end 7)设置交换机的enable密码 30FLoor-2960-1(config)#enable password 输入密码(xuan)30FLoor-2960-1(config)#enable secret 输入密码(yuxuan)30FLoor-2960-1(config)#end...

思科2960交换机配置命令都有哪些
思科2960交换机配置命令如下:1、access: 主要用来接入终端设备,如PC机、服务器、打印服务器等。2、trunk: 主要用在连接其它交换机,以便在线路上承载多个vlan。3、multi: 在一个线路中承载多个vlan,但不像trunk,它不对承载的数据打标签。主要用于接入支持多vlan的服务器或者一些网络分析设备。现在基本...

思科Catalyst 2960交换机有没有光口
Cisco Catalyst 2960G-48-TC-L 48个以太网10\/100\/1000端口,其中有4个为两用端口 (4个光口)

菜鸟求教 思科2960s交换机端口err-disable问题
解决cisco的端口显示err-disable1的方法: 导致这样的情况可能是因为线路不通,物理指示灯灭或者显示为橙色(不同平台指示灯状态不同) show interface 输出显示接口状态: FastEthernet0\/47 is down, line protocol is down (err-disabled) 接口状态是err-disable. sw1#show interfaces status Port Name Status Vlan ...

思科2950、2960、3550、3560分别为几层交换
2开头的都是2层,3开头的是三层,2960是2950升级产品,3560是3550升级产品,3750和3560是三层主打产品,2960是面向终端的交换机。

思科交换机2960端口的个别指示灯是橙色
思科交换机2960端口的个别指示灯是橙色?如果没动配置,那就是生成树检测到环路,于是阻塞了一个接口(普通生成树功能默认打开)这个接口不收发数据,但是会接受2层bpdu包,黄灯常亮一般来说意味着阻塞状态

思科交换机2950与2960的区别
2960是2950的后续型号,同配置下2960无论是包转发率还是背板带宽都要高于2950;目前2960仍然作为思科企业级接入层交换机的主力机型,2950则已经停产。目前在产的大部分交换机都支持端口自适应,能够识别线缆并与对端端口进行协商匹配,降低了因线缆使用错误引发网络故障的几率。

cisco 2960 二层交换机管理ip配置
连入三层交换机的二层交换机的端口开启truck,如:S(config)#int f0\/24 S(config-if)#sw mode tru 二层的管理ip好像都是配在vlan 1 上 S(config)#int vlan 1 S(config-if)#ip add 10.0.0.1 255.0.0.0 然后是给你的交换机配上密码可telnet接口,S(config)#line vty 0 4 S(...

思科2960交换机详细配置教程
;进入全局配置模式 switch(config)#hostname ;设置交换机的主机名 switch(config)#enable secret xxx ;设置特权加密口令 switch(config)#enable password ...

广丰县13193843750: 寻求思科2960交换机配置命令 -
潭诸奥氮: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置: switch>enable ;进入特权模式 switch#config ...

广丰县13193843750: 思科2960交换机的配置命令都有什么 -
潭诸奥氮: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置: switch>enable ;进入特权模式 switch#config ...

广丰县13193843750: 思科交换机2960的配置 -
潭诸奥氮: 产品类型:智能交换机 应用层级:二层 传输速率:10/100Mbps 产品内存:64MB 交换方式:存储-转发 包转发率:6.5Mpps MAC地址表:8K纠错

广丰县13193843750: 我想知道思科交换机2960用命令配置网口, -
潭诸奥氮: >en#config t#int fa0/1#ip addr *.*.*.* *.*.*.*#speed auto#no sh 更多命令:使用“?”回车查看!

广丰县13193843750: 思科2960交换机详细配置教程 -
潭诸奥氮: ;进入全局配置模式 switch(config)#hostname ;设置交换机的主机名 switch(config)#enable secret xxx ;设置特权加密口令 switch(config)#enable password ...

广丰县13193843750: 寻求思科2960交换机配置命令
潭诸奥氮: 5.基于IOS的交换机的端口描述: switch(config-if)# description description-string 基于CLI的交换机的端口描述: switch(enable)set port name module/number description-string6.在基于IOS的交换机上设置端口速度: switch(config-if)# speed{10|...

广丰县13193843750: cisco 2960 二层交换机管理ip配置 -
潭诸奥氮: S >enable S#config t S(config)# 三层交换机上 可以先创建一个vtp域,然后吧你所有的交换机都放到这个域里管理,这样你在三层上划分的vlan就可以 了,二层就能直接出现. 把三层交换机配成服务器server模式然后二层都是client客户模式: ...

广丰县13193843750: 思科2960交换机如何进行端口绑定?命令及步骤 -
潭诸奥氮: 端口和MAC绑定 Switch#config terminal 进入配置模式Switch(config)# Interface fastethernet 0/1 #进入具体端口配置模式 Switch(config-if)#Switchport port-secruity #配置端口安全模式 Switch(config-if )switchport port-security mac-address MAC(主机的MAC地址) #配置该端口要绑定的主机的MAC地址 Switch(config-if )no switchport port-security mac-address MAC(主机的MAC地址)

广丰县13193843750: 如何设置思科2960交换机的端口聚合 -
潭诸奥氮: 思科交换机的端口汇聚 Cat2950的配置:Cat2950#conf t Cat2950(config)#vtp mode server Cat2950(config)#vtp domain cisco Cat2950(config)#vlan 10 Cat2950(config-vlan)#exit Cat2950(config)#vlan 20 Cat2950(config-vlan)#exit Cat2950(...

广丰县13193843750: 请在一台CISCO 2960系列交换机switch上配置两个静态VLAN 10和11,PC1,PC2和PC3分 -
潭诸奥氮: 你好!我举个例子配置给你看看!2960是二层交换机,配置VLAN,如果想要VLAN之间要通讯,要么单臂路由,要么需要三层交换机的三层功能实现VLAN间互访.2960的配置,假设PC 1 PC 2属于VLAN 10,PC 3属于VLAN 11 ,2960的fa0/1,fa0...

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网