LAN
ether port {pd|pse} 8023az
Command objective: Turns 8023az on or off for the LAN ports.
Syntax: lan ether port {pd|pse} 8023az {enable|disable}
Parameter description:
- pd: Select LAN port 1.
- pse: Select LAN port 2.
Default: Enabled
Example:
# lan ether port pd 8023az disable
ether port {pd|pse} link
Command objective: Turns the LAN ports on or off.
Syntax: lan ether port {pd|pse} link {disable|enable}
Parameter description:
- pd: Select LAN port 1.
- pse: Select LAN port 2.
Default: Enabled
Example:
# lan ether port pd link disable
ether port {pd|pse} vlan mode
Command objective: Sets the VLAN options for the LAN ports.
Syntax: lan ether port {pd|pse} vlan mode {tagged|untagged vlan <vlanid>}
Parameter description:
- pd: Select LAN port 1.
- pse: Select LAN port 2.
- tagged: The specified port to accept traffic from multiple VLANs.
- untagged: The specified port to accept traffic from a single VLAN. You must set the VLAN id.
- vlanid: Set a VLAN ID for the specified interface when Untagged Port is selected.
Default: untagged, VLAN 1
Example:
# lan ether port pd vlan mode untagged vlan 404
ether show status
Command objective: Shows the settings for the LAN ports.
Syntax: lan ether show status
Example:
# lan ether show status
ip defaultgw
Command objective: Sets or removes the access point's default gateway.
Syntax: lan ip defaultgw {<gateway> | clear}
Parameter description:
- gateway: The IP address of the default gateway.
- clear: Remove the current default gateway.
Example:
# lan ip defaultgw 192.168.2.254
ip dhcp
Command objective: Turns DHCP on so the access point can receive an IP address from a DHCP server.
Syntax: lan ip dhcp
Example:
# lan ip dhcp
ip dns
Command objective: Sets or removes the primary and secondary DNS server IP addresses.
Syntax: lan ip dns {primary | secondary} {<ipaddress> | clear}
Parameter description:
- primary: Select the primary DNS server.
- secondary: Select the secondary DNS server.
- clear: Remove the specified DNS server.
Example:
# lan ip dns primary 192.168.2.250
ip static
Command objective: Sets a static IP address for the access point.
Syntax: lan ip static <ipaddress> subnet_mask <subnet>
Parameter description:
- ipaddress: The IP address you want to set for your access point.
- subnet: The subnet mask for your network.
Example:
# lan ip static 192.168.2.100 subnet_mask 255.255.255.0
ip show status
Command objective: Shows the access point's IPv4 settings.
Syntax: lan ip show status
Example:
# lan ip show status
ip vlan
Command objective: Sets the VLAN for the access point.
Syntax: lan ip vlan <vlanid>
Parameter description:
- vlanid: The VLAN ID. Must be between 1-4094.
Default: VLAN 1
Example:
# lan ip vlan 101
ipv6
Command objective: Sets the access point's IPv6 settings.
Syntax: lan ipv6 {disable | enable {auto | static <ipv6address> prefix <prefix> gateway <ipv6gateway> }}
Parameter description:
- auto: The access point automatically receives an IPv6 address from a DHCPv6 server.
- static: Manually configure an IPv6 address for the access point.
- ipv6address: The IPv6 address you want to assign to the access point.
- prefix: The prefix for your IPv6 network. Must be a decimal between 0-128.
- ipv6gateway: The IPv6 address of the gateway.
Default: Auto
Example:
# lan ipv6 enable static fd12:3456:789a:1::2 prefix 64 gateway fd12:3456:789a:1::1
ipv6 show
Command objective: Shows the access point's IPv6 settings.
Syntax: lan ipv6 show
Example:
# lan ipv6 show