What are the two configuration modes in a Catalyst 1900 switch?Configuring a Catalyst 1900 switch is similar to configuring a router. The two configuration modes available are global configuration mode and interface configuration mode.
How do you configure an IP address and subnet mask on a Catalyst 1900 switch?To configure an IP address and subnet mask on a Catalyst 1900 switch, use the ip address address mask global configuration command:
Cat1900(config)#ip address 192.168.0.2 255.255.255.0
Why would you want to assign an IP address to a Layer 2 device, such as a switch?You would assign an IP address to a Layer 2 device for management and configuration. With an IP address enabled on a Cisco switch, you can Telnet into it and change the configuration. You can also enable SNMP on the device and remotely monitor the switch.
How do you configure a default gateway on a Cisco Catalyst 1900 switch?To configure a default gateway on a Catalyst 1900 switch, use the ip default-gateway ip address global configuration command. The following example configures the switch to use IP address 192.168.0.1 as its default gateway:
Cat1900(config)#ip default-gateway 192.168.0.1
To remove the default gateway, use the no ip default-gateway command.
On a Catalyst 1900 switch, what command can you use to view the switch's IP address, subnet mask, and default gateway?The show ip command displays the switch's IP address, subnet mask, and default gateway. Here's an example:
Cat1900#show ipIP Address: 192.168.0.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
Management VLAN: 1
Domain name:
Name server 1: 0.0.0.0
Name server 2: 0.0.0.0
HTTP server : Enabled
HTTP port : 80
RIP : Enabled
Cat1900#
How do you change the duplex mode on a Catalyst 1900 switch?To change the duplex mode on a Catalyst 1900 switch, use this command:
duplex {auto full full-flow-control half}
The following example changes the duplex speed for Ethernet interface 1 on the switch to full duplex:
Cat1900(config)#interface e0/1
Cat1900(config-if)#duplex full
How do you change the duplex mode on a Catalyst 1900 switch?To change the duplex mode on a Catalyst 1900 switch, use this command:
duplex {auto full full-flow-control half}
The following example changes the duplex speed for Ethernet interface 1 on the switch to full duplex:
Cat1900(config)#interface e0/1
Cat1900(config-if)#duplex full
What command can you use to view the duplex settings and spanning tree state of a Catalyst switch?You use the show interface type module/port EXEC command to view the duplex settings and spanning tree state. This example shows the output for the show interface command on Ethernet interface 0/1:
Cat1900#show interface e0/1
Ethernet 0/1 is Suspended-no-link
beatHardware is Built-in 10Base-TAddress is 0010.F621.F681MTU 1500 bytes, BW 10000 Kbits802.1d
STP State: Forwarding
Forward Transitions: 1
Port monitoring: Disabled
Unknown unicast flooding: Enabled
Unregistered multicast flooding: Enabled
Description:Duplex setting: Full duplex
Back pressure: Disabled
