There is an implicit deny all at the end of any route-map so all other traffic that does not match 172.20.5.0/24 would be dropped. Therefore we have to add a permitsequence at the end of the route-map to allow other traffic. The default value of Local Preference is 100 and higher value is preferred so we have to set the local preference of AS100 lower than that of AS200.