What are the commands to disable SSH and HTTPS services from the default VRF?
What are the commands to disable SSH and HTTPS services from the default VRF?
To disable SSH and HTTPS services from the default VRF (Virtual Routing and Forwarding), the correct commands are 'no ssh server vrf default' and 'no https-server vrf default'. These commands explicitly specify that the SSH and HTTPS services should be disabled specifically for the default VRF, ensuring that the configurations are applied to the correct control plane.
dont get why A doesnt work as well. If its the default VRF it should automatically remove ssh and https from it
A doesn't because the vrf are separate control planes so doing the commands in A wouldn't affect vrf default. In order to interact with vrf default control plane you must use the command followed "vrf (name) in this example default). So if you wanted to ping vrf default you would have to do ping x.x.x.x vrf default.
Enable SSH on 8320 Switch: The following commands will enable SSH access on 'default' and 'mgmt' VRF instance. 8320-lower# 8320-lower# configure terminal 8320-lower(config)# ssh server vrf mgmt 8320-lower(config)# ssh server vrf default 8320-lower(config)# end 8320-lower# 8320-lower# 8320-lower# configure terminal 8320-lower(config)# https-server vrf mgmt 8320-lower(config)# https-server vrf default 8320-lower(config)# end 8320-lower# write memory Success 8320-lower#
Yeah I agree. I think D is the more explicit answer. The questions is more of which answer more correct, just meant to confuse you.
Site 221 ACSA Book "Disable SSH and HTTPS services from default VRF. This will prevent tis traffic from being processed in the regular data VRF." (config)# no ssh server vrf default (config)# no https-server vrf default