Configuring a standard POS interface
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the packet statistics collection interval. | flow-interval interval | By default, the packet statistics collection interval is 300 seconds for an interface. |
3. Enter standard POS interface view. | interface pos interface-number | N/A |
4. (Optional.) Configure the interface description. | description text | By default, the description of a POS interface is interface name Interface, for example, Pos2/1/1 Interface. |
5. Set the keepalive interval. | timer-hold seconds | The default setting is 10 seconds. |
6. Set the maximum number of keepalive attempts. | timer-hold retry retries | The default setting is 5. The interface determines that the remote end is down if it does not receive a keepalive response after the maximum number of keepalive attempts have been made. |
7. Set the clock mode. | clock { master | slave } | The default setting is slave. |
8. Set the CRC length. | crc { 16 | 32 } | The default setting is 32 bits. |
9. (Optional.) Set the loopback mode. | loopback { local | remote } | By default, loopback is disabled. |
10. Configure the overhead bytes. |
| By default:
|
11. (Optional.) Ignore CRC of the J1 byte. | flag j1 ignore | By default, CRC is performed for the J1 byte. |
12. Set the framing format. | frame-format { sdh | sonet } | The default setting is SDH. |
13. (Optional.) Enable payload scrambling. | scramble | By default, payload scrambling is enabled. |
14. Set the data link layer protocol. | link-protocol { fr | hdlc | ppp | mfr } | The default setting is PPP. Frame Relay is not supported for POS interfaces on a FIP-600(JG360A) card. |
15. Set the MTU. | mtu size | The default setting is 1500 bytes. |
16. (Optional.) Set the signal degrade (SD) or signal fail (SF) alarm threshold for the interface. | threshold { sd sdvalue | sf sfvalue } * | By default, the SD threshold is 10e to the power of negative 6 (10e–6). The SF threshold is 10e to the power of negative 3 (10e–3). |
17. (Optional.) Configure the action to take when an RDI, SD, or SF alarm occurs on the POS interface. | alarm-detect { rdi | sd | sf } action link-down | By default, the device does not take any actions on the interface when an RDI, SD, or SF alarm occurs. |
18. Set the rate of the interface. | speed speed-value | The default setting is 155 Mbps. |
19. Set the physical state change suppression interval on the interface. | link-delay msec milliseconds | The default setting is 0 milliseconds. |
20. (Optional.) Enable interface dampening on the interface. | dampening [ half-life reuse suppress max-suppress-time ] | By default, interface dampening is disabled on POS interfaces. |
21. Configure the expected bandwidth of the interface. | bandwidth bandwidth-value | By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000. |
22. (Optional.) Restore the default settings for the POS interface. | default | N/A |
23. Shut down and bring up the interface. | shutdown undo shutdown | By default, a standard POS interface is up. For the settings to take effect, you must perform this step. If no cable is connected to the interface, shut down the interface to prevent interface exceptions. |