If you are interested in strictly adhering to the inheritance paradigm, simply pass port 6161 into the super class constructor:
class a_traffic(anyIF_traffic):
def __init__(self, *args, **kwargs):
if len(args) == 5:
args[4] = '6161'
else:
kwargs['port'] = '6161'
super(a_traffic, self).__init__(*args, **kwargs)