Sie sind auf Seite 1von 24

/////////////////////////////SWITCH SIPAN///////////////////////////// Switch>ena Switch#conf t Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname sw_sipan sw_sipan(config)#vlan 10 sw_sipan(config-vlan)#name conta sw_sipan(config-vlan)#exit sw_sipan(config)#vlan 20 sw_sipan(config-vlan)#name tesoreria sw_sipan(config-vlan)#exit sw_sipan(config)#vlan 30 sw_sipan(config-vlan)#name planillas sw_sipan(config-vlan)#exit sw_sipan(config)#vlan 99 sw_sipan(config-vlan)#name troncal sw_sipan(config-vlan)#exit sw_sipan(config)#vlan 150 sw_sipan(config-vlan)#name voz sw_sipan(config-vlan)#exit sw_sipan(config)#do wr Building configuration... [OK] sw_sipan(config)#vtp domain sipan Changing VTP domain name from NULL to sipan sw_sipan(config)#vtp password 12345 Setting device VLAN database password to 12345 sw_sipan(config)#do wr Building configuration... [OK] sw_sipan(config)# sw_sipan(config)#INT RANGE FA0/1 - FA0/4 sw_sipan(config-if-range)#SWITCHPORT MODE TRUNK %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up sw_sipan(config-if-range)#SWITCHPORT TRUNK NATIVE VLAN 99 sw_sipan(config-if-range)#DO WR /////////////////////////////SWITCH COMPUTO///////////////////////////// Switch>ena Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname sw_computo sw_computo(config)#vlan 5 sw_computo(config-vlan)#name oci sw_computo(config-vlan)#exit sw_computo(config)#vlan 15 sw_computo(config-vlan)#name admision sw_computo(config-vlan)#exit sw_computo(config)#vlan 25 sw_computo(config-vlan)#name rrhh sw_computo(config-vlan)#exit sw_computo(config)#vlan 99 sw_computo(config-vlan)#name troncal sw_computo(config-vlan)#exit sw_computo(config)#vlan 151 sw_computo(config-vlan)#name voz sw_computo(config-vlan)#exit sw_computo(config)#do wr Building configuration... [OK] sw_computo(config)#vtp domain computo Changing VTP domain name from NULL to computo sw_computo(config)#vtp password 12345 Setting device VLAN database password to 12345 sw_computo(config)#do wr Building configuration... [OK] sw_computo(config)#

sw_computo(config)#INT RANGE FA0/1 - FA0/4 sw_computo(config-if-range)#SWITCHPORT MODE TRUNK %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up sw_computo(config-if-range)#SWITCHPORT TRUNK NATIVE VLAN 99 sw_computo(config-if-range)#DO WR Building configuration... [OK] sw_computo(config-if-range)# /////////////////////////////ROUTER IDIOMAS///////////////////////////// Router>ENA Router#CONF T Enter configuration commands, one per line. End with CNTL/Z. Router(config)#HOSTNAME IDIOMAS IDIOMAS(config)#INT FA0/1.10 IDIOMAS(config-subif)#ENCAPSULATION DOT1Q 10 IDIOMAS(config-subif)#IP ADDRESS 10.10.71.0 255.255.255.248 Bad mask /29 for address 10.10.71.0 IDIOMAS(config-subif)#IP ADDRESS 10.10.71.1 255.255.255.0 IDIOMAS(config-subif)#EXIT IDIOMAS(config)#INT FA0/1.20 IDIOMAS(config-subif)#ENCAPSULATION DOT1Q 20 IDIOMAS(config-subif)#IP ADDRESS 192.22.26.1 255.255.255.0 IDIOMAS(config-subif)#EXIT IDIOMAS(config)#INT FA0/1.30 IDIOMAS(config-subif)#ENCAPSULATION DOT1Q 30 IDIOMAS(config-subif)#IP ADDRESS 172.31.33.1 255.255.255.0

IDIOMAS(config-subif)#EXIT IDIOMAS(config)#INT FA0/1.150 IDIOMAS(config-subif)#ENCAPSULATION DOT1Q 150 IDIOMAS(config-subif)#IP ADDRESS 192.168.150.1 255.255.255.0 IDIOMAS(config-subif)#EXIT IDIOMAS(config)#DO WR Building configuration... [OK] IDIOMAS(config)# IDIOMAS(config)#INT FA0/1 IDIOMAS(config-if)#NO SH %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.10, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.20, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.20, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.30, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.30, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.150, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.150, changed state to up IDIOMAS(config-if)#DO WR Building configuration... [OK] IDIOMAS(config-if)# ASIGNACION DE IPS EN TELEFONOS IDIOMAS>ena IDIOMAS#conf t Enter configuration commands, one per line. End with CNTL/Z.

