Friday, April 17, 2015

Cisco 3650 PVLAN, Static VLANs, VLAN Trunking, VTP Domains and Modes

I was troubleshooting a Cisco 3650 Catalyst switch, which is their "new" line of stackable access switch, and I can't seem to get Private VLAN (PVLAN) to work. Cisco's data sheets were contradicting as to whether PVLAN is supported or not on this switch platform. I just couldn't believe this switch won't support this feature since its cousin switch like the 3750 and 3650 were using it. As I searched further, I found out that PVLAN is supported on IOS XE 3.7E but the IOS file was a bit large (around 300 MB).



It took me roughtly 40 minutes to TFTP the said IOS file on one switch. So I decided to try to configure the switch to use FTP instead. It took me around 3 mintues to upgrade the image.


3650(config)#ip ftp ?
  passive           Connect using passive mode
  password          Specify password for FTP connections
  source-interface  Specify interface for source address in FTP connections
  username          Specify username for FTP connections
3650(config)#ip ftp username ftp       // USE SAME USER/PASSWORD IN FTP CLIENT
3650(config)#ip ftp password cisco123
3650(config)#end
3650#copy
  /erase          Erase destination file system.
  /error          Allow to copy error file.
  /noverify       Don't verify image signature before reload.
  /verify         Verify image signature before reload.
  cns:            Copy from cns: file system
  crashinfo:      Copy from crashinfo: file system
  flash:          Copy from flash: file system
  ftp:            Copy from ftp: file system
  http:           Copy from http: file system
  https:          Copy from https: file system
  logging         Copy logging messages
  memory          Memory debug information
  null:           Copy from null: file system
  nvram:          Copy from nvram: file system
  onboard         no description
  processes       Active process statistics
  rcp:            Copy from rcp: file system
  running-config  Copy from current system configuration
  scp:            Copy from scp: file system
  startup-config  Copy from startup configuration
  stby-nvram:     Copy from stby-nvram: file system
  stby-rcsf:      Copy from stby-rcsf: file system
3650#copy ftp://172.27.197.1/cat3k_caa-universalk9. SPA.03.07.00.E.152-3.E.bin flash
Destination filename [cat3k_caa-universalk9.SPA.03.07.00.E.152-3.E.bin]?
Accessing ftp://172.27.197.1/cat3k_caa-universalk9.SPA.03.07.00.E.152-3.E.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

<OUTPUT TRUNCATED>

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 310347344/4096 bytes]

310347344 bytes copied in 276.400 secs (1122820 bytes/sec)


Create the same username and password on the FTP client that is configured on the switch and point the folder directory where the IOS image was saved. I've used a free FTP client, which is 3CDaemon.




This was my first SWITCH lab that I did during my CCDP studies. The topology is a square looped design, which is very similar to the triangle loop design but there's a difference where STP blocking occurs.



DLS1(config)#interface vlan1
DLS1(config-if)#ip address 10.1.1.101 255.255.255.0
DLS1(config-if)#no shutdown
DLS1(config-if)#
*Mar  1 00:17:25.530: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
*Mar  1 00:17:26.537: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
DLS1(config-if)#exit
DLS1(config)#enable secret cisco
DLS1(config)#line vty 0 15
DLS1(config-line)#password cisco
DLS1(config-line)#login


ALS1(config)#interface vlan 1
ALS1(config-if)#ip address 10.1.1.103 255.255.255.0
ALS1(config-if)#exit
ALS1(config)#enable secret cisco
ALS1(config)#line vty 0 15
ALS1(config-line)#password cisco
ALS1(config-line)#login


ALS2(config)#interface vlan 1
ALS2(config-if)#ip address 10.1.1.104 255.255.255.0
ALS2(config-if)#no shutdown
ALS2(config-if)#enable secret cisco
ALS2(config)#line vty 0 15
ALS2(config-line)#password cisco
ALS2(config-line)#login


DLS2(config)#interface vlan 1
DLS2(config-if)#ip address 10.1.1.102 255.255.255.0
DLS2(config-if)#no shutdown
DLS2(config-if)#exit
DLS2(config)#enable secret cisco
DLS2(config)#line vty 0 4
DLS2(config-line)#password cisco
DLS2(config-line)#login


DLS1#show vlan    // ALL PORTS ON VLAN 1 BY DEFAULT; TRUNK PORT NOT DISPLAYED

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
                                                Gi0/1, Gi0/2
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0

Remote SPAN VLANs
------------------------------------------------------------------------------


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


ALS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Gi0/1
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0

Remote SPAN VLANs
------------------------------------------------------------------------------


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


DLS1#show vtp status
VTP Version                     : running VTP1 (VTP2 capable)   // DEFAULT VTP VERSION 1; ALL SWITCHES IN THE VTP DOMAIN MUST USE SAME VERSION
Configuration Revision          : 0    // NO CONFIGURED VLANs YET
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 5   // DEFAULT OR BUILT IN VLANS; 3560 SUPPORTS UP TO 1005 MAX VLANs; 2960 SUPPORTS 255 MAX VLANs
VTP Operating Mode              : Server     // DEFAULT VTP MODE
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 10.1.1.101 on interface Vl1 (lowest numbered VLAN interface found)


DLS1(config)#vtp domain SWLAB
Changing VTP domain name from NULL to SWLAB
*Mar  1 00:30:49.209: %SW_VLAN-6-VTP_DOMAIN_NAME_CHG: VTP domain name changed to SWLAB.
DLS1(config)#vtp version ?
  <1-2>  Set the adminstrative domain VTP version number

DLS1(config)#vtp version 2
DLS1(config)#vtp mode ?
  client       Set the device to client mode.
  server       Set the device to server mode.
  transparent  Set the device to transparent mode.

DLS1(config)#vtp mode server
Device mode already VTP SERVER.    // DEFAULT VTP MODE


ALS1(config)#vtp mode client
Setting device to VTP CLIENT mode.

ALS1#show vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 5
VTP Operating Mode              : Client  
VTP Domain Name                 :          // NULL; NO TRUNKS CONFIGURED YET
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)   // NO IP ADDRESS LISTED FOR LAST CONFIG MODIFICATION

ALS1#show interface fastethernet0/7 ?
  accounting      Show interface accounting
  capabilities    Show interface capabilities information
  controller      Show interface status, configuration and controller status
  counters        Show interface counters
  crb             Show interface routing/bridging info
  dampening       Show interface dampening info
  debounce        Show interface debounce time info
  description     Show interface description
  etherchannel    Show interface etherchannel information
  fair-queue      Show interface Weighted Fair Queueing (WFQ) info
  flowcontrol     Show interface flowcontrol information
  irb             Show interface routing/bridging info
  mac-accounting  Show interface MAC accounting info
  mpls-exp        Show interface MPLS experimental accounting info
  mtu             Show interface mtu
  precedence      Show interface precedence accounting info
  private-vlan    Show interface private vlan information
  pruning         Show interface trunk VTP pruning information
  random-detect   Show interface Weighted Random Early Detection (WRED) info
  rate-limit      Show interface rate-limit info
  stats           Show interface packets & octets, in & out, by switching path
  status          Show interface line status
  summary         Show interface summary
  switchport      Show interface switchport information
  transceiver     Show interface transceiver
  trunk           Show interface trunk information
  vlan            Show interface vlan information
  |               Output modifiers
  <cr>

ALS1#show interface fastethernet0/7 switchport
Name: Fa0/7
Switchport: Enabled
Administrative Mode: dynamic auto   // DEFAULT; AUTO-AUTO NEGOTIATES TO ACCESS MODE
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)   
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL 
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none


DLS1(config)#interface range fastethernet0/7-10
DLS1(config-if-range)#switchport trunk encapsulation ?
  dot1q      Interface uses only 802.1q trunking encapsulation when trunking
  isl        Interface uses only ISL trunking encapsulation when trunking
  negotiate  Device will negotiate trunking encapsulation with peer on
             interface

DLS1(config-if-range)#switchport trunk encapsulation dot1q    // 3560 SUPPORTS ISL AND 802.1Q; 2960

SUPPORTS 802.1Q ONLY
DLS1(config-if-range)#switchport mode ?
  access        Set trunking mode to ACCESS unconditionally
  dot1q-tunnel  set trunking mode to TUNNEL unconditionally
  dynamic       Set trunking mode to dynamically negotiate access or trunk mode
  private-vlan  Set private-vlan mode
  trunk         Set trunking mode to TRUNK unconditionally

DLS1(config-if-range)#switchport mode trunk    // BEST TO DISABLE DTP USING switchport nonegotiate
DLS1(config-if-range)#
*Mar  1 00:39:21.795: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down
*Mar  1 00:39:21.804: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
*Mar  1 00:39:21.804: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state to down
*Mar  1 00:39:21.812: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state

to down
DLS1(config-if-range)#
*Mar  1 00:39:24.807: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to up
*Mar  1 00:39:24.824: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
*Mar  1 00:39:24.840: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state to up
*Mar  1 00:39:24.857: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up

DLS1(config)#interface range fastethernet0/11-12
DLS1(config-if-range)#switchport trunk encapsulation isl
DLS1(config-if-range)#switchport mode trunk
DLS1(config-if-range)#
*Mar  1 00:41:07.928: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to down
*Mar  1 00:41:07.936: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to down
DLS1(config-if-range)#
*Mar  1 00:41:10.939: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up
*Mar  1 00:41:10.956: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to up


ALS1(config)#interface range fastethernet0/1-2
ALS1(config-if-range)#switchport trunk encapsulation dot1q
ALS1(config-if-range)#switchport mode trunk
ALS1(config-if-range)#
00:45:54: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
00:45:54: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
ALS1(config-if-range)#
00:45:57: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
00:45:57: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

ALS1(config-if-range)#interface range fastethernet0/4-5
ALS1(config-if-range)#switchport trunk encapsulation dot1q
ALS1(config-if-range)#switchport mode trunk
ALS1(config-if-range)#
00:46:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
00:46:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
ALS1(config-if-range)#
00:46:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
00:46:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up

ALS1(config-if-range)#interface range fastethernet0/7-8
ALS1(config-if-range)#switchport trunk encapsulation dot1q
ALS1(config-if-range)#switchport mode trunk


DLS2(config)#interface range fastethernet0/7-8
DLS2(config-if-range)#switchport trunk encapsulation dot1q
DLS2(config-if-range)#switchport mode trunk
DLS2(config-if-range)#
*Mar  1 00:47:24.098: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down
*Mar  1 00:47:24.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
DLS2(config-if-range)#
*Mar  1 00:47:27.110: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to up
*Mar  1 00:47:27.127: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up


ALS2#show interface fastethernet0/7 switchport
Name: Fa0/7
Switchport: Enabled
Administrative Mode: dynamic auto  
Operational Mode: trunk     // NEGOTIATED WITH DLS2 MODE TRUNK
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)  
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL  
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none


