Sunteți pe pagina 1din 4

Switch> Switch>

Switch>en Password:
Switch# Switch#
Switch#sh run Building
configuration...
Current configuration : 4031 bytes !
version 12.1 no service pad
service timestamps debug uptime service
timestamps log uptime service password-
encryption !
hostname Switch !
enable password 7 08316C5D1A0E55051604010778 !
ip subnet-zero !
! spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id !
! !
! interface FastEthernet0/1
switchport access vlan 5 switchport mode
access !
interface FastEthernet0/2 description Port
switchport access vlan 3 switchport mode
access spanning-tree portfast
! interface FastEthernet0/3
switchport access vlan 4 switchport mode
access spanning-tree portfast
! interface FastEthernet0/4
switchport access vlan 5 switchport mode
access spanning-tree portfast
! interface FastEthernet0/5
switchport access vlan 4 switchport mode
access spanning-tree portfast
! interface FastEthernet0/6
description switchport access vlan 5
switchport mode access spanning-tree
portfast !
interface FastEthernet0/7 description
switchport access vlan 3 switchport mode
access spanning-tree portfast
! interface FastEthernet0/8
description switchport access vlan 3
switchport mode access !
Switch#[B\ % Unknown command
or computer name, or unable to find computer address Switch#
Switch# Switch#sh run
Building configuration...
Current configuration : 4031 bytes !
version 12.1 no service pad
service timestamps debug uptime service
timestamps log uptime service password-
encryption !
hostname Switch !
enable password 7 08316C5D1A0E55051604010778 !
ip subnet-zero !
! spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id !
! !
! interface FastEthernet0/1
switchport access vlan 5 switchport mode
access !
interface FastEthernet0/2 description Port
switchport access vlan 3 switchport mode
access spanning-tree portfast
! interface FastEthernet0/3
switchport access vlan 4 switchport mode
access spanning-tree portfast
! interface FastEthernet0/4
switchport access vlan 5 switchport mode
access spanning-tree portfast
! interface FastEthernet0/5
switchport access vlan 4 switchport mode
access spanning-tree portfast
! interface FastEthernet0/6
description switchport access vlan 5
switchport mode access spanning-tree
portfast !
interface FastEthernet0/7 description
switchport access vlan 3 switchport mode
access spanning-tree portfast
! interface FastEthernet0/8
description switchport access vlan 3
switchport mode access !
interface FastEthernet0/9 switchport access
vlan 4 switchport mode access
switchport port-security switchport port-
security aging time 2 switchport port-security
violation restrict switchport port-security aging type
inactivity mls qos cos override
macro description cisco-desktop spanning-tree
portfast spanning-tree bpduguard enable
! interface FastEthernet0/10
switchport trunk native vlan 3 switchport
mode trunk switchport nonegotiate
mls qos trust cos macro description
cisco-wireless spanning-tree bpduguard enable
! interface FastEthernet0/11
description Ket switchport access vlan 6
switchport mode access spanning-tree
portfast !
interface FastEthernet0/12 switchport
access vlan 9 switchport mode access
spanning-tree portfast !
interface FastEthernet0/13 switchport mode
trunk spanning-tree portfast
! interface FastEthernet0/14
switchport access vlan 4 switchport mode
access !
interface FastEthernet0/15 switchport
access vlan 4 switchport mode access
! interface FastEthernet0/16
description switchport access vlan 3
switchport mode access !
interface FastEthernet0/17 switchport
access vlan 2 switchport mode access
spanning-tree portfast !
interface FastEthernet0/18 switchport
access vlan 2 spanning-tree portfast
! interface FastEthernet0/19
switchport access vlan 2 spanning-tree
portfast !
interface FastEthernet0/20 switchport
access vlan 2 spanning-tree portfast
! interface FastEthernet0/21
switchport access vlan 2 spanning-tree
portfast !
interface FastEthernet0/22 switchport
access vlan 2 spanning-tree portfast
! interface FastEthernet0/23
switchport access vlan 2 no cdp enable
spanning-tree portfast !
interface FastEthernet0/24 description Ket
noi SG-300 port 2 switchport mode trunk
spanning-tree portfast !
interface GigabitEthernet0/1 switchport
access vlan 3 switchport mode access
! interface GigabitEthernet0/2
! interface Vlan1
ip address 10.10.10.254 255.255.255.0 no ip route-
cache shutdown
! interface Vlan2
ip address 10.150.58.222 255.255.255.0 no ip
route-cache shutdown
! interface Vlan3
ip address 10.200.1.3 255.255.255.0 no ip route-
cache shutdown
! interface Vlan4
ip address 10.192.3.254 255.255.255.240 no ip
route-cache !
interface Vlan5 no ip address
no ip route-cache shutdown
! interface Vlan8
no ip address no ip route-cache
shutdown !
interface Vlan789 ip address
10.200.99.253 255.255.255.0 no ip route-cache
shutdown !
ip default-gateway 10.192.3.241 ip http server
logging trap debugging logging
10.200.1.133 logging 10.200.1.174
snmp-server community public RO snmp-server
host 10.200.1.137 private !
line con 0 line vty 0 4
login line vty 5 15
login !
! end
Switch#

S-ar putea să vă placă și