!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW-SRV
!
!
!
ip ssh version 2
ip domain-name bcompany.test
!
username netadmin secret 5 $1$mERr$X4oEyaJGpqWGSS7aufgl50
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
 description TRUNK-B-COMPANY
 switchport trunk allowed vlan 20,99
 switchport mode trunk
!
interface GigabitEthernet0/2
 description TRUNK-B-COMPANY
 switchport trunk allowed vlan 20,99
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan99
 ip address 172.11.99.31 255.255.255.0
!
ip default-gateway 172.11.99.1
!
!
!
!
ip access-list standard MGMT-SSH
 permit host 172.11.99.50
 deny any
line con 0
!
line vty 0 4
 access-class MGMT-SSH in
 exec-timeout 5 0
 login local
 transport input ssh
line vty 5 15
 login
!
!
!
!
end
