SDLC configuration Command Directory

sdlc address

sdlc k

sdlc n1

sdlc n2

sdlc t1

sdlc sdlc-largest-frame

sdlc partner

sdlc poll-limit-value

sdlc poll-pause-timer

sdlc saps

sdlc role

sdlc simultaneous

sdlc vmac

sdlc xid

sdlc holdqueue

debug sdlc error

debug sdlc state

debug sdlc packet

 

sdlc address

Command Description:

sdlc address sdlc-address

Configuring SDLC address of SDLC secondary station

 

Parameter:

 

explanation:

Numeric Area

Sdlc-address

Address of SDLC secondary station.

1-0xfe

 

default:

none

 

explanation:

SDLC protocol allows multiple virtual circuits to run on physical link of SDLC. One terminal connects with the primary station, the other terminal connects with the secondary station. In order to distinguish each virtual circuit, SDLC address shall be designated to each virtual circuit. As the mode of SDLC is the unbalanced one, main equipment can connect with multiple sole secondary equipment through shared ware or SDLC exchanger. But the connection cannot be set up between the equipment. So when the address of the secondary equipment is identified, the normal communication between SDLC equipment of the same group can be ensured. The command designated SDLC address, which is exclusive on a physical port, for the virtual circuit. SDLC address configured on Synchronous port is actually the address of SDLC secondary station connected with the interface.

SDLC address on a router is effective exclusively on a physical interface, which means that SDLC address configured on the different interfaces are the same.

 

 

Example:

Configuring a SDLC station C1

int s1/1

sdlc address c1

 

sdlc k

Command Description:

sdlc k length

 Configuring the size of the window for transmitting SDLC, namely the maximum frames sent one time and unconfirmed by the opposite terminal 

 

Parameter:

 

explanation:

Numeric Area

length

The size of window for transmission

1-7

 

default:

7

 

explanation:

none

 

Example:

Configuring the window for transmission of sdlc as 3

int s1/1

sdlc K 3

 

sdlc n1

Command Description:

sdlc n1 length

Configuring the maximum length of fame receivable of SDLC, namely N1 value defined by protocol.

 

Parameter:

 

explanation:

Numeric Area

Length

The maximum length of frame receivable

1-1500 bytes

 

default:

1500 bytes

 

explanation:

none

 

Example:

Configuring the maximum length of frame receivable of a SDLC

int s1/1

sdlc n1 1200

 

sdlc n2

Command Description:

sdlc n2 times

Configuring the maximum times of retransmit of SDLC, namely N2 value defined by protocol.

Parameter:

 

 

explanation:

Numeric Area

Times

Maximum times of retransmit

1-255

 

default:

20 times

explanation:

none

 

Example:

Configuring the maximum times of retransmit of a SDLC as 12

int s1/1

sdlc n2 12

 

sdlc t1

Command Description:

sdlc t1 seconds

Configuring the time of SDLC’s waiting for response, namely T1 value defined by protocol.

 

Parameter:

 

explanation:

Numeric Area

Seconds

The time of waiting for response

1-64s

 

default:

3s

 

explanation:

none

 

Example:

Configuring the time of a SDLC’s waiting for response as 30s.

int s1/1

sdlc t1 30

 

sdlc sdlc-largest-frame

Command Description:

sdlc sdlc-largest-frame sdlc-address length

Configuring the maximum length of frame receivable of each secondary station

 

Parameter:

 

explanation:

Numeric Area

Length

Maximum length of frame receivable

1-1500 bytes

 

default:

265 bytes

 

explanation:

none

 

Example:

Configuring the maximum length of frame receivable of a SDLC as 1200

int s1/1

sdlc sdlc-largest-frame 1200

 

sdlc partner

Command Description:

sdlc partner mac-address sdlc-address

Configuring the mapping of SDLC secondary station and remote MAC address, thus the connection is set up between the secondary station and remote equipment.

 

Parameter:

 

explanation:

Numeric Area

Mac-address

MAC address of remote equipment

48 bytes

Sdlc-address

Address of secondary station

1-0xfe

 

default:

none

 

explanation:

none

 

Example:

Configuring 0011.1122.3344 for C1 station of a SDLC

int s1/1

sdlc partner 0011.1122.3344 C1

 

sdlc poll-limit-value

Command Description:

sdlc poll-limit-value times

Configuring the maximum times of SDLC query to secondary station.

 

Parameter:

 

explanation:

Numeric Area

times

The maximum times of query to secondary station

1-10

 

default:

1

 

explanation:

When the mast station inquires the secondary station and the secondary station sends the data frame equal to the size of a full window for transmission, the primary station can re-inquire the secondary station rather than the next secondary station. The command is used for configuring the times of consecutive inquiry to a secondary station.

 

Example:

Configuring the maximum times of a SDLC’s inquiry to the secondary station

int s1/1

sdlc poll-limit-value 10

 

sdlc poll-pause-timer

Command Description:

sdlc poll-pause-timer seconds

Configuring the interval of SDLC inquiry to the secondary station

 

Parameter:

 

explanation:

Numeric Area

seconds

Time Interval

100-10000 ms

 

default:

100 ms

 

explanation:

none

 

Example:

Configuring the time interval of a SDLC as 1200ms

int s1/1

sdlc poll-pause-timer 1200

 

sdlc saps

Command Description:

sdlc saps sdlc-address local-sap remote-sap

Configuring SAP value used for the connection between SDLC and remote equipment

 

Parameter:

 

explanation:

Numeric Area

Sdlc-address

SDLC address of secondary station

1-0xfe

