
- 29 -
configuration command, which defines the interface type as ethernet or virtual. The virtual interfaces are bound to
VLANs and can be assigned IP addresses.
In the following example, Ethernet interface eth1 is about to be configured. The new prompt,
Router(config-if-
eth1)#
, indicates the interface configuration mode. In this example, the user asks for help by requesting a list of
commands.
Router(config)#
interface eth1
Router(config-if-eth1)#
?
adp ADP interface subcommands
custom-queue-list Assign a custom queue list to an interface
description Interface specific description
dot1x IEEE 802.1x configuration
duplex Configure duplex operation
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
fair-queue Fair-queue interface configuration commands
flow-control IEEE 802.3X Flow Control Configuration commands
help Description of the interactive help system
ip Interface Internet Protocol config commands
lacp Configure LACP
mac control access to an interface
mtu Set the interface Maximum Transmission Unit (MTU)
negotiation Select Autonegotiation mode
no Negate a command or set its defaults
priority-group Assign a priority queue list to an interface
quit Exit current mode and down to previous mode
show Show running system information
shutdown Shutdown the selected interface
spanning-tree Spanning Tree Protocol interface command
speed Configure speed operation
switchport Port operating in L2 mode
tos-group Assign a tos list to an interface
traffic-shape Generic traffic shape QoS interface configuration commands.
write Write running configuration to memory, network, or terminal
To exit interface configuration mode and return to global configuration mode, enter the
exit
command. To exit
configuration mode and return to top mode, use the
end
command or press
Ctrl-Z
.
3.3.2 Router Configuration Mode
Router configuration commands are used to configure an IP routing protocol and always follow a
router
command.
To list the available router configuration keywords, enter the
router
command followed by a space and a question
mark (
?
) at the global configuration prompt.
Router(config)#
router ?
ospf Open Shortest Path First
rip Routing Information Protocol (RIP)
Router(config)# router
In the following example, the router is configured to support the Routing Information Protocol (RIP). The new prompt
is
Router(config-rip-router)#
.
Router(config)#
router rip
Router(config-rip-router)#
?
default-information Control distribution of default route