140
C
6: IP S
HAPTER
set ip route
C
ERVICES
OMMANDS
Syntax —
set ip https server {enable | disable}
— Enables the HTTPS server.
enable
— Disables the HTTPS server.
disable
Defaults — The HTTPS server is enabled by default.
Access — Enabled.
Examples — The following command disables the HTTPS server on a WX
switch:
WX1200# set ip https server disable
success: change accepted.
See Also
"clear ip telnet" on page 112
"display ip https" on page 121
"display ip telnet" on page 125
"set ip telnet" on page 146
"set ip telnet server" on page 146
Adds a static route to the IP route table.
Syntax —
set ip route {default | ip-addr mask |
ip-addr/mask-length} gateway metric
— Default route. A WX switch uses the default route if an
default
explicit route is not available for the destination.
default is an alias for IP address 0.0.0.0/0.
ip-addr mask
destination, in dotted decimal notation (for example, 10.10.10.10
255.255.255.0).
ip-addr/mask-length
format (for example, 10.10.10.10/24).
— IP address, DNS hostname, or alias of the next-hop router.
gateway
— Cost for using the route. You can specify a value from
metric
0 through 2,147,483,647. Lower-cost routes are preferred over
higher-cost routes.
— IP address and subnet mask for the route
— IP address and subnet mask length in CIDR