conf t


 hostname Router3
 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 GigabitEthernet1
   ip address 192.168.1.2 255.255.255.252
   desc To Router2
   no shut

  interface GigabitEthernet2
   ip address 192.168.2.1 255.255.255.252
   desc To Router4
   no shut

  interface GigabitEthernet3
   ip address 192.168.123.2 255.255.255.252
   desc To R1_bypass
   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
   network 192.168.2.1 0.0.0.0 area 2
   network 192.168.123.2 0.0.0.0 area 2
   passive-interface gigabitEthernet 2

  router bgp 200
   no bgp default ipv4-unicast
   neighbor 192.168.2.2 remote-as 100
   address-family ipv4
    neighbor 192.168.2.2 activate
    redistribute ospf 109
    exit-address-family

   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

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