Wednesday, November 28, 2007

Frame-Relay Point-to-point with '% Unrecognized command'

I want to make point-to-point subinterface with Frame-Relay encapsulation in main link serial interface but there is a little confuse, here is

R3(config)#int s1/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#int s1/0.1 poin
R3(config-if)#int s1/0.1 point
R3(config-if)#int s1/0.1 point-to
R3(config-if)#int s1/0.1 ?
% Unrecognized command

R3(config-if)#do sh run int s1/0
Building configuration...

Current configuration : 134 bytes
!
interface Serial1/0
no ip address
encapsulation frame-relay
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
end

R3(config-if)#no shut
R3(config-if)#
*Mar 1 00:02:51.583: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

R3(config-if)#int s1/0.1 poin
R3(config-if)#int s1/0.1 ?
% Unrecognized command

R3(config-if)#int s1/0.1
*Mar 1 00:03:02.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
% Incomplete command.

R3(config)#int s1/0.1 ?
multipoint Treat as a multipoint link
point-to-point Treat as a point-to-point link

R3(config)#int s1/0.1 poin
R3(config)#int s1/0.1 point-to-point
R3(config-subif)#ip add 10.10.10.3 255.255.255.0


So before the main link serial interface up and line protocol up too, can't make a subinterface point-to-point or multipoint ;).

---update---

This correction about my post.

2 comments:

are said...

R3(config-if)#int s1/0.1 poin
R3(config-if)#int s1/0.1 ?
% Unrecognized command

R3(config-if)#int s1/0.1
*Mar 1 00:03:02.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
% Incomplete command.

R3(config)#int s1/0.1 ?
multipoint Treat as a multipoint link
point-to-point Treat as a point-to-point link

R3(config)#int s1/0.1 poin
R3(config)#int s1/0.1 point-to-point
R3(config-subif)#ip add 10.10.10.3 255.255.255.0


What make you got "% Unrecognized command" and "% Incomplete command" was you still inside the Interface Serial 1/0 configuration mode {R3(config-if#}. You shuld move back to global configuration mode {R3(config)#}, so your command will be recognized. Or you can give the command even you still inside the interface configuration mode by type a complete command {R3(config-if)#int s1/0.1 point-to-point}.

Hermawan Widiyanto said...

Thank's for correction :)