Router Suc2 Resp Comandos

You might also like

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

Router>enable

Router#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.

Router(vlan)#vlan 10 name GERENTES


VLAN 10 added:
Name: GERENTES
Router(vlan)#vlan 20 name CUENTAS
VLAN 20 added:
Name: CUENTAS
Router(vlan)#vlan 30 name COMERCIOS
VLAN 30 added:
Name: COMERCIOS
Router(vlan)#vlan 40 name PAGOS
VLAN 40 added:
Name: PAGOS
Router(vlan)#vlan 50 name CUPONES
VLAN 50 added:
Name: CUPONES
Router(vlan)#vlan 60 name AUTORIZACIONES
VLAN 60 added:
Name: AUTORIZACIONES
Router(vlan)#vlan 90 name SERVIDORESINTERNOS
VLAN 90 added:
Name: SERVIDORESINTERNOS
Router(vlan)#exit
APPLY completed.
Exiting....
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to
up
Router(config-if)#exit
Router(config)#interface fa0/0.1

%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to
upRouter(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 10.3.2.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.2

%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to
upRouter(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 10.3.3.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.3

%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.3, changed state to
upRouter(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 10.3.4.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.4

%LINK-5-CHANGED: Interface FastEthernet0/0.4, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.4, changed state to
upRouter(config-subif)#encapsulation dot1Q 40
Router(config-subif)#ip address 10.3.5.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.5

%LINK-5-CHANGED: Interface FastEthernet0/0.5, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.5, changed state to
upRouter(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip address 10.3.6.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.6
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip address 10.3.7.1 255.255.255.0
Router(config-subif)#exit

%LINK-5-CHANGED: Interface FastEthernet0/0.6, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.6, changed state to
upRouter(config)#
Router(config)#ip dhcp pool GERENTES
Router(dhcp-config)#default-router 10.3.2.1
Router(dhcp-config)#network 10.3.2.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.2.1 10.3.2.10
Router(config)#
Router(config)#ip dhcp pool CUENTAS
Router(dhcp-config)#default-router 10.3.3.1
Router(dhcp-config)#network 10.3.3.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.3.1 10.3.3.10
Router(config)#
Router(config)#ip dhcp pool COMERCIOS
Router(dhcp-config)#default-router 10.3.4.1
Router(dhcp-config)#network 10.3.4.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.4.1 10.3.4.10
Router(config)#
Router(config)#
Router(config)#ip dhcp pool PAGOS
Router(dhcp-config)#default-router 10.3.5.1
Router(dhcp-config)#network 10.3.5.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.5.1 10.3.5.10
Router(config)#
Router(config)#ip dhcp pool CUPONES
Router(dhcp-config)#default-router 10.3.6.1
Router(dhcp-config)#network 10.3.6.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.6.1 10.3.6.10
Router(config)#
Router(config)#ip dhcp pool AUTORIZACIONES
Router(dhcp-config)#default-router 10.3.7.1
Router(dhcp-config)#network 10.3.7.0 255.255.255.0
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.3.7.1 10.3.7.10
Router(config)#exit
Router#write
%SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
Router#

You might also like