lab352

  • Upload
    ivodmp

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

  • 8/7/2019 lab352

    1/8

    SW-A#SW-A#SW-A#SW-A#SW-A#00:13:52: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, chang

    ed state to down00:13:58: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up00:14:02: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSW-A#SW-A#SW-A#conf tEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#00:21:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to downSW-A(config)#

    SW-A(config)#no ip doSW-A(config)#no ip domain-looSW-A(config)#no ip domain-lookupSW-A(config)#vlan 100SW-A(config-vlan)#name ccna1SW-A(config-vlan)#name CCNA1SW-A(config-vlan)#VLAN 200SW-A(config-vlan)#NAME CCNA2SW-A(config-vlan)#VLAN 300SW-A(config-vlan)#NAME ADMINSW-A(config-vlan)#ENDSW-A#00:24:34: %SYS-5-CONFIG_I: Configured from console by console

    SW-A#sh vlan

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

    Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12

    100 CCNA1 active200 CCNA2 active300 ADMIN active1002 fddi-default active1003 token-ring-default active

    1004 fddinet-default active1005 trnet-default active

    VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 0100 enet 100100 1500 - - - - - 0 0200 enet 100200 1500 - - - - - 0 0300 enet 100300 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 01003 tr 101003 1500 - - - - - 0 01004 fdnet 101004 1500 - - - ieee - 0 0--More--

    00:26:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down00:26:06: %LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up

  • 8/7/2019 lab352

    2/8

    00:26:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down00:26:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed s1005 trnet 101005 1500 - - - ibm - 0 0

    Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------

    SW-A#conf terEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#inter range fa0/11 - 12SW-A(config-if-range)#switchSW-A(config-if-range)#switchport accSW-A(config-if-range)#switchport access vlan 300SW-A(config-if-range)#inter range fa0/7 - 8SW-A(config-if-range)#switch

    SW-A(config-if-range)#switchport accSW-A(config-if-range)#switchport access vlan 100SW-A(config-if-range)#endSW-A#00:28:23: %SYS-5-CONFIG_I: Configured from console by consoleSW-A#SW-A#SW-A#sh vlan bri

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

    Fa0/5, Fa0/6, Fa0/9, Fa0/10

    100 CCNA1 active Fa0/7, Fa0/8200 CCNA2 active300 ADMIN active Fa0/11, Fa0/121002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default activeSW-A#conf terEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#int range fa09 - 10

    ^% Invalid input detected at '^' marker.

    SW-A(config)#int range fa0/9 - 10SW-A(config-if-range)#switchSW-A(config-if-range)#switchport accSW-A(config-if-range)#switchport access vlan 200SW-A(config-if-range)#endSW-A#00:29:47: %SYS-5-CONFIG_I: Configured from console by consoleSW-A#conf terEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#int fa0/2SW-A(config-if)#switchSW-A(config-if)#switchport mode

    SW-A(config-if)#switchport mode accSW-A(config-if)#switchport mode accessSW-A(config-if)#switch

  • 8/7/2019 lab352

    3/8

    SW-A(config-if)#switchport accSW-A(config-if)#switchport access vlan 300SW-A(config-if)#switchSW-A(config-if)#switchport mode trunkSW-A(config-if)#endSW-A#sh v00:31:56: %SYS-5-CONFIG_I: Configured from console b6{s{c+can bri

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

    Fa0/6100 CCNA1 active Fa0/7, Fa0/8200 CCNA2 active Fa0/9, Fa0/10300 ADMIN active Fa0/2, Fa0/11, Fa0/121002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default active

    SW-A#00:32:07: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up00:32:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSW-A#conf tEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#int vlan 300SW-A(config-if)#00:33:25: %LINK-3-UPDOWN: Interface Vlan300, changed state to up00:33:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan300, changed stateto upSW-A#00:33:27: %SYS-5-CONFIG_I: Configured from console by console

    SW-A#conf tEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#int valn 300

    ^% Invalid input detected at '^' marker.

    SW-A(config)#int vlan 300SW-A(config-if)#ip add 199.6.13.193 255.255.255.224SW-A(config-if)#no shutdownSW-A(config-if)#exitSW-A(config)#int fa0/2SW-A(config-if)#switchSW-A(config-if)#switchport mode trunkSW-A(config-if)#switchSW-A(config-if)#switchport trunk native vlan 300SW-A(config-if)#endSW-A#00:36:42: %SYS-5-CONFIG_I: Configured from console by consoleSW-A#sh int trunk

    Port Mode Encapsulation Status Native vlanFa0/2 on 802.1q trunking 300

    Port Vlans allowed on trunkFa0/2 1-4094

    Port Vlans allowed and active in management domainFa0/2 1,100,200,300

  • 8/7/2019 lab352

    4/8

    Port Vlans in spanning tree forwarding state and not prunedFa0/2 1,100,200,300SW-A#ping 199.6.13.194

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.194, timeout is 2 seconds:

    .....Success rate is 0 percent (0/5)SW-A#ping 199.6.13.195

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.195, timeout is 2 seconds:.....Success rate is 0 percent (0/5)SW-A#ping 199.6.13.196

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.196, timeout is 2 seconds:

    .....Success rate is 0 percent (0/5)SW-A#ping 199.6.13.195

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.195, timeout is 2 seconds:.....Success rate is 0 percent (0/5)SW-A#ping 199.6.13.194

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.194, timeout is 2 seconds:.....

    Success rate is 0 percent (0/5)SW-A#ping 199.6.13.194

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

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.194, timeout is 2 seconds:.....Success rate is 0 percent (0/5)SW-A#00:52:11: %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 1 on FastEthernet0/2 VLAN300.00:52:11: %SPANTREE-2-BLOCK_PVID_PEER: Blocking FastEthernet0/2 on VLAN0001. Inconsistent peer vlan.00:52:11: %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/2 on VLAN0300. Inconsistent local vlan.00:52:17: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (300), with SW-B FastEthernet0/2 (1).00:52:33: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (300), with SW-B FastEthernet0/2 (1).00:53:07: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/2 on VLAN00

    01. Port consistency restored.00:53:07: %SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/2 on VLAN0300. Port consistency restored.

  • 8/7/2019 lab352

    5/8

  • 8/7/2019 lab352

    6/8

    switchport access vlan 300no ip address!interface FastEthernet0/12switchport access vlan 300no ip address!

    interface Vlan1no ip addressno ip route-cacheshutdown!

    SW-A#conf tEnter configuration commands, one per line. End with CNTL/Z.SW-A(config)#int fa0/2SW-A(config-if)#no switchport access vlan 300SW-A(config-if)#shitchSW-A(config-if)#shitch mode trunk

    ^% Invalid input detected at '^' marker.

    SW-A(config-if)#switch mode trunkSW-A(config-if)#exitSW-A(config)#exitSW-A#sh ru00:56:37: %SYS-5-CONFIG_I: Configured from console by consolenSW-A#sh runBuilding configuration...

    Current configuration : 1189 bytes!

    version 12.1no service single-slot-reload-enableno service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname SW-A!!ip subnet-zerono ip domain-lookup!spanning-tree extend system-id!!interface FastEthernet0/1no ip address!interface FastEthernet0/2switchport trunk native vlan 300switchport mode trunkno ip address!interface FastEthernet0/3

    no ip address!interface FastEthernet0/4

  • 8/7/2019 lab352

    7/8

    no ip address!interface FastEthernet0/5no ip address!interface FastEthernet0/6no ip address

    !interface FastEthernet0/7switchport access vlan 100no ip address!interface FastEthernet0/8switchport access vlan 100no ip address!interface FastEthernet0/9switchport access vlan 200no ip address

    !interface FastEthernet0/10switchport access vlan 200no ip address!interface FastEthernet0/11switchport access vlan 300no ip address!interface FastEthernet0/12switchport access vlan 300no ip address!

    interface Vlan1no ip addressno ip route-cacheshutdown!interface Vlan300ip address 199.6.13.193 255.255.255.224no ip route-cache!ip http server!!line con 0line vty 5 15!end

    SW-A#ping 199.6.13.194

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

    Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 199.6.13.194, timeout is 2 seconds:.!!!!

  • 8/7/2019 lab352

    8/8

    Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 msSW-A#