DLS1#show interfaces trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/7       on               802.1q         trunking      1
Fa0/8       on               802.1q         trunking      1
Fa0/9       on               802.1q         trunking      1
Fa0/10      on               802.1q         trunking      1
Fa0/11      on               isl            trunking      1
Fa0/12      on               isl            trunking      1

Port        Vlans allowed on trunk
Fa0/7       1-4094     // ALLOW ALL VLANs BY DEFAULT; RESTRICT VLANs USING switchport trunk allowed vlan <VLAN-ID> COMMAND AT EACH END OF THE TRUNK
Fa0/8       1-4094
Fa0/9       1-4094
Fa0/10      1-4094
Fa0/11      1-4094
Fa0/12      1-4094

Port        Vlans allowed and active in management domain
Fa0/7       1
Fa0/8       1
Fa0/9       1
Fa0/10      1
Fa0/11      1

Port        Vlans allowed and active in management domain
Fa0/12      1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/7       1
Fa0/8       1
Fa0/9       1
Fa0/10      1
Fa0/11      1
Fa0/12      1


DLS2#show interfaces trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/7       on               802.1q         trunking      1
Fa0/8       on               802.1q         trunking      1
Fa0/9       auto             n-802.1q       trunking      1   // n MEANS NEGOTIATED
Fa0/10      auto             n-802.1q       trunking      1  
Fa0/11      auto             n-isl          trunking      1 
Fa0/12      auto             n-isl          trunking      1 

Port        Vlans allowed on trunk
Fa0/7       1-4094
Fa0/8       1-4094
Fa0/9       1-4094
Fa0/10      1-4094
Fa0/11      1-4094
Fa0/12      1-4094

Port        Vlans allowed and active in management domain
Fa0/7       1
Fa0/8       1
Fa0/9       1
Fa0/10      1
Fa0/11      1

Port        Vlans allowed and active in management domain
Fa0/12      1

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/7       1
Fa0/8       1
Fa0/9       1
Fa0/10      1
Fa0/11      1
Fa0/12      none


DLS1(config)#interface fastethernet0/6
DLS1(config-if)#switchport mode ?
  access        Set trunking mode to ACCESS unconditionally
  dot1q-tunnel  set trunking mode to TUNNEL unconditionally
  dynamic       Set trunking mode to dynamically negotiate access or trunk mode
  private-vlan  Set private-vlan mode
  trunk         Set trunking mode to TRUNK unconditionally

DLS1(config-if)#switchport mode access   // USED FOR STATIC ACCESS FOR HOST OR PC

DLS1#show interfaces fastethernet0/6 switchport
Name: Fa0/6
Switchport: Enabled
Administrative Mode: static access  
Operational Mode: down
Administrative Trunking Encapsulation: negotiate
Negotiation of Trunking: Off  
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none


ALS1#show vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 5  
VTP Operating Mode              : Client  
VTP Domain Name                 : SWLAB     // PROPAGATED DUE TO TRUNKS CONFIGURED
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xD1 0xC0 0x36 0xF9 0xC4 0x3E 0x73 0xA0
Configuration last modified by 10.1.1.101 at 3-1-93 00:30:59


ALS2(config)#vtp mode client
Setting device to VTP CLIENT mode.

ALS2#show vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 5  
VTP Operating Mode              : Client 
VTP Domain Name                 : SWLAB  
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Enabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xD1 0xC0 0x36 0xF9 0xC4 0x3E 0x73 0xA0
Configuration last modified by 10.1.1.101 at 3-1-93 00:30:59


DLS1#vlan database ?  
% Unrecognized command    // SYNTAX HELP UNAVAILABLE
DLS1#vlan database   // vlan database COMMAND IS BEING DEPRACATED BUT STILL AVAILABLE
% 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.

DLS1(vlan)#exit
APPLY completed.
Exiting....


DLS1(config)#interface fastethernet0/6
DLS1(config-if)#switchport mode access
DLS1(config-if)#switchport access vlan ?
  <1-4094>  VLAN ID of the VLAN when this port is in access mode
  dynamic   When in access mode, this interfaces VLAN is controlled by VMPS

DLS1(config-if)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100


DLS2(config)#interface fastethernet0/6
DLS2(config-if)#switchport mode access
DLS2(config-if)#switchport access vlan 110
% Access VLAN does not exist. Creating vlan 110


DLS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/13, Fa0/14, Fa0/15
                                                Fa0/16, Fa0/17, Fa0/18, Fa0/19
                                                Fa0/20, Fa0/21, Fa0/22, Fa0/23
                                                Fa0/24, Gi0/1, Gi0/2
100  VLAN0100                         active    Fa0/6  
110  VLAN0110                         active    // VLANs 100 AND 110 WERE CREATED; SWITCH AUTO ASSIGN

VLAN NAME WITH VLAN NUMBER
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
110  enet  100110     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 trcrf 101003     4472  1005   3276   -        -    srb      0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1005 trbrf 101005     4472  -      -      15       ibm  -        0      0


VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7       7       off

Remote SPAN VLANs
------------------------------------------------------------------------------


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



DLS1(config)#vlan 120    // ANOTHER WAY TO CREATE A VLAN
DLS1(config-vlan)#end
DLS1#
*Mar  1 01:38:24.120: %SYS-5-CONFIG_I: Configured from console by console
DLS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/13, Fa0/14, Fa0/15
                                                Fa0/16, Fa0/17, Fa0/18, Fa0/19
                                                Fa0/20, Fa0/21, Fa0/22, Fa0/23
                                                Fa0/24, Gi0/1, Gi0/2
