MDS 05-6628A01, Rev. B
MDS Orbit MCR-4G Technical Manual
41
Routing
Understanding
The unit can be configured to route IP packets between routed interfaces.
Configuring a default static route:
admin@(none) 00:50:52% set routing static-routes ipv4 route 1 dest-prefix 0.0.0.0/0 next-hop
192.168.1.10
Configuring a static host route:
set routing static-routes ipv4 route 2 dest-prefix 10.2.3.1/32 next-hop 192.168.1.9
admin@(none) 00:04:57% show routing static-routes
ipv4 {
route 1 {
dest-prefix 0.0.0.0/0;
next-hop 192.168.1.10;
route 2 {
dest-prefix 10.2.3.1/32;
next-hop 192.168.1.9;
[ok][2012-06-19 00:05:01]
[edit]
admin@(none) 00:05:01%
Monitoring
Ensure the CLI is in operational mode. Follow the example below to view the state of the routing table:
admin@(none) 00:05:27> show routing
OUTGOING SOURCE V6UR:DEST V6UR:NEXT V4UR:DEST V4UR:NEXT
INTERFACE PROTOCOL AGE PREFIX HOP PREFIX HOP
-------------------------------------------------------------------------
eth0 static - - - 0.0.0.0/0 192.168.1.10
eth0 static - - - 10.2.3.1/32 192.168.1.9
eth0 direct - - - 192.168.1.0/24 -
OUTGOING SOURCE V6UR:DEST V6UR:NEXT V4UR:DEST V4UR:NEXT
INTERFACE PROTOCOL AGE PREFIX HOP PREFIX HOP
----------------------------------------------------------------------
eth0 direct - fe80::/64 - - -
eth1 direct - fe80::/64 - - -
[ok][2012-06-19 00:05:29]