Layer 2,3,IPv6+QoS Switch
_____________________________________________________________________________
Layer 2,3,IPv6+QoS Network Switch User Manual Version 0.1 Page: 431/970
7.2.2.3 ip address
This command configures an IP address on an interface. The IP address may be a secondary
IP address.
Syntax
ip address <ipaddr> <subnet-mask> [secondary]
no ip address <ipaddr> <subnet-mask> [secondary]
<ipaddr> - IP address of the interface.
<subnet-mask> - Subnet mask of the interface.
[secondary] - It is a secondary IP address.
no - Delete an IP address from an interface.
Default Setting
None
Command Mode
Interface Config
7.2.2.4 ip route
This command configures a static route.
Syntax
ip route <networkaddr> <subnetmask> [ <nexthopip> [<1-255 >] ]
no ip route <networkaddr> <subnetmask> [ { <nexthopip> | <1-255 > } ]
<ipaddr> - A valid IP address .
<subnetmask> - A valid subnet mask.
<nexthopip> - IP address of the next hop router.
<1-255> - The precedence value of this route. The range is 1 to 255.
no - delete all next hops to a destination static route. If the optional <nextHopRtr>
parameter is designated, the next hop is deleted and if the optional precedence value is
designated, the precedence value of the static route is reset to its default value 1.
Default Setting
None
Command Mode