77.7k views
1 vote
Set ports connected to a LAN to "Passive" Example: R1(config)#interface vlan 1, R1(config-if)#passive-interface default I tried these commands and it didn't work. I got this error Invalid input detected at '^' marker.

User Marchica
by
7.6k points

1 Answer

2 votes

Final answer:

The 'invalid input detected at ^ marker' error occurs when there is a syntax error in the command. The 'passive-interface default' command is not valid for configuring VLAN interfaces. Instead, use the 'no shutdown' command to enable or disable a VLAN interface.

Step-by-step explanation:

The 'Invalid input detected at ^ marker' error typically occurs when there is a syntax error in the command. In this case, it seems that the command 'passive-interface default' is not valid for configuring VLAN interfaces. The 'passive-interface' command is commonly used with routing protocols to prevent unnecessary updates from being sent out on an interface.

However, if you want to enable or disable a VLAN interface, you can use the 'no shutdown' command to bring it up or down. For example, you can use the following command to enable VLAN 1:

R1(config)#interface vlan 1
R1(config-if)#no shutdown

User Glendaviesnz
by
7.5k points