Configure Rapid PVST+ | spanning-tree mode rapid-pvst |
Configure as primary root bridge for VLAN 1 | spanning-tree vlan 1 root primary |
Configure PortFast and BPDU Guard on the interface | int f0/0 spanning-tree portfast spanning-tree bpduguard enable |
Configure as secondary root bridge for VLAN 1 | spanning-tree vlan 1 root secondary |
Configure the HSRP virtual IP address on interface | int g0/1 standby ip 192.168.0.2 |
Make this the primary HSRP router | standby 1 priority 150 |
Configure so this router becomes the primary HSRP router on a reboot | standby 1 preempt |
To set up LACP and create a port channel with an IP address | interface port-channel 1 ip address 10.1.1.1 255.255.255.0 |
To assign an interface to become part of the port channel | interface f0/1 channel-group 1 mode active |
To assign the second interface to form the port channel on one side | interface f0/2 channel-group 1 mode passive |