In order to view all the interfaces available on any Cisco Router Interface or switch use (show ip interfaces brief) command.
In order to open the interface configuration mode, enter the following command (interface name _of interface).
Once you are in interface configuration mode variety of functions like assigning the IP address, Bandwidth, duplex, speed, and many other parameters can be configured. In order to assign the IP address, use the following command (Ip address X.X.X.X Y.Y.Y. Y) where X represents IP address and Y represents subnet mask.
The description command is very useful it appears in the output of the following command (show Ip interfaces brief) that could be used as a reminder to identify which interface is being used for what purpose.
The configured configuration can be viewed from (show IP interfaces brief) or from (show running-config) command.
In order to shut down or disable the router interface run shut down command from interface configuration mode.
Disabling the Router InterfaceAll the interfaces by default are administratively in downstate in order to make them up using the No shutdown command.
Setting the speed and duplex mode
The Giga Ethernet ports on Cisco 2941 router can run in both half and full duplex ,it also includes the feature of auto negotiation that that allows the router to auto-negotiate speed and duplex with corresponding interface on the other end of connection .
Auto-negotiation is the default setting for the speed and transmission mode, when you are configuring interface speed and duplex follow the following guidelines.
- If both end devices auto-negotiation, then use the default auto-negotiation setting.
- When auto-negotiation is enabled, it automatically negotiates for speed and duplex mode.
- If one end devices support auto-negotiation and the other side did not then configure them manually.
Ip address on any routed interface can be configured either by using the command (Ip address X.X.X.X Y.Y.Y.Y) in interface configuration mode or it can be obtained from DHCP server by issuing the command (IP address DHCP).
Configuring the interface properties
Router > enable
|Enter the enable mode|
Router # Configure the terminal
|Navigate to Global configuration mode|
Router(config)# interface Fa0/0
|Interface configuration mode|
Router(config-if) CDP enable
|To enable Cisco Discovery protocol|
|Ip address X.X.X.X Y.Y.Y. Y
Router(config-if) Ip address 10.10.10.1 255.255.255.0
|Configure the IP address|
Basic commands used for configuring Cisco router interfaces.
Download Cisco Router Interface Configuration Commands in pdf – Click here