Pre-requisite
- Putty application
Displaying the Interfaces
Use the following command to display the available interfaces and their states:
show ip interface brief
Assigning an IP
-
Connect to cisco console using putty.
-
Press the enter key to enter into user mode.
-
Execute the following command to enter into privilege mode:
enable
-
Load the startup-config into the running-config using the following command:
copy startup-config running-config
-
Execute the following command to enter into the configuration mode:
config terminal
-
Configure an interface using the following syntax:
interface <INTERFACE_NAME>
Example
interface GigabitEthernet0/0
-
Assign an IP address using the following syntax:
ip address <IP_ADDRESS> <SUBNET_MASK>
Example
ip address 10.0.0.210 255.255.255.0
-
Turn on the interface using the following command:
no shutdown
-
Exit the interface configuration using the following command:
exit
-
Exit the configuration mode:
exit
After this you can display the interfaces and see the state of the interface just configured
-
Save the update on the running-config to the startup-config file using the following command:
copy running-config startup-config
Recent Comments