Switch Configs: Etherchannel Etherchannel
Switch Configs: Etherchannel Etherchannel
Switch Configs: Etherchannel Etherchannel
VACL PACL
STP-Root-force PortFast BPDU Guard BPDU Filtring Root Guard Flex link
Port security SPAN DHCP Snooping ARP inspection IP Source Guard MAC drop
Storm control PORT ACL
Layer2 Etherchannel
Switch
Switch# configure terminal
Switch(config-if-range)# switchport
mode access
Switch(config-if-range)# switchport
access vlan 10
Switch(config-if-range)# channel-
group 5 mode on
Switch(config-if-range)# end
Layer3 etherchannel
Switch
Switch# configure terminal
Switch(config-if)# no switchport
Switch(config-if)# ip address
172.10.20.10 255.255.255.0
Switch(config-if)# exit
Switch(config-if-range)# no ip
address
Switch(config-if-range)# channel-
group 5 mode desirable
Switch(config-if-range)# end
!
VLAN
Switch
3524XL#vlan database
3524XL(vlan)#vtp server
3524XL(vlan)#vlan 2 name
cisco_vlan_2
APPLY completed.
Exiting.... 3524XL#
3524XL#configure terminal
3524XL(config)#interface
fastEthernet 0/2
3524XL(config-if)#switchport
access vlan 2
3524XL(config-if)#exit
3524XL(config)#interface
fastEthernet 0/3
3524XL(config-if)#switchport
access vlan 2
3524XL(config-if)#end
3524XL#wr mem
HEY SMOKER, THIS IS YOUR END
Protected Ports
A protected port does not forward any traffic to any other port that is also a
protected port in the same switch. All traffic passing between protected ports
must be forwarded through a Layer 3 (L3) device.
interface FastEthernet0/1
switchport protected
interface FastEthernet0/2
switchport protected
interface FastEthernet0/3
In this example PCs connected to Fe0/1 and 0/2 cannot communicate with each other but can
communicate with 0/3
Private VLAN
vlan 202
private-vlan primary
vlan 303
private-vlan community
!
vlan 440
private-vlan isolated
interface FastEthernet0/1
interface FastEthernet0/2
interface FastEthernet0/3
interface FastEthernet0/4
!
interface FastEthernet0/5