IDIOMAS(config)#ip dhcp excluded-address 192.168.150.1 IDIOMAS(config)#ip dhcp pool vlan150 IDIOMAS(dhcp-config)#network 192.168.150.0 255.255.255.0 IDIOMAS(dhcp-config)#default-router 192.168.150.1 IDIOMAS(dhcp-config)#dns-server 192.168.66.226 IDIOMAS(dhcp-config)#option 150 ip 192.168.150.1 IDIOMAS(dhcp-config)#do wr Building configuration... [OK] IDIOMAS(dhcp-config)#

EN EL CASO DE QUE FUERA EIGRP IDIOMAS(config)#ROUTER EIGRP 101 IDIOMAS(config-router)#NETWORK 10.10.71.0 0.0.0.255 IDIOMAS(config-router)#NETWORK 172.31.33.0 0.0.0.255 IDIOMAS(config-router)#NETWORK 192.22.26.0 0.0.0.255 IDIOMAS(config-router)#NETWORK 192.168.150.0 0.0.0.255 IDIOMAS(config-router)#NETWORK 210.2.2.20 0.0.0.3 IDIOMAS(config-router)#DO WR Building configuration... [OK] IDIOMAS(config-router)# EN EL CASO DE QUE FUERA OSPF IDIOMAS(config)#ROUTER OSPF 101 IDIOMAS(config-router)#NETWORK 10.10.71.0 0.0.0.255 area 0 IDIOMAS(config-router)#NETWORK 172.31.33.0 0.0.0.255 area 0 IDIOMAS(config-router)#NETWORK 192.22.26.0 0.0.0.255 area 0 IDIOMAS(config-router)#NETWORK 192.168.150.0 0.0.0.255 area 0 IDIOMAS(config-router)#NETWORK 210.2.2.20 0.0.0.3 area 0 IDIOMAS(config-router)#DO WR Building configuration... [OK] IDIOMAS(config-router)# /////////////////////////////ROUTER GOB///////////////////////////// Router>ENA

Router#CONF T Enter configuration commands, one per line. End with CNTL/Z. Router(config)#HOSTNAME GOB GOB(config)#INT FA0/1 GOB(config-if)#EXIT GOB(config)#INT FA0/1.5 GOB(config-subif)#ENCAPSULATION DOT1Q 5 GOB(config-subif)#IP ADDRESS 192.168.88.1 255.255.255.0 GOB(config-subif)#EXIT GOB(config)#INT FA0/1.15 GOB(config-subif)#ENCAPSULATION DOT1Q 15 GOB(config-subif)#IP ADDRESS 172.16.66.1 255.255.255.0 GOB(config-subif)#EXIT GOB(config)#INT FA0/1.25 GOB(config-subif)#ENCAPSULATION DOT1Q 25 GOB(config-subif)#IP ADDRESS 192.168.49.1 255.255.255.0 GOB(config-subif)#EXIT GOB(config)#INT FA0/1.151 GOB(config-subif)#ENCAPSULATION DOT1Q 151 GOB(config-subif)#IP ADDRESS 192.168.151.1 255.255.255.0 GOB(config-subif)#EXIT GOB(config)#INT FA0/1 GOB(config-if)#NO SH %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.5, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.5, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.15, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.15, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.25, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.25, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/1.151, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.151, changed state to up GOB(config-if)#DO WR Building configuration... [OK] GOB(config-if)#

ASIGNACION DE IPS EN TELEFONOS GOB>ena GOB#conf t Enter configuration commands, one per line. End with CNTL/Z. GOB(config)#ip dhcp excluded-address 192.168.151.1 GOB(config)#ip dhcp pool vlan151 GOB(dhcp-config)#network 192.168.151.0 255.255.255.0 GOB(dhcp-config)#default-router 192.168.151.1 GOB(dhcp-config)#dns-server 192.168.66.226 GOB(dhcp-config)#option 150 ip 192.168.151.1 GOB(dhcp-config)#do wr Building configuration... [OK] GOB(dhcp-config)#

EN EL CASO DE QUE FUERA EIGRP GOB(config)#router eigrp 101 GOB(config-router)#network 172.16.66.0 0.0.0.255 GOB(config-router)#network 192.168.49.0 0.0.0.255 GOB(config-router)#network 192.168.88.0 0.0.0.255 GOB(config-router)#network 192.168.151.0 0.0.0.255 GOB(config-router)#network 21. ^ % Invalid input detected at '^' marker. GOB(config-router)#network 210.2.2.24 0.0.0.3 GOB(config-router)# %DUAL-5-NBRCHANGE: IP-EIGRP 101: Neighbor 210.2.2.25 (Serial0/0/1) is up: new adjacency GOB(config-router)#do wr Building configuration...

