HTTP 404 error when accessing the switch URL
Symptom
The switch is operational and you are using the correct URL for the switch, but attempts to access the REST API or Web UI result in an HTTP 404 "Page not found" error.
Cause
REST API access is not enabled on the VRF that corresponds to the access port you are using. For example, you are attempting to access the REST API or Web UI from the management (OOBM) port, and access is not enabled on themgmt
VRF.By default,https服务器
is enabled on themgmt
VRF for the 6300 and 6400 switches.The 6100 switches does not have amgmt
VRF, sohttps服务器
is enabled on thedefault
VRF.
行动
Use thehttps服务器vrf
command to enable REST API access on the specified VRF.
For example:
switch(config)#https服务器多联机管理
Or, on the 6100 switch:
switch(config)#https服务器vrf default