Chapter 4: Commands for CLI configuration
ip route
Command:
ip route <ipv4_addr> <ipv4_netmask> <ipv4_gateway>
ip
Internet Protocol
route
Add IP route
<ipv4_addr>
Network
<ipv4_netmask>
Netmask
<ipv4_gateway>
Gateway
Default:
None
Usage Guide:
To configure
static route
Example:
To configure
static route
as
below table.
Switch# configure terminal
Switch (config)#
ip route 192.168.1.0 255.255.255.0 192.168.0.1
ip routing
Command:
ip routing
ip
Internet Protocol
routing
Enable routing for IPv4 and IPv6
Default:
None
Usage Guide:
To enable
IP routing
Example:
To enable
IP routing
Switch# configure terminal
Switch (config)#
ip routing
ip source binding interface
Command:
ip source binding interface 10GigabitEthernet |
GigabitEthernet <port_type_id> <ipv4_ucast>
<ipv4_netmask>
ip
Internet Protocol
source
source command
146
NS3500-24T-4C Managed Switch Command Guide