156-215.80 · Question #435
After the initial installation on Check Point appliance, you notice that the Management interface and default gateway are incorrect. Which commands could you use to set the IP to 192.168.80.200/24 and
The correct answer is A. set interface Mgmt ipv4-address 192.168.80.200 mask-length 24 set static-route default nexthop. Check Point Gaia CLISH uses 'set interface' with the 'mask-length' keyword and 'set static-route default nexthop' to configure management IP and default gateway.
Question
After the initial installation on Check Point appliance, you notice that the Management interface and default gateway are incorrect. Which commands could you use to set the IP to 192.168.80.200/24 and default gateway to 192.168.80.1.
Options
- Aset interface Mgmt ipv4-address 192.168.80.200 mask-length 24 set static-route default nexthop
- Badd interface Mgmt ipv4-address 192.168.80.200 255.255.255.0 add static-route 0.0.0.0.0.0.0.0
- Cset interface Mgmt ipv4-address 192.168.80.200 255.255.255.0 add static-route 0.0.0.0.0.0.0.0
- Dadd interface Mgmt ipv4-address 192.168.80.200 mask-length 24 add static-route default nexthop
How the community answered
(53 responses)- A79% (42)
- B6% (3)
- C13% (7)
- D2% (1)
Why each option
Check Point Gaia CLISH uses 'set interface' with the 'mask-length' keyword and 'set static-route default nexthop' to configure management IP and default gateway.
The command 'set interface Mgmt ipv4-address 192.168.80.200 mask-length 24' is the correct Gaia CLISH syntax because 'set' modifies an existing interface and 'mask-length' is the required keyword for specifying the subnet in CIDR notation. The default gateway is correctly configured with 'set static-route default nexthop gateway address 192.168.80.1 on'. Using 'set' instead of 'add' is critical because the Mgmt interface already exists after initial installation.
Uses 'add interface' instead of 'set interface', which is incorrect for modifying an existing interface, and supplies the subnet as a dotted-decimal mask (255.255.255.0) instead of the required 'mask-length' parameter.
Uses dotted-decimal subnet notation (255.255.255.0) instead of the 'mask-length 24' syntax required by Gaia CLISH, making the interface command invalid.
Uses 'add interface' instead of 'set interface'; 'add' is used to create new interfaces, not to modify the existing management interface, so this command would fail or produce an error.
Concept tested: Gaia CLISH syntax for interface IP and default gateway configuration
Source: https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Content/Topics-GAG/Network-Management.htm
Topics
Community Discussion
No community discussion yet for this question.