added cmd port samples