当前位置:首页 » 存储配置 » 思科3560交换机如何查看配置

思科3560交换机如何查看配置

发布时间: 2023-04-28 13:00:19

Ⅰ 思科3560,路由配置问题。

根据你给的资料我猛如漏随便说说:路由器配置
首先在路由器接交换机的网口设ip地址:
ip address 10.216.94.53 255.255.255.252
然后在路由器上配置去往10.216.93.224(交换机设备网段)网段的静态路橡芦由:
ip route 10.216.93.224 255.255.255.240 10.216.94.54
交换机的配置
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip routing (启用路由)
Switch(config)#interface fastethernet0/24 (进入与路由器连接的网口枝烂,配置ip)
switch(config-if)#no switchport
switch(config-if)#ip address 10.216.94.54 255.255.255.252
switch(config-if)#no shutdown
Switch(config)# vlan 20 (创建一个vlan)
switch(config)#interface vlan 20 (将vlan20 ip设为93.225即网关)
switch(config-if)#ip address 10.261.93.225 255.255.255.240
Switch(config)# interface fastethernet0/1 (把连接设备的网口划归vlan20)
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 20
Switch(config)# interface fastethernet0/2 (把连接设备的网口划归vlan20)
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 20
.
.
.
Switch(config)# interface fastethernet0/13 (把连接设备的网口划归vlan20)
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 20
Switch(config)#ip route 0.0.0.0 0.0.0.0 10.261.94.53 (最后配置去往路由器的默认路由)

Ⅱ 思科3560G如何开始配置

CiscoCatalyst3560G系列交换机配置:

咐蔽 特性 衡芹州 说明

3560E-24TD 24个以太网10/100/1000端口和2个X2万兆以太网上行链路

3560E-24PD 24个以太网10/100/1000端口,带PoE,2个X2万兆以太网上行链路

3560E-48TD 48个以太网10/100/1000端口和2个X2万兆以太网上行链路

3560E-48PD 48个以太网10/100/1000端口,带PoE,2个X2万兆以太网上行链路

3560E-48PD-F 48 个以太网10/100/1000端口,每个端口支持15.4W PoE,2个X2万兆 以太网上行链路

Cisco®Catalyst®3560G系列交换机是一个企业级独立式配线间交换机系列,支持安全融合应用的部署,并能根据网络和应用需求的发展,最大限度地保护投资。

通过将10/100/1000和以太网供电(PoE)配置与万兆以太网上行链路相结合,CiscoCatalyst3560G能够支持IP电话、无线和视频等应用,提高了员工生首唤产率。

CiscoCatalyst3560G系列的主要特性:

  1. CiscoTwinGig转换器模块,将上行链路从千兆以太网移植到万兆以太网。

  2. PoE配置,为所有48个端口提供了15.4WPoE 。

  3. 模块化电源,可带外部可用备份电源。

  4. 在硬件中提供组播路由、IPv6路由和访问控制列表。

  5. 带外以太网管理端口,以及RS-232控制台端口

Ⅲ 思科3560G配置问题

这是设备的setup配置模式。
从上面的接口中选择一个用来管理这个设备的氏亮接口,比如选择fastethernet0/0,一定要写全宴核局名,然后会让你配置晌让此接口的IP地址和子网掩码。看例子:
开机后显示:
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: y

At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system

Would you like to enter basic management setup? [yes/no]: y
Configuring global parameters:

Enter host name [Router]:SW1

The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: cisco

The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: c

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: yuancheng
Configure SNMP Network Management? [yes]: y
Community string [public]:

Current interface summary

Any interface listed with OK? value "NO" does not have a valid configuration

Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned NO unset up up
Serial1/0 unassigned NO unset up down
Serial1/1 unassigned NO unset up down
Serial1/2 unassigned NO unset up down
Serial1/3 unassigned NO unset up down
FastEthernet2/0 unassigned NO unset up up

Enter interface name used to connect to the
management network from the above interface summary: fastethernet0/0 这是选择的接口。

Configuring interface FastEthernet0/0:
Use the 100 Base-TX (RJ-45) connector? [yes]: y
Operate in full-plex mode? [no]: y
Configure IP on this interface? [yes]: y
IP address for this interface: 192.168.1.1
Subnet mask for this interface [255.255.255.0] :
Class C network is 192.168.1.0, 24 subnet bits; mask is /24

The following configuration command script was created:

hostname R1
enable secret 5 $1$uc9G$OJmYXA5u.x.xTwjy3.bCJ0
enable password c
line vty 0 4
password yuancheng
snmp-server community public
!
no ip routing