100  VLAN0100                         active    Fa0/6
110  VLAN0110                         active
120  VLAN0120                         active
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
110  enet  100110     1500  -      -      -        -    -        0      0
120  enet  100120     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1003 trcrf 101003     4472  1005   3276   -        -    srb      0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trbrf 101005     4472  -      -      15       ibm  -        0      0


VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7       7       off

Remote SPAN VLANs
------------------------------------------------------------------------------


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


ALS1(config)#interface fastethernet0/6
ALS1(config-if)#switchport mode access
ALS1(config-if)#switchport access vlan 120   // SWITCH IN VTP CLIENT CAN'T CREATE VLANs
ALS1(config-if)#end
ALS1#
01:40:50: %SYS-5-CONFIG_I: Configured from console by console
ALS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Gi0/1
100  VLAN0100                         active
110  VLAN0110                         active
120  VLAN0120                         active    Fa0/6  
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
110  enet  100110     1500  -      -      -        -    -        0      0
120  enet  100120     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 trcrf 101003     4472  1005   3276   -        -    srb      0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trbrf 101005     4472  -      -      15       ibm  -        0      0


VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7       7       off

Remote SPAN VLANs
------------------------------------------------------------------------------


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


DLS1(config)#vlan 100
DLS1(config-vlan)#name SERVER-FARM-1   // HELPS THE ADMIN TO IDENTIFY VLAN FUNCTIONALITY
DLS1(config-vlan)#vlan 110
DLS1(config-vlan)#name SERVER-FARM-2
DLS1(config-vlan)#vlan 120
DLS1(config-vlan)#name NET-ENG
DLS1(config-vlan)#end
DLS1#
*Mar  1 01:41:34.264: %SYS-5-CONFIG_I: Configured from console by console
DLS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/13, Fa0/14, Fa0/15
                                                Fa0/16, Fa0/17, Fa0/18, Fa0/19
                                                Fa0/20, Fa0/21, Fa0/22, Fa0/23
                                                Fa0/24, Gi0/1, Gi0/2
100  SERVER-FARM-1                    active    Fa0/6
110  SERVER-FARM-2                    active
120  NET-ENG                          active
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
110  enet  100110     1500  -      -      -        -    -        0      0
120  enet  100120     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1003 trcrf 101003     4472  1005   3276   -        -    srb      0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trbrf 101005     4472  -      -      15       ibm  -        0      0


VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7       7       off

Remote SPAN VLANs
------------------------------------------------------------------------------


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


ALS1#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Gi0/1
100  SERVER-FARM-1                    active
110  SERVER-FARM-2                    active
120  NET-ENG                          active    Fa0/6
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
100  enet  100100     1500  -      -      -        -    -        0      0
110  enet  100110     1500  -      -      -        -    -        0      0
120  enet  100120     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 trcrf 101003     4472  1005   3276   -        -    srb      0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trbrf 101005     4472  -      -      15       ibm  -        0      0


VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7       7       off

Remote SPAN VLANs
------------------------------------------------------------------------------


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


ALS1(config)#vlan 120
%VTP VLAN configuration not allowed when device is in CLIENT mode.  
ALS1(config)#vtp mode server
Setting device to VTP SERVER mode
ALS1(config)#vlan 120
ALS1(config-vlan)#?
VLAN configuration commands:
  are           Maximum number of All Route Explorer hops for this VLAN (or
                zero if none specified)
  backupcrf     Backup CRF mode of the VLAN
  bridge        Bridging characteristics of the VLAN
  exit          Apply changes, bump revision number, and exit mode
  media         Media type of the VLAN
  mtu           VLAN Maximum Transmission Unit
  name          Ascii name of the VLAN
  no            Negate a command or set its defaults
  parent        ID number of the Parent VLAN of FDDI or Token Ring type VLANs
  private-vlan  Configure a private VLAN
  remote-span   Configure as Remote SPAN VLAN
  ring          Ring number of FDDI or Token Ring type VLANs
  said          IEEE 802.10 SAID
  shutdown      Shutdown VLAN switching
  state         Operational state of the VLAN
  ste           Maximum number of Spanning Tree Explorer hops for this VLAN (or
                zero if none specified)
  stp           Spanning tree characteristics of the VLAN
  tb-vlan1      ID number of the first translational VLAN for this VLAN (or
                zero if none)
  tb-vlan2      ID number of the second translational VLAN for this VLAN (or
                zero if none)

ALS1(config-vlan)#shutdown   // CAUSE ALL LOCAL PORTS ON A SWITCH IN A PARTICULAR VLAN TO STOP SENDING DATA; DOESN'T INFLUENCE THE STATE OF OTHER SWITCHES IN THE VTP DOMAIN
ALS1(config-vlan)#end
ALS1#
01:45:54: %SYS-5-CONFIG_I: Configured from console by console
ALS1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Gi0/1
100  SERVER-FARM-1                    active
110  SERVER-FARM-2                    active
120  NET-ENG                          act/lshut Fa0/6   
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

ALS1(config)#vlan 120
ALS1(config-vlan)#state ?
  active   VLAN Active State
  suspend  VLAN Suspended State
ALS1(config-vlan)#no shutdown
ALS1(config-vlan)#state suspend    // CAUSES ALL PORTS IN SPECIFIC VLAN IN THE VTP DOMAIN TO STOP SENDING DATA

ALS1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Gi0/1
100  SERVER-FARM-1                    active
110  SERVER-FARM-2                    active
120  NET-ENG                          suspended Fa0/6  
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup

Friday, April 10, 2015

Configuring 6to4 Tunnels

This was the last ROUTE lab I did for IPv6, which is about 6to4 Tunneling. It's been fun and extremely challenging doing the ROUTE labs, which has been a valuable complement to my CCDP studies.


R1(config)#interface loopback0
R1(config-if)#
*Jan 10 09:17:39.299: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#ipv6 address FEC0::1:1/112
R1(config-if)#interface s0/0/0
R1(config-if)#ip address 172.16.12.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#bandwidth 64
R1(config-if)#no shutdown
R1(config-if)#
*Jan 10 09:18:22.851: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down


R2(config)#interface loopback0
R2(config-if)#
*Jan 10 08:00:41.891: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 10.1.2.1 255.255.255.0
R2(config-if)#interface s0/0/0
R2(config-if)#ip address 172.16.12.2 255.255.255.0
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown
R2(config-if)#
*Jan 10 08:01:20.703: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Jan 10 08:01:21.703: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#do ping 172.16.12.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/34/60 ms
R2(config-if)#interface s0/0/1
R2(config-if)#ip address 172.16.23.2 255.255.255.0
R2(config-if)#clockrate 64000
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown
R2(config-if)#
*Jan 10 08:01:59.139: %LINK-3-UPDOWN: Interface Serial0/0/1, changed state to up
*Jan 10 08:02:00.139: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up


R3(config)#interface loopback0
R3(config-if)#
*Jan 10 08:40:01.611: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#ip address 10.1.3.1 255.255.255.0
R3(config-if)#ipv6 address FEC0::3:1/112
R3(config-if)#interface s0/0/1
R3(config-if)#ip address 172.16.23.3 255.255.255.0
R3(config-if)#bandwidth 64
R3(config-if)#no shutdown
R3(config-if)#do ping 172.16.23.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms


R1(config)#router eigrp 1
R1(config-router)#no auto-summary
R1(config-router)#network 10.0.0.0
R1(config-router)#network 172.16.0.0


R2(config)#router eigrp 1
R2(config-router)#no auto-summary
R2(config-router)#network 10.0.0.0
R2(config-router)#network 172.16.0.0
*Jan 10 08:04:44.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.12.1 (Serial0/0/0) is up: new adjacency


R3(config)#router eigrp 1
R3(config-router)#
R3(config-router)#
R3(config-router)#network 10.0.0.0
R3(config-router)#network 172.16.0.0
*Jan 10 08:42:39.551: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.23.2 (Serial0/0/1) is up: new adjacency


R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   172.16.12.2             Se0/0/0           13 00:01:20   21  2280  0  9


R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
1   172.16.23.3             Se0/0/1           11 00:01:08   24  2280  0  3
0   172.16.12.1             Se0/0/0           10 00:01:38   20  2280  0  3


R3#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   172.16.23.2             Se0/0/1           13 00:00:19   27  2280  0  8


R1(config)#interface loopback11
R1(config-if)#
*Jan 10 09:26:03.823: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback11, changed state to up
R1(config-if)#ipv6 address 2002:AC10:0C01:11::1/64
R1(config-if)#interface loopback12
R1(config-if)#
*Jan 10 09:26:27.523: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback12, changed state to up
R1(config-if)#ipv6 address 2002:AC10:0C01:12::1/64
R1(config-if)#do show ipv6 interface brief
FastEthernet0/0            [administratively down/down]
    unassigned
FastEthernet0/1            [administratively down/down]
    unassigned
Serial0/0/0                [up/up]
    unassigned
Serial0/0/1                [administratively down/down]
    unassigned
Loopback0                  [up/up]
    FE80::20A:B8FF:FEF8:8392
    FEC0::1:1
Loopback11                 [up/up]
    FE80::20A:B8FF:FEF8:8392
    2002:AC10:C01:11::1
Loopback12                 [up/up]
    FE80::20A:B8FF:FEF8:8392
    2002:AC10:C01:12::1


R3(config)#interface loopback31
R3(config-if)#
*Jan 10 08:46:31.143: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback31, changed state to up
R3(config-if)#ipv6 address 2002:AC10:1703:31::1/64
R3(config-if)#interface loopback32
R3(config-if)#
*Jan 10 08:46:51.251: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback32, changed state to up
R3(config-if)#ipv6 address 2002:AC10:1703:32::1/64
R3(config-if)#do show ipv6 interface brief
FastEthernet0/0            [administratively down/down]
    unassigned
FastEthernet0/1            [administratively down/down]
    unassigned
Serial0/0/0                [administratively down/down]
    unassigned
Serial0/0/1                [up/up]
    unassigned
Loopback0                  [up/up]
    FE80::21B:D5FF:FE05:9B3A
    FEC0::3:1
Loopback31                 [up/up]
    FE80::21B:D5FF:FE05:9B3A
    2002:AC10:1703:31::1
Loopback32                 [up/up]
    FE80::21B:D5FF:FE05:9B3A
    2002:AC10:1703:32::1


