conf t


 hostname Router4
 ip domain name xzbori22.vutbr.cz
 crypto key generate rsa general-keys modulus 2048

 aaa new-model
 ip scp server enable
 ip ssh time-out 120
 ip ssh authentication-retries 3
 no ip domain lookup
 aaa authentication login default local
 aaa authorization exec default local 
 
 line vty 0 4
  transport input ssh
  username tzboril privilege 15 secret cisco
  ip ssh ver 2


  interface Gi0/0
   ip address 192.168.2.2 255.255.255.252
   desc To Router3
   no shut
   
  router ospf 109
   network 192.168.2.2 0.0.0.0 area 2
   passive-interface gigabitEthernet 1

  router bgp 100
   no bgp default ipv4-unicast
   neighbor 192.168.2.1 remote-as 200
   address-family ipv4
    neighbor 192.168.2.1 activate
    exit-address-family
end


conf t
 snmp-server user tzboril group_1 v3 auth sha 9JxxPmxEVX priv des56 dJr9pkAA33
 snmp-server group group_1 v3 priv
 snmp-server community cisco ro
 snmp-server enable traps
 end
wr