[OK] GOB(config-router)# EN EL CASO DE QUE FUERA OSPF GOB(config)#router eigrp 101 GOB(config-router)#network 172.16.66.0 0.0.0.255 area 0 GOB(config-router)#network 192.168.49.0 0.0.0.255 area 0 GOB(config-router)#network 192.168.88.0 0.0.0.255 area 0 GOB(config-router)#network 192.168.151.0 0.0.0.255 area 0 GOB(config-router)#network 21. ^ % Invalid input detected at '^' marker. GOB(config-router)#network 210.2.2.24 0.0.0.3 area 0 GOB(config-router)# %DUAL-5-NBRCHANGE: IP-EIGRP 101: Neighbor 210.2.2.25 (Serial0/0/1) is up: new adjacency GOB(config-router)#do wr Building configuration... [OK] GOB(config-router)#

///////////////////////////////////////SWITCHES DE IDIOMAS///////////////////////////////

Switch>ENA Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 12345 Setting device VLAN database password to 12345 Switch(config)#DO SHOW %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/2 (99). SHOW % Incomplete command. Switch(config)#DO SHOW VLAN BRIEF

VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 10 conta active 20 tesoreria active 30 planillas active 99 troncal active 150 voz active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/2 (99). Switch(config)#INT RANGE %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0 Switch(config)#INT RANGE FA0/2 - FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS Switch(config-if-range)#SWITCHPORT ACCESS VLAN 10 Switch(config-if-range)#EXIT Switch(config)#INT FA0/2 Switch(config-if)#SWITCHPORT VOICE VLAN 150 Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR

Switch>ENA Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 12345 Setting device VLAN database password to 12345 Switch(config)#DO SHOW VLAN BRIEF VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 10 conta active 20 tesoreria active 30 planillas active 99 troncal active 150 voz active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99).

Switch(config)#INT RANGE FA0/2 - FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS Switch(config-if-range)#SWITCHPORT %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/3 (99). ACCESS VLAN 20 Switch(config-if-range)#EXIT Switch(config)#INT FA0/2 Switch(config-if)#SWITCHPORT VOICE VLAN 150 Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR Building configuration... [OK] Switch(config-if)#

Switch>ENA Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 12345 Setting device VLAN database password to 12345 Switch(config)#DO SH %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). OW VLAN BRIEF VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 10 conta active 20 tesoreria active 30 planillas active 99 troncal active

150 voz active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 (99). Switch(config)#INT RAN %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_sipan FastEthernet0/4 Switch(config)#INT RANGE FA0/2 -FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS Switch(config-if-range)#SWITCHPORT ACCESS VLAN 30 Switch(config-if-range)#EXIT Switch(config)#INT FA0/2 Switch(config-if)#SWITCHPORT VOICE VLAN 150 Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR ///////////////////////////////////////SWITCHES DE GOB///////////////////////////////

Switch>ENA Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 1234

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). 5 Setting device VLAN database password to 12345 Switch(config)#DO SHOW VLAN BRIEF VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 5 oci active 15 admision active 25 rrhh active 99 troncal active 151 voz active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). Switch(config)#INT RANGE FA0/2 - FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS Switch(config-if-range)#SWITCHPORT ACCESS VLAN 5 Switch(config-if-range)#EXIT Switch(config)#INT FA0/2 Switch(config-if)#SIWTCHPORT VOICE VLAN 151 ^ % Invalid input detected at '^' marker. Switch(config-if)#SWITCHPORT VOICE VLAN 151 Switch(config-if)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/2 (99). Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR Building configuration... [OK] Switch(config-if)#

Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 12345 Setting device VLAN database password to 12345 Switch(config)#DO SHOW VLAN BRIEF VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17

Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 5 oci active 15 admision active 25 rrhh active 99 troncal active 151 voz active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). Switch(config)#INT RANGE FA0/2 - FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS

Switch(config-if-range)#SWITCHPORT ACCESS VLAN 15 Switch(config-if-range)#EXIT Switch(config)#INT FA0/2 Switch(config-if)#SWITHCPORT VOICE VLA %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/3 (99). N 151 ^ % Invalid input detected at '^' marker. Switch(config-if)#SWITCHPORT VOICE VLAN 151 Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR Building configuration... [OK] Switch(config-if)#