R1(config)#interface tunnel0
R1(config-if)#
*Jan 10 09:29:59.443: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down
R1(config-if)#tunnel mode ?
  aurp    AURP TunnelTalk AppleTalk encapsulation
  cayman  Cayman TunnelTalk AppleTalk encapsulation
  dvmrp   DVMRP multicast tunnel
  eon     EON compatible CLNS tunnel
  gre     generic route encapsulation protocol
  ipip    IP over IP encapsulation
  ipsec   IPSec tunnel encapsulation
  iptalk  Apple IPTalk encapsulation
  ipv6    Generic packet tunneling in IPv6
  ipv6ip  IPv6 over IP encapsulation
  mpls    MPLS encapsulations
  nos     IP over IP encapsulation (KA9Q/NOS compatible)
  rbscp   RBSCP in IP tunnel

R1(config-if)#tunnel mode ipv6ip ?
  6to4         IPv6 automatic tunnelling using 6to4
  auto-tunnel  IPv6 automatic tunnelling using IPv4 compatible addresses
  isatap       IPv6 automatic tunnelling using ISATAP
  <cr>

R1(config-if)#tunnel mode ipv6ip 6to4  
R1(config-if)#
*Jan 10 09:31:01.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R1(config-if)#ipv6 address 2002:AC10:0C01:1::1/64    // 6to4 TUNNEL USES SPECIAL IPv6 ADDRESS 2002::/16; AC10:0C01 = 172 IS AC, 16 IS 10, 12 IS C AND 1 IS 1
R1(config-if)#tunnel source serial0/0/0   // NO NEED FOR TUNNEL DESTINATION BECAUSE IT'S NOT A POINT-TO-POINT LINK
R1(config-if)#exit
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 route ?
  X:X:X:X::X/<0-128>  IPv6 prefix
  vrf                 IPv6 Routing table

R1(config)#ipv6 route 2002::/16 ?
  Async               Async interface
  Auto-Template       Auto-Template interface
  BVI                 Bridge-Group Virtual Interface
  CDMA-Ix             CDMA Ix interface
  CTunnel             CTunnel interface
  Dialer              Dialer interface
  FastEthernet        FastEthernet IEEE 802.3
  Lex                 Lex interface
  Loopback            Loopback interface
  MFR                 Multilink Frame Relay bundle interface
  Multilink           Multilink-group interface
  Null                Null interface
  SSLVPN-VIF          SSLVPN Virtual Interface
  Serial              Serial
  Tunnel              Tunnel interface
  Vif                 PGM Multicast Host interface
  Virtual-Dot11Radio  Virtual dot11 interface
  Virtual-PPP         Virtual PPP interface
  Virtual-Template    Virtual Template interface
  Virtual-TokenRing   Virtual TokenRing
  X:X:X:X::X          IPv6 address of next-hop
  vmi                 Virtual Multipoint Interface

R1(config)#ipv6 route 2002::/16 tunnel0


R3(config)#interface tunnel0
R3(config-if)#
*Jan 10 08:55:33.739: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down
R3(config-if)#tunnel mode ipv6ip 6to4
R3(config-if)#ipv6 address 2002:AC10:1703:1::3/64
R3(config-if)#tunnel source s0/0/1
R3(config-if)#
*Jan 10 08:56:04.775: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R3(config-if)#exit
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 route 2002::/16 tunnel0


R3#ping 2002:AC10:1703:1::3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:1::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

R3#ping 2002:AC10:1703:31::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:31::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

R3#ping 2002:AC10:1703:32::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:32::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms


R3#ping 2002:AC10:0C01:11::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:C01:11::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms

R3#ping 2002:AC10:0C01:12::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:C01:12::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms


R1(config)#ipv6 route FEC0::3:0/112 2002:AC10:1703:1::3


R3(config)#ipv6 route FEC0::1:0/112 2002:AC10:C01:1::1


R1#show ipv6 route
IPv6 Routing Table - Default - 11 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S   2002::/16 [1/0]
     via Tunnel0, directly connected  
C   2002:AC10:C01:1::/64 [0/0]
     via Tunnel0, directly connected
L   2002:AC10:C01:1::1/128 [0/0]
     via Tunnel0, receive
C   2002:AC10:C01:11::/64 [0/0]
     via Loopback11, directly connected
L   2002:AC10:C01:11::1/128 [0/0]
     via Loopback11, receive
C   2002:AC10:C01:12::/64 [0/0]
     via Loopback12, directly connected
L   2002:AC10:C01:12::1/128 [0/0]
     via Loopback12, receive
C   FEC0::1:0/112 [0/0]
     via Loopback0, directly connected
L   FEC0::1:1/128 [0/0]
     via Loopback0, receive
S   FEC0::3:0/112 [1/0]
     via 2002:AC10:1703:1::3  
L   FF00::/8 [0/0]
     via Null0, receive


R3#show ipv6 route
IPv6 Routing Table - Default - 11 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S   2002::/16 [1/0]
     via Tunnel0, directly connected    
C   2002:AC10:1703:1::/64 [0/0]
     via Tunnel0, directly connected
L   2002:AC10:1703:1::3/128 [0/0]
     via Tunnel0, receive
C   2002:AC10:1703:31::/64 [0/0]
     via Loopback31, directly connected
L   2002:AC10:1703:31::1/128 [0/0]
     via Loopback31, receive
C   2002:AC10:1703:32::/64 [0/0]
     via Loopback32, directly connected
L   2002:AC10:1703:32::1/128 [0/0]
     via Loopback32, receive
S   FEC0::1:0/112 [1/0]
     via 2002:AC10:C01:1::1   
C   FEC0::3:0/112 [0/0]
     via Loopback0, directly connected
