You are on page 1of 8

Command

Switch(config)# spanning-tree vlan 5,100-200 priority 4096 Switch(config)# spanning-tree vlan vlan-id root {primary | secondary} [diameter diameter] Switch(config-if)# spanning-tree vlan 10 cost 2 Switch# show spanning-tree interface type mod/num [cost] Switch(config-if)# spanning-tree [vlan vlan-list] port-priority port-priority Switch(config)# spanning-tree [vlan vlan-id] hello-time seconds Switch(config)# spanning-tree [vlan vlan-id] forward-time seconds Switch(config)# spanning-tree [vlan vlan-id] max-age seconds Switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second] Switch(config-if)# spanning-tree guard root Switch(config)# spanning-tree portfast bpduguard default Switch(config-if)# [no] spanning-tree bpduguard enable Switch(config)# spanning-tree loopguard default Switch(config-if)# [no] spanning-tree guard loop Switch(config-if)# spanning-tree portfast Switch(config-if)# spanning-tree link-type point-to-point Switch(config)# spanning-tree mode rapid-pvst Switch(config)# spanning-tree mode mst Switch(config)# spanning-tree mst configuration Switch(config-mst)# name name Switch(config-mst)# revision version Switch(config-mst)# instance instance-id vlan vlan-list Switch(config)# spanning-tree mstinstance-id root{primary|secondary} [diameterdiameter] Switch(config)# spanning-tree mstinstance-id priority bridge-priority Switch(config)# spanning-tree mstinstance-id cost cost Switch(config)# spanning-tree mstinstance-id port-priority port-priority Switch(config)# spanning-tree mst hello-timeseconds Switch(config)# spanning-tree mst forward-timeseconds Switch(config)# spanning-tree mst max-ageseconds

Mean
Set up priority Force switch to become root bridge To setup cost To setup port priority To setup hello-time, forward-time, max-age

To setup port fast in RSTP To force the port to act as a point-to-point link To change the STP mode and begin using RPVST+ Enable MST on the switch Enter the MST configuration mode Assign a region configuration name (up to 32 characters) Assign a region configuration revision number (0 to 65,535) Map VLANs to an MST instance Set root bridge (macro). Set bridge priority. Set port cost. Set port priority. Set STP timers

Command
Switch(config)# vlan access-map map-name [sequence-number] Switch(config-access-map)# match ip address {acl-number | acl-name} Switch(config-access-map)# match ipx address {acl-number | acl-name} Switch(config-access-map)# match mac address acl-name Switch(config-access-map)# action {drop | forward [capture] | redirect type mod/num} Switch(config)# vlan filter map-name vlan-list vlan-list

Mean
You define the VACL Configure a matching condition with one of the following access map Define the action with the following access map configuration command Apply the VACL to a VLAN

Command

Mean

Command
Switch(config)# ip dhcp excluded-address start-ip end-ip Switch(config)# ip dhcp pool pool-name Switch(config-dhcp)# network ip-address subnet-mask Switch(config-dhcp)# default-router ip-address [ip-address2] [ip-address3] Switch(config-dhcp)# lease {infinite | {days [hours [minutes]]}} ip helper-address 192.168.199.4

Mean
Configuring an IOS DHCP Server

Configuring a DHCP Relay

You might also like