cisco 2950交换机相关配置
Http://www.Egocbd.com 点击数: 更新时间:2009-10-30 9:56:41
e-relay lmi-type ? (设置LMI类型)
cisco
ansi
q933a
Router(config-if)#frame-relay interface-dlci 100 (设置FR DLCL编号)
Router(config-if)#frame-relay map ip 1.1.1.1 100 [broadcast](映射协议地址与DLCL)
Router(config)#interface serial 0/0.1 {point-to-point | multipoint }(设置子接口)
Router#sh frame-relay ? (查看FR状态)
map Frame-Relay map table
pvc show frame relay pvc statistics
lmi show frame relay lmi statistics
route show frame relay route
svc show frame relay SVC stuff
traffic Frame-Relay protocol statistics
LAB 20 – FRAME RELAY
Router Interface IP Address Local DLCI
router1 serial 1 215.10.1.1 /24 105
router5 serial 0 215.10.1.2 /24 501
router1(config)# interface serial1
router1(config-if)# encapsulation frame-relay
router1(config-if)# ip address 215.10.1.1 255.255.255.0
router1(config-if)# frame-relay map ip 215.10.1.2 105 broadcast
router1(config-if)# frame-relay lmi-type ansi
router1(config-if)# no shut
router5(config)# interface serial0
router5(config-if)# encapsulation frame-relay
router5(config-if)# ip address 215.10.1.2 255.255.255.0
router5(config-if)# frame-relay map ip 215.10.1.1 501 broadcast
router5(config-if)# frame-relay lmi-type ansi
router5(config-if)# no shut
router1(config)# interface serial1
router1(config-if)# no ip address 215.10.1.1 255.255.255.0
router1(config-if)# no frame map ip 215.10.1.2 105 broadcast
router1(config-if)# interface serial1.1 point-to-point
router1(config-subif)# ip address 215.10.1.1 255.255.255.0
router1(config-subif)# frame-relay interface-dlci 105
router5(config)# interface serial0
router5(config-if)# no ip address 215.10.1.2 255.255.255.0
router5(config-if)# no frame map ip 215.10.1.1 501 broadcast
router5(config-if)# interface serial0.1 point-to-point
router5(config-subif)# ip address 215.10.1.2 255.255.255.0
router5(config-subif)# frame-relay interface-dlci 501
配置NAT
静态NAT:
Router(config-if)#ip nat { outside | inside } 定义外部接口和内部接口。
Router(config)#ip nat {inside | outside }source static source_address translate_address
定义源地址翻译。
cisco
ansi
q933a
Router(config-if)#frame-relay interface-dlci 100 (设置FR DLCL编号)
Router(config-if)#frame-relay map ip 1.1.1.1 100 [broadcast](映射协议地址与DLCL)
Router(config)#interface serial 0/0.1 {point-to-point | multipoint }(设置子接口)
Router#sh frame-relay ? (查看FR状态)
map Frame-Relay map table
pvc show frame relay pvc statistics
lmi show frame relay lmi statistics
route show frame relay route
svc show frame relay SVC stuff
traffic Frame-Relay protocol statistics
LAB 20 – FRAME RELAY
Router Interface IP Address Local DLCI
router1 serial 1 215.10.1.1 /24 105
router5 serial 0 215.10.1.2 /24 501
router1(config)# interface serial1
router1(config-if)# encapsulation frame-relay
router1(config-if)# ip address 215.10.1.1 255.255.255.0
router1(config-if)# frame-relay map ip 215.10.1.2 105 broadcast
router1(config-if)# frame-relay lmi-type ansi
router1(config-if)# no shut
router5(config)# interface serial0
router5(config-if)# encapsulation frame-relay
router5(config-if)# ip address 215.10.1.2 255.255.255.0
router5(config-if)# frame-relay map ip 215.10.1.1 501 broadcast
router5(config-if)# frame-relay lmi-type ansi
router5(config-if)# no shut
router1(config)# interface serial1
router1(config-if)# no ip address 215.10.1.1 255.255.255.0
router1(config-if)# no frame map ip 215.10.1.2 105 broadcast
router1(config-if)# interface serial1.1 point-to-point
router1(config-subif)# ip address 215.10.1.1 255.255.255.0
router1(config-subif)# frame-relay interface-dlci 105
router5(config)# interface serial0
router5(config-if)# no ip address 215.10.1.2 255.255.255.0
router5(config-if)# no frame map ip 215.10.1.1 501 broadcast
router5(config-if)# interface serial0.1 point-to-point
router5(config-subif)# ip address 215.10.1.2 255.255.255.0
router5(config-subif)# frame-relay interface-dlci 501
配置NAT
静态NAT:
Router(config-if)#ip nat { outside | inside } 定义外部接口和内部接口。
Router(config)#ip nat {inside | outside }source static source_address translate_address
定义源地址翻译。