Switch>ENA Switch#CONF T Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#VTP MODE CLIENT Setting device to VTP CLIENT mode. Switch(config)#VTP PASSWORD 12345 Setting device VLAN database password to 12345 Switch(config)#DO SHOW VLAN BRIEF VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 5 oci active 15 admision active 25 rrhh active 99 troncal active 151 voz active

1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). Switch(config)#INT RANGE FA0/2 - FA0/24 Switch(config-if-range)#SWITCHPORT MODE ACCESS Switch(config-if-range)#SWITCHPORT ACCESS VLAN 2 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with sw_computo FastEthernet0/4 (99). 5 Switch(config-if-range)#EXIT

Switch(config)#INT FA0/2 Switch(config-if)#SWITCHPORT VOICE VLAN 151 Switch(config-if)#MLS QOS TRUST COS Switch(config-if)#DO WR Building configuration... [OK] Switch(config-if)# /////////////////////////////ROUTER DTI///////////////////////////// EN EL CASO SEA EIGRP Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#network eigrp 101 ^ % Invalid input detected at '^' marker. Router(config)#router eigrp 101 Router(config-router)#network 192.168.66.224 0.0.0.7 Router(config-router)#network 210.2.2.20 0.0.0.3 Router(config-router)# %DUAL-5-NBRCHANGE: IP-EIGRP 101: Neighbor 210.2.2.21 (Serial0/0/0) is up: new adjacency Router(config-router)#network 210.2.2.24 0.0.0.3 Router(config-router)#do wr Building configuration... [OK] Router(config-router)# EN EL CASO SEA OSPF Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#network eigrp 101 ^ % Invalid input detected at '^' marker. Router(config)#router eigrp 101 Router(config-router)#network 192.168.66.224 0.0.0.7 area 0 Router(config-router)#network 210.2.2.20 0.0.0.3 area 0 Router(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 101: Neighbor 210.2.2.21 (Serial0/0/0) is up: new adjacency Router(config-router)#network 210.2.2.24 0.0.0.3 area 0 Router(config-router)#do wr Building configuration... [OK] Router(config-router)#

ASIGNACION DHCP - IDIOMAS IDIOMAS(config)#int range fa0/1.10, fa0/1.20, fa0/1.30 IDIOMAS(config-if-range)#ip helper-address 192.168.66.228 IDIOMAS(config-if-range)#do wr Building configuration... [OK] IDIOMAS(config-if-range)# ASIGNACION DHCP - ROUTER GOB(config)#INT RANGE FA0/1.5, FA0/1.15, FA0/1.25 GOB(config-if-range)#IP HELPER ADDRESS 192.168.66.228 ^ % Invalid input detected at '^' marker. GOB(config-if-range)#IP HELPER-ADDRESS 192.168.66.228 GOB(config-if-range)#DO WR Building configuration... [OK] GOB(config-if-range)#

TELEFONIA EN EL ROUTER IDIOMAS IDIOMAS>ena IDIOMAS#conf t Enter configuration commands, one per line. End with CNTL/Z. IDIOMAS(config)#telephony-service IDIOMAS(config-telephony)#max-ephones 6 IDIOMAS(config-telephony)#max-dn 6 IDIOMAS(config-telephony)#ip source-address 192.168.150.1 port 2000 IDIOMAS(config-telephony)#auto assign 1 to 6 IDIOMAS(config-telephony)#exit IDIOMAS(config)#ephone-dn 1 IDIOMAS(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up IDIOMAS(config-ephone-dn)#number 1010 IDIOMAS(config-ephone-dn)#exit IDIOMAS(config)# %IPPHONE-6-REGISTER: ephone-1 IP:192.168.150.3 Socket:2 DeviceType:Phone has registered. IDIOMAS(config)#ephone-dn 2 %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up IDIOMAS(config-ephone-dn)#number 1011 IDIOMAS(config-ephone-dn)#exit IDIOMAS(config)#eph %IPPHONE-6-REGISTER: ephone-2 IP:192.168.150.4 Socket:2 DeviceType:Phone has registere IDIOMAS(config)#ephone-dn 3 %LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up IDIOMAS(config-ephone-dn)#number 1012 IDIOMAS(config-ephone-dn)#exit IDIOMAS(config)#ephone-dn 4 %LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up IDIOMAS(config-ephone-dn)#number 1013 IDIOMAS(config-ephone-dn)#exit IDIOMAS(config)#ephone-dn 6 %LINK-3-UPDOWN: Interface ephone_dsp DN 6.1, changed state to up IDIOMAS(config-ephone-dn)#number 1015 IDIOMAS(config-ephone-dn)#exit IDIOMAS(config)#ephone-dn 5 %LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up IDIOMAS(config-ephone-dn)#number 1014 IDIOMAS(config-ephone-dn)#exit

