mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-08 14:23:01 +07:00
199 lines
5.1 KiB
Plaintext
199 lines
5.1 KiB
Plaintext
|
|
||
|
**************************************************************************
|
||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
|
||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
|
||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
|
||
|
* of the IOSv Software or Documentation to any third party for any *
|
||
|
* purposes is expressly prohibited except as otherwise authorized by *
|
||
|
* Cisco in writing. *
|
||
|
**************************************************************************
|
||
|
SW2>enable
|
||
|
Password:
|
||
|
SW2#term len 0
|
||
|
SW2#sh run
|
||
|
Building configuration...
|
||
|
|
||
|
|
||
|
Current configuration : 4140 bytes
|
||
|
!
|
||
|
! Last configuration change at 14:17:13 UTC Thu Jan 27 2022 by admin
|
||
|
!
|
||
|
version 15.2
|
||
|
service timestamps debug datetime msec
|
||
|
service timestamps log datetime msec
|
||
|
no service password-encryption
|
||
|
service compress-config
|
||
|
!
|
||
|
hostname SW2
|
||
|
!
|
||
|
boot-start-marker
|
||
|
boot-end-marker
|
||
|
!
|
||
|
!
|
||
|
enable password access123
|
||
|
!
|
||
|
username admin password 0 access123
|
||
|
aaa new-model
|
||
|
!
|
||
|
!
|
||
|
aaa authentication login default local
|
||
|
aaa authorization exec default local none
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
aaa session-id unique
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
vtp mode transparent
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
no ip domain-lookup
|
||
|
ip domain-name 90DaysOfDevOps.net
|
||
|
ip cef
|
||
|
no ipv6 cef
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
spanning-tree mode rapid-pvst
|
||
|
spanning-tree extend system-id
|
||
|
!
|
||
|
vlan internal allocation policy ascending
|
||
|
lldp run
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
interface GigabitEthernet0/1
|
||
|
switchport trunk allowed vlan 1,2
|
||
|
switchport trunk encapsulation dot1q
|
||
|
switchport mode trunk
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet0/2
|
||
|
switchport trunk allowed vlan 1,2
|
||
|
switchport trunk encapsulation dot1q
|
||
|
switchport mode trunk
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet0/3
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet0/0
|
||
|
no switchport
|
||
|
ip address dhcp
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet1/0
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet1/1
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet1/2
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
interface GigabitEthernet1/3
|
||
|
media-type rj45
|
||
|
negotiation auto
|
||
|
!
|
||
|
ip forward-protocol nd
|
||
|
!
|
||
|
no ip http server
|
||
|
no ip http secure-server
|
||
|
!
|
||
|
ip ssh version 2
|
||
|
ip scp server enable
|
||
|
!
|
||
|
!
|
||
|
logging history debugging
|
||
|
logging snmp-trap emergencies
|
||
|
logging snmp-trap alerts
|
||
|
logging snmp-trap critical
|
||
|
logging snmp-trap errors
|
||
|
logging snmp-trap warnings
|
||
|
logging snmp-trap notifications
|
||
|
logging snmp-trap informational
|
||
|
logging snmp-trap debugging
|
||
|
!
|
||
|
!
|
||
|
snmp-server community public RW
|
||
|
snmp-server trap link ietf
|
||
|
snmp-server enable traps snmp linkdown linkup
|
||
|
snmp-server enable traps syslog
|
||
|
snmp-server manager
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
control-plane
|
||
|
!
|
||
|
banner exec ^C
|
||
|
**************************************************************************
|
||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
|
||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
|
||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
|
||
|
* of the IOSv Software or Documentation to any third party for any *
|
||
|
* purposes is expressly prohibited except as otherwise authorized by *
|
||
|
* Cisco in writing. *
|
||
|
**************************************************************************^C
|
||
|
banner incoming ^C
|
||
|
**************************************************************************
|
||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
|
||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
|
||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
|
||
|
* of the IOSv Software or Documentation to any third party for any *
|
||
|
* purposes is expressly prohibited except as otherwise authorized by *
|
||
|
* Cisco in writing. *
|
||
|
**************************************************************************^C
|
||
|
banner login ^C
|
||
|
**************************************************************************
|
||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
|
||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
|
||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
|
||
|
* of the IOSv Software or Documentation to any third party for any *
|
||
|
* purposes is expressly prohibited except as otherwise authorized by *
|
||
|
* Cisco in writing. *
|
||
|
**************************************************************************^C
|
||
|
!
|
||
|
line con 0
|
||
|
exec-timeout 0 0
|
||
|
privilege level 15
|
||
|
logging synchronous
|
||
|
line aux 0
|
||
|
line vty 0 4
|
||
|
exec-timeout 0 0
|
||
|
privilege level 15
|
||
|
logging synchronous
|
||
|
transport input all
|
||
|
line vty 5 15
|
||
|
exec-timeout 0 0
|
||
|
privilege level 15
|
||
|
logging synchronous
|
||
|
transport input all
|
||
|
!
|
||
|
!
|
||
|
end
|
||
|
|
||
|
SW2#
|