L   FEC0::3:1/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive


R1#ping FEC0::3:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms


R3#ping FEC0::1:1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/65/68 ms


R1#tclsh
R1(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.1.2.1
+>(tcl)#10.1.3.1
+>(tcl)#172.16.12.1
+>(tcl)#172.16.12.2
+>(tcl)#172.16.23.2
+>(tcl)#172.16.23.3
+>(tcl)#FEC0::1:1
+>(tcl)#FEC0::3:1 2002:AC10:C01:1::1
+>(tcl)#2002:AC10:1703:1::3
+>(tcl)#2002:AC10:1703:31::1
+>(tcl)#2002:AC10:1703:32::1
+>(tcl)#2002:AC10:0C01:11::1
+>(tcl)#2002:AC10:0C01:12::1
+>(tcl)#} {
+>(tcl)#ping $address }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:C01:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:1::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:31::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:1703:32::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:C01:11::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:AC10:C01:12::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

Thursday, April 2, 2015

Using Manual IPv6 Tunnels with EIGRP for IPv6

I went to Perth Western Australia a month ago to install some Cisco gears and groomed the cabling in our data center. It was very hot when I was there (around 35 degrees Celsius) and I miss the cool weather during winter season. I always look for their Australian beef steak whenever I get the chance to visit this place. Even their McDonald's beef hamburger over there is very tasty.



This is another IPv6 lab that I did when studying for CCDP.


R1(config)#interface loopback0
R1(config-if)#
*Jan 10 00:28:25.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#ipv6 address FEC0::1:1/112
R1(config-if)#interface s0/0/0
R1(config-if)#ip address 172.16.12.1 255.255.255.0
R1(config-if)#clockrate 64000
R1(config-if)#bandwidth 64
R1(config-if)#no shutdown
R1(config-if)#
*Jan 10 00:29:09.659: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down


R2(config)#interface loopback0
R2(config-if)#
*Jan  9 23:11:21.983: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 10.1.2.1 255.255.255.0
R2(config-if)#interface s0/0/0
R2(config-if)#ip address 172.16.12.2 255.255.255.0
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown
R2(config-if)#
*Jan  9 23:11:50.107: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Jan  9 23:11:51.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#do ping 172.16.12.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2(config-if)#interface s0/0/1
R2(config-if)#ip address 172.16.23.2 255.255.255.0
R2(config-if)#clockrate 64000
R2(config-if)#bandwidth 64
R2(config-if)#no shutdown
R2(config-if)#
*Jan  9 23:12:24.871: %LINK-3-UPDOWN: Interface Serial0/0/1, changed state to up
*Jan  9 23:12:25.871: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up


R3(config)#interface loopback0
R3(config-if)#
*Jan  9 23:50:21.363: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#ip address 10.1.3.1 255.255.255.0
R3(config-if)#ipv6 address FEC0::3:1/112
R3(config-if)#interface s0/0/1
R3(config-if)#ip address 172.16.23.3 255.255.255.0
R3(config-if)#bandwidth 64
R3(config-if)#no shutdown
R3(config-if)#do ping 172.16.23.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms


R1(config)#router eigrp 1
R1(config-router)#no auto-summary
R1(config-router)#network 10.0.0.0
R1(config-router)#network 172.16.0.0


R2(config)#router eigrp 1
R2(config-router)#no auto-summary
R2(config-router)#network 10.0.0.0
R2(config-router)#network 172.16.0.0
R2(config-router)#
*Jan  9 23:15:42.875: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.12.1 (Serial0/0/0) is up: new adjacency


R3(config)#router eigrp 1
R3(config-router)#no auto-summary
R3(config-router)#network 10.0.0.0
R3(config-router)#network 172.16.0.0
R3(config-router)#
*Jan  9 23:53:35.843: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.23.2 (Serial0/0/1) is up: new adjacency


R1(config)#interface tunnel0  
R1(config-if)#
*Jan 10 00:35:16.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down
R1(config-if)#tunnel mode ?
  aurp    AURP TunnelTalk AppleTalk encapsulation
  cayman  Cayman TunnelTalk AppleTalk encapsulation
  dvmrp   DVMRP multicast tunnel
  eon     EON compatible CLNS tunnel
  gre     generic route encapsulation protocol
  ipip    IP over IP encapsulation
  ipsec   IPSec tunnel encapsulation
  iptalk  Apple IPTalk encapsulation
  ipv6    Generic packet tunneling in IPv6
  ipv6ip  IPv6 over IP encapsulation
  mpls    MPLS encapsulations
  nos     IP over IP encapsulation (KA9Q/NOS compatible)
  rbscp   RBSCP in IP tunnel

R1(config-if)#tunnel mode ipv6ip
R1(config-if)#tunnel source s0/0/0
R1(config-if)#tunnel destination 172.16.23.3
R1(config-if)#
*Jan 10 00:36:02.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R1(config-if)#ipv6 address FEC0::13:1/112


R3(config)#interface tunnel0   // TUNNEL NUMBER IS LOCALLY SIGNIFICANT
R3(config-if)#
*Jan  9 23:56:12.939: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to down
R3(config-if)#tunnel mode ipv6ip
R3(config-if)#tunnel source s0/0/1
R3(config-if)#tunnel destination 172.16.12.1
R3(config-if)#
*Jan  9 23:56:53.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R3(config-if)#ipv6 address FEC0::13:3/112   // TUNNEL DOESN'T REQUIRE GLOBAL UNICAST ADDRESSCAN; USE ipv6 enable COMMAND INSTEAD OF UNICAST IPv6 ADDRESS

R3#ping 172.16.12.1   // R1 WAN IP

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
R3#ping FEC0::13:1   // R1 TUNNEL0 IP

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms


R1#ping 172.16.23.3   // R3 WAN IP

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
R1#ping FEC0::13:3    // R3 TUNNEL0 IP

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms


R1(config)#ipv6 unicast-routing   // ENABLE IPv6 ROUTING
R1(config)#interface loopback0
R1(config-if)#ipv6 eigrp 100    // ENABLE EIGRP FOR IPv6 ON INTERFACE LEVEL LIKE IN OSPF
R1(config-if)#interface tunnel0
R1(config-if)#ipv6 eigrp 100


R3(config)#ipv6 unicast-routing
R3(config)#interface loopback0
R3(config-if)#ipv6 eigrp 100
R3(config-if)#interface tunnel0
R3(config-if)#ipv6 eigrp 100


R1#show ipv6 eigrp neighbors
IPv6-EIGRP neighbors for process 100
% EIGRP 100 is in SHUTDOWN   // IPv6 EIGRP ROUTING IS SHUTDOWN BY DEFAULT

R1(config)#ipv6 ?
  access-list        Configure access lists
  cef                Cisco Express Forwarding for IPv6
  cga                Configure IPv6 certified generated address
  dhcp               Configure IPv6 DHCP
  general-prefix     Configure a general IPv6 prefix
  hop-limit          Configure hop count limit
  host               Configure static hostnames
  icmp               Configure ICMP parameters
  inspect            Context-based Access Control Engine
  local              Specify local options
  mfib               Multicast Forwarding
  mld                Global mld commands
  mobile             Mobile IPv6
  multicast          IPv6 multicast
  multicast-routing  Enable IPv6 multicast
  nat                NAT-PT Configuration commands
  nd                 Configure IPv6 ND
  neighbor           Neighbor
  ospf               OSPF
  pim                Configure Protocol Independent Multicast
  port-map           Port to application mapping (PAM) configuration commands
  prefix-list        Build a prefix list
  route              Configure static routes
  router             Enable an IPV6 routing process
  source-route       Process packets with source routing header options
  unicast-routing    Enable unicast routing

R1(config)#ipv6 router ?
  eigrp  Enhanced Interior Gateway Routing Protocol (EIGRP)
  nemo   Network Mobility (NEMO)
  ospf   Open Shortest Path First (OSPF)
  rip    IPv6 Routing Information Protocol (RIPv6)

R1(config)#ipv6 router eigrp ?
  <1-65535>  Autonomous system number

R1(config)#ipv6 router eigrp 100
R1(config-rtr)#?
  default              Set a command to its defaults
  default-information  Distribution of default information
  default-metric       Set metric of redistributed routes
  distance             Administrative distance
  distribute-list      Filter networks in routing updates
  eigrp                EIGRP specific commands
  exit                 Exit from IPv6 routing protocol configuration mode
  maximum-paths        Forward packets over multiple paths
  metric               Modify EIGRP routing metrics and parameters
  no                   Negate a command or set its defaults
  passive-interface    Suppress routing updates on an interface
  redistribute         Redistribute IPv6 prefixes from another routing protocol
  shutdown             Shutdown protocol
  timers               Adjust routing timers
  variance             Control load balancing variance

R1(config-rtr)#no ?
  default-information  Distribution of default information
  default-metric       Set metric of redistributed routes
  distance             Administrative distance
  distribute-list      Filter networks in routing updates
  eigrp                EIGRP specific commands
  maximum-paths        Forward packets over multiple paths
  metric               Modify EIGRP routing metrics and parameters
  passive-interface    Suppress routing updates on an interface
  redistribute         Redistribute IPv6 prefixes from another routing protocol
  shutdown             Shutdown protocol
  timers               Adjust routing timers
  variance             Control load balancing variance

R1(config-rtr)#no shutdown


R3(config)#ipv6 router eigrp 100
R3(config-rtr)#no shutdown
R3(config-rtr)#
*Jan 10 00:05:02.219: %DUAL-5-NBRCHANGE: IPv6-EIGRP(0) 100: Neighbor FE80::AC10:C01 (Tunnel0) is up: new adjacency

R3#show ipv6 eigrp neighbors
IPv6-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   Link-local address:     Tu0               11 00:00:21 1310  5000  0  3
    FE80::AC10:C01


R1#show ipv6 eigrp neighbors
IPv6-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   Link-local address:     Tu0               12 00:00:49  104  5000  0  3
    FE80::AC10:1703


R1#ping FEC0::3:1    // R3 LOOPBACK0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/66/68 ms


R3#ping FEC0::1:1   // R1 LOOPBACK0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/65/68 ms


R1#tclsh
R1(tcl)#foreach address {
+>(tcl)#10.1.1.1
+>(tcl)#10.1.2.1
+>(tcl)#10.1.3.1
+>(tcl)#172.16.12.1
+>(tcl)#172.16.12.2
+>(tcl)#172.16.23.2
+>(tcl)#172.16.23.3
+>(tcl)#FEC0::1:1
+>(tcl)#FEC0::3:1
+>(tcl)#FEC0::13:1
+>(tcl)#FEC0::13:3
+>(tcl)#} {
+>(tcl)#ping $address }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/36 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/68/68 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/65/68 ms