The interface command enters interface configuration mode for a specified router interface. Use it from global configuration mode; the prompt changes from R1(config)# to R1(config-if)#. section 7.3.2
Apply the command carefully:
- Specify the correct interface name, such as gigabitethernet0/0 or the abbreviated form g0/0. section 7.3.2
Configure two router interfaces
R1(config)# interface g0/1 R1(config-if)# ip address 192.168.2.1 255.255.255.0 R1(config-if)# no shutdown Verify the result with show ip interface brief; a correctly configured interface appears up/up.
