Table Of Contents
Shelf Discovery and Autoconfiguration
Autoconfiguration of Managed Shelves
Configure the System Controller
Command Reference - System Controller
Debug Command - System Controller
Command Reference - Managed Shelf
Shelf Discovery and Autoconfiguration
Description
The Shelf Discovery and Autoconfiguration feature allows a system controller to automatically discover new shelves and properly configure them to interact with the system controller. The system controller communicates with its managed shelves through the Shelf Discovery Protocol (SDP), which runs on top of UDP.
Autoconfiguration of Managed Shelves
When the system controller detects that a shelf has been added or reloaded, it sends the following configuration commands to the shelf:
•
SNMP configuration commands
•
Enables SNMP
•
Configures the community string to match the string used by the system controller
•
Configures the system controller as a target for traps
•
Logging configuration commands
•
Enables logging
•
Configures the system controller as a target for logging
•
Configures timestamps on messages
•
NTP configuration commands
•
Specifies the system controller as the time source
•
Updates the system calendar using the NTP time
Benefits
The Shelf Discovery and Autoconfiguration feature provides the following benefits:
•
Control of multiple platforms from one location
•
Easier method of configuring commands on all shelves
•
Consolidated list of managed shelves and all interfaces on managed shelves
List of Terms
shelf—An access server or router managed by the system controller.
Shelf Discovery Protocol (SDP)—The protocol a system controller uses to communicate with its managed shelves.
system controller—A Cisco IOS-based device that aids in the monitoring and management of a number of access servers and routers.
Configuration Tasks
In order for a system controller to automatically discover and configure a shelf, both the system controller and the managed shelf must be configured.
Configure the Shelf
To configure the shelf to use the system controller, perform the following tasks in global configuration mode:
To monitor the SDP process, use the show syscon sdp and debug syscon sdp commands.
Configure the System Controller
To configure the system controller, perform the following tasks in global configuration mode:
Use the following commands to monitor SDP events and status:
Task CommandDisplay information about managed shelves.
show syscon discover [brief | full]
Display information about SDP.
show syscon sdp
Debug SDP.
debug syscon sdp
Configuration Examples
The following sample configuration enables a device to begin serving as a system controller. The system controller waits to be contacted by shelves and then provides them with the appropriate configuration.
syscon password syspasswordsyscon community publicThe follow example configures a shelf to use the system controller at 172.23.66.111. The shelf ID is 99. If you are using a Cisco AS5800, you do not need to specify a shelf ID with the syscon shelf-id command.
syscon address 172.23.66.111 syspasswordsyscon shelf-id 99After the shelf has contacted the system controller through SDP, the system controller configures the managed shelf with the following commands:
snmp-server community public RWsnmp-server enable trapssnmp-server host 172.23.66.111 traps version 2c publicsnmp-server packetsize 1480ntp server 172.23.66.111ntp update-calendarservice timestamps log datetime mseclogging 172.23.66.111logging trapThe following sample debug syscon sdp output on the managed shelf shows the shelf contacting the system controller. The shelf sends a Hello packet to the system controller at 172.23.66.111. The system controller responds with the autoconfiguration commands. The remaining lines show the Hello packets exchanged between the shelf and the system controller.
Shelf# debug syscon sdpSYSCTLR: Hello packet sent to the SYSCTLR at 172.23.66.111SYSCTLR: Command packet received from SYSCTLRFeb 24 17:24:16.713: %SHELF-6-SYSCTLR_ESTABLISHED: Configured via system controller located at 172.23.66.111SYSCTLR: Rcvd HELLO from SYSCTLR at 172.23.66.111SYSCTLR: Hello packet sent to the SYSCTLR at 172.23.66.111SYSCTLR: Rcvd HELLO from SYSCTLR at 172.23.66.111The following sample debug syscon sdp output on the system controller shows the system controller discovering the managed shelf. In the first few lines, the system controller receives a Hello packet from shelf 99 at 172.23.66.106. The system controller responds with a Hello packet. When the shelf sends another Hello packet, the system controller resets the timer and sends another packet.
Syscon# debug syscon sdpSYSCTLR: Hello packet received via UDP from 172.23.66.106%SYSCTLR-6-SHELF_ADD: Shelf 99 discovered located at address 172.23.66.106Hello packet sent to the RS located at 172.23.66.106SYSCTLR: Hello packet received via UDP from 172.23.66.106Timer for shelf 99 updated, shelf is aliveHello packet sent to the RS located at 172.23.66.106Command Reference - System Controller
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 11.3 command references.
show syscon discover
To display information about discovered shelves, use the show syscon discover EXEC command.
show syscon discover [brief | full]
Syntax Description
brief
(Optional) Displays a list of discovered shelves. This is the default.
full
(Optional) Displays detailed information about discovered shelves.
Command Mode
EXEC
Default
Brief
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
The show syscon discover full command includes output from the show syscon perfdata and show syscon monitor commands.
Sample Display
The following is sample output from the show syscon discover brief command:
Syscon# show syscon discover briefShelf# 3 10.0.1.2 Last update 11:15:29 PST Jan 22 1998describes the fields shown in this display.
The following is sample output from the show syscon discover full command:
Syscon# show syscon discover fullShelf# 3 10.0.1.2 Last update 11:16:27 PST Jan 22 1998 type products.108ifIndex Type OperStatus Speed Last Changed1 1 down 9000 2492 1 down 9000 2493 1 down 9000 2494 1 down 9000 2495 1 down 9000 2496 1 down 9000 2497 1 down 9000 2498 1 down 9000 2499 1 down 9000 24910 1 down 9000 249...Performance Data Collection:Poll Last Total Get GetBulk Bulk XferShelf# Group File Requests Requests Requests Requests Errors2 chassis 886010845 151 0 0 151 0popmgmt 886011146 5180 148 5032 0 0Health monitor process is not running.describes the fields shown in this display.
Related Commands
show syscon monitor
show syscon perfdata
show syscon sdp
syscon community
syscon passwordshow syscon sdp
To display information about the Shelf Discovery Protocol, use the show syscon sdp EXEC command.
show syscon sdp
Syntax Description
This command has no arguments or keywords.
Command Mode
EXEC
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
Sample Display
The following is sample output from the show syscon sdp command:
Syscon# show syscon sdp3006 Total SDP packets6 Bad packets with bad MD5 hash1503 Hello packets received1497 Hello packets sent0 Command packets received0 Command packets sentdescribes the fields shown in the sample display.
Related Commands
show syscon discover
syscon community
syscon passwordsyscon community
To set the SNMP community string the system controller uses to communicate with its managed shelves, use the syscon community global configuration command. The no form of this command sets the community string to public.
syscon community string
no syscon communitySyntax Description
Default
The community string is private.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command is required in order to configure the system controller. The system controller automatically configures its managed shelves to accept this SNMP community string.
Example
The following example configures the system controller to use the community string purple when communicating with managed shelves using SNMP. The managed shelves will automatically be configured to accept the community string of purple from the system controller.
syscon community purpleRelated Commands
show syscon discover
show syscon sdp
syscon passwordsyscon password
To set the password used by the system controller to communicate with its managed shelves, use the syscon password global configuration command. This command also configures the device as a system controller. The no form of this command deletes the password and disables the system controller.
syscon password string
no syscon passwordSyntax Description
Default
No password is set.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command is required to use any of the system controller features. The password must match the password specified on the shelves through the syscon address command. The managed shelves use this password to authenticate messages from the system controller.
Example
The following example configures the system controller to use the password yellow to communicate with its managed shelves:
syscon password yellowRelated Commands
show syscon discover
show syscon sdp
syscon community
Debug Command - System Controller
The debug syscon sdp command has been added for this feature.
debug syscon sdp
Use the debug syscon sdp EXEC command to display messages related to the Shelf Discovery Protocol (SDP). The no form of this command disables debugging output.
[no] debug syscon sdp
Usage Guidelines
Use this command to display information about SDP packets exchanged between the shelf and the system controller.
Sample Display
The following sample debug syscon sdp output shows the system controller discovering a managed shelf. In the first few lines, the system controller receives a Hello packet from shelf 99 at 172.23.66.106. The system controller responds with a Hello packet. When the shelf sends another Hello packet, the system controller resets the timer and sends another packet.
Syscon# debug syscon sdpSYSCTLR: Hello packet received via UDP from 172.23.66.106%SYSCTLR-6-SHELF_ADD: Shelf 99 discovered located at address 172.23.66.106Hello packet sent to the RS located at 172.23.66.106SYSCTLR: Hello packet received via UDP from 172.23.66.106Timer for shelf 99 updated, shelf is aliveHello packet sent to the RS located at 172.23.66.106Command Reference - Managed Shelf
The following commands are used on the managed shelves:
show syscon sdp
To display information about the Shelf Discovery Protocol, use the show syscon sdp EXEC command.
show syscon sdp
Syntax Description
This command has no arguments or keywords.
Command Mode
EXEC
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
Sample Display
The following is sample output from the show syscon sdp command:
Shelf# show syscon sdpCurrent time 10:46:32 PST Jan 28 1998, system controller 172.23.66.100Last hello packet received at 10:45:38 PST Jan 28 199811773 Total SDP packets0 packets with bad MD5 hash5884 Hello packets received5889 Hello packets sent0 Command packets received0 Command packets sentdescribes the fields shown in the sample display.
Related Commands
syscon address
To specify the system controller for a managed shelf, use the syscon address global configuration command. Use the no form of this command to stop the management of the shelf by the system controller.
syscon address ip-address password
no syscon addressSyntax Description
Default
No system controller is specified.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command is required in order for the shelf to be managed by the system controller. The password must match the password configured on the system controller through the syscon password command.
Example
The following example configures a shelf to be managed by a system controller at 10.2.3.4 using the password green:
syscon address 10.2.3.4 greenRelated Commands
show syscon sdp
syscon shelf-idsyscon shelf-id
To specify a shelf ID for a managed shelf, use the syscon shelf-id global configuration command. The no form of this command removes the shelf ID.
syscon shelf-id number
no syscon shelf-idSyntax Description
Default
No shelf ID is specified.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
Use this command to specify a shelf ID for a managed shelf. Some platforms, such as the Cisco AS5800, use other commands to assign a shelf ID. In these situations, do not specify a shelf ID with the syscon shelf-id command. Use the platform-specific command instead.
Example
The following example configures a shelf ID of 5 for the managed shelf:
syscon shelf-id 5Related Commands
syscon source-interface
To specify the interface to use for the source address in SDP packets, use the syscon source-interface global configuration command. Use the no form of this command to return to the default source interface for a packet, the interface that transmitted the packet from the shelf.
syscon source-interface interface
no syscon source-interfaceSyntax Description
Default
SDP packets use the IP address of the output interface.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
Use this command to ensure that all SDP packets sent by the managed shelf have the same source IP address.
Example
The following example configures a shelf to use the IP address of the Ethernet99/1/0 interface:
syscon source-address Ethernet99/1/0Related Commands
show syscon sdp
syscon shelf-idDebug Command - Managed Shelf
The debug syscon sdp command has been added for this feature.
debug syscon sdp
Use the debug syscon sdp EXEC command to display messages related to the Shelf Discovery Protocol (SDP). The no form of this command disables debugging output.
[no] debug syscon sdp
Usage Guidelines
Use this command to display information about SDP packets exchanged between the shelf and the system controller.
Sample Display
The following sample debug syscon sdp output shows the shelf contacting the system controller. The shelf sends a Hello packet to the system controller at 172.23.66.111. The system controller responds with the autoconfiguration commands. The remainding lines show the Hello packets exchanged between the shelf and the system controller.
Shelf# debug syscon sdpSYSCTLR: Hello packet sent to the SYSCTLR at 172.23.66.111SYSCTLR: Command packet received from SYSCTLRFeb 24 17:24:16.713: %SHELF-6-SYSCTLR_ESTABLISHED: Configured via system controller located at 172.23.66.111SYSCTLR: Rcvd HELLO from SYSCTLR at 172.23.66.111SYSCTLR: Hello packet sent to the SYSCTLR at 172.23.66.111SYSCTLR: Rcvd HELLO from SYSCTLR at 172.23.66.111Supported MIBs and RFCs
None
What to Do Next
Once you have configured the Shelf Discovery and Autoconfiguration feature on the system controller and managed shelves, you can increase the functionality of the system controller by configuring additional features. The following features, which are documented separately, provide additional functionality for the system controller: