设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 812|回复: 8
收起左侧

[求助] 帮忙看下交换机配置

[复制链接]
发表于 2018-1-3 15:43:07 | 显示全部楼层 |阅读模式
本帖最后由 colouryy 于 2018-1-3 15:44 编辑

Building configuration...

Current configuration : 7422 bytes
!
! Last configuration change at 07:04:41 UTC Fri Jan 21 2000 by cisco
! NVRAM config last updated at 06:19:16 UTC Tue Jan 18 2000 by cisco
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW_1
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
username cisco password 0 cisco
no aaa new-model
switch 1 provision ws-c2960x-48fps-l
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-2380398464
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2380398464
revocation-check none
rsakeypair TP-self-signed-2380398464
!
!
crypto pki certificate chain TP-self-signed-2380398464
certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32333830 33393834 3634301E 170D3030 30313031 30303035
  30335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 33383033
  39383436 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100852A 36DD8A01 32CAF650 09889366 86442C01 0190CFB2 0B9E6A96 BD18D293
  41DD9624 A1DE25D3 C6B0E1CA D8609994 C3578815 1764CB95 56FA7A02 B0FEFDBA
  32529DF0 FD85F246 20F50636 2B0ED9A9 68BA800B C6614E7B F1A7984F E33882C2
  042C7886 ACCECE5A 9E5C2798 1DADE1AE F2E651F0 F66AB752 73E4D5DA 810DC309
  08C70203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 140D7059 C4DF4E8D AA6CE990 3278CF2C 069467F2 C1301D06
  03551D0E 04160414 0D7059C4 DF4E8DAA 6CE99032 78CF2C06 9467F2C1 300D0609
  2A864886 F70D0101 05050003 8181005B 0471EF43 C93D7C84 EDC93D91 240E9EBC
  B34ACE7D 53CF05BA A9CA01E6 9FF29253 FEDAB4CC 60FA33B4 6329650F 761AC4E9
  28C39D6B 98A3353D B887B2FE 903DCA32 960EEB62 60123D92 082A1466 DADCF628
  6FCA842F E8840AA4 A6A8D6CC 4F7D5C66 CD9A5EBB 93C72066 D8924056 EB783704
  F34304EC 0A5642B0 E2536909 303D3E
        quit
!

spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet1/0/1
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/2
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/3
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/4
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/5
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/6
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/7
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/8
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/9
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/10
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/11
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/12
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/13
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/14
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/15
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/16
description to VIDEO
switchport mode access
switchport voice vlan 103
spanning-tree portfast edge
!
interface GigabitEthernet1/0/17
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/18
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/19
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/20
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/21
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/22
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/23
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/24
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/25
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/26
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/27
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/28
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/29
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/30
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/31
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/32
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/33
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/34
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/35
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/36
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/37
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/38
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/39
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/40
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/41
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/42
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/43
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/44
description to voice GW
switchport access vlan 103
switchport mode access
!
interface GigabitEthernet1/0/45
description to NAS
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/46
description to_ap
switchport trunk native vlan 901
switchport mode trunk
!
interface GigabitEthernet1/0/47
description to FW
switchport mode trunk
!
interface GigabitEthernet1/0/48
description to SW_2
switchport mode trunk
!
interface GigabitEthernet1/0/49
!
interface GigabitEthernet1/0/50
!
interface GigabitEthernet1/0/51
!
interface GigabitEthernet1/0/52
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 10.1.0.2 255.255.255.0
!
interface Vlan101
ip address 10.1.1.2 255.255.255.0
!
interface Vlan900
ip address 10.100.0.2 255.255.255.0
!
ip default-gateway 10.100.0.1
ip http server
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.100.0.1
!
!
!
line con 0
line vty 0 4
password cisco
login local
line vty 5 15
login
!
!
end

帮忙看下这个是三层交换机么?还有标红的配置是什么作用?为什么配置了3个不同的Vlan 地址。是这个3个地址都可以管理这个交换机么?还有什么其他作用。


发表于 2018-1-19 11:21:32 | 显示全部楼层
L3 Switching, the red lines are for crypto key, you can mange the switch though all 3 vlans.
沙发 2018-1-19 11:21:32 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-2-2 10:26:18 | 显示全部楼层
2960X哪里是3层交换机,明明是2层交换机,不过可以堆叠,红色部分是key
板凳 2018-2-2 10:26:18 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-2-4 15:43:25 | 显示全部楼层
同意楼上的观点,可以通过3个vlan管理交换机,可以做FHRP vlan间的路由之类的
地板 2018-2-4 15:43:25 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-2-4 15:43:47 | 显示全部楼层
同意楼上的观点,可以通过3个vlan管理交换机,可以做FHRP vlan间的路由之类的
5# 2018-2-4 15:43:47 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-2-9 02:41:53 | 显示全部楼层
I was wrong, this is stacked CISCO 2960, it's L2 switch.
6# 2018-2-9 02:41:53 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-4-9 19:26:16 | 显示全部楼层
红色是秘钥,从静态路由看一般会用vlan900来管理这台交换机
7# 2018-4-9 19:26:16 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-5-30 15:56:12 | 显示全部楼层
应该是一样的东西,只是一个是比较久之前的东西,一个是现在使用的东西。
8# 2018-5-30 15:56:12 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-25 14:38 , Processed in 0.058777 second(s), 9 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表