Interface
Interface configuration is handled in the global interface context. To enter the global interface context, from the base context run:
config system interface
Available commands
Command |
Description |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Cancels any edits made since entering the context, and returns to the base context |
||||||||||||
|
Saves changes made since entering the context, and returns to the base context |
||||||||||||
|
Shows the available commands |
||||||||||||
|
Show the current configuration, including uncommitted edits |
||||||||||||
|
Enter the specified interface’s context, in order to edit that interface’s configuration
|
Specific Interface Context
Inside a specific interface’s context, the following commands are available:
Command |
Description |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Cancels any edits made since entering the context, and returns to the base context |
||||||||||||||||||||||||||||||||||||
|
Saves changes made since entering the context, and returns to the base context |
||||||||||||||||||||||||||||||||||||
|
Shows the available commands |
||||||||||||||||||||||||||||||||||||
|
Readies the changes for commit, but does not push them until end is called on the global interface context. Returns to the global interface context |
||||||||||||||||||||||||||||||||||||
|
Show the current configuration, including uncommitted edits |
||||||||||||||||||||||||||||||||||||
|
Enables access to this interface via the specified protocol. Multiple options must be specified at once to enable both. Example: Enable both http and https: set allowaccess http https
|
||||||||||||||||||||||||||||||||||||
|
Alternative method to get the help for all the options available for allowaccess
|
||||||||||||||||||||||||||||||||||||
|
Specifies the interface’s IPv4 address and subnet mask. For example:
|
||||||||||||||||||||||||||||||||||||
|
Specifies the interface’s IPv6 address and subnet mask
|
||||||||||||||||||||||||||||||||||||
|
Sets the interface’s IP mode to be either static or dynamically allocated
|
||||||||||||||||||||||||||||||||||||
|
Unset the specified configuration back to the default value |