add ttl command
Merge pull request #294 from ideawu/dev

add ttl command