Ban, unban, etc how does that works?

Guys I am a admin and Im having a hardtime with this ban thing.

When I do ban “playername” ingame the guy gets banned ok, but his steam Id doesn’t show up in bans.cfg. So how can I unban him?