there is really no real etiquette... well make sure you have child in hand..
ask the FA who greets you upon boarding the plane.. they will then ask the pilots,
most are very happy to do so... based on the time they may or may not have..
I have done it with my daughter about 16 times when she was younger..