switchport host Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 07:42 AM - edited 03-08-2019 06:44 AM
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.
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 08:29 AM
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.
