设置列表
对齐方式
!
! Last configuration change at 02:45:56 PRC Sat Aug 29 2020
! NVRAM config last updated at 02:22:19 PRC Sat Aug 29 2020
!
version 15.2
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
service sequence-numbers
!
hostname DHHLGJ-7F-HZ.C2960-03
!
boot-start-marker
boot-end-marker
!
logging console critical
enable password 7 030657021C15205E4A
!
username alibaba privilege 15 password 7
aaa new-model
!
!
aaa authentication login AliTelnet group tacacs+ local
aaa authentication login AliConsole local
aaa authentication enable default group tacacs+ enable
aaa authorization exec AliTelnet group tacacs+ local
aaa authorization commands 15 AliTelnet group tacacs+ local
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 0 default start-stop group tacacs+
aaa accounting commands 1 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
!
!
!
!
!
!
aaa session-id common
clock timezone PRC 8 0
switch 1 provision ws-c2960x-48fps-l
no ip source-route
no ip gratuitous-arps
!
!
ip dhcp snooping vlan 11-500
ip dhcp snooping information option allow-untrusted
no ip dhcp snooping information option
ip dhcp snooping database flash:/dhcpsnoop
ip dhcp snooping
no ip domain-lookup
ip domain-name ***.***
ip name-server 这里是ip
ip name-server 这里是ip
vtp domain ttx
vtp mode transparent
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
no errdisable detect cause small-frame
no errdisable detect cause loopback
no errdisable detect cause gbic-invalid
no errdisable detect cause sfp-config-mismatch
no errdisable detect cause pagp-flap
no errdisable detect cause dtp-flap
no errdisable detect cause link-flap
no errdisable detect cause pppoe-ia-rate-limit
no errdisable detect cause dhcp-rate-limit
no errdisable detect cause arp-inspection
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause security-violation
errdisable recovery cause channel-misconfig
errdisable recovery cause pagp-flap
errdisable recovery cause dtp-flap
errdisable recovery cause link-flap
errdisable recovery cause sfp-config-mismatch
errdisable recovery cause gbic-invalid
errdisable recovery cause psecure-violation
errdisable recovery cause port-mode-failure
errdisable recovery cause dhcp-rate-limit
errdisable recovery cause pppoe-ia-rate-limit
errdisable recovery cause mac-limit
errdisable recovery cause vmps
errdisable recovery cause storm-control
errdisable recovery cause inline-power
errdisable recovery cause arp-inspection
errdisable recovery cause loopback
errdisable recovery cause small-frame
!
!
!
!
vlan internal allocation policy ascending
!
vlan 2
name cisco-ASW-2960Vlan/10.5.32.0/26
!
vlan 13
name TTX-HZ-DZ8F.C2960-03/10.5.37.0/2
!
vlan 103
name TTX-HZ-IPT-8F/这里是ip/25
!
vlan 104
!
vlan 254
name TXWSalibaba-guest
!
vlan 255
name voice
!
vlan 500
name TXWSalibaba-inc
!
!
interface GigabitEthernet1/0/1
switchport access vlan 12
switchport mode access
switchport voice vlan 255
storm-control broadcast level 10.00
storm-control multicast level 10.00
storm-control unicast level 50.00
spanning-tree portfast
spanning-tree bpduguard enable
ip verify source port-security!
!
interface GigabitEthernet1/0/9
description AP
switchport trunk encapsulation dot1q
switchport trunk native vlan 400
switchport trunk allowed vlan 400,401
switchport mode trunk
channel-group 9 mode active
!
interface GigabitEthernet1/0/52
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan2
ip address 这里是ip 255.255.255.192
no ip route-cache
!
ip default-gateway 这里是ip
no ip http server
no ip http secure-server
!
ip ssh version 2
!
logging trap debugging
logging facility local2
logging host 这里是ip
access-list 2 permit 这里是ip 0.0.255.255
access-list 2 permit 这里是ip 0.0.0.255
access-list 2 permit 这里是ip 0.0.0.255
!
snmp-server community alibaba RO 2
tacacs-server host 这里是ip timeout 5
tacacs-server host 这里是ip timeout 5
tacacs-server directed-request
tacacs-server key 7
!
!
!
!
line con 0
line vty 0 4
password 7 13071B1B111605382F
authorization commands 15 AliTelnet
authorization exec AliTelnet
logging synchronous
login authentication AliTelnet
transport input telnet ssh
line vty 5 15
authorization commands 15 AliTelnet
authorization exec AliTelnet
logging synchronous
login authentication AliTelnet
transport input telnet ssh
!
ntp server 这里是ip这里是ip
对齐方式
我们设备用的都是 cisco的 目前这个配置是从2960交换机复制下来的 想之后都换成华三的 但我上面很多东西看不懂 这台设备是否能实现上面功能 或是有什么推荐的 价格不要太贵
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
嗯呢 谢谢