Professional Documents
Culture Documents
Labs5-1
CCNP
TABLE OF CONTENTS
Introduction: ........................................................................................................................................................................ 3
CCNP
Introduction:
Chapter 4 Lab 4-3, Hot Standby Router Protocol
Objective
Configure inter-VLAN routing with HSRP to provide redundant, fault-tolerant routing to the internal network
CCNP
CCNP
interface FastEthernet0/9
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/10
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/11
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/12
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 172.16.1.101 255.255.255.0
no ip route-cache
!
ip default-gateway 172.16.1.1
ip http server
ip http secure-server
!
control-plane
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
CCNP
VLAN Name
----------------------------------1
default
Status
--------active
10
20
30
40
1002
1003
1004
1005
active
active
active
active
act/unsup
act/unsup
act/unsup
act/unsup
Finance
Engineering
Server-Farm1
Server-Farm2
fddi-default
trcrf-default
fddinet-default
trbrf-default
VLAN Type
-------1
enet
10
enet
20
enet
30
enet
40
enet
1002 fddi
1003 trcrf
1004 fdnet
1005 trbrf
SAID
---------100001
100010
100020
100030
100040
101002
101003
101004
101005
VLAN AREHops
---------1003 7
MTU
----1500
1500
1500
1500
1500
1500
4472
1500
4472
STEHops
------7
Parent
-----1005
-
Ports
------------------------------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
Fa0/6
Backup CRF
---------off
Primary
-------
Secondary
---------
Type
Ports
----------------- ------------------------------------------
CCNP
Mode
on
on
on
Encapsulation
802.1q
802.1q
802.1q
Status
trunking
trunking
trunking
Native vlan
1
1
1
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
CCNP
3
3
CCNP
CCNP
interface FastEthernet0/9
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/10
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/11
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/12
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/13 - 0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 172.16.1.102 255.255.255.0
no ip route-cache
!
ip default-gateway 172.16.1.1
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
11
CCNP
VLAN Name
----------------------------------1
default
Status
--------active
10
20
30
40
1002
1003
1004
1005
active
active
active
active
act/unsup
act/unsup
act/unsup
act/unsup
Finance
Engineering
Server-Farm1
Server-Farm2
fddi-default
trcrf-default
fddinet-default
trbrf-default
VLAN Type
-------1
enet
10
enet
20
enet
30
enet
40
enet
1002 fddi
1003 trcrf
1004 fdnet
1005 trbrf
SAID
---------100001
100010
100020
100030
100040
101002
101003
101004
101005
VLAN AREHops
---------1003 7
MTU
----1500
1500
1500
1500
1500
1500
4472
1500
4472
STEHops
------7
Parent
-----1005
-
Ports
------------------------------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
Fa0/6
Backup CRF
---------off
Primary
-------
11
Secondary
---------
Type
Ports
----------------- ------------------------------------------
CCNP
12
Mode
on
on
on
Encapsulation
802.1q
802.1q
802.1q
Status
trunking
trunking
trunking
Native vlan
1
1
1
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
CCNP
3
3
13
CCNP
14
CCNP
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 3 mode desirable
!
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 GigabitEthernet0/1
!
interface GigabitEthernet0/2
15
CCNP
!
interface Vlan1
ip address 172.16.1.3 255.255.255.0
standby 1 ip 172.16.1.1
standby 1 priority 150
standby 1 preempt
!
interface Vlan10
ip address 172.16.10.3 255.255.255.0
standby 1 ip 172.16.10.1
standby 1 priority 150
standby 1 preempt
!
interface Vlan20
ip address 172.16.20.3 255.255.255.0
standby 1 ip 172.16.20.1
standby 1 priority 150
standby 1 preempt
!
interface Vlan30
ip address 172.16.30.3 255.255.255.0
standby 1 ip 172.16.30.1
standby 1 preempt
!
interface Vlan40
ip address 172.16.40.3 255.255.255.0
standby 1 ip 172.16.40.1
standby 1 preempt
!
ip classless
ip http server
ip http secure-server
!
control-plane
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
16
CCNP
VLAN Name
----------------------------------1
default
Status
--------active
10
20
30
40
1002
1003
1004
1005
active
active
active
active
act/unsup
act/unsup
act/unsup
act/unsup
Finance
Engineering
Server-Farm1
Server-Farm2
fddi-default
trcrf-default
fddinet-default
trbrf-default
VLAN Type
-------1
enet
10
enet
20
enet
30
enet
40
enet
1002 fddi
1003 trcrf
1004 fdnet
1005 trbrf
SAID
---------100001
100010
100020
100030
100040
101002
101003
101004
101005
VLAN AREHops
---------1003 7
MTU
----1500
1500
1500
1500
1500
1500
4472
1500
4472
STEHops
------7
Parent
-----1005
-
Ports
------------------------------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
Fa0/6
Backup CRF
---------off
Primary
-------
17
Secondary
---------
Type
Ports
----------------- ------------------------------------------
CCNP
18
Mode
on
on
on
Encapsulation
802.1q
802.1q
802.1q
Status
trunking
trunking
trunking
Native vlan
1
1
1
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
CCNP
3
3
Interface
Vl1
Vl10
Vl20
Vl30
Vl40
19
Active
local
local
local
172.16.30.4
172.16.40.4
Standby
172.16.1.4
172.16.10.4
172.16.20.4
local
local
Virtual IP
172.16.1.1
172.16.10.1
172.16.20.1
172.16.30.1
172.16.40.1
CCNP
CCNP
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 3 mode desirable
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 3 mode desirable
!
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 GigabitEthernet0/1
!
21
CCNP
interface GigabitEthernet0/2
!
interface Vlan1
ip address 172.16.1.4 255.255.255.0
standby 1 ip 172.16.1.1
standby 1 preempt
!
interface Vlan10
ip address 172.16.10.4 255.255.255.0
standby 1 ip 172.16.10.1
standby 1 preempt
!
interface Vlan20
ip address 172.16.20.4 255.255.255.0
standby 1 ip 172.16.20.1
standby 1 preempt
!
interface Vlan30
ip address 172.16.30.4 255.255.255.0
standby 1 ip 172.16.30.1
standby 1 priority 150
standby 1 preempt
!
interface Vlan40
ip address 172.16.40.4 255.255.255.0
standby 1 ip 172.16.40.1
standby 1 priority 150
standby 1 preempt
!
ip classless
ip http server
ip http secure-server
!
control-plane
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
22
CCNP
Status
--------active
10
20
30
40
1002
1003
1004
1005
active
active
active
active
act/unsup
act/unsup
act/unsup
act/unsup
Finance
Engineering
Server-Farm1
Server-Farm2
fddi-default
trcrf-default
fddinet-default
trbrf-default
VLAN Type
-------1
enet
10
enet
20
enet
30
enet
40
enet
1002 fddi
1003 trcrf
1004 fdnet
1005 trbrf
SAID
---------100001
100010
100020
100030
100040
101002
101003
101004
101005
VLAN AREHops
---------1003 7
MTU
----1500
1500
1500
1500
1500
1500
4472
1500
4472
STEHops
------7
Parent
-----1005
-
Ports
------------------------------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
Fa0/6
Backup CRF
---------off
Primary
-------
23
Secondary
---------
Type
Ports
----------------- ------------------------------------------
CCNP
24
Mode
on
on
on
Encapsulation
802.1q
802.1q
802.1q
Status
trunking
trunking
trunking
Native vlan
1
1
1
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
Port
Po1
Po2
Po3
CCNP
3
3
Interface
Vl1
Vl10
Vl20
Vl30
Vl40
25
Active
172.16.1.3
172.16.10.3
172.16.20.3
local
local
Standby
local
local
local
172.16.30.3
172.16.40.3
Virtual IP
172.16.1.1
172.16.10.1
172.16.20.1
172.16.30.1
172.16.40.1
CCNP