帧中继配置

点对点配置

img

  • RA配置:

    1
    2
    3
    4
    5
    6
    7
    [RA]int s0/0
    [RA-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RA-s0/0]frame-relay interface-dlci 102 设置本接口对应的INTERFACE-DLCI号
    [RA-s0/0]frame-relay map ip 172.16.1.2 102 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RA-s0/0]ip add 172.16.1.1 255.255.255.0 配置本接口IP地址
    [RA-s0/0]no sh 打开此物理接口
  • RB配置:

    1
    2
    3
    4
    5
    6
    7
    [RB]int s0/0
    [RB-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RB-s0/0]frame-relay interface-dlci 201 设置本接口对应的INTERFACE-DLCI号
    [RB-s0/0]frame-relay map ip 172.16.1.1 201 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RB-s0/0]ip add 172.16.1.2 255.255.255.0 配置本接口IP地址
    [RB-s0/0]no sh 打开此物理接口
  • FRAME-RELAY配置:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [FRAME-RELAY]frame-relay switching                 允许帧中继进行PVC交换
    [FRAME-RELAY]int s0/0
    [FRAME-RELAY-s0/0] encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/0]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/0]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/0]frame-relay route 102 interface s0/1 201 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/1
    [FRAME-RELAY-s0/1] encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/1]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/1]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/1]frame-relay route pvc 201 interface s0/0 102 配置帧中继PVC交换路由

点对多点(星形)

img

  • RA配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    [RA]int s0/0
    [RA-s0/0] encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RA-s0/0]frame-relay interface-dlci 102 设置本接口对应的INTERFACE-DLCI号
    [RA-s0/0]frame-relay interface-dlci 103
    [RA-s0/0]frame-relay map ip 172.16.1.2 102 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RA-s0/0]frame-relay map ip 172.16.1.3 103
    [RA-s0/0]ip add 172.16.1.1 255.255.255.0 配置本接口IP地址
    [RA-s0/0]no sh 打开此物理接口
  • RB配置:

    1
    2
    3
    4
    5
    6
    7
    [RB]int s0/0
    [RB-s0/0] encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RB-s0/0]frame-relay interface-dlci 201 设置本接口对应的INTERFACE-DLCI号
    [RB-s0/0]frame-relay map ip 172.16.1.1 201 建立对端协议地址与本地INTERFACE-DLCI
    [RB-s0/0]ip add 172.16.1.2 255.255.255.0 配置本接口IP地址
    [RC-s0/0]no sh 打开此物理接口
  • RC配置:

    1
    2
    3
    4
    5
    6
    [RC]int s0/0
    [RC-s0/0]encap frame-relay 封装帧中继协议
    [RC-s0/0]frame-relay interface-dlci 301 设置本接口对应的INTERFACE-DLCI号
    [RC-s0/0]frame-relay map ip 172.16.1.1 301 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RC-s0/0]ip add 172.16.1.3 255.255.255.0 配置本接口IP地址
    [RC-s0/0]no sh 打开此物理接口
  • FRAME-RELAY配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    [FRAME-RELAY]frame-relay switching      允许帧中继进行PVC交换
    [FRAME-RELAY]int s0/0
    [FRAME-RELAY-s0/0]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/0]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/0]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/0]frame-relay route 102 interface s0/1 201 配置帧中继PVC交换路由
    [FRAME-RELAY-s0/0]frame-relay route 103 interface s0/2 301 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/1
    [FRAME-RELAY-s0/1]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/1]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/1]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/1]frame-relay route 201 interface s0/0 102 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/2
    [FRAME-RELAY-s0/2]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/2]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/2]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/2]frame-relay route 301 interface s0/0 103 配置帧中继PVC交换路由

点对多点子接口(星形)

img

  • RA配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    [RA]int s0/0
    [RA-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0]no sh 打开此物理接口
    [RA-s0/0] frame-relay intf dte
    [RA]int s0/0.1 multipoint
    [RA-s0/0.1]frame-relay interface-dlci 102 设置本接口对应的INTERFACE-DLCI号
    [RA-s0/0.1]frame-relay interface-dlci 103
    [RA-s0/0.1]frame-relay map ip 172.16.1.2 102 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RA-s0/0.1]frame-relay map ip 172.16.1.3 103
    [RA-s0/0.1]ip add 172.16.1.1 255.255.255.0 配置本子接口IP地址
  • RB配置:

    1
    2
    3
    4
    5
    6
    7
    [RB]int s0/0
    [RB-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RB-s0/0]frame-relay interface-dlci 201 设置本接口对应的INTERFACE-DLCI号
    [RB-s0/0]frame-relay map ip 172.16.1.1 201 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RB-s0/0]ip add 172.16.1.2 255.255.255.0 配置本接口IP地址
    [RB-s0/0]no sh 打开此物理接口
  • RC配置:

    1
    2
    3
    4
    5
    6
    7
    [RC]int s0/0
    [RC-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RC-s0/0]frame-relay interface-dlci 301 设置本接口对应的INTERFACE-DLCI号
    [RC-s0/0]frame-relay map ip 172.16.1.1 301 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RC-s0/0]ip add 172.16.1.3 255.255.255.0 配置本接口IP地址
    [RC-s0/0]no sh 打开此物理接口
  • FRAME-RELAY配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    [FRAME-RELAY]frame-relay switching    允许帧中继进行PVC交换
    [FRAME-RELAY]int s0/0
    [FRAME-RELAY-s0/0]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/0]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/0]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/0]frame-relay route 102 interface s0/1 201 配置帧中继PVC交换路由
    [FRAME-RELAY-s0/0]frame-relay route 103 interface s0/2 301 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/1
    [FRAME-RELAY-s0/1]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/1]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/1]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/1]frame-relay route 201 interface s0/0 102 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/2
    [FRAME-RELAY-s0/2]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/2]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/2]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/2]frame-relay route 301 interface s0/0 103 配置帧中继PVC交换路由

