02-28-2011 10:16 PM
Hi,
I have 2 units of Cisco CSS11501 which configured running on VRRP active/standby on 2 different VLAN (Circuit). When unit 1 is master unit, I am able to telnet to its circuit IP address, but unable to telnet to any circuit IP of backup unit.
Active unit configuration:
!************************** CIRCUIT **************************
circuit VLAN145
ip address 172.19.145.182 255.255.255.0
ip virtual-router 1 priority 101
ip redundant-vip 1 172.19.145.184
ip redundant-interface 1 172.19.145.183
circuit VLAN550
ip address 192.168.50.18 255.255.255.0
ip virtual-router 2 priority 101
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.19
!*************************** OWNER ***************************
owner ***
content ***
vip address 172.19.145.184
port 80
protocol tcp
add service ***
active
!*************************** GROUP ***************************
group ***
vip address 192.168.50.20
active
Backup unit configuration:
!************************** CIRCUIT **************************
circuit VLAN145
ip address 172.19.145.183 255.255.255.0
ip virtual-router 1 priority 90
ip redundant-interface 1 172.19.145.182
ip redundant-vip 1 172.19.145.184
circuit VLAN550
ip address 192.168.50.19 255.255.255.0
ip virtual-router 2 priority 90
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.18
!*************************** OWNER ***************************
owner ***
content ***
vip address 172.19.145.184
port 80
protocol tcp
add service ***
active
!*************************** GROUP ***************************
group ***
vip address 192.168.50.20
active
Please help!!
Regards,
Danny Lim
Solved! Go to Solution.
03-01-2011 03:12 AM
Your configuration should look like this:
Master
----------
circuit VLAN145
ip address 172.19.145.182 255.255.255.0
ip virtual-router 1 priority 101
ip redundant-vip 1 172.19.145.184
ip redundant-interface 1 172.19.145.181
circuit VLAN550
ip address 192.168.50.18 255.255.255.0
ip virtual-router 2 priority 101
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.17
Backup
----------
circuit VLAN145
ip address 172.19.145.183 255.255.255.0
ip virtual-router 1 priority 90
ip redundant-interface 1 172.19.145.181
ip redundant-vip 1 172.19.145.184
circuit VLAN550
ip address 192.168.50.19 255.255.255.0
ip virtual-router 2 priority 90
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.17
03-01-2011 06:40 AM
yes. redundant-interface is the interface that you want to have redundant. They not mean the peer interface. Its like the alias-address. With redundant-vip you also configure the vip, which should be redundant on both CSS.
03-01-2011 07:19 AM
The redundant configuration on your circuit means, which virtual ip-address you want to failover if your master VRRP device is having a failure. This means you can configure which VIP(s) you want to have redundant and which alias interface ip-address(es) you want to have redundand. This config you provide now should work and you should be able to reach CSS1 with 172.19.145.182 and CSS with 172.19.145.183. 172.19.145.181 is the alias ip-address which is not reachable through telnet. Just checked it as we have the same configuration here.
03-01-2011 02:36 AM
Can you ping the backup unit IPs?
Are the routes good?
And the management route?
Is your asr configured correctly?
Have you got an app-session established? In this case you can use rcmd to check the config and connect to the backup CSS.
On another note, can't see any preemption in your vrrp config.
Regards,
Ian
03-01-2011 06:31 AM
I did not configure the management port, I thought to Telnet any of the circuit IP address. So I think I should make use of management port for Telnet.
I want to have active-backup redundancy with these 2 units of CSS, so I use VIP/Virtual Interface redundancy instead of ASR.
VRRP preemption is not a requirement.
03-01-2011 03:12 AM
Your configuration should look like this:
Master
----------
circuit VLAN145
ip address 172.19.145.182 255.255.255.0
ip virtual-router 1 priority 101
ip redundant-vip 1 172.19.145.184
ip redundant-interface 1 172.19.145.181
circuit VLAN550
ip address 192.168.50.18 255.255.255.0
ip virtual-router 2 priority 101
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.17
Backup
----------
circuit VLAN145
ip address 172.19.145.183 255.255.255.0
ip virtual-router 1 priority 90
ip redundant-interface 1 172.19.145.181
ip redundant-vip 1 172.19.145.184
circuit VLAN550
ip address 192.168.50.19 255.255.255.0
ip virtual-router 2 priority 90
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.17
03-01-2011 06:34 AM
Hi Marko,
For configuring "ip redundant-interface", I thought the IP addresses to be configured with this command is the physical IP address of another box in the same circuit (VLAN)?
am I wrong?
03-01-2011 06:40 AM
yes. redundant-interface is the interface that you want to have redundant. They not mean the peer interface. Its like the alias-address. With redundant-vip you also configure the vip, which should be redundant on both CSS.
03-01-2011 06:54 AM
Hi Marko,
That means I could not to configure redundant-interface as I have redundant-vip configured already?
Actually the topology is:
VLAN550 is connecting to server farm
VLAN145 is where user sitting
my current config :
circuit VLAN145
ip address 172.19.145.182 255.255.255.0
ip virtual-router 1 priority 101
ip redundant-vip 1 172.19.145.184
ip redundant-interface 1 172.19.145.183
ip critical-service 1 PING_DEFAULT_GATEWAY
circuit VLAN550
ip address 192.168.50.18 255.255.255.0
ip virtual-router 2 priority 101
ip redundant-vip 2 192.168.50.20
ip redundant-interface 2 192.168.50.19
ip critical-service 2 PING_DEFAULT_GATEWAY
!*************************** OWNER ***************************
owner HLRLDAP
content VIP_LDAP_16611
vip address 172.19.145.184
port 16611
protocol tcp
add service KPG-HV30-3
add service KPG-HV30-6
active
!*************************** GROUP ***************************
group Redundant_Server
vip address 192.168.50.20
active
So, I should have change my config like this:
CSS1
---------
circuit VLAN145
ip address 172.19.145.182 255.255.255.0
ip virtual-router 1 priority 101
ip redundant-vip 1 172.19.145.184
ip redundant-interface 1 172.19.145.181
ip critical-service 1 PING_DEFAULT_GATEWAY
circuit VLAN550
ip address 192.168.50.18 255.255.255.0
ip virtual-router 2 priority 101
ip redundant-interface 2 192.168.50.20
ip critical-service 2 PING_DEFAULT_GATEWAY
CSS2
-----------
!************************** CIRCUIT **************************
circuit VLAN145
ip address 172.19.145.183 255.255.255.0
ip virtual-router 1 priority 90
ip redundant-interface 1 172.19.145.181
ip redundant-vip 1 172.19.145.184
ip critical-service 1 PING_DEFAULT_GATEWAY
circuit VLAN550
ip address 192.168.50.19 255.255.255.0
ip virtual-router 2 priority 90
ip redundant-interface 2 192.168.50.20
ip critical-service 2 PING_DEFAULT_GATEWAY
03-01-2011 07:19 AM
The redundant configuration on your circuit means, which virtual ip-address you want to failover if your master VRRP device is having a failure. This means you can configure which VIP(s) you want to have redundant and which alias interface ip-address(es) you want to have redundand. This config you provide now should work and you should be able to reach CSS1 with 172.19.145.182 and CSS with 172.19.145.183. 172.19.145.181 is the alias ip-address which is not reachable through telnet. Just checked it as we have the same configuration here.
03-02-2011 02:28 AM
Hi Marko,
Currently the loadbalancing and VRRP seem working fine, but I have problem to telnet to 172.19.145.183 which is the backup VRRP unit. I can ping to it but not telnet.
Anyhow, I will fine tune the VRRP configuration like I posted here earlier, and configure the management port with IP address and give a try again. Will update you guys later!!
03-02-2011 02:51 AM
Actually there should be no problem with this configuration and you should be able to reach both devices. So i consider you have another problem in your configuration. To use the management port will help maybe, but it will not solve the problem.
03-02-2011 10:29 AM
Hi,
Check if ACLs are enabled on the box, perhaps the ACL for that circuit is not properly configured/applied.
Have you tried SSH on that circuit? If ping works then you should check if the command "restrict telnet" is not configured on slave CSS.
HTH
__ __
Pablo
03-02-2011 09:29 PM
Hi Pablo,
I have no ACL configured and also no command "restrict telnet" is configured.
I can only telnet to the master CSS whichever holding the VRRP master role, the slave CSS is always only can be PING but not telnet ... weird!!
03-01-2011 06:36 AM
VRRP preemption is not a requirement.
Sure it's not. Justing making sure you didn't forget it. It's more usual to have preemption in an active-standby topology.
Regards,
Ian
03-01-2011 06:40 AM
Hi Ian,
Thanks and noted. It is not a requirement because I do not want to have another failover happened again when the preempted unit comes alive. Anyway, your comments is noted.
I should have used management port with another IP for Telnet to manage the box, am I right?
03-01-2011 06:52 AM
Well you can (I like to) but its a matter of choice. Its good for out of band management to another switch...but it's not necessary. You should be able to telnet to your other interfaces though and to be honest telnet doesn't use much in the way of bandwidth.
You might want to consider the app_session commands though. They are really smart and then you can use the comit_Vip_redundancy scripts to automatically backup your config from your primary to secondary CSS. It's a built in script and saves a lot of time. You can even program it using expect or something to do a nightly backup/copy.
Also, like I said the rcmd command is great if you are connected to one of the CSS and want to issue a command on the other...no need to open up another putty session...but thats just being lazy
Regards,
Ian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide