background image
Lab A.7: Bringing up an Interface
581
3.
At this point you must choose the interface you want to configure.
Once you do that, you will be in interface configuration for that
interface. The command to choose serial port 1, for example,
would be
Router(config)#interface serial 1
Router(config-if)#
4.
The 2501 router has one Ethernet 10BaseT port. Typing interface
ethernet
0 can configure the interface.
Router(config)#int ethernet ?
<0-0> Ethernet interface number
Router(config)#int ethernet 0
Router(config-if)#
Lab A.7: Bringing up an Interface
Y
ou can turn an interface off with the shutdown interface command
or enable it with the no shutdown command. If an interface is shut down, it
will display administratively down when using the show interface com-
mand, and the show running-config command will show the interface as
shut down. All interfaces are shut down by default.
1.
Type show interface Ethernet 0 and see that it is administratively
down.
Router#sh int e0
Ethernet0 is administratively down, line protocol is down
[output cut]
2.
Bring up interface serial 0 with the no shutdown command.
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#int e0
Router(config-if)#no shutdown
Router(config-if)#^Z
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com