Sunday, February 10, 2008

Port Security pada Switch

Neh ada port security di switch cisco supaya inget ....... maklum agak sedikit pelupa saya ...

Building configuration...

Current configuration : 1962 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch1
!
enable secret 5 $1$H0CB$xMI51Z59JK3H/hI5mVA1r1
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
switchport port-security
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0006.7b00.b898
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
switchport port-security
switchport port-security mac-address sticky
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
switchport port-security
switchport port-security maximum 2
!
interface FastEthernet0/4
switchport access vlan 20
switchport mode access
switchport port-security
switchport port-security maximum 2
!
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
switchport port-security
!
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
switchport port-security
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport mode trunk
!
interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
ip address 192.168.100.174 255.255.255.252
no ip route-cache
!
ip default-gateway 192.168.100.173
ip http server
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
!
end

No comments:

Post a Comment