Route Port parameter Configuration
Open the Ethernet port \no shutdown
Turn off the Ethernet port \shutdown
Exit \exit
I. Configuring the Ethernet port
Each Ethernet interface must have an IP address and a subnet mask to route IP packets.
A. To configure the Ethernet interface, follow these steps:
1. Go to global configuration mode.
2. Enter the interface configuration mode.
3. Specify the interface IP address and subnet mask.
4. Enable the interface.
----------------------------------------------
Router (config) #interface fastethernet 0/0
Router (config-if) #ip address IP address Subnet mask
Router (config-if) #no shutdown
----------------------------------------------
Configuring the Router serial interface
The serial interface is used to connect a WAN to a router at a remote site or ISP.
To configure the serial interface, follow these steps:
1. Go to global configuration mode.
2. Enter the interface configuration mode.
3. Specify the interface IP address and subnet mask.
4. If the DCE cable is connected, set the clock frequency. If the DTE cable is connected, skip this step.
5. Open the interface.
Each Ethernet interface that is connected must have an IP address and a subnet mask to route IP packets.
----------------------------------------------------------------
Use the following command to configure the IP address:
Router (config) #interface Serial 0/0/0
Router (config-if) #ip address IP address Subnet mask
----------------------------------------------------------------
The serial interface requires a clock signal to control the communication timing. In most environments, DCE devices such as CSU/DSU provide clocks. By default, Cisco routers are DTE devices, but they can be configured as DCE devices.
On a direct interconnect serial link (e.g. in our experimental environment), one end must provide a clock signal as a DCE. The clock function is enabled and its speed is set using the clock rate command. Certain bit rates may not be available for a particular serial interface. This depends on the performance of the particular interface.
In the experiment, if you need to set the always frequency for an interface that is determined to be DCE, use a clock frequency of 56000.
---------------------------------------------------------------
, the commands for setting the clock frequency and enabling the serial interface are:
Router (config) #interface Serial 0/0/0
Router (config-if) #clock rate 56000
Router (config-if) #no shutdown
---------------------------------------------------------------
Once you have changed your router configuration, remember to use the show command to verify the accuracy of your changes, and then save the changed configuration as a startup configuration.
--------------------------------------------------------------
Interface description
The interface description appears in the output of the following commands: Show Startup-config, show Running-config, and show interfaces.
After entering the interface
Enter the command description this is show config.
--------------------------------------------------------------
Switch1#configure Terminal
Switch1 (config) #interface fa0/0
Switch1 (config-if) #description connects to main switch in Building a (connecting to the master in building a)
Once the description has been applied to the interface, use the show Interfaces command to confirm that the description is correct.
----------------------------------------------------------------
CCNA Cisco Basic Learning (IV)