Command
Frame-Relay Map IP
Use
This command statically configures frame-relay DLCI information
Syntax
Router(config-if)#frame-relay map ip <ip address> <dlci> broadcast
Options
<broadcast> | Allows the mapping to forward multicast and broadcast across the PVC. |
Example
In this example, we will configure R4 to use frame-relay as per the diagram above.
R4(config)#int s0/0 R4(config-if)#encapsulation frame-relay R4(config-if)#ip add 10.4.4.4 255.255.255.0 R4(config-if)#frame map ip 10.4.4.1 401 broad R4(config-if)#frame map ip 10.4.4.3 403 broad R4(config-if)#frame map ip 10.4.4.4 403 R4(config-if)#no shut
Next, we configure R1 to use frame relay.
R1(config)#int s1/0 R1(config-if)#encapsulation frame-relay R1(config-if)#ip add 10.4.4.1 255.255.255.0 R1(config-if)#frame map ip 10.4.4.4 104 broad R1(config-if)#frame map ip 10.4.4.1 104 R1(config-if)#frame map ip 10.4.4.3 104 R1(config-if)#no shut
Finally, we do the same with R3.
R3(config)#int s1/0 R3(config-if)#encapsulation frame R3(config-if)#encapsulation frame-relay R3(config-if)#ip add 10.4.4.3 255.255.255.0 R3(config-if)#frame map ip 10.4.4.4 304 broad R3(config-if)#frame map ip 10.4.4.3 304 R3(config-if)#frame map ip 10.4.4.1 304 R3(config-if)#no shut
Now we use show frame-relay mapping to verify that R4 has learned about the other links via inverse-arp and that we can ping.
R4(config)#do sh frame map Serial0/0 (up): ip 10.4.4.1 dlci 401(0x191,0x6410), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 10.4.4.3 dlci 403(0x193,0x6430), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 10.4.4.4 dlci 401(0x191,0x6410), static, CISCO, status defined, active R4(config-if)#do ping 10.4.4.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.4.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/32/84 ms R4(config-if)#do ping 10.4.4.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.4.4.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/37/68 ms