3-tier design/Access ports

From Teknologisk videncenter
Jump to: navigation, search
HQD1A1#<input>show run</input>
Building configuration...

Current configuration : 1282 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname HQD1A1
!
!
!
!
!
spanning-tree mode pvst
!
<notice>interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access</notice>
!
interface FastEthernet0/2
<input>Ctrl^c</input>
HQD1A1#
  • Configure port 1-10 as VLAN10 ports and Port 11-20 as VLAN 20 ports