konf cisco
Kod: Zaznacz cały
Building configuration...
Current configuration : 1569 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
interface FastEthernet0/0
description Internet
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.1
description 192.168.1.1 255.255.255.0
encapsulation dot1Q 1 native
ip address 192.168.1.1 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/1.2
description admin
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/1.3
description mobile
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/1.4
description guest
encapsulation dot1Q 4
ip address 192.168.4.1 255.255.255.0
no snmp trap link-status
!
interface FastEthernet0/0/0
!
interface FastEthernet0/0/1
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
!
interface Vlan1
no ip address
!
router rip
version 2
passive-interface FastEthernet0/0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
!
ip http server
no ip http secure-server
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
end
Kod: Zaznacz cały
vlan 1
name "DEFAULT_VLAN"
untagged 2-22,24-28,Trk1
ip address 192.168.1.254 255.255.255.0
no untagged 1
exit
vlan 3
name "mobile"
ip address 192.168.3.254 255.255.255.0
tagged 1
exit
vlan 4
name "guest"
ip address 192.168.4.254 255.255.255.0
exit
spanning-tree
spanning-tree Trk1 priority 4
password manager