EasyManua.ls Logo

Cisco Nexus 3548

Cisco Nexus 3548
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
143
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip (HSRP)
This command does not require a license.
Examples This example shows how to activate HSRP for group 10 on Ethernet interface 1/1. The virtual IP address
used by the HSRP group is set to 192.0.2.10.
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# no switchport
switch(config-if)# ip address 192.0.2.32 255.255.255.0
switch(config-if)# hsrp 10
switch(config-hsrp)# ip 192.0.2.10
switch(config-hsrp)#
This example shows how to activate HSRP for group 10 on Ethernet interface 2/1. The virtual IP address
used by the HSRP group will be learned from another gateway configured to be in the same HSRP group.
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# hsrp 10
switch(config-if-hsrp)#
This example shows how to activate HSRP for group 2 on Ethernet interface 1/1 and creates a secondary
IP address on the interface:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# no switchport
switch(config-if)# ip address 20.20.20.1 255.255.255.0 secondary
switch(config-if)# ip address 10.10.10.1 255.255.255.0
switch(config-if)# hsrp 2
switch(config-if-hsrp)# ip 10.10.10.2
switch(config-if-hsrp)# ip 20.20.20.2 secondary
switch(config-if-hsrp)#
Related Commands Command Description
feature hsrp Enables the HSRP configuration.
show hsrp Displays HSRP information.

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals