Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren

Seite von 721
Port Routing 
110
Managed Switches 
CLI: Add a Static Route
The following commands assume that the switch already has a defined a routing interface 
with a network address of 10.10.10.0, and is configured so that all packets destined for 
network 10.10.100.0 take the path of routing port.
(FSM7328S) #show ip route
Total Number of Routes............................1
Network 
 
   Subnet 
 
                 Next Hop
 
   Next Hop
Address
 
    Mask
 
          Protocol
 
 Intf
 
       IP Address
---------- 
 
------------- 
 
-------- 
 
---------- 
 
-----------
10.10.10.0
 
 255.255.255.0
 
 Local
 
    1/0/3
 
      10.10.10.1
To delete the static route, simply add the no keyword in the front of the ip route command.
Web Interface: Add a Static Route
1. 
Select Routing > Routing Table > Basic > Route Configuration.
A screen similar to the following displays.
2. 
In the Route Type list, select Static.
3. 
Fill in the Network Address field. 
Note that this field should have a network IP address, not a host IP address. Do not enter 
something like 10,100.100.1. The last number should always be 0 (zero).
4. 
In the Subnet Mask field, enter a value that matches the subnet range that you want to use.
5. 
The Preference field is optional. A value of 1 is entered by default if you do not enter a 
number.
6. 
Click the Add button on the bottom of the screen. The screen is updated with the static route 
shown in the routing table.