168 lines
2.5 KiB
Plaintext
168 lines
2.5 KiB
Plaintext
!
|
|
upgrade fpd auto
|
|
version 12.4
|
|
service timestamps debug datetime msec
|
|
service timestamps log datetime msec
|
|
no service password-encryption
|
|
!
|
|
hostname R1-CPE-BAT-A
|
|
!
|
|
boot-start-marker
|
|
boot-end-marker
|
|
!
|
|
logging message-counter syslog
|
|
!
|
|
no aaa new-model
|
|
ip source-route
|
|
no ip icmp rate-limit unreachable
|
|
ip cef
|
|
!
|
|
!
|
|
!
|
|
!
|
|
no ip domain lookup
|
|
ip domain name r1.cpe.local
|
|
no ipv6 cef
|
|
!
|
|
multilink bundle-name authenticated
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
file prompt quiet
|
|
username cisco privilege 15 password 0 cisco
|
|
archive
|
|
log config
|
|
hidekeys
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
ip tcp synwait-time 5
|
|
ip ssh version 2
|
|
ip scp server enable
|
|
!
|
|
!
|
|
!
|
|
!
|
|
interface Loopback1
|
|
description Loopback pour R1-CPE-BAT-A
|
|
ip address 1.1.1.1 255.255.255.255
|
|
!
|
|
interface Loopback2
|
|
description Loopback2 pour R1-CPE-BAT-A
|
|
ip address 1.1.1.2 255.255.255.255
|
|
!
|
|
interface Loopback10
|
|
description created from config file uploaded from postman
|
|
ip address 10.10.10.10 255.255.255.255
|
|
!
|
|
interface FastEthernet0/0
|
|
ip address 172.16.100.62 255.255.255.192
|
|
duplex half
|
|
!
|
|
interface Serial1/0
|
|
no ip address
|
|
shutdown
|
|
serial restart-delay 0
|
|
!
|
|
interface Serial1/1
|
|
ip address 10.1.1.1 255.255.255.252
|
|
shutdown
|
|
serial restart-delay 0
|
|
!
|
|
interface Serial1/2
|
|
no ip address
|
|
shutdown
|
|
serial restart-delay 0
|
|
!
|
|
interface Serial1/3
|
|
no ip address
|
|
shutdown
|
|
serial restart-delay 0
|
|
!
|
|
interface GigabitEthernet2/0
|
|
no ip address
|
|
negotiation auto
|
|
!
|
|
interface GigabitEthernet2/0.10
|
|
description "Gateway for teacher vlan"
|
|
encapsulation dot1Q 10
|
|
ip address 172.16.10.253 255.255.255.0
|
|
vrrp 10 ip 172.16.10.252
|
|
!
|
|
interface GigabitEthernet2/0.20
|
|
description "Gateway for student vlan"
|
|
encapsulation dot1Q 20
|
|
ip address 172.16.20.253 255.255.255.0
|
|
vrrp 20 ip 172.16.20.252
|
|
!
|
|
interface GigabitEthernet2/0.99
|
|
encapsulation dot1Q 99
|
|
ip address 172.16.100.125 255.255.255.192
|
|
vrrp 99 ip 172.16.100.124
|
|
!
|
|
router ospf 1
|
|
router-id 1.1.1.1
|
|
log-adjacency-changes
|
|
passive-interface FastEthernet0/0
|
|
passive-interface GigabitEthernet2/0.99
|
|
network 10.1.1.0 0.0.0.3 area 0
|
|
network 172.16.10.0 0.0.0.255 area 0
|
|
network 172.16.20.0 0.0.0.255 area 0
|
|
network 172.16.100.0 0.0.0.63 area 0
|
|
network 172.16.100.64 0.0.0.63 area 0
|
|
!
|
|
ip forward-protocol nd
|
|
no ip http server
|
|
no ip http secure-server
|
|
!
|
|
!
|
|
!
|
|
no cdp log mismatch duplex
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
control-plane
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
gatekeeper
|
|
shutdown
|
|
!
|
|
!
|
|
line con 0
|
|
exec-timeout 0 0
|
|
privilege level 15
|
|
logging synchronous
|
|
stopbits 1
|
|
line aux 0
|
|
exec-timeout 0 0
|
|
privilege level 15
|
|
logging synchronous
|
|
stopbits 1
|
|
line vty 0 4
|
|
login local
|
|
transport input ssh
|
|
!
|
|
end |