Configuring frame relay switching
A device with frame relay switching enabled can operate as a frame relay switch.
To configure frame relay switching, configure static routes in interface view, or configure PVCs in system view.
The interfaces used for frame relay switching must be NNI or DCE.
To configure frame relay switching:
Step | Command | Remarks | |
---|---|---|---|
1. Enter system view. | system-view | N/A | |
2. Enable frame relay switching. | fr switching | N/A | |
3. Enter interface view. | interface interface-type interface-number | N/A | |
4. Set the type of an interface for frame relay switching to NNI or DCE. | fr interface-type { dce | nni } | The default frame relay interface type is DTE, which does not support frame relay switching. | |
5. Configure frame relay switching. | (Method 1) Configure static routes for frame relay switching in interface view. | fr dlci-switch in-dlci interface interface-type interface-number dlci out-dlci | By default, no static routes are configured for frame relay switching. The static routes are unidirectional. To ensure normal communication, you must create a route for returning traffic on the outgoing interface specified in this command. The DLCIs used in this command must have been configured on the interfaces. |
(Method 2) Configure a PVC for frame relay switching in system view. | 6. quit | N/A | |
7. fr switch name interface interface-type interface-number dlci dlci1 interface interface-type interface-number dlci dlci2 | A PVC created in this method is bidirectional. | ||
8. fr switch name | Optional. Enter frame relay switching PVC view. | ||
9. undo shutdown | Optional. Enable the current switching PVC. |