cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
925
Views
0
Helpful
3
Replies

Cisco 2801 no ip dhcp use vrf connected

DavidHall86437
Level 1
Level 1

I have this issue also but when i get to this code encapsulation dot1Q 10 i can not go further

c(config-subif)#encapsulation.1Q 10
^
% Invalid input detected at '^' marker.

i have tried as spelt in original post still comes to this.

i have tried the responses in a previous discussion as above but no luck 

 

1 Accepted Solution

Accepted Solutions

kapydan88
Level 4
Level 4

It looks, like you have some syntax error.

What is your device and what is your purpose?

 

Try this way

 

interface GigabitEthernet0/0.19
description ...
encapsulation dot1Q 19
ip address 10.192.19.1 255.255.255.0

end

View solution in original post

3 Replies 3

kapydan88
Level 4
Level 4

It looks, like you have some syntax error.

What is your device and what is your purpose?

 

Try this way

 

interface GigabitEthernet0/0.19
description ...
encapsulation dot1Q 19
ip address 10.192.19.1 255.255.255.0

end

I have been trying to configure s cisco 2801 but can not get it working correctly i did a check and vrf was not working so i found a discussion that listed that line sequence.

 

I will give it a try and let you know

 


@DavidHall86437 wrote:

I have been trying to configure s cisco 2801 but can not get it working correctly i did a check and vrf was not working so i found a discussion that listed that line sequence.

 

I will give it a try and let you know

 



Thanks for that now i have another stop 

 

H38elec(config-subif)#ip vrf forwarding MyVRF1
% VRF MyVRF1 not configured.

 

The code line following is below is it because FA should be Fe if not please let me know

ip vrf MyVRF1

rd 1:1

!

ip vrf MyVRF2

rd 1:2

!

ip dhcp pool Global

network 192.0.2.0 /24

!

ip dhcp pool ForMyVRF1

vrf MyVRF1

network 192.0.2.0 /24

!

ip dhcp pool ForMyVRF2

vrf MyVRF2

network 192.0.2.0 /24

!

interface Fa0/0.10

encapsulation dot1Q 10

ip address 192.0.2.1 255.255.255.0

!

interface Fa0/0.20

encapsulation dot1Q 20

ip vrf forwarding MyVRF1

ip address 192.0.2.1 255.255.255.0

!

interface Fa0/0.30

encapsulation dot1Q 30

ip vrf forwarding MyVRF2

ip address 192.0.2.1 255.255.255.0