Specifications
4-2
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 4 Configuring Gigabit Ethernet Interfaces
Setting the Speed and Duplex Mode
Setting the Speed and Duplex Mode
The Gigabit Ethernet ports of the Cisco MWR 2941 router can run in full or half- duplex mode—100
Mbps or 1000 Mbps (1 Gbps). The Cisco MWR 2941 router has an autonegotiation feature that allows
the router to negotiate the speed and duplex mode with the corresponding interface at the other end of
the connection.
Autonegotiation is the default setting for the speed and transmission mode.
Step 3
interface gigabitethernet slot/port
Example:
Router(config)# interface
gigabitethernet 0/1
Specify the port adapter type and the location of the interface to be
configured. The slot is always 0 and the port is the number of the port.
Step 4
switchport mode {access | trunk}
Example:
Router(config-if)#
switchport mode trunk
Specify the interface mode.
Step 5
spanning-tree port-priority
port_priority
Example:
Router(config-if)# spanning-tree
port-priority port_priority
Specify an interface priority. You can use this value to prioritize an
interface when two bridges compete for position as the root bridge.
Step 6
spanning-tree cost port_cost
Example:
Router(config-if)# spanning-tree
cost 10000000
To calculate the path cost of STP on an interface, use the spanning-tree
cost command.
Step 7
spanning-tree portfast
Example:
Router(config-if)# spanning-tree
portfast
For interfaces that connect to end stations, you can use the spanning-tree
portfast command to set the interface to move directly to the
spanning-tree forwarding state when linkup occurs.
Step 8
cdp enable
Example:
Router(config-if)# cdp enable
To enable Cisco Discovery Protocol on the router, use the cdp enable
command.
Step 9
end
Example:
Router(config-if)# end
Router#
Exit configuration mode.
Command Purpose