cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

hardware:cisco:static_route.html



Cisco IOS, NX-OS CLI Commands

Cisco Statick Route Configuration Examples

Commands

Check

Operation Commands
Checking ip routing Router#show ip route
Router# show ip route vrf all
Traceing the routing
to stop tracerouting is 'CTRL + SHIFT + 6'
Router#traceroute IPADDRESS

Configuration

Operation Commands
adding the routing Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.0.1
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.0.1 125 ← 125 is ad
Router(config)#ip route 192.168.1.0 255.255.255.0 s0/0
adding the default routing Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.1
Router(config)#ip route 0.0.0.0 0.0.0.0 s0/0
deleting the routing Router(config)#no ip route 192.168.1.0 255.255.255.0 192.168.0.1
setting of ip classless
Default setting after IOS 12.0 is enable.
Router(config)#ip classless
Router(config)#no ip classless










Cisco IOS, NX-OS CLI Commands




hardware/cisco/static_route.html.txt · Last modified: 2018/10/19 by admin