Você está na página 1de 4

====configuracion del switch==== Switch>enable Switch#conf t Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 2 Switch(config-vlan)#name sistemas Switch(config-vlan)#exit Switch(config)#vlan 3 Switch(config-vlan)#name administracion Switch(config-vlan)#exit Switch(config)#int fa0/2 Switch(config-if)#switchport access vlan 2 Switch(config-if)#exit Switch(config)#int fa0/3 Switch(config-if)#switchport access vlan 2 Switch(config-if)#exit Switch(config)#int fa0/4 Switch(config-if)#switchport access vlan 2 Switch(config-if)#exit Switch(config)#int fa0/5 Switch(config-if)#switchport access vlan 3 Switch(config-if)#exit Switch(config)#int fa0/6 Switch(config-if)#switchport access vlan 3 Switch(config-if)#exit Switch(config)#int fa0/7 Switch(config-if)#switchport access vlan 3 Switch(config-if)#exit Switch(config)#int fa0/8 Switch(config-if)#switchport access vlan 3 Switch(config-if)#exit Switch(config)#int fa0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allow vlan all Switch(config-if)#exit Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console

copy run start Destination filename [startup-config]? Building configuration... [OK] Switch# Switch#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/1, 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 2 sistemas active Fa0/2, Fa0/3, Fa0/4 3 administracion active Fa0/5, Fa0/6, Fa0/7, Fa0/8 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN ---1 2 3 1002 1003 1004 1005 Type ----enet enet enet fddi tr fdnet trnet SAID ---------100001 100002 100003 101002 101003 101004 101005 MTU ----1500 1500 1500 1500 1500 1500 1500 Parent -----RingNo -----BridgeNo -------Stp ---ieee ibm BrdgMode -------Trans1 -----0 0 0 0 0 0 0 Trans2 -----0 0 0 0 0 0 0

Remote SPAN VLANs -----------------------------------------------------------------------------Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------

===configuracion router ==== Router>show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set Router>enable

Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int fa0/0.1 Router(config-subif)#encapsulation dot1q 2 Router(config-subif)#ip address 192.168.16.1 255.255.255.240 Router(config-subif)#exit Router(config)#int fa0/0.2 Router(config-subif)#encapsulation dot1q 12 Router(config-subif)#ip address 192.168.16.17 255.255.255.240 Router(config)#int fa0/0.3 Router(config-subif)#encapsulation dot1q 5 Router(config-subif)#ip address 192.168.16.33 255.255.255.248 Router(config-subif)#exit Router(config-subif)#exit Router(config)#int 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 t o up %LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up Router(config-if)#} %LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up exit ^ % Invalid input detected at '^' marker. Router(config-if)#exit Router(config)#copy run start ^ % Invalid input detected at '^' marker. Router(config)# Router(config)# Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int fa0/0 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#copy run start ^ % Invalid input detected at '^' marker. Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console

Router# Router# Router#

Você também pode gostar