| SwitchAのコンフィグ |
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SwitchA
!
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 protected ←このポートを保護ポートにする
no ip address
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
switchport protected ←このポートを保護ポートにする
no ip address
!
interface FastEthernet0/12
switchport access vlan 10
switchport mode access
no ip address
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end |
|