Router> enable
Password: <password>
Router#
|
Enter the
enable command
and password to access privileged EXEC commands. You are in privileged EXEC
mode when the prompt changes to a “# ” from the “> ”; for example,
Router> to Router# .
|
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
|
Enter the
configure
terminal privileged EXEC command to enter global
configuration mode. You are in global configuration mode when the prompt
changes to Router(config)# .
|
Router(config)# interface serial ?
<0-6> Serial interface number
Router(config)# interface serial 4 ?
/
Router(config)# interface serial 4/ ?
<0-3> Serial interface number
Router(config)# interface serial 4/0 ?
<cr>
Router(config)# interface serial 4/0
Router(config-if)#
|
Enter
interface configuration mode by specifying the serial interface that you want
to configure using the
interface
serial global configuration command.
Enter
?
to display what you must enter next on the command line.
In this example, you must enter the serial interface slot number and port
number, separated by a forward slash.
When the
<cr> symbol is displayed, you can press Enter to complete the command.
You are in
interface configuration mode when the prompt changes to Router(config-if)# .
|
Router(config-if)# ?
Interface configuration commands:
.
.
.
ip Interface Internet Protocol config commands
keepalive Enable keepalive
lan-name LAN Name command
llc2 LLC2 Interface Subcommands
load-interval Specify interval for load calculation for an
interface
locaddr-priority Assign a priority group
logging Configure logging for interface
loopback Configure internal loopback on an interface
mac-address Manually set interface MAC address
mls mls router sub/interface commands
mpoa MPOA interface configuration commands
mtu Set the interface Maximum Transmission Unit (MTU)
netbios Use a defined NETBIOS access list or enable
name-caching
no Negate a command or set its defaults
nrzi-encoding Enable use of NRZI encoding
ntp Configure NTP
.
.
.
Router(config-if)#
|
Enter
?
to display a list of all the interface configuration
commands available for the serial interface. This example shows only some of
the available interface configuration commands.
|
Router(config-if)# ip ?
Interface IP configuration subcommands:
access-group Specify access control for packets
accounting Enable IP accounting on this interface
address Set the IP address of an interface
authentication authentication subcommands
bandwidth-percent Set EIGRP bandwidth limit
broadcast-address Set the broadcast address of an interface
cgmp Enable/disable CGMP
directed-broadcast Enable forwarding of directed broadcasts
dvmrp DVMRP interface commands
hello-interval Configures IP-EIGRP hello interval
helper-address Specify a destination address for UDP broadcasts
hold-time Configures IP-EIGRP hold time
.
.
.
Router(config-if)# ip
|
Enter the
command that you want to configure for the interface. This example uses the
ip command.
Enter
?
to display what you must enter next on the command line.
This example shows only some of the available interface IP configuration
commands.
|
Router(config-if)# ip address ?
A.B.C.D IP address
negotiated IP Address negotiated over PPP
Router(config-if)# ip address
|
Enter the
command that you want to configure for the interface. This example uses the
ip
address command.
Enter
?
to display what you must enter next on the command line.
In this example, you must enter an IP address or the
negotiated
keyword.
A carriage
return (<cr>) is not displayed; therefore, you must enter additional
keywords or arguments to complete the command.
|
Router(config-if)# ip address 172.16.0.1 ?
A.B.C.D IP subnet mask
Router(config-if)# ip address 172.16.0.1
|
Enter the
keyword or argument that you want to use. This example uses the 172.16.0.1 IP
address.
Enter
? to display
what you must enter next on the command line. In this example, you must enter
an IP subnet mask.
A
<cr> is not displayed; therefore, you must enter additional keywords or
arguments to complete the command.
|
Router(config-if)# ip address 172.16.0.1 255.255.255.0 ?
secondary Make this IP address a secondary address
<cr>
Router(config-if)# ip address 172.16.0.1 255.255.255.0
|
Enter the
IP subnet mask. This example uses the 255.255.255.0 IP subnet mask.
Enter
? to display
what you must enter next on the command line. In this example, you can enter
the
secondary
keyword, or you can press
Enter.
A
<cr> is displayed; you can press
Enter
to complete the command, or you can enter another
keyword.
|
Router(config-if)# ip address 172.16.0.1 255.255.255.0
Router(config-if)#
|
In this
example,
Enter
is pressed to complete the command.
|