The
configuration of the HSRP command
syntax WS-C2960S-48LPD-L Price is as follows:
1, the
configuration of HSRP member
Switch (cofnig-if) #standby group-number IP virtual-ip-address
Group-number:
said HSRP group the port belongs to, by assigning a unique number in the backup command to create multiple HSRP group. Virtual-ip-address: virtual HSRP router's IP address, the segment
of the IP address.
2, the configuration of HSRP priority
Switch (cofnig-if) #standby group-number priority priority-value
Priority-value: the range of 0-255, the default 100.
3, the configuration
of HSRP preemption
Switch (cofnig-if) #standby group-number preempt
Preemption explanation: HSRP high priority in the active
router for regular maintenance,HSRP backup router will become the active router. But when
the previous high priority active router repaired and added to the HSRP, if you do not configure the preemption right, it will
not be from the backup router snatches the active router position, even if it is a higher priority than the backup router configuration, if the words, will be from the low priority router snatchesthe active router position.
4, the configuration of HSRP port tracking
Switch (cofnig-if) #standby group-number track interface-type mod/num interface-priority
Group-number group: the tracking function of port
Interface-type: port type tracking port
Mod/num: the port number tracking port
Interface-priority: when the port failure, hot backup priority router will reduce the value, when the port is available, the router priority will add
the value, the default is 10.
Explanation: if you do not set the port tracking port tracking it, when
a port router is not available, but it still sends a hello message to tell the other router, the router is available, thedata transmission is not out. When the active router port configuration tracking, when tracking the port is not available, the active router priority will reduce
the corresponding value,when becomes available, increased the corresponding value. Switching effect providing faultit very flexible.
5, the configuration of Hello message.
Switch (cofnig-if) #standby group-number times hellotime holdtime
Time
interval, the hellotime:hello
message of the default 3S, 1-255.
Holdtime:hello
message storage time, the default 10s, usually set to three times the Hello interval.
6, check the status of the HSRP
Switch#show standby [interface-type mod/num] [group-number] Brief
Interface-type mod/num: to display the port type and serial number
Group-number: the HSRP
display
Brief: display summary information, each backup WS-C2960S-48LPD-L set up display a line
output.
More information, please view: http://www.3anetwork.com
没有评论:
发表评论