27
Switch>ena Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#host S1 S1(config)#no ip dom S1(config)#no ip domain-lookup S1#config t Enter configuration commands, one per line. End with CNTL/Z. S1(config)#ena secret class S1(config)#line con 0 S1(config-line)#password cisco S1(config-line)#login S1(config-line)#line vty 0 4 S1(config-line)#password cisco S1(config-line)#login S1(config-line)#^Z %SYS-5-CONFIG_I: Configured from console by console S1#vlan data % 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. S1(vlan)#vlan 30 name Guest(Default) VLAN 30 added: Name: Guest(Default) S1(vlan)#vlan 10 name Faculty/Staff VLAN 10 added: Name: Faculty/Staff S1(vlan)#vlan 20 name Students VLAN 20 added: Name: Students S1(vlan)#^Z %SYS-5-CONFIG_I: Configured from console by console

Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

  • Upload
    yola786

  • View
    172

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Switch>enaSwitch#config tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#host S1S1(config)#no ip domS1(config)#no ip domain-lookup

S1#config tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#ena secret classS1(config)#line con 0S1(config-line)#password ciscoS1(config-line)#loginS1(config-line)#line vty 0 4S1(config-line)#password ciscoS1(config-line)#loginS1(config-line)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#vlan data% 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.

S1(vlan)#vlan 30 name Guest(Default)VLAN 30 added: Name: Guest(Default)S1(vlan)#vlan 10 name Faculty/StaffVLAN 10 added: Name: Faculty/StaffS1(vlan)#vlan 20 name StudentsVLAN 20 added: Name: StudentsS1(vlan)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#sh vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, 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

Page 2: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

10 Faculty/Staff active 20 Students active 30 Guest(Default) active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S1#vlan data% 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.

S1(vlan)#vlan 56 name Management&NativeVLAN 56 added: Name: Management&NativeS1(vlan)#^Z

S1#sh vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, 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/210 Faculty/Staff active 20 Students active 30 Guest(Default) active 56 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S1#config tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#int vlan 56S1(config-if)#ip add 192.168.56.11 255.255.255.0S1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan56, changed state to upS1(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#ping 192.168.56.12

Page 3: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.56.12, timeout is 2 seconds:.....Success rate is 0 percent (0/5)

S1#config tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#int fa 0/1S1(config-if)#swicth mode trunkS1(config-if)#switch mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan56, changed state to upS1(config-if)#switch trunk native vlan 56S1(config-if)#exitS1(config)#int fa 0/2S1(config-if)#switch mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to downS1(config-if)#switch trunk native vlan 56S1(config-if)#%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (56), with S3 FastEthernet0/2 (1).S1(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#ping 192.168.56.12

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.56.12, timeout is 2 seconds:.!!!!Success rate is 80 percent (4/5), round-trip min/avg/max = 27/40/47 ms

S1#sh run

S1#ping 192.168.56.13

Page 4: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

S2

Switch>enaSwitch#config tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#host S2S2(config)#no ip domS2(config)#S2(config)#ena sec classS2(config)#S2(config)#password cisco ^% Invalid input detected at '^' marker.

S2(config)#S2(config)#login ^% Invalid input detected at '^' marker.

S2(config)#S2(config)#line vty 0 4S2(config-line)#S2(config-line)#pass ciscoS2(config-line)#S2(config-line)#loginS2(config-line)#S2(config-line)#exitS2(config)#show run ^% Invalid input detected at '^' marker.

S2(config)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#show runBuilding configuration...

Current configuration : 1006 bytes!version 12.2no service password-encryption!hostname S2!enable secret 5 $1$U0D6$fdELkFrWgtucQyKsTPAmj.!

Page 5: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

no ip domain-lookup!!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22

Page 6: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 password cisco loginline vty 5 15 login!!end

S2#enaS2#config tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#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.

S2(vlan)#S2(vlan)#vlan 30 name Guest(Default)VLAN 30 added: Name: Guest(Default)S2(vlan)#S2(vlan)#vlan 10 name Faculty/StaffVLAN 10 added: Name: Faculty/StaffS2(vlan)#S2(vlan)#vlan 20 name StudentsVLAN 20 added:

Page 7: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Name: StudentsS2(vlan)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#sh vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, 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/210 Faculty/Staff active 20 Students active 30 Guest(Default) active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S2#vlan data% 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.

S2(vlan)#vlan 56 name Management&NativeVLAN 56 added: Name: Management&NativeS2(vlan)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#config tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int range ^% Invalid input detected at '^' marker.

S2(config)#int range fa 0/1 - fa 0/5 ^% Invalid input detected at '^' marker.

S2(config)#int range fa0/1 - fa0/5 ^% Invalid input detected at '^' marker.

S2(config)#int fa 0/6

Page 8: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

S2(config-if)#switch mode accessS2(config-if)#switch access vlan 30S2(config-if)#int fa 0/11S2(config-if)#switch mode accessS2(config-if)#switch access vlan 10S2(config-if)#int fa 0/18S2(config-if)#switch mode accessS2(config-if)#switch access vlan 20S2(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#sh vlan

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/24, Gig1/1, Gig1/210 Faculty/Staff active Fa0/1120 Students active Fa0/1830 Guest(Default) active Fa0/656 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 030 enet 100030 1500 - - - - - 0 056 enet 100056 1500 - - - - - 0 01002 enet 101002 1500 - - - - - 0 01003 enet 101003 1500 - - - - - 0 01004 enet 101004 1500 - - - - - 0 01005 enet 101005 1500 - - - - - 0 0

S2#S2#config tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int vlan 56S2(config-if)#ip add 192.168.56.12 255.255.255.0

Page 9: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

