Chapter 5 Managing Switch Stacks

Understanding Switch Stacks

Switch Stack Offline Configuration

You can use the offline configuration feature to provision (to supply a configuration to) a new switch before it joins the switch stack. You can configure in advance the stack member number, the switch type, and the interfaces associated with a switch that is not currently part of the stack. The configuration that you create on the switch stack is called the provisioned configuration. The switch that is added to the switch stack and that receives this configuration is called the provisioned switch.

You manually create the provisioned configuration through the switch stack-member-numberprovision type global configuration command. The provisioned configuration is automatically created when a switch is added to a switch stack and when no provisioned configuration exists.

When you configure the interfaces associated with a provisioned switch (for example, as part of a VLAN), the switch stack accepts the configuration, and the information appears in the running configuration. The interface associated with the provisioned switch is not active, operates as if it is administratively shut down, and the no shutdown interface configuration command does not return it to active service. The interface associated with the provisioned switch does not appear in the display of the specific feature; for example, it does not appear in the show vlan user EXEC command output.

The switch stack retains the provisioned configuration in the running configuration whether or not the provisioned switch is part of the stack. You can save the provisioned configuration to the startup configuration file by entering the copy running-configstartup-configprivileged EXEC command. The startup configuration file ensures that the switch stack can reload and can use the saved information whether or not the provisioned switch is part of the switch stack.

Effects of Adding a Provisioned Switch to a Switch Stack

When you add a provisioned switch to the switch stack, the stack applies either the provisioned configuration or the default configuration. Table 5-1lists the events that occur when the switch stack compares the provisioned configuration with the provisioned switch.

Table 5-1

Results of Comparing the Provisioned Configuration with the Provisioned Switch

 

 

 

 

 

Scenario

 

 

 

Result

 

 

 

 

The stack member numbers and

1.

If the stack member number of the

The switch stack applies the provisioned

the switch types match.

 

provisioned switch matches the stack

configuration to the provisioned switch

 

 

 

member number in the provisioned

and adds it to the stack.

 

 

 

configuration on the stack, and

 

 

 

2.

If the switch type of the provisioned switch

 

 

 

 

matches the switch type in the provisioned

 

 

 

 

configuration on the stack.

 

 

 

 

 

The stack member numbers

1.

If the stack member number of the

The switch stack applies the default

match but the switch types do

 

provisioned switch matches the stack

configuration to the provisioned switch

not match.

 

 

member number in the provisioned

and adds it to the stack.

 

 

 

configuration on the stack, but

The provisioned configuration is changed

 

 

 

 

 

 

2.

The switch type of the provisioned switch

to reflect the new information.

 

 

 

does not match the switch type in the

 

 

 

 

provisioned configuration on the stack.

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

5-8

OL-9775-02

 

 

Page 128
Image 128
Cisco Systems 3750E manual Switch Stack Offline Configuration, Effects of Adding a Provisioned Switch to a Switch Stack