Config Sw2

download Config Sw2

of 4

description

uni

Transcript of Config Sw2

  • 7/18/2019 Config Sw2

    1/4

    Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2007 by Cisco Systems, Inc.Compiled Thu 05-Jul-07 22:22 by pt_teamImage text-base: 0x00003000, data-base: 0x01500000

    POST: CPU MIC register Tests : BeginPOST: CPU MIC register Tests : End, Status Passed

    POST: PortASIC Memory Tests : BeginPOST: PortASIC Memory Tests : End, Status Passed

    POST: CPU MIC interface Loopback Tests : BeginPOST: CPU MIC interface Loopback Tests : End, Status Passed

    POST: PortASIC RingLoopback Tests : BeginPOST: PortASIC RingLoopback Tests : End, Status Passed

    POST: Inline Power Controller Tests : BeginPOST: Inline Power Controller Tests : End, Status Passed

    POST: PortASIC CAM Subsystem Tests : BeginPOST: PortASIC CAM Subsystem Tests : End, Status Passed

    POST: PortASIC Port Loopback Tests : BeginPOST: PortASIC Port Loopback Tests : End, Status Passed

    Waiting for Port download...Complete--More--This product contains cryptographic features and is subject to UnitedStates and local country laws governing import, export, transfer and

    use. Delivery of Cisco cryptographic products does not implythird-party authority to import, export, distribute or use encryption.Importers, exporters, distributors and users are responsible forcompliance with U.S. and local country laws. By using this product youagree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be found at:http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

    If you require further assistance please contact us by sending email [email protected].

    cisco WS-C3560-24PS (PowerPC405) processor (revision P0) with 122880K/8184K bytes of memory.Processor board ID CAT1037RJF724 FastEthernet/IEEE 802.3 interface(s)2 Gigabit Ethernet/IEEE 802.3 interface(s)

    63488K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address : 0000.0C9B.985CMotherboard assembly number : 73-9673-09

  • 7/18/2019 Config Sw2

    2/4

    Power supply part number : 341-0029-05Motherboard serial number : CAT103758VYPower supply serial number : DTH1036C7UBModel revision number : P0Motherboard revision number : A0Model number : WS-C3560-24PS-ESystem serial number : CAT1037RJF7Top Assembly Part Number : 800-26380-04Top Assembly Revision Number : B0Version ID : V06CLEI Code Number : COM1100ARCHardware Board Revision Number : 0x01

    Switch Ports Model SW Version SW Image------ ----- ----- ---------- ----------* 1 26 WS-C3560-24PS 12.2(37)SE1 C3560-ADVIPSERVICESK

    Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2007 by Cisco Systems, Inc.Compiled Thu 05-Jul-07 22:22 by pt_team

    Press RETURN to get started!

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

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

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

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

    Switch>ENABLE

    Switch#CONFIGURE TERMINALEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#HOSTNAME SW2SW2(config)#INTERFACE FASTETHERNET 0/1SW2(config-if)#NO SWITCHPORTSW2(config-if)#IP ADDRESS 200.0.0.2 255.255.255.0SW2(config-if)#SW2#%SYS-5-CONFIG_I: Configured from console by console

    SW2#EXIT

    SW2 con0 is now available

    Press RETURN to get started.

  • 7/18/2019 Config Sw2

    3/4

    SW2>SW2>ENABLESW2#SW2#SW2#CONFIGURE TERMINALEnter configuration commands, one per line. End with CNTL/Z.SW2(config)#VLAN 10SW2(config-vlan)#NAME ALUMNOSSW2(config-vlan)#EXITSW2(config)#VLAN 20SW2(config-vlan)#NAME ADMINSW2(config-vlan)#EXITSW2(config)#INTERFACE VLAN 10SW2(config-if)#%LINK-5-CHANGED: Interface Vlan10, changed state to up

    SW2(config-if)#IP ADDRESS 192.168.10.1 255.255.255.0SW2(config-if)#SW2#

    %SYS-5-CONFIG_I: Configured from console by console

    SW2#SHOW IP ROUTEDefault gateway is not set

    Host Gateway Last Use Total Uses InterfaceICMP redirect cache is emptySW2#IP ROUTING ^% Invalid input detected at '^' marker.

    SW2#IP ROUTING ^

    % Invalid input detected at '^' marker.

    SW2#CONFIGURE TERMINALEnter configuration commands, one per line. End with CNTL/Z.SW2(config)#IP ROUTINGSW2(config)#ENDSW2#%SYS-5-CONFIG_I: Configured from console by console

    SW2#SHOW IP ROUTECodes: 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

    SW2#CONF TERMINALEnter configuration commands, one per line. End with CNTL/Z.SW2(config)#INTERFACE RANGE FASTETHERNET 0/2 - 3

  • 7/18/2019 Config Sw2

    4/4

    SW2(config-if-range)#SWITCHPORT TRUNK ENCAPSULATION DOT1QSW2(config-if-range)#SWITCHPORT MODE TRUNK

    SW2(config-if-range)#%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 Vlan10, 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