设为首页收藏本站language 语言切换
查看: 1076|回复: 2
收起左侧

[原创] 哪位大神帮忙注释一下,有点看不懂,谢谢啦!

[复制链接]
发表于 2020-5-18 08:15:06 | 显示全部楼层 |阅读模式
哪位大神帮我注释一下这个cisco三层交换机的配置。看的不太明白。谢谢啦~
SW001CON>sh runn
               ^
% Invalid input detected at '^' marker.

SW001CON>en
Password:
SW001CON#
SW001CON#
SW001CON#sh runn
Building configuration...

Current configuration : 7077 bytes
!
! Last configuration change at 09:39:05 GMT Wed Nov 6 2019
! NVRAM config last updated at 09:36:52 GMT Wed Nov 6 2019
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
service unsupported-transceiver
!
hostname SW001CON
!
boot-start-marker
boot system flash bootflash:cat4500e-universal.SPA.03.06.07.E.152-2.W7.bin
boot-end-marker
!
!
vrf definition mgmtVrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!         
enable password abc123
!         
no aaa new-model
clock timezone GMT 8 0
hw-module uplink select tengigabitethernet
!         
!         
!         
!         
!         
!         
no ip domain-lookup
!         
!         
vtp mode transparent
!         
no errdisable detect cause gbic-invalid
power redundancy-mode redundant
!         
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!         
redundancy
mode sso
!         
vlan internal allocation policy ascending
!         
vlan 1016
name ESX-MGMT
!         
vlan 1017
name NAS-Storage
!         
vlan 1018-1020,1022-1023
!         
vlan 1024
name vxlan
!         
vlan 1100
!         
vlan 2100
name storage-HA
lldp run  
!         
!         
!         
!         
!         
!         
!         
interface Loopback0
ip address 10.6.1.254 255.255.255.255
!         
interface Port-channel1
description "TO XDL-15F-CORE-SLAVE"
switchport
switchport mode trunk
!         
interface Port-channel2
description "TO UCS-FI-YB-A"
switchport
switchport mode trunk
!         
interface Port-channel3
switchport
switchport mode trunk
!         
interface Port-channel4
switchport
switchport mode trunk
!         
interface Port-channel5
switchport
switchport mode trunk
!         
interface Port-channel6
switchport
switchport access vlan 1022
switchport mode access
!         
interface Port-channel7
switchport
switchport access vlan 1023
switchport mode access
!         
interface Port-channel10
switchport
switchport mode trunk
!         
interface FastEthernet1
vrf forwarding mgmtVrf
no ip address
speed auto
duplex auto
!         
interface TenGigabitEthernet1/1
switchport access vlan 1100
switchport mode access
spanning-tree portfast
!         
interface TenGigabitEthernet1/2
description LINK
switchport access vlan 1017
switchport mode access
!         
interface TenGigabitEthernet1/3
switchport mode trunk
channel-group 3 mode active
!         
interface TenGigabitEthernet1/4
switchport mode trunk
channel-group 3 mode active
!         
interface TenGigabitEthernet1/5
switchport mode trunk
channel-group 4 mode active
!         
interface TenGigabitEthernet1/6
switchport mode trunk
channel-group 4 mode active
!         
interface TenGigabitEthernet1/7
switchport mode trunk
channel-group 5 mode active
!         
interface TenGigabitEthernet1/8
switchport mode trunk
channel-group 5 mode active
!         
interface TenGigabitEthernet1/9
switchport mode trunk
channel-group 2 mode active
!         
interface TenGigabitEthernet1/10
switchport mode trunk
channel-group 2 mode active
!         
interface TenGigabitEthernet1/11
description To NB
no switchport
ip address 10.6.2.230 255.255.255.252
!         
interface TenGigabitEthernet1/12
description To SRV
no switchport
ip address 10.6.2.238 255.255.255.252
!         
interface TenGigabitEthernet3/1
switchport mode trunk
channel-group 1 mode on
!         
interface TenGigabitEthernet3/2
switchport mode trunk
channel-group 1 mode on
!         
interface GigabitEthernet3/3
!         
interface GigabitEthernet3/4
!         
interface GigabitEthernet3/5
!         
interface GigabitEthernet3/6
!         
interface TenGigabitEthernet5/1
description To FS
no switchport
ip address 10.6.2.222 255.255.255.252
!         
interface TenGigabitEthernet5/2
description To 4K
no switchport
ip address 10.6.2.206 255.255.255.252
!         
interface TenGigabitEthernet5/3
no switchport
ip address 10.6.2.198 255.255.255.252
!         
interface TenGigabitEthernet5/4
description To OB
no switchport
ip address 10.6.2.214 255.255.255.252
!         
interface TenGigabitEthernet5/5
description To JKCore
no switchport
ip address 172.16.254.1 255.255.255.252
!         
interface TenGigabitEthernet5/6
description to-AC1
switchport mode trunk
!         
interface TenGigabitEthernet5/7
switchport access vlan 1022
switchport mode access
channel-group 6 mode active
!         
interface TenGigabitEthernet5/8
switchport access vlan 1022
switchport mode access
channel-group 6 mode active
!         
interface TenGigabitEthernet5/9
switchport access vlan 1023
switchport mode access
channel-group 7 mode active
!         
interface TenGigabitEthernet5/10
switchport access vlan 1023
switchport mode access
channel-group 7 mode active
!         
interface TenGigabitEthernet5/11
switchport mode trunk
!         
interface TenGigabitEthernet5/12
switchport mode trunk
!         
interface TenGigabitEthernet7/1
switchport mode trunk
channel-group 10 mode on
!         
interface TenGigabitEthernet7/2
switchport mode trunk
channel-group 10 mode on
!         
interface TenGigabitEthernet7/3
switchport mode trunk
!         
interface TenGigabitEthernet7/4
!         
interface TenGigabitEthernet7/5
!         
interface TenGigabitEthernet7/6
!         
interface TenGigabitEthernet7/7
switchport mode trunk
!         
interface TenGigabitEthernet7/8
!         
interface TenGigabitEthernet7/9
!         
interface TenGigabitEthernet7/10
!         
interface TenGigabitEthernet7/11
!         
interface TenGigabitEthernet7/12
switchport access vlan 1009
switchport mode access
!         
interface Vlan1
no ip address
!         
interface Vlan1009
ip address 10.6.9.99 255.255.255.0
!         
interface Vlan1016
ip address 10.6.16.253 255.255.255.0
standby 0 ip 10.6.16.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1017
ip address 10.6.17.253 255.255.255.0
standby 0 ip 10.6.17.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1018
ip address 10.6.18.253 255.255.255.0
standby 0 ip 10.6.18.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1019
ip address 10.6.19.253 255.255.255.0
standby 0 ip 10.6.19.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1020
ip address 10.6.20.253 255.255.255.0
standby 0 ip 10.6.20.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1022
ip address 10.6.22.253 255.255.255.0
standby 0 ip 10.6.22.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1023
ip address 10.6.23.253 255.255.255.0
standby 0 ip 10.6.23.254
standby 0 priority 110
standby 0 preempt
!         
interface Vlan1100
ip address 10.6.2.252 255.255.255.240
standby 0 ip 10.6.2.253
standby 0 priority 110
standby 0 preempt
!         
router ospf 1
router-id 10.6.1.254
redistribute static subnets
network 10.6.1.254 0.0.0.0 area 0
network 10.6.2.198 0.0.0.0 area 0
network 10.6.2.206 0.0.0.0 area 0
network 10.6.2.214 0.0.0.0 area 0
network 10.6.2.222 0.0.0.0 area 0
network 10.6.2.230 0.0.0.0 area 0
network 10.6.2.238 0.0.0.0 area 0
network 10.6.2.252 0.0.0.0 area 0
network 10.6.22.0 0.0.0.255 area 0
network 10.6.23.0 0.0.0.255 area 0
network 172.16.254.1 0.0.0.0 area 0
default-information originate
!         
ip forward-protocol nd
no ip http server
ip route 0.0.0.0 0.0.0.0 10.6.2.254
ip route 10.7.118.0 255.255.255.0 10.6.10.6
!         
!         
!         
snmp-server community public RO
!         
vstack   
!         
line con 0
stopbits 1
line vty 0 4
password cisco
login   
!         
!         
monitor session 1 source interface Po3
monitor session 1 destination interface Te1/2
monitor session 1 filter packet-type good rx
ntp master
ntp server 10.6.19.43
!         
end      



发表于 2020-5-18 10:17:13 | 显示全部楼层
在“^”标记处检测到无效输入
在“^”标记处检测到无效输入
在“^”标记处检测到无效输入
在“^”标记处检测到无效输入
沙发 2020-5-18 10:17:13 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2020-7-14 17:42:54 | 显示全部楼层
感谢楼主分享
板凳 2020-7-14 17:42:54 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-28 01:25 , Processed in 0.060123 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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