Sie sind auf Seite 1von 7

Would you like to enter the initial configuration dialog?

[yes/no]: yes

Would you like to enter basic management setup [yes/no]: yes

Enter host name: switch1

Configure SNMP Network Management [no]: no

Management network from the above interface summary: Vlan1

Configue IP on this interface [no]: no

Would you like to enable as a cluster ocmand switch [yes/no]: no

Enter you selection [2]: dejar vacio

Switch1> enable

Switch#: configure terminal

Switch1(config)# vlan 10

Switch1(config-vlan)# name sistemas

Switch1(config-vlan)# exit

Switch1(config)# vlan 20

Switch1(config-vlan)# name industrial

Switch1(config-vlan)# exit

Switch1(config)# vlan 30

Switch1(config-vlan)# name mecanica

Switch1(config-vlan)# exit

Switch1(config)# interface range FastEthernet 0/1-8

Switch1(configue-if-range)# switchport mode access

Switch1(configue-if-range)# switchport access vlan 10

Switch1(configue-if-range)# exit

Switch1(config)# interface range FastEthernet 0/9-16

Switch1(configue-if-range)# switchport mode access

Switch1(configue-if-range)# switchport access vlan 20

Switch1(configue-if-range)# exit

Switch1(config)# interface range FastEthernet 0/17-24

Switch1(configue-if-range)# switchport mode access


Switch1(configue-if-range)# switchport access vlan 30

Switch1(configue-if-range)# exit

Switch1(config)# interface vlan 10

Switch1(config-if)# ip address 192.168.10.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config)# interface vlan 20

Switch1(config-if)# ip address 192.168.20.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config)# interface vlan 30

Switch1(config-if)# ip address 192.168.30.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config-)# ip dhcp excluded-address 192.168.10.1 192.168.10.10

Switch1(config)# ip dhcp excluded-address 192.168.20.1 192.168.20.10

Switch1(config)# ip dhcp excluded-address 192.168.30.1 192.168.30.10

Switch1(config)# ip dhcp pool sistemas

Switch1(dhcp-config)# network 192.168.10.1

Switch1(dhcp-config)# default-router 192.168.10.1

Switch1(dhcp-config)#

Switch1(dhcp-config)# exit

Switch1(config)# ip dhcp pool industrial

Switch1(dhcp-config)# network 192.168.20.1

Switch1(dhcp-config)# default-router 192.168.20.1

Switch1(dhcp-config)# dns-server 192.168.20.2

Switch1(dhcp-config)# exit

Switch1(config)# ip dhcp pool mecanica


Switch1(dhcp-config)# network 192.168.30.1

Switch1(dhcp-config)# default-router 192.168.30.1

Switch1(dhcp-config)# dns-server 192.168.30.2

Switch1(dhcp-config)# exit

Switch1(config)# exit

Switch1# show vlan

Switch1# copy ru st

Destination filename [startup-config]? Dar enter

CONFIGURACION 3750G
Would you like to enter the initial configuration dialog? [yes/no]: yes

Would you like to enter basic management setup [yes/no]: yes

Enter host name: switch1

Configure SNMP Network Management [no]: no

Management network from the above interface summary: Vlan1

Configue IP on this interface [no]: no

Would you like to enable as a cluster ocmand switch [yes/no]: no

Enter you selection [2]: dejar vacio

Switch1> en

Switch#: configure terminal

Switch1(config)# vlan 10

Switch1(config-vlan)# name sistemas

Switch1(config-vlan)# exit

Switch1(config)# vlan 20

Switch1(config-vlan)# name industrial

Switch1(config-vlan)# exit

Switch1(config)# vlan 30

Switch1(config-vlan)# name mecanica

Switch1(config-vlan)# exit

Switch1(config)# interface range gigabitEthernet 0/1/1-8

Switch1(configue-if-range)# switchport mode access

Switch1(configue-if-range)# switchport access vlan 10

Switch1(configue-if-range)# exit

Switch1(config)# exit

Switch1(config)# interface range gigabitEthernet 0/1/9-19

Switch1(configue-if-range)# switchport mode access

Switch1(configue-if-range)# switchport access vlan 20

Switch1(configue-if-range)# exit
Switch1(config)# interface range FastEthernet 0/17-24

Switch1(configue-if-range)# switchport mode access

Switch1(configue-if-range)# switchport access vlan 30

Switch1(configue-if-range)# exit

Switch1(config)# interface vlan 10

Switch1(config-if)# ip address 192.168.10.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config)# interface vlan 20

Switch1(config-if)# ip address 192.168.20.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config)# interface vlan 30

Switch1(config-if)# ip address 192.168.30.1 255.255.255.0

Switch1(config-if)# no shutdown

Switch1(config-if)# exit

Switch1(config-)# ip dhcp excluded-address 192.168.10.1 192.168.10.10

Switch1(config)# ip dhcp excluded-address 192.168.20.1 192.168.20.10

Switch1(config)# ip dhcp excluded-address 192.168.30.1 192.168.30.10

Switch1(config)# ip dhcp pool sistemas

Switch1(dhcp-config)# network 192.168.10.1

Switch1(dhcp-config)# default-router 192.168.10.1

Switch1(dhcp-config)# dns-server 192.168.10.2

Switch1(dhcp-config)# exit

Switch1(config)# ip dhcp pool industrial

Switch1(dhcp-config)# network 192.168.20.1

Switch1(dhcp-config)# default-router 192.168.20.1

Switch1(dhcp-config)# dns-server 192.168.20.2

Switch1(dhcp-config)# exit
Switch1(config)# ip dhcp pool mecanica

Switch1(dhcp-config)# network 192.168.30.1

Switch1(dhcp-config)# default-router 192.168.30.1

Switch1(dhcp-config)# dns-server 192.168.30.2

Switch1(dhcp-config)# exit

Switch1(config)# exit

Switch1# show vlan

Switch1# copy ru st

Destination filename [startup-config]? Dar enter

Das könnte Ihnen auch gefallen