!
interface FastEthernet0/0
no shutdown
media-type 100BaseX
full-plex
ip address 192.168.1.1 255.255.255.0
!
interface Serial1/0
shutdown
no ip address
!
interface Serial1/1
shutdown
no ip address
!
interface Serial1/2
shutdown
no ip address
!
interface Serial1/3
shutdown
no ip address
!
interface FastEthernet2/0
shutdown
no ip address
!
end

[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2
这是路由setup配置的过程,交换机类似,交换机只能给vlan 配置ip地址。如果是交换机,就用vlan1。不过一般不用这种配置方法,都用命令行模式,也就是开机选择no。

Ⅳ 关于思科3560交换机的配置问题

请你仔细看我写的内容,我为了测试你的东西花了一晚上。
===========================================================
首先,你错误的地方是电脑B的地址为10.96.9.254
VLAN也是LAN,其中的地址也应该在同一个网段,也就是说电脑B的地址应该改为与网关相同网段的地址10.96.40.254。或者缓模你把网关改成10.96.9.1,当然这样改更麻烦一点。

但改完之后,对你的当前的配置来讲,却连VLAN100的IP 10.96.39.93都ping不通了。
你还要敲一条命令[全局模式]ip routing(开启三层交换机的功能,实现vlan间路由)。
这样所有VLAN都能互访了。

然后,我给你讲为什么你那样的配置居然还能ping通网关,ping通VLAN 100的IP。

因为:
1、电脑B在VLAN 2里面,而不是VLAN 100里面。
2、你没有敲ip routing。三层交换机你居然用的是二层交换。。。
其实因为你没敲ip routing,你的静态路由是没有用的,不然你show一下路由表。

===【详解】===
电脑B在ping网关40.1的时候,会发送ARP请求,请求网关40.1的MAC地址,3560会回复它,然后继续ping的过程。但3560不知道电脑B的MAC地卜或址(其实在电脑B请求的时候它知道,但没有创建arp表项),它会在第一个拥有三层接口(也就是interface VLAN)并且active的VLAN里面发送ARP请求。在你的情况中VLAN2正好是那个VLAN。如果你把它换成101在100后面,你就会发现不通了,因为3560会向VLAN100中发送ARP请求,而电脑B不在那里面,所以不会回复,那3560就没有电脑B的MAC地址,也就ping不通了。

而为什么还能ping通VLAN100的IP呢

因为你show mac add的时候会发现,所有口(有的也不是)都是同一个MAC地址。
二层交换基于MAC地址,3560看到看到是自己的MAC会再查IP,交给上层,而39.93和40.1都是同一个MAC。电脑B的包它们都能收到,收到后会根据CAM表送回,也就是电脑B的接口。

至于电脑B为什么ping不同电扰弊缓脑A,我想你是懂的。
===========================================================
开启ip routing之后,所有VLAN都能通,这个的原理我想你懂吧

其实你的问题牵扯挺深的,我一开始以为你胡扯,地址都不在一个网段还能ping通网关?后来发现是因为没有开启ip routing。

实际上这是交换机的bug。

Ⅳ 关于思科3560交换机怎么配置上网

cisco 3560 三层交换机vlan间路由配置
下面以实例说明如何在一个典型的快速以太局域网中实现VLAN。
所谓典型局域网就是指由一台具备三层交换功能的核心交换机接几台分支交换机(不一定具备三层交换能力)。我们假设核心交换机名称为:COM;分支交换机分
别为:PAR1、PAR2、PAR3,分别通过Port
1的光线模块与核心羡梁搏交换机相连;并且假设VLAN名称分别为COUNTER、MARKET、MANAGING……
需要做的工作:
1、设置VTP DOMAIN(核心、分支交换机上都设置)
2、配置中继(核心、分支交换机上都设置)
3、创建VLAN(在server上设置)
4、将交换机端口划入VLAN
5、配置三层交换
1、设置VTP DOMAIN。 VTP DOMAIN 称为管理域。
交换VTP更新信息的所有交换机必须配置为相同的管理域。如果所有的交换机都以中继线相连,那么只要在核心交换机上设置一个管理域,网络上所有的交换机都加入该域,这样管理域里所有的交换机就能够了解彼此的兄祥VLAN列表。
COM#vlan database 进入VLAN配置模式
COM(vlan)#vtp domain COM 设置VTP管理域名称 COM
COM(vlan)#vtp server 设置交换机为服务器模式
PAR1#vlan database 进入VLAN配置模式
PAR1(vlan)#vtp domain COM 设置VTP管理域名称COM
PAR1(vlan)#vtp Client 设置交换机为客户端模式
PAR2#vlan database 进入VLAN配置模式
PAR2(vlan)#vtp domain COM 设置VTP管理域名称COM
PAR2(vlan)#vtp Client 设置交换机为客户端模式
PAR3#vlan database 进入VLAN配置模式
PAR3(vlan)#vtp domain COM 设置VTP管理域名称COM
PAR3(vlan)#vtp Client 设置交换机为客户端模式
注意:这里设置核心交换机为Server模式是指允许在该交换机上创建、修改、删除VLAN及其他一些对整个VTP域的配置参数,同步本VTP域中其他交
换机传递来的最新的VLAN信息;Client模式是指本交换机不能创建、删除、修改VLAN配置,也不能在NVRAM中存储VLAN配置,但可同步由本
VTP域中其他交换机传递来的VLAN信息。
2、配置中继为了保证管理域能够覆盖所有的分支交换机,必须配置中继。
Cisco交换机能够支持任何介质渣差作为中继线,为了实现中继可使用其特有的ISL标签。ISL(Inter-Switch
Link)是一个在交换机之间、交换机与路由器之间及交换机与服务器之间传递多个VLAN信息及VLAN数据流的协议,通过在交换机直接相连的端口配
置ISL封装,即可跨越交换机进行整个网络的VLAN分配和进行配置。

Ⅵ 思科3560配置命令

1:进入特权模式 enable
switch>enable
switch#

2:进入全局配置模式 configure terminal
switch>enable
switch#c onfigure terminal
switch(conf)#

3:交换机命名 hostname aptech2950

switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch-2950
aptech2950(conf)#

4:配置使能口令拆袭尘 enable password cisco

switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enable password cisco

5:配置使能密码 enable secret ciscolab

switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enable secret ciscolab

6:设禅唤置虚拟局域网vlan 1 interface vlan 1
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interface vlan 1
aptech2950(conf-if)#ipaddress 192.168.1.1 255.255.255.0 配置交换机端口ip和子网掩码
aptech2950(conf-if)#noshut 是配置处于运行中
aptech2950(conf-if)#exit
aptech2950(conf)#ipdefault-gateway 192.168.254 设置网关地址

7:进入交换机某一端口 interface fastehernet 0/17 以17端口为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interface fastehernet 0/17
aptech2950(conf-if)#

8:查看命令 show
switch>enable
switch#show version 察看系统中的所有版本信息
showinterface vlan 1 查看交换机有关ip 协议的配置信息
showrunning-configure 查看交换机当前起作用的配置信息
showinterface fastethernet 0/1 察看交换机1接口具体配置和统计信息
showmac-address-table 查看mac地址表
showmac-address-table aging-time 查看mac地址表自动老化时旅禅间

9:交换机恢复出厂默认恢复命令
switch>enable
switch#erase startup-configure
switch#reload

Ⅶ 如何设置思科3560的VLAN并设置IP范围

1、安装完成之后打开该软件,进入隐睁软件配置主界面。

Ⅷ 思科3560交换机如何配置

能加设备不?能皮液瞎加的话就把二号楼的交燃空换机当傻瓜交换用,光纤埋仔传递,两个端头做光电转。

如果不能加设备,建议你考虑重置1号交换机的密码,然后正常连。

Ⅸ “思科3560交换机”里怎么查看某个“vlan池”里面“ip地址”的分配情况

“思科3560交换则含机”里怎么查看某个“vlan池”里面“ip地址”的分配情况:

  1. Switch#sh ip dhcp binding

  2. IP address Client-ID/ Lease expiration Type

  3. Hardware address

  4. 192.168.10.150 0090.2B59.1DCE -- 戚冲 Automatic

  5. 192.168.20.150 0060.3E12.C7DE -- Automatic

Ⅹ 思科3560交换机,怎么在 f0/0 接口上配置IP

3650默认吵宽是二层交换模式,需升升亮要关闭交换端口开启三层模式配置IP
interface
f0/0
进入f0/0端口的配笑亩置
no
switchport
开启三层模式
ip
address
x.x.x.x
跟路由器上一样配置IP地址
no
sh

热点内容
脚本的生命周期顺序 发布:2025-02-12 03:37:28 浏览:368
素数加密 发布:2025-02-12 03:37:27 浏览:802
ar源码 发布:2025-02-12 03:32:04 浏览:655
阅图文件夹 发布:2025-02-12 03:30:22 浏览:761
旧手机存储资料 发布:2025-02-12 03:29:42 浏览:471
linux使用git 发布:2025-02-12 03:28:56 浏览:404
编程培训有那些 发布:2025-02-12 03:28:52 浏览:523
如何导入安卓通讯录到苹果 发布:2025-02-12 03:10:31 浏览:23
pdf压缩绿色软件 发布:2025-02-12 03:01:11 浏览:76
编程就业前景怎么样 发布:2025-02-12 02:55:13 浏览:47