Update network device configurations to INSTRUCTIONS.md

This commit is contained in:
Christer Warén
2025-08-06 15:28:04 +03:00
parent d694c4cbf6
commit 587d9032ac

View File

@@ -14,12 +14,12 @@
r1.net.tjas r1.net.tjas
``` ```
!
version 12.4 version 12.4
service timestamps debug datetime msec service timestamps debug datetime msec
service timestamps log datetime msec service timestamps log datetime msec
no service password-encryption no service password-encryption
! !
!
hostname r1.net.tjas hostname r1.net.tjas
! !
boot-start-marker boot-start-marker
@@ -35,14 +35,14 @@ resource policy
memory-size iomem 5 memory-size iomem 5
ip subnet-zero ip subnet-zero
! !
! !
ip cef ip cef
! !
! !
! !
! !
! !
! !
interface FastEthernet0/0 interface FastEthernet0/0
ip address dhcp ip address dhcp
no ip redirects no ip redirects
@@ -52,124 +52,120 @@ interface FastEthernet0/0
duplex full duplex full
speed auto speed auto
no mop enabled no mop enabled
! !
interface FastEthernet0/1 interface FastEthernet0/1
no ip address no ip address
duplex auto duplex auto
speed auto speed auto
! !
interface FastEthernet0/1.10 interface FastEthernet0/1.10
description "TINU - INTERNET" description "TINU - INTERNET"
encapsulation dot1Q 10 encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0 ip address 192.168.1.1 255.255.255.224
ip helper-address 192.168.2.10 ip helper-address 192.168.2.10
no snmp trap link-status no snmp trap link-status
! !
interface FastEthernet0/1.20 interface FastEthernet0/1.20
description "JUVA - INTRA" description "JUVA - INTRA"
encapsulation dot1Q 20 encapsulation dot1Q 20
ip address 192.168.2.1 255.255.255.0 ip address 192.168.2.1 255.255.255.224
ip helper-address 192.168.2.10 ip helper-address 192.168.2.10
no snmp trap link-status no snmp trap link-status
! !
interface FastEthernet0/1.30 interface FastEthernet0/1.30
description "AITO - TOIMISTO" description "AITO - TOIMISTO"
encapsulation dot1Q 30 encapsulation dot1Q 30
ip address 192.168.3.1 255.255.255.0 ip address 192.168.3.1 255.255.255.224
ip helper-address 192.168.2.10 ip helper-address 192.168.2.10
no snmp trap link-status no snmp trap link-status
! !
interface FastEthernet0/1.69 interface FastEthernet0/1.69
description "SIVE - HALLINTA" description "SIVE - HALLINTA"
encapsulation dot1Q 69 encapsulation dot1Q 69
ip address 192.168.69.1 255.255.255.0 ip address 192.168.69.1 255.255.255.192
ip helper-address 192.168.69.20 ip helper-address 192.168.69.20
no snmp trap link-status no snmp trap link-status
! !
interface GigabitEthernet0/0/0 interface GigabitEthernet0/0/0
no ip address no ip address
shutdown shutdown
negotiation auto negotiation auto
! !
ip classless ip classless
! !
ip http server ip http server
! !
access-list 1 permit 192.168.0.0 !
access-list 1 permit 192.168.1.0
access-list 1 permit 192.168.2.0
access-list 1 permit 192.168.3.0
access-list 1 deny any
!
control-plane control-plane
! !
! !
line con 0 line con 0
line aux 0 line aux 0
line vty 0 4 line vty 0 4
password ******** password TJAS1234
login login
! !
scheduler allocate 20000 1000 scheduler allocate 20000 1000
! !
end end
``` ```
s1.net.tjas s1.net.tjas
``` ```
hostname "s1.net.tjas" hostname "s1.net.tjas"
snmp-server community "public" Unrestricted snmp-server community "public" Unrestricted
vlan 1 vlan 1
name "DEFAULT_VLAN" name "DEFAULT_VLAN"
untagged 1-52 untagged 1-52
ip address dhcp-bootp ip address dhcp-bootp
exit exit
vlan 10 vlan 10
name "TINU" name "TINU"
ip address 192.168.1.2 255.255.255.0 ip address 192.168.1.2 255.255.255.224
tagged 1 tagged 1
exit exit
vlan 20 vlan 20
name "JUVA" name "JUVA"
tagged 1-2 no ip address
exit tagged 1-2
vlan 30 exit
name "AITO" vlan 30
tagged 1,3 name "AITO"
exit no ip address
vlan 69 tagged 1,3
name "SIVE" exit
ip address 192.168.69.11 255.255.255.0 vlan 69
tagged 1,2,3 name "SIVE"
exit ip address 192.168.69.11 255.255.255.192
ip authorized-managers 192.168.69.20 tagged 1-3
exit
ip authorized-managers 192.168.69.20 255.255.255.255
ip ssh ip ssh
password manager password manager
``` ```
s2.net.tjas s2.net.tjas
``` ```
hostname "s2.net.tjas" hostname "s2.net.tjas"
snmp-server community "public" Unrestricted snmp-server community "public" Unrestricted
vlan 1 vlan 1
name "DEFAULT_VLAN" name "DEFAULT_VLAN"
untagged 25-28 untagged 25-28
ip address dhcp-bootp ip address dhcp-bootp
no untagged 1-24 no untagged 1-24
exit exit
vlan 20 vlan 20
name "JUVA" name "JUVA"
untagged 2-24 untagged 2-24
ip address 192.168.2.2 255.255.255.0 ip address 192.168.2.2 255.255.255.224
tagged 1 tagged 1-2
exit exit
vlan 69 vlan 69
name "SIVE" name "SIVE"
ip address 192.168.69.12 255.255.255.0 ip address 192.168.69.12 255.255.255.192
tagged 1,2 tagged 1-2
exit exit
ip authorized-managers 192.168.69.20 255.255.255.255 ip authorized-managers 192.168.69.20 255.255.255.255
ip ssh ip ssh
password manager password manager
``` ```
@@ -177,26 +173,26 @@ password manager
s3.net.tjas s3.net.tjas
``` ```
hostname "s3.net.tjas" hostname "s3.net.tjas"
snmp-server community "public" Unrestricted snmp-server community "public" Unrestricted
vlan 1 vlan 1
name "DEFAULT_VLAN" name "DEFAULT_VLAN"
untagged 25-28 untagged 25-28
ip address dhcp-bootp ip address dhcp-bootp
no untagged 1-24 no untagged 1-24
exit exit
vlan 30 vlan 30
name "AITO" name "AITO"
untagged 2-24 ip address 192.168.3.2 255.255.255.224
ip address 192.168.3.2 255.255.255.0 tagged 1,13-24
tagged 1 untagged
exit exit
vlan 69 vlan 69
name "SIVE" name "SIVE"
untagged 2-24 untagged 2-24
ip address 192.168.69.13 255.255.255.0 ip address 192.168.69.13 255.255.255.192
tagged 1 tagged 1
exit exit
ip authorized-managers 192.168.69.20 255.255.255.255 ip authorized-managers 192.168.69.20 255.255.255.255
ip ssh ip ssh
password manager password manager
``` ```