Stair gate (Knowle B93)

We have a dog visiting for Christmas and need a method of stopping him going upstairs.