118
MergePoint Service Processor Manager SP53XX Installer/User Guide
Table 7.3: Setting Top Level CLI Parameters (Continued)
Parameter
iptables [filter |
nat]
network hostname Use the set command to configure the hostname for the MergePoint SP manager.
network hosts
network interface
eth0|eth1 for IPv4
network interface
bond0|eth0|eth1|p
riv0|br0 for IPv4
Command
By default, a set of chains is defined with hidden rules. For NAT, the predefined chains
are: PREROUTING, POSTROUTING, OUTPUT. For filter, the predefined chains are:
INPUT, OUTPUT, FORWARD. For background information, see Firewall/Packet Filtering
on page 18.
Use the set command to configure a rule for a predefined chain after the add command is
used to add a rule for that chain. Or use the set command to configure a rule after the add
command is used to add a new chain and to add a new rule for the new chain (set
iptables) <filter | nat> <Tab> <Tab> shows the current chains; set iptables <filter | nat>
<chainname> shows the rules for a specific chain, and get iptables <filter | nat>
<chainname> <rule_number> shows the configuration parameters to set filtering policies.
Synopsis: set iptables nat PREROUTING|POSTROUTING|OUTPUT <number> | filter
INPUT| FORWARD|OUTPUT <number> destination <ip> inv <yes|no> source <ip> inv
<yes|no> protocol <pro> inv <yes|no> dport <port> inv<yes|no> sport <port> inv<yes|no>
in-interface <in> inv<yes|no> out-interface <out> inv<yes|no> fragment
<head|nonhead|all> target <rule> to-source <ip> to-destination <ip>
Example: set iptables nat PREROUTING 0 destination 127.2.2.2 inv yes source 127.2.2.1
inv yes protocol tcp inv no dport 9000 inv no in-interface eth0 inv no fragment head
Synopsis: set network hostname <hostname>
Example: set network hostname MergePoint1
NOTE: By default the hostname is MergePoint.
After the add command is used to add a host to the hosts table, use the set command to
configure the host's IP address and optional alias.
Synopsis: set network hosts <IPaddress> name <host_name> alias <alias_name>
Example: set network hosts 192.168..100 host MergePoint5300 alias MP5300
NOTE: See the add network hosts command in Table 7.2 on page 108.
Use the set command to configure one of the network interfaces with IPv4 for the
MergePoint SP5300 appliance.
Synopsis: set network interface eth0|eth1 method <static|dhcp> address <ip> netmask
<netmask> broadcast <broadcast> gateway <ip> mtu <num> alias <alias name>
Example: set network interface eth1 method static address 192.168.1.100 netmask
255.255.255.0 gateway 192.168.1.1
Use the set command to configure one of the network interfaces with IPv4 for the
MergePoint SP5324/SP5340 appliance.
Synopsis: set network interface bond0|eth0|eth1|priv0|br0 method <static|dhcp> address
<ip> netmask <netmask> broadcast <broadcast> gateway <ip> mtu <num> alias <alias
name>
Example: set network interface br0 method static address 192.168.1.100 netmask
255.255.255.0 gateway 192.168.1.1
set network interface priv0 address 192.168.1.120 netmask 255.255.255.0
Need help?
Do you have a question about the MERGEPOINT 53XX SP MANAGER and is the answer not in the manual?
Questions and answers