Port security conf t enter into configuration mode int fa0/1 select interface switchport port-security mac-address sticky stores the mac addresses also in the
[...]
Interface mass configuration – range conf t start configuration mode interface range FastEthernet 0/1-10, FastEthernet 0/14-20 range selection, you can use coma for ranges
[...]