We used the the following pat/cargo barrier in our Model X:
Heininger 3048 PortablePET Pet Partition (adjustable 27" to 45")
Then we added a third rung so our smaller dog doesn't make it to the 2nd row:
Heininger 3049 PortablePET Pet Partition Add-On Rung