Cisco Packet Tracer 8.x tutorials
What is Precision Time Protocol (PTP) ?
Precision Time Protocol (P2P) is a feature of Packet Tracer 8.2 available in IE2000 industrial switches.
This time synchronization protocol is defined in IEEE-1588 as Precision Clock Synchronization for Networked Measurements and Control Systems, and was developed to synchronize the clocks in networks devices that include distributed device clocks with various levels of precision and stability. Acurate time synchronization is vital for smart grid power automation applications such as virtual power generators and peak-hour billing, but also for network outage monitoring tools which require a high level of time accuracy and stability.
PTP configuration in Packet Tracer 8.2
Precision Time protocol can be simulated in Packet Tracer 8.2 using IE2000 switches. These switches features three PTP modes :
- boundary
- end-to-end transparent
- forward.
Switch(config)#ptp mode ?
boundary Boundary Clock mode
e2etransparent End-to-End Transparent Clock mode
forward Forward packets without processing
1.Configure PTP using the following commands
Switch(config)#ptp mode boundary
Switch(config)#interface fastEthernet 1/1
Switch(config-if)#ptp enable
2. Verify PTP global configuration using the show ptp clock command
Switch#show ptp clock
PTP CLOCK INFO
PTP Device Type: Boundary clock
PTP Device Profile: Default Profile
Clock Identity: 0x00:50:0F:FF:FE:0A:9D:00
Clock Domain: 0
Number of PTP ports: 10
Priority1: 128
Priority2: 128
Clock Quality:
Class: 248
Accuracy: Unknown
Offset (log variance): N/A
Offset From Master(ns): 0
Mean Path Delay(ns): 0
Steps Removed: 0
Local clock time: 01:51:07 UTC mars 30 2011
3. Verify the fastethernet 1.1 configuration using the show ptp port IOS command to make sure PTP clock is forwarded on the network interface.
Switch#show ptp port
PTP PORT DATASET: FastEthernet1/1
Port identity: clock identity: 0x00:50:0F:FF:FE:0A:9D:00
Port identity: port number: 1
PTP version: 2
Port state: MASTER
Delay request interval(log mean): 5
Announce receipt time out: 3
Announce interval(log mean): 1
Sync interval(log mean): 0
Delay Mechanism: End to End
Peer delay request interval(log mean): 0
Sync fault limit: 500000000
BGP in Packet Tracer
BGP (Border Gateway Protocol) is the core routing protocol of the Internet. It is described as a path vector protocol as BGP does not use traditional IGP (OSPF, EIGRP, RIP) metrics, but makes routing decisions based on path, network policies and/or rulesets. It maintains a table of IP networks or 'prefixes' which designate network reachability among autonomous systems (AS).
BGP protocol support has been added in Packet Tracer in the 5.3 version. This allows Cisco CCNP Route students to better understand this complex routing protocol and to be prepared for the simulation questions in the exam.
Internal BGP (iBGP) is currently not supported in Packet Tracer (see screenshot below). iBGP support has still not been added in the new Packet Tracer 7.1.1 version
IOS commands available in Packet Tracer 7.1.1
enable mode
- show ip bgpexit
- show ip bgp neighbors
- show ip bgp summary
- clear ip bgp *
router bgp mode
- bgp log-neighbor-changes
- bgp redistribute-internal
- bgp router-id A.B.C.D
- exit
- neighbor A.B.C.D next-hop-self
- neighbor A.B.C.D remote-as <1-65535>
- network A.B.C.D
- network A.B.C.D mask A.B.C.D
- redistribute connected / eigrp <1-65535> / ospf <1-65535> / static
- synchronization
- timers bgp <0-65535> <0-65535>
Sample BGP network
WAN1 router configuration :
A simple eBGP peering with ISP1 router is configured in the WAN1 router.
interface Serial0/0/0
ip address 156.12.1.6 255.255.255.252
!
router bgp 65000
bgp log-neighbor-changes
no synchronization
neighbor 156.12.1.5 remote-as 10000
ISP1 router configuration :
Several loopback interfaces are configured in ISP1 router to simulate connected networks whose are advertised to WAN1 router through the BGP peering.
interface Loopback0
ip address 156.100.1.1 255.255.255.0
!
interface Loopback1
ip address 156.100.2.1 255.255.255.0
!
interface Loopback2
ip address 156.100.4.1 255.255.254.0
!
interface Serial0/0/0
ip address 156.12.1.5 255.255.255.252
clock rate 500000
!
router bgp 10000
bgp log-neighbor-changes
no synchronization
neighbor 156.12.1.6 remote-as 65000
network 156.100.4.0 mask 255.255.254.0
network 156.100.2.0 mask 255.255.255.0
network 156.100.1.0 mask 255.255.255.0
!
Tutorial description
This tutorial will guide you for advanced voip configuration in Cisco Packet Tracer 8.1.1 network simulation software. Based on the Cisco's Hierarchical Network Design Model, this simulated network has voip call routing features enabled between two campus buildings with network services (DNS, DHCP ...) centralized in the datacenter.
In a real world environment, the CUCME router would also be located in the datacenter. However, Packet Tracer doesn't seems to support this configuration as IP phones don't register and receive a valid phone number.
Network diagram
What is HSRP ?
HSRP (Hot Standby Router Protocol) is a redundancy protocol for setting up a fault-tolerant default gateway in a LAN environment. This is a Cisco proprietary protocol. The standard protocol is VRRP (Virtual Router Redundancy Protocol)
The primary router with the highest configured priority operates as a virtual router with a virtual gateway IP address. It responds to the ARP request from PC or servers connected to the LAN with the MAC address 0000.0c07.acXX where XX is the HSRP group ID (converted to an hexadecimal value). If the primary router should fail, the Cisco router with the next-highest priority available in the LAN segment would take over the gateway IP address and answer ARP requests with the same mac address, thus achieving transparent default gateway fail-over.
Update : HSRP version 2 is now supported in Cisco Packet Tracer 7.2.1
Tutorial description
This tutorial is designed to help you to configure the voice over ip (voip) features available in Packet Tracer 8.1.1
It will show you the steps required to :
- Configure Call Manager ExpressTM on a 2811 router,
- Use the various telephony devices
- Setup dial peers
- Connect CiscoTM IP phones as well as analogue phone on the network.
Network diagram
Note : Connect only IP Phone 1 at the beginning of the lab. IP Phone 2 must be disconnected.