conf t
 hostname Router1
 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 dh min size 2048
 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 Gi1
   desc To NAT

  interface GigabitEthernet4
   ip address 192.168.123.1 255.255.255.252
   desc To R3_bypass
   no shut
   
  interface GigabitEthernet2
   ip address 10.0.0.1 255.255.255.252
   desc To Router2
   no shut
   
  !Static routes
  ip route 192.168.10.0 255.255.255.0 Gi1
  ip route 192.168.122.0 255.255.255.0 Gi1
  !ip route 192.168.123.0 255.255.255.0 Gi4


  router ospf 109
   network 192.168.122.74 0.0.0.0 area 2
   network 192.168.123.1 0.0.0.0 area 2
   network 10.0.0.1 0.0.0.0 area 2
   end


wr

conf t
 snmp-server user tzboril group_1 v3 auth sha 9JxxPmxEVX priv aes 256 dJr9pkAA33
 !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
 !debug snmp headers
 !debug snmp packets
wr

conf t
 cdp run
 int range gig 1-4
 cdp enable
 end
wr




  
