Month: April 2018

Switchport Port-Security Mac-Address Command on CISCO Router/Switch

Command Switchport Port-Security Mac-Address Use Sets the mac-address(es) that causes port-security violation. Syntax Switch(config-if)#switchport port-security mac-address <h.h.h.h> Or Switch(config-if)#switchport port-security mac-address sticky Use sticky in conjunction with switchport port-security maximum to have the switch learn which mac-addresses to allow. For example, if you set switchport port-security maximum 5, then the switch will learn and allow …

Switchport Trunk Encapsulation isl Command on CISCO Router/Switch

Command Switchport Trunk Encapsulation isl Use Enables ISL trunking encapsulation on the interface. Syntax Switch(config-if)#switchport trunk encapsulation isl Example In this example, isl trunk encapsulation is enabled SW3’s fa0/2. CopySW3(config)#int fa0/2 SW3(config-if)#switchport trunk encapsulation isl Next, the trunk information is displayed for SW3. CopySW3(config-if)#do show interface trunkPort Mode …

Switchport Port-Security Maximum Command on CISCO Router/Switch

Command Switchport Port-Security Maximum Use Sets the maximum number of mac addresses before a violation is triggered. Syntax Switch(config-if)#switchport port-security maximum <1-6272> Example In this example, the maximum mac addresses for int fa0/2 is set to 2 for SW3. CopySW3#conf t SW3(config-if)#int fa0/2 SW3(config-if)#switchport port-security maximum 2 Next, 2 …

Switchport Trunk Encapsulation dot1q Command on CISCO Router/Switch

Command Switchport Trunk Encapsulation dot1q Use Enables dot1q trunking encapsulation on the interface. Syntax Switch(config-if)#switchport trunk encapsulation dot1q Example First, here is the trunking information for SW3. Note fa0/19, which is set to ISL. CopySW3(config-if)#do show int trunkPort Mode Encapsulation Status Native vlan Fa0/19 auto isl trunking 1 …