Netgear M5300-52G (GSM7252S) - ProSAFE 48-port Gigabit L2+ Managed Stackable Switch 관리자 가이드
Chapter 4. Port Routing
|
65
ProSafe Managed Switch
•
The Preference field is optional. A value of 1 (highest) will be assigned by default if
not specified.
4.
Click the Add button on the bottom of the screen. This creates the default route entry in the
routing table.
routing table.
Add a Static Route
when the switch performas IP routing, it forwards the packet to the default route for a
destination that is not in the same subnet as the source address. However, you can set a
path (static route) that is different than the default route if you prefer. The following procedure
shows how to add a static route to the switch routing table.
destination that is not in the same subnet as the source address. However, you can set a
path (static route) that is different than the default route if you prefer. The following procedure
shows how to add a static route to the switch routing table.
CLI: Add a Static Route
The following commands assume 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.
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.
To delete the static route, simply add “no” keyword in the front of the “ip route” command.
(FSM7328S) #show ip route
Total Number of Routes............................1
Network Subnet Next Hop Next Hop
AddressMaskProtocolIntfIP Address
--------------- --------------- --------------- --------------- ---------------
10.10.10.0 255.255.255.0 Local 1/0/3 10.10.10.1