text stringlengths 0 6.55k |
|---|
|||||||||||||||||||| |
|||||||||||||||||||| |
152 CCNA 200-301 Official Cert Guide, Volume 1 |
5. Switch SW1 uses its Gigabit 0/1 interface to connect to switch SW2’s Gigabit 0/2 inter-face. SW2’s Gi0/2 interface is configured with the speed 1000 and duplex full com-mands. SW1 uses all defaults for interface configuration commands on its Gi0/1 interface. Which of the following are true about the link after it... |
a. The link works at 1000 Mbps (1 Gbps). |
b. SW1 attempts to run at 10 Mbps because SW2 has effectively disabled IEEE stan-dard autonegotiation. |
c. The link runs at 1 Gbps, but SW1 uses half duplex and SW2 uses full duplex. d. Both switches use full duplex. |
6. Switch SW1 connects via a cable to switch SW2’s G0/1 port. Which of the following conditions is the most likely to cause SW1’s late collision counter to continue to increment? |
a. SW2’s G0/1 has been configured with a shutdown interface subcommand. |
b. The two switches have been configured with different values on the speed inter-face subcommand. |
c. A duplex mismatch exists with SW1 set to full duplex. d. A duplex mismatch exists with SW1 set to half duplex. |
Foundation Topics |
Configuring Switch Interfaces |
IOS uses the term interface to refer to physical ports used to forward data to and from other devices. Each interface can be configured with several settings, each of which might differ from interface to interface. IOS uses interface subcommands to configure these settings. Each of these settings may be different from ... |
This section begins with a discussion of three relatively basic per-interface settings: the port speed, duplex, and a text description. Following that, the text takes a short look at a pair |
of the most common interface subcommands: the shutdown and no shutdown commands, which administratively disable and enable the interface, respectively. This section ends with a discussion about autonegotiation concepts, which in turn dictates what settings a switch chooses to use when using autonegotiation. |
Configuring Speed, Duplex, and Description |
Switch interfaces that support multiple speeds (10/100 and 10/100/1000 interfaces), by default, will autonegotiate what speed to use. However, you can configure the speed and duplex settings with the duplex {auto | full | half} and speed {auto | 10 | 100 | 1000} inter-face subcommands. Simple enough. |
Most of the time, using autonegotiation makes good sense, so when you set the duplex and speed manually using these commands, you typically have a good reason to do so. For instance, maybe you want to set the speed to the fastest possible on links between switches just to avoid the chance that autonegotiation chooses a... |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 7: Configuring and Verifying Switch Interfaces 153 |
The description text interface subcommand lets you add a text description to the interface. For instance, if you have good reason to configure the speed and duplex on a port, maybe add a description that says why you did. Example 7-1 shows how to configure duplex and speed, as well as the description command, which is ... |
Example 7-1 Configuring speed, duplex, and description on Switch Emma |
Emma# configure terminal |
Enter configuration commands, one per line. End with CNTL/Z. |
Emma(config)# interface FastEthernet 0/1 |
Emma(config-if)# duplex full |
Emma(config-if)# speed 100 |
Emma(config-if)# description Printer on 3rd floor, Preset to 100/full |
Emma(config-if)# exit |
Emma(config)# interface range FastEthernet 0/11 - 20 |
Emma(config-if-range)# description end-users connect here |
Emma(config-if-range)# ^Z |
Emma# |
First, focus on the mechanics of moving around in configuration mode again by looking closely at the command prompts. The various interface commands move the user from |
global mode into interface configuration mode for a specific interface. For instance, the 7 example configures the duplex, speed, and description commands all just after the interface FastEthernet 0/1 command, which means that all three of those configuration settings apply |
to interface Fa0/1, and not to the other interfaces. |
The show interfaces status command lists much of the detail configured in Example 7-1, even with only one line of output per interface. Example 7-2 shows an example, just after the configuration in Example 7-1 was added to the switch. |
Example 7-2 Displaying Interface Status |
Emma# show interfaces status |
Port Name |
Fa0/1 Printer on 3rd floo |
Fa0/2 |
Fa0/3 |
Fa0/4 |
Fa0/5 |
Fa0/6 |
Fa0/7 |
Fa0/8 |
Fa0/9 |
Fa0/10 |
Fa0/11 end-users connect |
Fa0/12 end-users connect |
Fa0/13 end-users connect |
Fa0/14 end-users connect |
Status Vlan |
notconnect 1 |
notconnect 1 |
notconnect 1 |
connected 1 |
notconnect 1 |
connected 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
notconnect 1 |
Duplex Speed Type |
full 100 10/100BaseTX |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.