Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Set port host in IOS

Anyone know whte equavalent command in IOS for "set port host all" ?

Thanks.

2 REPLIES
Hall of Fame Super Blue

Re: Set port host in IOS

"switchport host" is the command you are looking for. It doesn't take an argument but in conjunction with the "interface range.." command it is close to what you want eg.

switch(config)# int range fa0/1 - 10

switch(config-if)# switchport host

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_46_se/command/reference/cli3.html#wp1948119

Note that not all switches necessarily support it.

Jon

Purple

Re: Set port host in IOS

Almost all newer switches from 2950's up support the switchport host command , use it all the time .

168
Views
0
Helpful
2
Replies