点对点子接口(全网状)

img

  • RA配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    [RA]int s0/0 
    [RA-s0/0]encap frame-relay 封装帧中继协议
    [RA-s0/0] frame-relay intf dte
    [RA-s0/0]no sh 打开此物理接口
    [RA]int s0/0.1 point-to-point
    [RA-s0/0.1]frame-relay interface-dlci 102 设置本接口对应的INTERFACE-DLCI号
    [RA-s0/0.1]frame-relay map ip 172.16.1.2 102 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RA-s0/0.1]ip add 172.16.1.1 255.255.255.0 配置本子接口IP地址
    [RA]int s0/0.2 point-to-point
    [RA-s0/0.2]frame-relay interface-dlci 103 设置本接口对应的INTERFACE-DLCI号
    [RA-s0/0.2]frame-relay map ip 172.16.1.1 103 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RA-s0/0.2]ip add 172.16.2.1 255.255.255.0 配置本子接口IP地址
  • RB配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    [RB]int s0/0
    [RB-s0/0]encap frame-relay 封装帧中继协议
    [RB-s0/0] frame-relay intf dte
    [RB-s0/0]no sh 打开此物理接口
    [RB]int s0/0.1 point-to-point
    [RB-s0/0.1]frame-relay interface-dlci 201 设置本接口对应的INTERFACE-DLCI号
    [RB-s0/0.1]frame-relay map ip 172.16.1.1 201 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RB-s0/0.1]ip add 172.16.1.2 255.255.255.0 配置本接口IP地址
    [RB]int s0/0.2 point-to-point
    [RB-s0/0.2]frame-relay interface-dlci 203 设置本接口对应的INTERFACE-DLCI号
    [RB-s0/0.2]frame-relay map ip 172.16.1.1 203 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RB-s0/0.2]ip add 172.16.3.1 255.255.255.0 配置本接口IP地址
  • RC配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    [RC]int s0/0
    [RC-s0/0]encap frame-relay 封装帧中继协议
    [RC-s0/0] frame-relay intf dte
    [RC-s0/0]no sh 打开此物理接口
    [RC]int s0/0.1 point-to-point
    [RC-s0/0.1]frame-relay interface-dlci 301 设置本接口对应的INTERFACE-DLCI号
    [RC-s0/0.1]frame-relay map ip 172.16.3.1 301 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RC-s0/0.1]ip add 172.16.3.2 255.255.255.0 配置本接口IP地址
    [RC]int s0/0.2 point-to-point
    [RC-s0/0.2]frame-relay interface-dlci 302 设置本接口对应的INTERFACE-DLCI号
    [RC-s0/0.2]frame-relay map ip 172.16.2.1 302 建立对端协议地址与本地INTERFACE-DLCI号的映射关系
    [RC-s0/0.2]ip add 172.16.2.2 255.255.255.0 配置本接口IP地址
  • FRAME-RELAY配置:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    [FRAME-RELAY]frame-relay switching                 允许帧中继进行PVC交换
    [FRAME-RELAY]int s0/0
    [FRAME-RELAY-s0/0]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/0]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/0]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/0]frame-relay route 102 interface s0/1 201 配置帧中继PVC交换路由
    [FRAME-RELAY-s0/0]frame-relay route 103 interface s0/2 301 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/1
    [FRAME-RELAY-s0/1]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/1]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/1]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/1]frame-relay route 201 interface s0/0 102 配置帧中继PVC交换路由
    [FRAME-RELAY-s0/1]frame-relay route pvc 203 interface s0/0 302 配置帧中继PVC交换路由
    [FRAME-RELAY]int s0/2
    [FRAME-RELAY-s0/2]encap frame-relay 封装帧中继协议
    [FRAME-RELAY-s0/2]frame-relay intf dce 设置帧中继接口类型为DCE端
    [FRAME-RELAY-s0/2]clock rate 630100 设置DCE时钟频率
    [FRAME-RELAY-s0/2]frame-relay route 301 interface s0/0 103 配置帧中继PVC交换路由
    [FRAME-RELAY-s0/2]frame-relay route 302 interface s0/0 203 配置帧中继PVC交换路由
坚持原创技术分享,您的支持将鼓励我继续创作!
0%