IDIOMAS(config)#do wr Building configuration... [OK] IDIOMAS(config)#

GOB>ena GOB#conf t Enter configuration commands, one per line. End with CNTL/Z. GOB(config)#telephony-service GOB(config-telephony)#max-ephone 4 GOB(config-telephony)#max-dn 4 GOB(config-telephony)#ip source-address 192.168.151.1 port 2000 GOB(config-telephony)#auto assign 1 to 4 GOB(config-telephony)#exit GOB(config)#ephone-dn 1 %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up GOB(config-ephone-dn)#number 2020 GOB(config-ephone-dn)#exit GOB(config)# %IPPHONE-6-REGISTER: ephone-3 IP:192.168.151.3 Socket:2 DeviceType:Phone has registered. GOB(config)#ephone-dn 2 GOB(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up GOB(config-ephone-dn)#number 2021 GOB(config-ephone-dn)#exit GOB(config)#ephone-dn 3 GOB(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up GOB(config-ephone-dn)#number %IPPHONE-6-REGISTER: ephone-1 IP:192.168.151.4 Socket:2 DeviceType:Phone has regist GOB(config-ephone-dn)#number 2022 GOB(config-ephone-dn)#exit GOB(config)#ephone-dn 4 %LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up GOB(config-ephone-dn)# %IPPHONE-6-REGISTER: ephone-2 IP:192.168.151.2 Socket:2 DeviceType:Phone has registered. number 2023 GOB(config-ephone-dn)#do wr

Building configuration... [OK] GOB(config-ephone-dn)#

///////////////////////////////////////// Si queremos agregar mas telefonos ip tenemos que agregar y ver la fastethernet coo es el caso fa0/4 y entrar al switch donde se conecta el telfono Y hacer este codigo Switch(config)#int fa0/4 Switch(config-if)#switchport voice vlan 150 Switch(config-if)#mls qos trust cos Switch(config-if)#do wr Building configuration... [OK] Switch(config-if)# /////////////////////////////////////////// PARA QUE SE COMUNIQUEN LOS TELEFONOS DE UNA RED A OTRA GOB(config)#dial-peer voice 1 voip GOB(config-dial-peer)#destination-pattner 1010 ^ % Invalid input detected at '^' marker. GOB(config-dial-peer)#destination-pattern 1010 GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#dial-peer voice 2 voip GOB(config-dial-peer)#destination-pattner 1011 ^ % Invalid input detected at '^' marker. GOB(config-dial-peer)#destination-pattern 1011 GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#dial-peer voice 3 voip GOB(config-dial-peer)#destination-pattern 1012 GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#dial-peer voice 4 voip GOB(config-dial-peer)#destination-pattern 1013

GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#dial-peer voice 5 voip GOB(config-dial-peer)#destination-pattern 1014 GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#dial-peer voice 6 voip GOB(config-dial-peer)#destination-pattern 1015 GOB(config-dial-peer)#session target ipv4:192.168.150.1 GOB(config-dial-peer)#exit GOB(config)#do wr Building configuration... [OK] GOB(config)#

IDIOMAS>ENA IDIOMAS#conf t Enter configuration commands, one per line. End with CNTL/Z. IDIOMAS(config)#dial-peer voice 1 voip IDIOMAS(config-dial-peer)#destination-pattern 2020 IDIOMAS(config-dial-peer)#session target ipv4:192.168.151.1 IDIOMAS(config-dial-peer)#exit IDIOMAS(config)#dial-peer voice 2 voip IDIOMAS(config-dial-peer)#destination-pattern 2021 IDIOMAS(config-dial-peer)#session target ipv4:192.168.151.1 IDIOMAS(config-dial-peer)#exit IDIOMAS(config)#dial-peer voice 3 voip IDIOMAS(config-dial-peer)#destination-pattern 2022 IDIOMAS(config-dial-peer)#session target ipv4:192.168.151.1 IDIOMAS(config-dial-peer)#exit IDIOMAS(config)#dial-peer voice 4 voip IDIOMAS(config-dial-peer)#destination-pattern 2023 IDIOMAS(config-dial-peer)#session target ipv4:192.168.151.1 IDIOMAS(config-dial-peer)#exit IDIOMAS(config)#do wr Building configuration... [OK] IDIOMAS(config)#

ACLs Esto se pone en el router GOB access-list 1 remark impedir paso de ping de 5 a 25 access-list 1 deny 192.168.88.0 0.0.0.255 access-list 1 permit any int fa0/1.25 ip access-group 1 out exit do wr

Das könnte Ihnen auch gefallen