Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

COMANDOS PARA CONFIGURAR INTERFACE

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#do write
Router(config)#hostname CR-CENTRAL
CR-CENTRAL(config)#do write
Building configuration...
[OK]
CR-CENTRAL(config)# interface gi 0/0
CR-CENTRAL(config-if)#ip address 192.168.1.1 255.255.255.0
CR-CENTRAL(config-if)#description gateway de red A
CR-CENTRAL(config-if)#no shutdown

CR-CENTRAL(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to
up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/0, changed state to up

CR-CENTRAL(config-if)#interface gi 0/1
CR-CENTRAL(config-if)#ip address 192.168.2.1 255.255.255.0
CR-CENTRAL(config-if)#description gateway de red B
CR-CENTRAL(config-if)#no shutdown

CR-CENTRAL(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to
up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/1, changed state to up

CR-CENTRAL(config-if)#interface gi 0/2
CR-CENTRAL(config-if)#ip address 192.168.3.1 255.255.255.0
CR-CENTRAL(config-if)#description gateway de red C
CR-CENTRAL(config-if)#no shutdown

CR-CENTRAL(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to
up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/2, changed state to up

CR-CENTRAL(config-if)#do show ip interface brief


Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 192.168.1.1 YES manual up up
GigabitEthernet0/1 192.168.2.1 YES manual up up
GigabitEthernet0/2 192.168.3.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
CR-CENTRAL(config-if)#line console 0
CR-CENTRAL(config-line)#password cisco
CR-CENTRAL(config-line)#login
CR-CENTRAL(config-line)#enable secret guate
CR-CENTRAL(config)#do write

You might also like