![Cisco Nexus 3548 series Скачать руководство пользователя страница 28](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162028.webp)
8
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
address (VRRP)
address (VRRP)
To add a single, primary IP address to a virtual router, use the
address
command. To remove an IP
address from a virtual router, use the
no
form of this command.
address
ip-address
[
secondary
]
no address
[
ip-address
[
secondary
]]
Syntax Description
Command Default
None
Command Modes
VRRP configuration mode
Command History
Usage Guidelines
You can configure one virtual router IP address for a virtual router. If the configured IP address is the
same as the interface IP address, this switch automatically owns the IP address. You can configure an
IPv4 address only.
The master VRRP router drops the packets addressed to the virtual router's IP address because the virtual
router is only intended as a next-hop router to forward packets. In NX-OS devices, some applications
require that packets addressed to the virtual router's IP address be accepted and delivered. By using the
secondary
option to the virtual router IPv4 address, the VRRP router will accept these packets when it
is the master.
This command requires the LAN Base Services license.
Examples
This example shows how to configure a virtual router IP address:
switch#
configure terminal
switch(config)#
interface ethernet 2/1
switch(config-if)#
no switchport
switch(config-if)#
vrrp 250
switch(config-if-vrrp)#
address 10.0.0.10
This example shows how to remove all the IP addresses (primary and secondary) using a single
command:
switch#
configure terminal
switch(config)#
interface ethernet 2/1
switch(config-if)#
no switchport
switch(config-if)#
vrrp 250
ip-address
Virtual router address (IPv4). This address should be in the same subnet as
the interface IP address.
secondary
(Optional) Specifies a secondary virtual router address.
Release
Modified
5.0(3)A1(1)
This command was introduced.
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...