Ip Default-Gateway; Ip Route - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Examples
v Assigns a primary IP address to Ethernet port 0.
v Functionally equivalent to the previous example.
v Assigns a secondary IP address to Ethernet port 0.
v Removes the primary IP address from Ethernet port 0.
v Removes the specified secondary IP address from Ethernet port 0.
v Removes all secondary addresses from Ethernet port 0.

ip default-gateway

Designates the system default gateway reachable from the current interface.
Syntax
ip default-gateway address
no ip default-gateway address
Parameters
address Specifies the IP address of the default gateway.
Guidelines
Use the no ip default-gateway command, to delete the default gateway.
Related Commands
show ip default-gateway
Examples
v Identifies the system default gateway reachable from Ethernet interface 0.
v Deletes the system default gateway.

ip route

Adds a static route to the routing table.
# ip address 192.168.7.6/27
#
# ip address 192.168.7.6 255.255.224.0
#
# ip address 192.168.7.7/27 secondary
#
# no ip address 192.168.7.7/27
#
# no ip address 192.168.7.7/27 secondary
#
# no ip address secondary
#
# ip default-gateway 10.10.10.100
#
# no ip default-gateway 10.10.10.100
#
Chapter 32. Interface configuration mode
353

Advertisement

Table of Contents
loading

Table of Contents