|
|
To set the number of data bits per character that are interpreted and generated by hardware, use the databits line configuration command.
databits {5 | 6 | 7 | 8}
5 | Five data bits per character. |
6 | Six data bits per character. |
7 | Seven data bits per character. |
8 | Eight data bits per character. |
8
Line configuration
This command pertains to the auxiliary port only.
The databits line configuration command can be used to mask the high bit on input from devices that generate 7 data bits with parity. If parity is being generated, specify 7 data bits per character. If no parity generation is in effect, specify 8 data bits per character. The other keywords are supplied for compatibility with older devices and generally are not used.
The following example changes the data bits to 7 on the auxiliary port.
Switch(config)# line aux 0
Switch(config-line)# databits 7
data-character-bits
terminal data-character-bits
terminal databits
To set the number of data bits per character that are interpreted and generated by software, use the data-character-bits line configuration command.To return the character bits to the default, use the no form of this command
data-character-bits {7 | 8}
7 | Seven data bits per character. |
8 | Eight data bits per character. |
8
Line configuration
The data-character-bits line configuration command does not work on hardwired lines.
The following example sets the number of data bits per character for virtual terminal line 1 to 7.
Switch(config)# line vty 1
Switch(config-line)# data-character-bits 7
To enable debugging for ATM accounting, use the debug atm accounting EXEC command. To disable debugging, use the no form of this command.
debug atm accounting error
error | Logs significant errors to the console. |
event | Logs significant events to the console. |
Disabled
EXEC
To enable debugging for an ATM connection, use the debug atm conn privileged EXEC command. To disable debugging, use the no form of this command.
debug atm conn atm [card/subcard/port]
card/subcard/port | Specifies the card, subcard, and port number for the ATM interface. |
Disabled
Privileged EXEC
The debug atm oam-all privileged EXEC command enables all the debug flags for the OAM. Use the no form of the command to disable the debug command.
debug atm oam-allThis command has no arguments or keywords.
Privileged EXEC
![]() | Caution This command can generate a significant amount of output when it is invoked. |
To display the transmit and receive OAM traffic, use the debug atm oam-pkt privileged EXEC command. This command also decodes individual OAM cells. Use the no form of the command to disable the debug command.
debug atm oam-pktThis command has no arguments or keywords.
Privileged EXEC
To debug the PNNI configuration, use the following debug atm pnni EXEC commands.
debug atm pnni adj-events
adj-events | Turns on adjacency-related event debugging. The feature can be turned on for a specific PNNI interface. |
adj-packet | Turns on database summary and request packet debugging. The feature can be turned on for a specific PNNI interface. |
all | Turns on all PNNI debugging. The feature can be turned on for a specific PNNI interface. |
api | Turns on the application interface debugging. |
election | Turns on the PGL PNNI election debugging. |
flood-packet | Turns on PTSP and ACK packet debugging. |
hello-packet | Turns on hello packet debugging. The feature can be turned on for a specific PNNI interface. |
rm | Turns on the resource management debugging. |
route-all | Turns on all route debugging. |
route-errors | Turns on PNNI route errors debugging. |
snmp | Turns on debugging of SNMP events (get and set) related to the PNNI MIBs. |
topology | Turns on the internal topology maintenance debugging. |
EXEC
To enable the debug printout messages for ATM resource manager, use the debug atm rm privileged EXEC command. To disable the printout message, use the no form of this command.
debug atm rm errorsThis command has no arguments or keywords.
Privileged EXEC
![]() | Caution This command can generate a significant amount of output and can interfere with other activity on the switch when it is invoked. |
To debug the ATM signaling module, use the debug atm sig privileged EXEC commands. Use the no form of the command to disable the debug command.
debug atm sig-all
sig-all | Turns on the debug output for all of the above conditions. |
sig-error | Turns on the debug output for the atmsig error conditions. |
sig-events | Turns on the debug output for the atmsig state machine events. |
sig-ie | Turns on the debug output for the atmsig messages information element encoding. |
sig-nni | Turns on the debug output for the atmsig NNI state machine events. |
sig-packets | Turns on the debug output for the atmsig packets. |
card/subcard/ port | Specifies the card, subcard, and port number for the ATM interface. |
Privileged EXEC
To enable driver-level debugging of specific remote ports, use the debug ports privileged EXEC command.
debug ports port
port | Specifies aal5 | oc3 | ds3e3 | oc12 | netclock | t1e1 as the port to be debugged. |
Privileged EXEC
If you specify aal5, you can provide the ATM interface number. Use the netclock option to show network clock switching debug information.
To debug the ATM signaling SSCOP, use the following debug sscop privileged EXEC commands. To return the debug sscop to the default, use the no form of this command
debug sscop errors [atm card/subcard/port]
errors | Turns on the debug output for the sscop error conditions. |
events | Turns on the debug output for the sscop SSCOP state machine events. |
packets | Turns on the debug output for the sscop SSCOP packets. |
atm card/subcard/port | Specifies the card, subcard, and port number of the ATM interface. |
Global configuration
Interface configuration when atm card/subcard/port is specified.
To provide an emulated LAN name in the configuration server's database for those client MAC addresses and client ATM addresses that do not have explicit emulated LAN name bindings, use the default-name database configuration command. To remove the default name, use the no form of this command.
default-name elan-name
elan-name | Default emulated LAN name for any LANE client MAC address or LANE client ATM address not explicitly bound to any emulated LAN name. Maximum length is 32 characters. |
No name is provided.
Database configuration
This command affects only the bindings in the configuration server's database. It has no effect on the LANE components.
The named emulated LAN must exist in the configuration servers database before using this command. If the default name-to-emulated LAN name binding already exists, it is replaced by the new binding.
The default-name command is a subcommand of the global lane database command.
client-atm-address name
lane database
name server-atm-address
To define the EXEC character width for either 7 bits or 8 bits, use the default-value exec-character-bits global configuration command.
default-value exec-character-bits {7 | 8}
7 | Selects the 7-bit ASCII character set. |
8 | Selects the full 8-bit ASCII character set. |
7
Global configuration
Configuring the EXEC character width to 8 bits allows you to add graphical and international characters in banners, prompts, and so forth. However, setting the EXEC character width to 8 bits can also cause failures. If a user on a terminal that is sending parity enters the command help, an "unrecognized command" message is displayed because the system is reading all 8 bits and the eighth bit is not needed for the help command.
The following example selects the full 8-bit ASCII character set for EXEC banners and prompts.
Switch# default-value exec-character-bits 8
exec-character-bits
special-character-bits
terminal exec-character-bits
terminal special-character-bits
To configure the flow control default value from a 7-bit width to an 8-bit width, use the default-value special-character-bits global configuration command.
default-value special-character-bits {7 | 8}
7 | Selects the 7-bit character set. |
8 | Selects the full 8-bit character set. |
7
Global configuration
Configuring the special character width to 8 bits enables you to add graphical and international characters in banners, prompts, and so forth.
The following example selects the full 8-bit special character set.
Switch# default-value special-character-bits 8
exec-character-bits
special-character-bits
terminal exec-character-bits
terminal special-character-bits
To delete any file on a Flash memory device, use the delete privileged EXEC command.
delete [device:] filename
device: | Device containing the file to be deleted. (The colon (:) is required.) Valid devices are as follows: · bootflash: This device is the internal Flash memory. · slot0: This device is the first PCMCIA slot on the ASP card and is the initial default device. · slot1: This device is the second PCMCIA slot. |
filename | Name of the file to be deleted. The maximum filename length is 63 characters. |
Privileged EXEC
To add a description to an interface configuration, use the description interface configuration command. Use the no form of this command to remove the description.
description string
string | Comment or a description to help you remember what is attached to this interface. |
No description is added.
Interface configuration
The description command is meant solely as a comment to be put in the configuration to help you remember what certain interfaces are used for. The description appears in the output of the following EXEC commands: show startup-config, show interfaces, and show running-config.
The following example describes a 3174 controller on async interface 0.
Switch(config)# interface async 0
Switch(config-if)# description 3174 Controller for test lab
show atm interface
show running-config
show startup-config
To display a list of files on a Flash memory device, use the dir EXEC command.
dir [/all | /deleted] [/long] [device:] [filename]
/all | (Optional) Lists deleted files, undeleted files, and files with errors. |
/deleted | (Optional) Lists only the deleted files. |
/long | (Optional) Displays additional information about the files listed, including the following information: · File's index number (#). · Whether the file contains an error (E) or is deleted (D). · File's type (1 = configuration file, 2 = image file). The switch displays these values only when the file's type is certain. When the file's type is unknown, the system displays a zero or FFFFFFFF in this field. · File's Cyclic Redundant Checksum (crc). · Offset into the file system of the next file (seek). · Length of file's name (nlen). · Length of the file itself (length). · The date/time file was created (date/time). · File's name (name). |
device: | (Optional) Device containing the file(s) to list. (The colon (:) is required.) Valid devices are as follows: · bootflash: This device is the internal Flash memory. · slot0: This device is the first PCMCIA slot on the ASP card and is the initial default device. · slot1: This device is the second PCMCIA slot. |
filename | (Optional) Name of the file(s) to display on a specified device. The files can be of any type. You can use wildcards in the filename. A wildcard character (*) matches all patterns. Strings after a wildcard are ignored. |
The initial default device is slot0:. Otherwise, the default device is that specified by the cd command. When you omit all keywords and arguments, the switch displays only undeleted files for the default device specified by the cd command in short format.
EXEC
If you omit the device, the switch uses the default device specified by the cd command.
When you use one of the keywords (/all, /deleted, /long), the system displays file information in long format. The long format includes the following categories:
When you omit all keywords (/all, /deleted, /long), the system displays file information in short format. Short format includes the following categories:
The following example instructs the switch to list undeleted files for the default device specified by the cd command. Notice that the switch displays the information in short format because no keywords are used.
Switch# dir
-#- -length- -----date/time------ name 1 5393 May 03 1996 14:32:57 startup-config 2 2229876 Apr 11 1997 10:46:10 ls1010-wp-mz.112-4.4.WA3.1.1 3 2261104 Apr 28 1997 11:32:09 ls1010-wp-mz.112-4.4.WA3.1.8 3498632 bytes available (4496760 bytes used)
The following example displays the long version of the same device.
Switch# dir /long
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. 1 AE9B32B 21594 14 5393 May 03 1996 14:32:57 startup-conf ig 2 .. FFFFFFFF 53252C10 241C88 28 2229876 Apr 11 1997 10:46:10 ls1010-wp-mz .112-4.4.WA3.1.1 3 .. FFFFFFFF 2CC16752 469D78 28 2261104 Apr 28 1997 11:32:09 ls1010-wp-mz .112-4.4.WA3.1.8 3498632 bytes available (4496760 bytes used)
cd
config-register
delete
undelete
To disassemble the instruction stream, use the dis ROM monitor command.
disThis command has no keywords or arguments.
ROM monitor
To return to the EXEC mode by exiting the privileged EXEC mode, use the disable EXEC command.
disable level
level | (Optional) You can specify up to 16 privilege levels, using numbers 0 through 15. Level 1 is normal EXEC-mode user privileges. If this argument is not specified, the privilege level defaults to 15 (traditional enable privileges). |
15
EXEC
In the following example, the user is logging out from privilege level 5:
Switch# disable 5
To disconnect an existing network connection, use the disconnect privileged EXEC command.
disconnect[ip-address | name]
ip-address | Number of the IP address. |
name | Name of the network connection. |
Privileged EXEC
|
|