5.3.5: The following examples provide the basic commands to configure an Ethernet and serial interface on a router. If the serial interface is a data communications equipment (DCE) device, you need to set the clock rate. However, a router is more often the data terminal equipment (DTE) device, and you do not set a clock rate for a DTE device interface. As a DTE, the router would accept the clock rate from a DCE device.
The following is a sample configuration for a router Ethernet interface:
RouterA> enable RouterA# configure terminal RouterA(config)# interface fa0/0 RouterA(config-if)# ip address 192.168.1.1 255.255.255.0 RouterA(config-if)# description Main Office LAN RouterA(config-if)# no shutdown RouterA(config-if)# ...
No credit card required