cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
18785
Views
30
Helpful
1
Replies

switchport host Command

johnlloyd_13
Level 9
Level 9

hi all,

just a quick one.

i often use the switchport host command and would like to know if this 'macro' includes the switchport command.

i believe the switchport command is needed to enable port security.

1 Reply 1

Furose M
Level 3
Level 3

first of all, you can configure "switchport host" command only in a port which is already a switchport (i.e: "switchport" is already configured on that port).

if it is a routed port, you get an error.

Command rejected: Gi2/4 not a switching port.

This MACRO does 3 things.

1. switchport mode access

2. spanning-tree portfast

3. disables port-channeling.