cisco interface vlan

create interface vlan with hsrp

zanzara
August 14, 2013
subnet mask

ip hsrp

customer name

vlan tag id

limit of bandwith

real ip secondary router

real ip master router

*** Router1 ***

vlan %{VLAN_ID}%
	name %{CUSTOMER_NAME}%

interface Vlan%{VLAN_ID}%
 description ****** %{CUSTOMER_NAME}% ******
 ip address  %{REAL_IP_ROUTER_MASTER}%  %{SUBNET}%
 no ip redirects
 no ip proxy-arp
 no ipv6 mld snooping
 standby 10 ip %{VIP_IP}% 
 standby 10 priority 110
 standby 10 preempt
 standby 10 track 3 decrement 15
 standby 10 track 4 decrement 15
 service-policy input %{BANDWITH}%
 service-policy output %{BANDWITH}%
end


*** Router2 ***

vlan %{VLAN_ID}%
	name %{CUSTOMER_NAME}%

interface Vlan%{VLAN_ID}%
 description ****** %{CUSTOMER_NAME}% ******
 ip address  %{REAL_IP_ROUTER_SLAVE}%  %{SUBNET}%
 no ip redirects
 no ip proxy-arp
 no ipv6 mld snooping
 standby 10 ip %{VIP_IP}% 
 standby 10 preempt
 standby 10 track 3 decrement 15
 standby 10 track 4 decrement 15
 service-policy input %{BANDWITH}%
 service-policy output %{BANDWITH}%
end