Keywords and variables, Variable parameter, Interface – Amer Networks WLO220T CLI User Manual
Page 43

C O M M A N D D E S C R I P T I O N S
interface
2
40
CLI Reference Guide
[NOTE]
Many of these commands provide support for logical interfaces (sub interfaces) as well as physical
interfaces. An example of setting an address on a physical interface is:
set interface eth1 ip 10.0.0.1/24
An example of setting the same address on a sub interface is:
set interface eth1.1 ip 10.0.0.1/24
The entire sub interface may be removed via an unset command:
unset interface eth1.1
Keywords and Variables
Variable Parameter
get interface interface [ ... ]
set interface interface { ... } [ ... ]
interface
The name of the interface.
set
(sub-interfaces)
set interface interface.id_num
{
dhcp-relay enable |
dhcp-client |
dhcp-server |
dip dip_num
{
ip_addr1 [ ip_addr2 ] [fix-port] |
shift-from ip_addr3 to ip_addr4 [ ip_addr5 ] [fix-port]
} |
gateway ip_addr
ip ip_addr/mask |
manage { http | https | ping | snmp | ssh | telnet } |
manage ip |
nat |
protocol rip enable |
route |
zone zone
}
unset
(sub-interfaces)
unset interface interface.id_num
[
dhcp-client |
dhcp-server |
dip dip_num |
ip |
manage { http | https | ping | snmp | ssh | telnet } |
manage ip |
protocol rip [ enable ] |
phy
]