S2(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan56, changed state to upS2(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#config tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int fa 0/1S2(config-if)#switch mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan56, changed state to upS2(config-if)#switch trunk native vlan 56S2(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#sh runBuilding configuration...

Current configuration : 1274 bytes!version 12.2no service password-encryption!hostname S2!enable secret 5 $1$U0D6$fdELkFrWgtucQyKsTPAmj.!no ip domain-lookup!!interface FastEthernet0/1 switchport trunk native vlan 56 switchport mode trunk!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6

Page 10: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

switchport access vlan 30 switchport mode access!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11 switchport access vlan 10 switchport mode access!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18 switchport access vlan 20 switchport mode access!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2

Page 11: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

!interface Vlan1 no ip address shutdown!interface Vlan56 ip address 192.168.56.12 255.255.255.0!line con 0!line vty 0 4 password cisco loginline vty 5 15 login!!end

S2#ping 192.168.56.13

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.56.13, timeout is 2 seconds:.!!!!Success rate is 80 percent (4/5), round-trip min/avg/max = 85/93/104 ms

S2#config tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int fa 0/11S2(config-if)#switch mode accessS2(config-if)#switch access vlan 20S2(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS2#

s3C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.2960-24TT starting...Base ethernet MAC Address: 0001.9663.1851Xmodem file system is available.

Page 12: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Initializing Flash...flashfs[0]: 1 files, 0 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 32514048flashfs[0]: Bytes used: 4414921flashfs[0]: Bytes available: 28099127flashfs[0]: flashfs fsck took 1 seconds....done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...######################### [OK] Restricted Rights Legend

Use, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.

cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2005 by Cisco Systems, Inc.Compiled Wed 12-Oct-05 22:05 by pt_teamImage text-base: 0x80008098, data-base: 0x814129C4

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.

24 FastEthernet/IEEE 802.3 interface(s)2 Gigabit Ethernet/IEEE 802.3 interface(s)

Page 13: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

64K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address : 0001.9663.1851Motherboard assembly number : 73-9832-06Power supply part number : 341-0097-02Motherboard serial number : FOC103248MJPower supply serial number : DCA102133JAModel revision number : B0Motherboard revision number : C0Model number : WS-C2960-24TTSystem serial number : FOC1033Z1EYTop Assembly Part Number : 800-26671-02Top Assembly Revision Number : B0Version ID : V02CLEI Code Number : COM3K00BRAHardware Board Revision Number : 0x01

Switch Ports Model SW Version SW Image------ ----- ----- ---------- ----------* 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2005 by Cisco Systems, Inc.Compiled Wed 12-Oct-05 22:05 by pt_team

%LINK-5-CHANGED: Interface Vlan1, changed state to up%LINK-5-CHANGED: Interface Vlan1, changed state to administratively downPress RETURN to get started!

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Switch>enaSwitch#config t

Page 14: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#host S3S3(config)#no ip domS3(config)#S3(config)#ena sec classS3(config)#S3(config)#password cisco ^% Invalid input detected at '^' marker.

S3(config)#S3(config)#login ^% Invalid input detected at '^' marker.

S3(config)#S3(config)#line vty 0 4S3(config-line)#S3(config-line)#pass ciscoS3(config-line)#S3(config-line)#loginS3(config-line)#S3(config-line)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#show runBuilding configuration...

Current configuration : 1006 bytes!version 12.2no service password-encryption!hostname S3!enable secret 5 $1$vBNU$Z1wk0lxR8B1b2gYTH/0Cq1!no ip domain-lookup!!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4

Page 15: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1

Page 16: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

no ip address shutdown!line con 0!line vty 0 4 password cisco loginline vty 5 15 login!!end

S3#S3#enaS3#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.

S3(vlan)#S3(vlan)#vlan 30 name Guest(Default)VLAN 30 added: Name: Guest(Default)S3(vlan)#S3(vlan)#vlan 10 name Faculty/StaffVLAN 10 added: Name: Faculty/StaffS3(vlan)#S3(vlan)#vlan 20 name StudentsVLAN 20 added: Name: StudentsS3(vlan)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#sh vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, 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

Page 17: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Gig1/1, Gig1/210 Faculty/Staff active 20 Students active 30 Guest(Default) active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S3#vlan data% 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.

S3(vlan)#vlan 56 name Management&NativeVLAN 56 added: Name: Management&NativeS3(vlan)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#config tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#S3(config)#S3(config)#int fa 0/6S3(config-if)#S3(config-if)#switch mode accessS3(config-if)#S3(config-if)#switch access vlan 30S3(config-if)#S3(config-if)#int fa 0/11S3(config-if)#S3(config-if)#switch mode accessS3(config-if)#S3(config-if)#switch access vlan 10S3(config-if)#S3(config-if)#int fa 0/18S3(config-if)#S3(config-if)#switch mode accessS3(config-if)#S3(config-if)#switch access vlan 20S3(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#sh vlan

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Page 18: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

Fa0/5, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/24, Gig1/1, Gig1/210 Faculty/Staff active Fa0/1120 Students active Fa0/1830 Guest(Default) active Fa0/656 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 030 enet 100030 1500 - - - - - 0 056 enet 100056 1500 - - - - - 0 01002 enet 101002 1500 - - - - - 0 01003 enet 101003 1500 - - - - - 0 01004 enet 101004 1500 - - - - - 0 01005 enet 101005 1500 - - - - - 0 0

S3#config tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#int vlan 56S3(config-if)#ip add 192.168.56.13 255.255.255.0S3(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan56, changed state to upS3(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#config tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#int fa 0/1S3(config-if)#switch mode trunkS3(config-if)#switch trunk native vlan 56S3(config-if)#%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 Vlan56, changed state to up

Page 19: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

S3(config-if)#int fa 0/2S3(config-if)#switch mode trunkS3(config-if)#switch trunk native vlan 56S3(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS3#sh runBuilding configuration...

Current configuration : 1330 bytes!version 12.2no service password-encryption!hostname S3!enable secret 5 $1$vBNU$Z1wk0lxR8B1b2gYTH/0Cq1!no ip domain-lookup!!interface FastEthernet0/1 switchport trunk native vlan 56 switchport mode trunk!interface FastEthernet0/2 switchport trunk native vlan 56 switchport mode trunk!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6 switchport access vlan 30 switchport mode access!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!

Page 20: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

interface FastEthernet0/11 switchport access vlan 10 switchport mode access!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18 switchport access vlan 20 switchport mode access!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 no ip address shutdown!interface Vlan56 ip address 192.168.56.13 255.255.255.0!line con 0!line vty 0 4

Page 21: Switch>Ena Switch#Config t Enter Configuration Commands, One Per Line. End

password cisco loginline vty 5 15 login!!end

S3#