Ethernet Configuration Commands 377•port-type—Shows all interfaces of the specified type.Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration, Interface Range and Interface modesUser GuidelinesCommands under the interface range context are executed independently oneach active interface in the range. If the command returns an error on one ofthe active interfaces, it does not stop executing commands on other activeinterfaces.ExampleThe following example shows how gigabitethernet ports 5/0/18 to 5/0/20 and3/0/1 to 3/0/24 are ranged to receive the same command.console(config)# interface range gigabitethernet 5/0/18-20,3/0/1-24console(config-if-range)#The following example shows how all gigabitethernet ports can be configuredat once.console(config)# interface range gigabitethernet allconsole(config-if-range)#The following examples demonstrate various valid interface ranges:console(config)#interface range gigabitEthernet 1/0/1-20console(config)#interface range gi1/0/20-48console(config)#interface range gi1/0/1,gi1/0/48console(config)#interface range gi2/0/1-10,gi1/0/30console(config)#interface range gi1/0/1-10,gi1/0/30-48console(config)#interface range gi1/0/1,te1/1/1console(config)#interface range gigabitEthernet 1/0/10,tengigabitEthernet1/1/2monitor capture (Global Configuration)Use the monitor capture command to capture packets transmitted orreceived from the CPU. This facility captures switch control plane traffic andis useful in monitoring network control traffic and analyzing network security.