Download Print this page

Cisco CSC-MEC Manual page 28

Multiport ethernet controller cards

Advertisement

Configuring the Interfaces
Using the Configure EXEC Command
You must enter the privileged level of the EXEC in order to use the configure command. After
specifying an interface, you will enter the configuration information with interface subcommands.
Before beginning this procedure, use the show interfaces command to determine interface numbers
you need to configure.
The EXEC command show configuration displays the configuration information stored in
nonvolatile memory. Before entering any new interface information, you may want to use this
command to review the current configuration. The following example shows a partial display of the
show configuration command output:
In the configuration mode, you identify the specific interface to be configured with the interface
configuration command, which begins the configuration subcommand collection mode for the
specified interface. The syntax is interface type unit, where type identifies the type of interface (such
as Ethernet), and unit identifies the interface unit address. You then must enter the configuration
subcommands that define the configuration specifics for the interface. For example, new interfaces
are shut down by default; you must enable each one with the no shutdown interface subcommand.
You need other interface subcommands to assign a descriptive name to an interface, specify
encapsulation methods, and define routing protocols. Refer to the router products configuration
publication for complete descriptions of the configuration subcommands.
In the following a sample configuration, two new Ethernet interfaces are enabled and assigned IP
addresses, then the configuration is written to memory.
28 Installing the CSC-MEC and CSC-C2MEC Multiport Ethernet Controller Cards
router# show config
Using 533 out of 32768 bytes
!
no service config
!
Interface Ethernet 0
ip address 4.0.0 1 255.0.0.0.
Interface Serial 0
ip address 5.0.0.1 255.0.0.0
Interface Ethernet 1
ip address 9.9.9.9 255.0.0.0.
Interface Serial 1
ip address 7.7.7.67 255.0.0.0
router> ena
Password:
router# config term
Enter configuration commands, one per line.
Edit with DELETE, CTRL/W, and CTRL/U; end with CTRL/Z
interface ethernet 2
ip address 145.22.4.67 255.255.255.0
no shut
interface ethernet 3
ip address 145.22.4.68 255.255.255.0
no shut
^z
router# write memory
[ok]
router#

Advertisement

loading