Local-sap

SAP value used by the secondary station

1-254

Remote-sap

SAP value used by remote terminal

1-254

 

default:

The secondary station and remote terminal both use 0x04.

 

explanation:

none

 

Example:

Configuring SAP value used by the secondary station C1 of a SDLC as 8, and SAP value used by the remote terminal as 24.

int s1/1

sdlc saps C1 8 24

 

sdlc role

Command Description:

sdlc role {primary|secondary}

Configuring the type of SDLC station

 

Parameter:

Parameter:

explanation:

Numeric Area

Primary

Configuring the port into SDLC primary station

NA

secondary

Configuring the port into SDLC secondary station

NA

 

default:

primary

 

explanation:

SDLC is an unbalanced mode link layer, the status of the connected equipment on the two terminals are not equal, of which one terminal plays a leading role and controls the whole process of connection, it is called the primary station, the other terminal is passive and controls the primary station, it is called secondary station. In order to encapsulate the role of interface configuration of SDLC protocol, the user shall make the decision according to the role of SDLC equipment connected with the router when configuring SDLC role. If SDLC equipment connected with the interface is primary, the interface shall be set as secondary. If the connected equipment is secondary, the interface shall be set as primary. Under general conditions, the mainframes at the center are primary. The terminal equipment such as Unix host and ATM are secondary.

 

Example:

Configuring SDLC as secondary station

int s1/1

sdlc role secondary

 

sdlc simultaneous

Command Description:

sdlc simultaneous [full-datamode | half-datamode]

Configuring half-duplex and full duplex working mode of SDLC .

 

Parameter:

 

explanation:

Numeric Area

Full-datamode

full duplex working mode

none

Half-datamode

Half-duplex working mode

none

 

default:

full duplex working mode

 

explanation:

none

 

Example:

Configuring a SDLC primary station into harf-duplex working mode

int s1/1

sdlc simultaneous half-datamode

 

sdlc vmac

Command Description:

sdlc vmac mac-address

Configuring virtual MAC address of SDLC secondary station. The address is used for communication with remote Ethernet or token ring networks.

 

Parameter:

 

explanation:

Numeric Area

Mac-address

Virtual MAC address of secondary station

48 bytes

 

default:

none

explanation:

Among 48-byte digits of virtual MAC address, the last 8 digits shall be 0. For instance, when vmac is set as ab12.3456.78c1, the configuration should be ab12.3456.7800.

Example:

Configuring the virtual MAC address 4000.0099.9900 for a SDLC

int s1/1

sdlc vmac 4000.0099.9900

 

sdlc xid

Command Description:

sdlc xid sdlc-address xid-number

Configuring XID of SDLC secondary station.

 

Parameter:

 

explanation:

Numeric Area

Sdlc-address

SDLC address of secondary station

1-0xfe

Xid-number

XID value of secondary station

Four-digit hexadecimal system number

 

default:

none

 

explanation:

XID is the identifier of an equipment identity in SNA family, the front 12 bytes represents network number and last 20 bytes represents node point number. There are two kinds of equipment, namely PU2.0 and PU2.1. The equipment of PU2.1 has been configured with XID and can present its identity through exchange of XID, while the equipment of PU2.0 does not exchange XID and does not have XID. Therefore PU2.1 type of equipment does not need to be configured with the command. For the equipment of PU2.0, a XID should be designated for it.

If the command is not configured, router will view it as PU 2.1. If the command is configured, router will view it as PU 2.0. These are the just differences with the commands of Cisco. When the command of Cisco is used for configuring PU 2.1, xid-poll parameter needs to be added to the back of the command “sdlc address”. When all types of PU are 2.1 type, they can be defined as the uniform command “sdlc role prim-xid-poll”.

Notes: The command shall be configured when the interface is disconnected.

example:

Configuring xid of station C1 of a SDLC as 01020007

int s1/1

sdlc xid C1 01020007

 

sdlc holdqueue

Command Description:

sdlc holdqueue address length

Configuring the length of transmit queue of SDLC

 

Parameter:

 

explanation:

Numeric Area

Address

Address of secondary station

1-0xfe

Length

Length of queue

1-65535

 

default:

none

 

explanation:

 If the number of data packet requested by the upper lever to send is bigger than the value, the date packet will be abandoned.

 

Example:

Configuring the length of queue of station C1 of a SDLC as 100

int s1/1

sdlc holdqueue C1 100

 

debug sdlc error

Command Description:

debug sdlc error

This command is used for exporting the wrong debug information of SDLC.

Parameter:

none

 

default:

none

 

explanation:

The command is used for exporting all the erroneous information occurring in SDLC operation and erroneous location.

 

debug sdlc state

Command Description:

debug sdlc state

This command is used for exporting the information of the state machine of SDLC.

 

Parameter:

none

 

default:

none

 

explanation:

The output format is as follows:

SDLC Serial0/0: CONNECT.Req on station C1, state DISC -> WAIT_CONNECT

SDLC Serial0/0: Rx I on station C1, state CONNECT

 

debug sdlc packet

Command Description:

debug sdlc packet

The command is used for exporting the information of receipt and transmit of packet.

Parameter:

none

 

default:

none

 

explanation:

The content of the packet that should be interpreted. The output format shall refer to LAPB and X.25.

SDLC Serial0/0: TX -> Info(3, 4) on station C1, Poll set, Len 25      Notes: 3 means N(S), 4 means NR.

Ff ff ff ff ff ff ff ff ff ff ff  This is the specific content of packet.

SDLC Serial0/0: RX <- RR(4) on station C1, Final