5-25
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 5 Configuring Virtual Switching Systems
Understanding Virtual Switching Systems
When a switch becomes active (either due to dual-active scenario or otherwise), the IP address
configured for fa1 management interface is associated with the active switch. By default, the switch in
recovery mode will not have any IP address for the fa1 interface on its supervisor engine. To ensure IP
connectivity to the switch during recovery, you ca n configure an recovery IP address. (IP address
configuration is mandatory if you want IP connectivity while switch is in recovery.) When a switch
enters recovery mode, the IP address for the management interface on its supervisor engine is associated
with the recovery IP address.
The recovery IP address for a management interface can be verified in the output of commands such as
show ip interface brief
and
show interfaces
.
Configuring a Recovery IP Address
The recovery IP address is the IP address that is used for the fa1 interface (of a switch) while in recovery
mode.
To configure the recovery IP address for the fa1 interface, perform the following task:
The following example shows how to set a recovery IP address 111.255.255.2555.0:
Switch#
configure terminal
Switch(config)#
switch virtual domain 19
Switch(config-vs-domain)#
dual-active recovery ip address 1.1.1.1 255.255.255.0
By default,
ip address
is not configured for recovery mode. So, the switch-fa1 interface is not associated
with an IP address while the switch is in recovery mode. This ensures that two devices do not respond
to the same IP address.
Without the
switch
n
option, the (same)
recovery ip address
is used by either switch when it enters
recovery mode. By definition, there is only one switch (in a given VSS system) in recovery mode at a
time, making one recovery ip address sufficient.
If the two switches must use different IP addresses when the respective switch is in recovery mode, use
the
switch
n
option.
You can configure recovery IP addresses without the
switch
n
option and with the
switch
n
option
simultaneously (for a total of three IP addresses, one global and one per switch). When done, the
per-switch IP address takes precedence. If no per-switch IP address exists, the global IP address is used.
Following are two examples:
Scenario 1
The VSS System is configured as follows:
•
Global IP address- GIP
•
switch 1 IP address - IP1
•
switch 2 IP address - IP2
Command
Purpose
Step 1
Switch#
configure terminal
Enters configuration mode.
Step 2
Switch (config)#
switch virtual domain
domain-id
Specifies virtual switch domain.
Step 3
Switch (config-vs-domain)# [
no
]
dual-active recovery
[switch
n
] ip address
recovery-ip-address
recovery-ip-mask
Configures a recovery IP address.
n
is the VSS switch ID.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...