EasyManuals Logo

Cisco 300 Series User Manual

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #469 background imageLoading...
Page #469 background image
IP Routing Protocol-Independent Commands
469 OL-32830-01 Command Line Interface Reference Guide
23
Examples
Example 1—The following example shows how to route packets for network
172.31.0.0 to a router at 172.31.6.6 using mask:
switchxxxxxx(config)#
ip route 172.31.0.0 255.255.0.0 172.31.6.6 metric 2
Example 2—The following example shows how to route packets for network
172.31.0.0 to a router at 172.31.6.6 using prefix length :
switchxxxxxx(config)#
ip route 172.31.0.0 /16 172.31.6.6 metric 2
Example 3—The following example shows how to reject packets for network
194.1.1.0:
switchxxxxxx(config)#
ip route 194.1.1.0 255.255.255.0 reject-route
Example 4—The following example shows how to remove all static routes to
network 194.1.1.0/24:
switchxxxxxx(config)#
no ip route 194.1.1.0 /24
Example 5—The following example shows how to remove one static route to
network 194.1.1.0/24 via 1.1.1.1:
switchxxxxxx(config)#
no ip route 194.1.1.0 /24 1.1.1.1
23.3 show ip route
To display the current state of the routing table, use the show ip route command in
user EXEC or privileged EXEC mode.
Syntax
show ip route [address
ip-address
{
mask
[longer-prefixes]} [static | rejected | icmp |
connected]

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
ModelCisco 300 Series
CategorySwitch
DimensionsVaries by model
WeightVaries by model
Power over Ethernet (PoE)Available on select models
ManagementWeb-based GUI, SNMP, CLI
VLANsUp to 256
Security FeaturesACLs, 802.1X, Port Security
Humidity10% to 90% non-condensing
Ports8, 16, 24, 48

Related product manuals