Previous page Next page

module

Places CNA into configuration mode for the specified CNA module, or associates a named USTAT with an interface.

Syntax
module <type> [ <name> ]
 
no module <type> [ <name> ]
 
Arguments
Prerequisites

Must be in configuration or interface configuration mode (config or config-if), which requires privileged-level access.

Occurrence

One instance per module in a configuration or one instance per interface, but you can use the command multiple times in order to enter module-configuration mode to edit a module’s configuration block.

Description

Use the module command in configuration mode (config) to identify an CNA module to be configured.

Use the module command in interface configuration mode (config-if) to associate a named USTAT with an interface.

Once you execute the module command, you will be in a specific configuration mode (such as config-engine or config-ustat). You must exit that mode before issuing the no command, which requires you to be in configuration mode (config).

There is no management module type; the management module is implied.

Use the name argument with USTATs only. The name may contain dashes, underscores and alpha-numeric characters, but the first character must be a letter of the alphabet (a-z or A-Z).

NOTE: In versions earlier than 2.2, all modules required a numerical argument matching the 5000-series chassis slot in which the removable module is installed. In order to provide backward compatibility with existing configurations, slot numbers are still allowed in module engine and module reporting commands, but the argument will be ignored.

On a 5000 series device, names can be numbers matching the slot in which the removable USTAT is inserted. This is a legacy feature to allow compatibility with configurations that predate version 2.2.

If you choose to identify USTATs by names instead of by slot numbers on 5000 series devices, you must use the module command in interface configuration mode in order to associate the USTAT with an interface.

See the interface command.

In spite of this required additional step to associate USTATs with interfaces, you should consider migrating your USTATs to names instead of slot numbers for upward compatibility with future CNA releases and CNA hardware upgrades.

If you have created a GRE tunnel, you can associate it with a USTAT module by specifying the tunnel ID as the interface argument of the ip route command while in config-ustat mode. When done, your configuration should contain a command block similar to this:

module ustat myUstat
 
  ...
 
  ip route 0.0.0.0 0.0.0.0 tunnel 1
 
  ...
 
  end
 

 

Use the show version or show medic all commands to see current slot assignments.

Use the no form of the command to remove all custom settings on the module (all settings will revert to defaults).


Previous page Next page