interface Vlan1
ip address 192.168.1.1 255.255.255.0
glbp 1 ip 192.168.1.5
glbp 1 priority 110
glbp 1 preempt
!
interface Vlan100
ip address 192.168.100.1 255.255.255.0
glbp 1 ip 192.168.100.5
glbp 1 priority 110
glbp 1 preempt
!
interface Vlan200
ip address 192.168.200.1 255.255.255.0
glbp 1 ip 192.168.200.5
glbp 1 priority 110
glbp 1 preempt
ip address 192.168.1.1 255.255.255.0
glbp 1 ip 192.168.1.5
glbp 1 priority 110
glbp 1 preempt
!
interface Vlan100
ip address 192.168.100.1 255.255.255.0
glbp 1 ip 192.168.100.5
glbp 1 priority 110
glbp 1 preempt
!
interface Vlan200
ip address 192.168.200.1 255.255.255.0
glbp 1 ip 192.168.200.5
glbp 1 priority 110
glbp 1 preempt
notice the virtual mac's below...
dls1#sh glbp brie
Interface Grp Fwd Pri State Address Active router Standby router
Vl1 1 - 110 Active 192.168.1.5 local 192.168.1.2
Vl1 1 1 - Active 0007.b400.0101 local -
Vl1 1 2 - Listen 0007.b400.0102 192.168.1.2 -
Vl100 1 - 110 Active 192.168.100.5 local 192.168.100.2
Vl100 1 1 - Listen 0007.b400.0101 192.168.100.2 -
Vl100 1 2 - Active 0007.b400.0102 local -
Vl200 1 - 110 Active 192.168.200.5 local 192.168.200.2
Vl200 1 1 - Listen 0007.b400.0101 192.168.200.2 -
Vl200 1 2 - Active 0007.b400.0102 local -
dls1#
Interface Grp Fwd Pri State Address Active router Standby router
Vl1 1 - 110 Active 192.168.1.5 local 192.168.1.2
Vl1 1 1 - Active 0007.b400.0101 local -
Vl1 1 2 - Listen 0007.b400.0102 192.168.1.2 -
Vl100 1 - 110 Active 192.168.100.5 local 192.168.100.2
Vl100 1 1 - Listen 0007.b400.0101 192.168.100.2 -
Vl100 1 2 - Active 0007.b400.0102 local -
Vl200 1 - 110 Active 192.168.200.5 local 192.168.200.2
Vl200 1 1 - Listen 0007.b400.0101 192.168.200.2 -
Vl200 1 2 - Active 0007.b400.0102 local -
dls1#
and the ping macro...
dls1(config)#macro global apply mping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.101, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.102, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.200.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
dls1(config)#
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.101, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.102, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.200.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
dls1(config)#
this is very exciting...
No comments:
Post a Comment