switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol pagp
channel-group 2 mode desirable
On Switch1,
Show interface port-channel 1
On Switch2
Show interface port-channel 2
PORT SECURITY
Port security is a layer two traffic control feature on Cisco Catalyst switches. It enables an
administrator configure individual switch ports to allow only a specified number of source MAC
addresses ingressing the port. Its primary use is to deter the addition by users of "dumb" switches
to illegally extend the reach of the network (e.g. so that two or three users can share a single access
port).
Configuration:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#interface fastethernet 0/1