Hi Manoj,
If you are not able to configure the port security properly then please remove the hub and then configure again the port.
Just follow this:
9XCI002(config)#int fa0/23
99XCI002(config-if)#switchport port-security
99XCI002(config-if)#switchport port-security maximum 5
99XCI002(config-if)#switchport port-security mac-address F8:72:EA:23:CA:DC
99XCI002(config-if)#switchport port-security mac-address 6C:41:6A:92:AC:38
99XCI002(config-if)#switchport port-security mac-address F8:72:EA:23:CA:A5
99XCI002(config-if)#switchport port-security mac-address 6C:41:6A:92:AB:C5
99XCI002(config-if)#switchport port-security mac-address 60:73:5C:C3:89:93
99XCI002(config-if)#switchport port-security mac-address 60:73:5C:A7:3B:BB
Total secure mac-addresses on interface FastEthernet0/23 has reached maximum limit.
99XCI002(config-if)#switchport port-security violation shutdown
Hope it helps
Regards