The following command sequence assumes that the port chosen for SNA over SDLC operation has already been configured for mode (DCE/DTE), baud, encode method, frame relay, and tunnel parameters (netlink).
- Set the port for SDLC operation:
CLI> define wan port protocolSupport
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Assign a new IfIndex for this port. (show system ifindex will give you a list of IfIndexes already in use.) |
| <ProtocolSupport> | none | standardFr | switchingFr | htds | cbr | sdlc | x25 | async | pppHdlc | channel | hdlc | casBypass | Select sdlc. |
Example:
CLI> define wan port protocolSupport 171 sdlc
- Set the port role:
CLI> define sna sdlc port role
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | The IfIndex is the IfIndex of the WAN port plus 2. |
| <Role> | primary | secondary | Select primary if the SNA device attached to the unit's physical port is a terminal or cluster controller. Select secondary if the SNA device is a host. |
Example:
CLI> define sna sdlc port role 173 primary
- Add the SNA link station address:
CLI>add sna sdlc linkstation
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Enter the same IfIndex as the previous command. |
| <Address> | Integer (1..254) | Enter the link station address of this port. The value must be entered in decimal. For example, hexadecimal link station address C1 must be entered as 193 decimal. |
| <Name> | "String" (1..8) | Enter the name of this port as a quoted string of alphanumeric characters. |
Example:
CLI> add sna sdlc linkstation 173 14 "LSI"
- Define the MAC address of the link station at the local end (the link station is treated as an IP connection):
CLI> define sna switching linkstation localMacAddress
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Enter the same IfIndex as the previous command. |
| <Address> | Integer (1..254) | Enter the link station address of this port. The value must be entered in decimal. For example, hexadecimal link station address C1 must be entered as 193 decimal. |
| <LocalMacAddress> | MAC address (size 0 | 12) | Enter the MAC address for the local end of the link station. |
The default local MAC address is 00:00:00:00:00:00. You must change this to a new value (for example, 00:00:00:00:00:01 for the local unit and 00:00:00:00:00:02 for the remote unit). The MAC address entered must be unique within the network. These MAC addresses are arbitrary and used only by the units to transport SNA data across the network. The MAC addresses do not have any relationship to IP or other network transport protocols. The only requirement is that each MAC address is unique in the network.
Example:
CLI> define sna switching linkstation localMacAddress 173 14 11:11:11:11:11:51
- Define the SAP address of the link station at the local end:
CLI> define sna switching linkstation localSap
| Parameter | Range of Values | Required Action |
| <IfIndex> | Integer (1..255) | Enter the same IfIndex as the previous command. |
| <Address> | Integer (1..254) | Enter the link station address of this port. The value must be entered in decimal. For example, hexadecimal link station address C1 must be entered as 193 decimal. |
| <LocalSap> | SAP (0x0 | 0x00 - 0xFF) | Enter the SAP address for this end of the link station. The default is 0x04. |
Example:
CLI> define sna switching linkstation localSap 173 14 0x04
Continue on to step 6.