Lab 8: Basic Switch

                              CAM (MAC ADDRESS TABLE)           
                                                                 
            192.168.1.0/24      ┌──────────────────┐             
  MAC A                         │ MAC    - Port    │             
  __  _      f0/1  -----        │ A         f0/1   │             
 [__]|=|─────────| SW1  |       │ B         f0/2   │             
 /++/|_|            ----        │                  │             
         .1    f0/2  │          └──────────────────┘             
  PC1                │          ┌───────────────────────────────┐
                     │          │Switch :                       │
                     │    .2    │  + Learn : Source MAC         │
                    __  _       │  + Forward: Destination MAC   │
                   [__]|=|      └───────────────────────────────┘
           MAC B   /++/|_|   PC2                                 
                                                                 
                                                                 
! Reset switch :
SW#erase startup-config
SW#delete flash:vlan.dat
SW#reload
				
! show mac interface 
show inter f0/1 | inc bia 

! show mac of inter vlan 1
show inter f0/1 | inc bia

! show mac of PC
ipconfig /all

! show mac of VPCS
show ip

! show MAC Address Table

show mac-address-table
or 
show mac address-table

! Delete MAC Address Table
clear mac address-table *


! Interface vlan 1
! SW

enable
conf ter
inter vlan 1
ip add 192.168.1.100 255.255.255.0
no sh
end

show ip inter brief