|
|
To set the padding on a specific output character, use the padding line configuration command. To return padding to the default, use the no form of this command.
padding ascii-number count
ascii-number | ASCII decimal representation of the character. |
count | Number of null bytes sent after that character, up to 255 padding characters in length. |
Padding is not configured.
Line configuration
Use this command if the device attached is an old terminal that requires padding after certain characters (such as ones that scrolled or moved the carriage).
The following example pads a Return (ASCII decimal 13) with 25 null bytes.
Switch(config)# line console Switch(config-line)# padding 13 25
To specify the PNNI local node index of the parent node, use the parent PNNI node configuration command.
parent node-index
node-index | Index number of the PNNI local node to which the command applies, in the range of 1 to 8. |
PNNI node configuration
This command specifies the local node index of the parent node to be instantiated in the PNNI hierarchy by this switching system when this node is elected peer group leader.
The following example shows how to enter PNNI node configuration mode and specify a node.
Switch# configure terminal Switch(config)# atm router pnni Switch(config-atm-router)# node 1 Switch(config-pnni-node)#
The following example shows how to specify a local node index of 2 for the parent node.
Switch(config-pnni-node)# parent 2
Use the ping atm interface atm privileged EXEC command to check connectivity of the switch.
ping atm interface atm card/subcard/port vpi [vci] {[ip-address ip-address] | [seg-loopback]
card/subcard/port | Card number, subcard number, and port number of the specified ATM interface. |
vpi | Virtual path identifier. |
vci | Virtual channel identifier. |
ip-address | IP address of the destination node. |
seg-loopback | Send OAM segment loopback. |
end-loopback | Send OAM ping to end loopback. |
Privileged EXEC
To check reachability and network connectivity, use the ping command. You can use either an IP-address or an ATM-address prefix as a ping destination. You can also ping a neighbor switch by selecting the segment loopback option. Note that ip-address and seg-loopback options are mutually exclusive. In privilege extended command mode, you can select various other parameters, such as repeat count, timeout value, and so on.
The following example shows how to use the ping command in normal mode for an ATM switch router.
Switch#ping atm interface atm 0/0/0 100 250 seg-loopback 172.20.52.2
The following example shows how to use the ping command in extended command mode.
Switch# ping Protocol [ip]: atm Interface [card/sub-card/port]: 1/1/3 VPI [0]: 200 VCI [0]: 100 Send OAM-Segment-Loopback ? [no]: Target IP address: Target NSAP Prefix: Repeat count [5]: Timeout in seconds [5]:
The following example shows using the ping command in user EXEC mode.
Switch# ping james Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.31.7.27, timeout is 2 seconds: !!!!! Success rate is 100 percent, round-trip min/avg/max = 1/3/4 ms
The following example shows using the ping command in privileged EXEC mode. While the precise dialog varies somewhat from protocol to protocol, all are similar to the ping session using default values shown in the following display.
Switch# ping Protocol [ip]: Target IP address: 192.31.7.27 Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.31.7.27, timeout is 2 seconds: !!!!! Success rate is 100 percent, round-trip min/avg/max = 1/2/4 ms
Table 15-1 describes the default privileged EXEC ping fields shown in the previous display.
| Field | Description |
|---|---|
Protocol [ip]: | Prompts for a supported protocol. Enter appletalk, clns, ip, novell, apollo, vines, decnet, or xns. Default: ip. |
Target IP address: | Prompts for the IP address or host name of the destination node you plan to ping. If you have specified a supported protocol other than IP, enter an appropriate address for that protocol here. Default: none. |
Repeat count [5]: | Number of ping packets that are sent to the destination address. Default: 5. |
Datagram size [100]: | Size of the ping packet (in bytes). Default: 100 bytes. |
Timeout in seconds [2]: | Timeout interval. Default: 2 (seconds). |
Extended commands [n]: | Specifies whether or not a series of additional commands is displayed. |
Sweep range of sizes [n]: | Allows you to vary the sizes of the echo packets being sent. This capability is useful for determining the minimum sizes of the MTUs configured on the nodes along the path to the destination address. Packet fragmentation contributing to performance problems can then be reduced. |
!!!!! | Each exclamation point (!) indicates receipt of a reply. A period (.) indicates the network server timed out while waiting for a reply. Other characters might be displayed in the ping output, depending on the protocol type. |
Success rate is 100 percent | Percentage of packets successfully echoed back to the switch. Anything less than 80 percent is usually considered problematic. |
round-trip min/avg/max = 1/2/4 ms | Round-trip travel time intervals for the protocol echo packets, including minimum/average/maximum (in milliseconds). |
To configure the precedence of different types of reachable addresses, use the precedence ATM router PNNI configuration command. To return to the default precedence value for a particular reachable address type, use the no form of this command.
precedence [pnni-remote-exterior | pnni-remote-exterior-metrics | pnni-remote-internal |
pnni-remote-exterior | Sets the priority for the remote exterior prefixes without metrics. The default is 4. |
pnni-remote-exterior-metrics | Sets the priority for the remote exterior prefixes with metrics. The default is 2. |
pnni-remote-internal | Sets the priority for the remote internal prefixes without metrics. The default is 2. |
pnni-remote-internal-metrics | Sets the priority for the remote internal prefixes with metrics. The default is 2. |
static-local-exterior | Sets the priority for the static exterior prefixes without metrics. The default is 3. |
static-local-exterior-metrics | Sets the priority for the static exterior prefixes with metrics. The default is 2. |
static-local-internal-metrics | Sets the priority for the static internal prefixes with metrics. The default is 2. |
value_2-4 | Specifies the precedence of a reachable address type. Smaller values take precedence over larger values. The range of values is 2, 3, or 4. |
See the syntax descriptions.
ATM router PNNI configuration
The following naming convention for the precedence option keywords is used.
The route selection algorithm chooses routes to particular destinations using the longest match-reachable address prefix known to the switch. When there are multiple reachable address types associated with the longest match-reachable address prefix, the route selection algorithm first attempts to find routes to reachable address types of greatest precedence. Among multiple routes to the same longest match-reachable address prefix with the same reachable address type, routes with the least total administrative weight are preferred.
Use the precedence command to change the default values for the different types of reachable addresses.
Local internal reachable addresses, whether learned through ILMI or as static routes, are given the highest priority (level 1).
To set the privilege level for a command, use the privilege level global configuration command. To revert to default privileges for a given command, use the no form of this command.
privilege mode level level command [type]
command | Command to which privilege level is associated. |
level | Privilege level to be associated with the specified command. You can specify up to 16 privilege levels, using numbers 0 through 15. |
mode | Configuration mode. Refer to the Router Products Command Reference publication for more information. |
type | Refer to Table 15-2 for a list of optional keywords. |
Level 15 is the level of access permitted by the enable password.
Level 1 is normal EXEC-mode user privileges.
Global configuration
The alias command shows the acceptable options for the mode argument in the privilege level global configuration command.
The password for the privilege level defined using the privilege level global configuration mode is configured using the enable password command.
Level 0 can be used to specify a more limited subset of commands for specific users or lines. For example, you can allow user "guest" to only use the show users and exit commands.
If you set a command to a privilege level, all commands that have a syntax that is a subset of the syntax of that command are also set to that level. For example, when you set the command show ip route to level 15 and do not set show and show ip commands to a different level, they are also set to the privilege level 15.
Table 15-2 shows the optional keywords you specify to set the privileged level.
| Type | Description |
|---|---|
acctng-file | Configure ATM accounting file. |
acctng-sel | Configure ATM accounting selection. |
atm-router | ATM router configuration mode. |
atmsig_e164_table_mode | ATMSIG E164 table. |
configure | Global configuration mode. |
exec | Exec mode. |
interface | Interface configuration mode. |
lane | ATM LAN Emulation LECS Configuration Table. |
line | Line configuration mode. |
map-class | Map class configuration mode. |
map-list | Map list configuration mode. |
null-interface | Null interface configuration mode. |
pnni-router-node | PNNI router node configuration mode. |
route-map | Route map configuration mode. |
In the following example, the configure command in global configuration mode is assigned a privilege level of 14. Only users who know the level 14 password are able to use the configure command.
Switch# privilege exec level 14 configure
Switch# enable password level 14 pswd14
configure
enable password
privilege level (line)
To set the default privilege level for a line, use the privilege level line configuration command. To restore the default user privilege level to the line, use the no form of this command.
privilege level level
level | Privilege level to be associated with the specified line. |
Level 15 is the level of access permitted by the enable password.
Level 1 is normal EXEC-mode user privileges.
Line configuration
The privilege level that is set using this command can be overridden by a user logging in to the line and enabling a different privilege level. The user can lower the privilege level by using the disable command. If they know the password to a higher privilege level, they can use that password to enable the higher privilege level.
Level 0 can be used to specify a more limited subset of commands for specific users or lines. For example, you can allow user "guest" to only use the show users and exit commands.
You might specify a high level of privilege for your console line if you are able to restrict who uses that line.
In the following example, the virtual terminal line is configured for privilege level 5. Anyone using virtual terminal line 0 has privilege level 5 by default.
Switch(config)# line console 0 Switch(config-line)# privilege level 5
To set PTSE origination and request parameters (including significant change determination parameters), use the ptse PNNI node configuration command. To revert to the default values, use the no form of this command.
ptse [lifetime-factor percentage-factor] [min-ptse-interval tenths-of-seconds]
min-ptse-interval | Specifies the minimum interval between updates of any given PTSE. This means new instances of a PTSE are not issued more often than every min-ptse-interval seconds. The default value is 1 second. The minimum value is 0.1 seconds. |
tenths-of-seconds | Specifies the time of the interval in tenths of seconds. Ten tenths-of-seconds equals one second. |
lifetime-factor | Specifies an initial lifetime of self-originated PTSEs as a percentage of the refresh-interval. The default is 200 percent. |
percentage-factor | Specifies the percentage factor of the refresh interval, from 101 to 1000. The value 100 represents a quantity equal to the refresh interval. |
refresh-interval | Specifies the period the system updates self-originated PTSEs. The default is 1800. |
request | Specifies the maximum number of PTSEs requested in one request packet. The default is 32. |
number | Specifies the PTSE requests using an integer. |
acr-mt | Specifies the available cell rate minimum threshold which is the minimum change of available cell rate considered significant, as a percentage of the maximum cell rate. The default is 3 percent. |
acr-pm | Specifies the available cell rate proportional multiplier, which is the percentage of change from the current available cell rate considered significant. The default is 50 percent. |
cdv-pm | Specifies the cell delay variation proportional multiplier, which is the percentage of change from the current cell delay variation considered significant. The default is 25 percent. |
ctd-pm | Specifies the maximum cell transfer delay proportional multiplier, which is the percentage of change from the current maximum cell transfer delay considered significant. The default is 50 percent. |
percent | Specifies the significant change threshold percent, from 1 to 99. |
See the syntax descriptions.
PNNI node configuration
Lowering refresh-interval time causes PNNI to reoriginate PTSEs more frequently, allowing insignificant changes to be advertised sooner at the cost of more PNNI traffic. Note that significant changes are advertised immediately.
Decreasing the lifetime-factor lowers the initial lifetime of PTSE, which means PTSEs of a PNNI node that has stopped functioning are removed from the database sooner. Lowering min-ptse-interval allows PNNI to update PTSEs quickly when changes happen rapidly in the network. This should be adjusted carefully so that you do not overload switch processors. In a normal situation, these parameters are not changed from their default values.
The significant change parameters define the level of changes in metrics that triggers PNNI to update and send its PTSEs. It applies to all PTSE types that include metrics: for example, horizontal link, up link, external reachable address, and nodal state parameters. Any change in administrative weight or cell loss ratio is considered significant.
For more information, refer to the Catalyst 8540 MSR Software Configuration Guide.
The following script shows how to access the ptse node-level subcommand.
Switch# configure terminal Switch(config)# atm router pnni Switch(config-atm-router)# node 1 Switch(config-pnni-node)# ptse refresh-interval 1900
show atm pnni local-node
show atm pnni resource-info
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 2 10:31:34 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.