- Index
- Preface
- Product Overview
-
- Configuring Ethernet Interfaces
- Configuring VLANs
- Configuring Private VLANs
- Configuring Rapid PVST+
- Configuring Multiple Spanning Tree
- Configuring STP Extensions
- Configuring EtherChannels
- Configuring Access and Trunk Interfaces
- Configuring the MAC Address Table
- Configuring IGMP Snooping
- Configuring Traffic Storm Control
-
- Configuring Fibre Channel Interfaces
- Configuring Domain Parameters
- Configuring N-Port Virtualization
- Configuring VSAN Trunking
- Configuring SAN PortChannels
- Configuring and Managing VSANs
- Configuring and Managing Zones
- Distributing Device Alias Services
- Configuring Fibre Channel Routing Services and Protocols
- Managing FLOGI, Name Server, FDMI, and RSCN Databases
- Discovering SCSI Targets
- Advanced Fibre Channel Features and Concepts
- Configuring FC-SP and DHCHAP
- Configuring Port Security
- Configuring Fabric Binding
- Configuring Fabric Configuration Servers
- Configuring Port Tracking
- Configuration Limits
Configuring Session Manager
This chapter describes how to configure the Session Manager features in Cisco NX-OS.
Information About Session Manager
Session Manager allows you to implement your configuration changes in batch mode. Session Manager works in the following phases:
- Configuration session—Creates a list of commands that you want to implement in session manager mode.
- Validation—Provides a basic semantic check on your configuration. Cisco NX-OS returns an error if the semantic check fails on any part of the configuration.
- Verification—Verifies the configuration as a whole, based on the existing hardware and software configuration and resources. Cisco NX-OS returns an error if the configuration does not pass this verification phase.
- Commit—Cisco NX-OS verifies the complete configuration and implements the changes atomically to the device. If a failure occurs, Cisco NX-OS reverts to the original configuration.
- Abort—Discards the configuration changes before implementation.
You can optionally end a configuration session without committing the changes. You can also save a configuration session.
Configuration Guidelines and Limitations
Session Manager has the following configuration guidelines and limitations:
Configuring Session Manager
This section includes the following topics:
- Creating a Session
- Configuring ACLs in a Session
- Verifying a Session
- Committing a Session
- Saving a Session
- Discarding a Session
- Session Manager Example Configuration
Creating a Session
You can create up to 32 configuration sessions. To create a configuration session, perform this task:
Configuring ACLs in a Session
You can configure ACLs within a configuration session. To configure ACLs within a configuration session, perform this task:
|
|
|
---|---|---|
Creates a configuration session and enters session configuration mode. The name can be any alphanumeric string. |
||
Verifying a Session
To verify a session, use the following command in session mode:
|
|
---|---|
Committing a Session
To commit a session, use the following command in session mode:
|
|
---|---|
Saving a Session
To save a session, use the following command in session mode:
|
|
---|---|
(Optional) Saves the session to a file. The location can be in bootflash or volatile. |
Discarding a Session
To discard a session, use the following command in session mode:
|
|
---|---|
Discards the configuration session without applying the commands. |
Session Manager Example Configuration
This example shows how to create a configuration session for ACLs:
switch(config-s)# ip access-list acl2
switch(config-s-acl)# permit tcp any any
switch(config-s-acl)# exit
switch(config-s)# interface Ethernet 1/4
switch(config-s-ip)# ip port access-group acl2 in
switch(config-s-ip)# exit
switch(config-s)# verify
switch(config-s)# exit
switch# show configuration session test2
Verifying Session Manager Configuration
To verify Session Manager configuration information, use the following commands:
|
|
---|---|