5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
77
state disable
Disables the line so data cannot be sent/received.
state enable
Enables the line so data can be sent/received.
terminal
<line>
Enters the configure-terminal level. <line> = number of the terminal line (serial port) to be
configured.
terminal network
Enters the configure-terminal level for the network.
threshold
<bytes>
Sets the threshold in bytes. After this many bytes are received, they are forwarded without
delay.
tunnel
<line>
Enters the tunnel level. <line> = number of the tunnel line (serial port) to be configured.
usb
<line>
Enters the usb level. <line> = number of the line (usb port) to be configured.
write
Stores the current configuration in permanent memory.
bridge 1 (config-bridge:br0) level commands
auto detect ip address
disable
Disables learning the IPv4 address of the bridged client.
auto detect ip address
enable
Enables learning the IPv4 address of the bridged client.
bridging initial scan inter-
val
<seconds>
Sets the scan interval before learning the IP address of the bridged client.
bridging ip address
<IP
address>
Sets the Bridging IP Address.
bridging ipv6 address
<ipv6 address>
Sets the Bridging IPv6 Address. IPv6 addresses are written in eight groups of four hexa-
decimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Network address ranges are written in CIDR notation. A network is denoted by the first
address in the block (ending in all zeroes), a slash (/), and a decimal value equal to the
size in bits of the prefix
bridging mode host
Sets the bridging mode to 'Host'.
bridging mode network
Sets the bridging mode to 'Network'.
bridging mode static net-
work
Sets the bridging mode to 'Static Network'.
bridging scan interval
<seconds>
Sets the scan interval after learning the IP address of the bridged client.
clrscrn
Clears the screen.
default bridging initial
scan interval
Restores the default initial scan interval.
default bridging mode
Restores the default bridging mode.
default bridging scan
interval
Restores the default scan interval.
default ethernet interface Restores the default Bridging ethernet interface.
ethernet interface
<text>
Sets the Bridging ethernet interface.
exit
Exits to the config level.
network access for gate-
way disable
Disables network access for gateway in transparent bridging mode.
network access for gate-
way enable
Enables network access for gateway in transparent bridging mode.
no bridging ip address
Removes the Bridging MAC Address.
no bridging ipv6 address Removes the Bridging IPv6 Address.
no bridging mac address Removes the Bridging MAC Address.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Show bridge statistics