The basic structure of the com2sec label is
# sec.name source community
sec.name is an arbitrary word that is used by the group label. source describes a host or network. And community is the community name that is used.