conf t
 hostname Router2
 ip domain name xzbori22.vutbr.cz
 crypto key generate rsa general-keys modulus 1024

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

  interface GigabitEthernet1
   ip address 10.0.0.2 255.255.255.252
   desc To Router1
   no shut
   
  interface GigabitEthernet2
   ip address 192.168.1.1 255.255.255.252
   desc To Router3
   no shut
   
  router ospf 109 
   network 10.0.0.2 0.0.0.0 area 2
   network 192.168.1.1 0.0.0.0 area 2
   end


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


  
  
