Monday, April 9, 2012

RS6000: How to add a default/static route using CLI

I have been working through a RS6000 install lately and I wanted to post something I haven't really thought about.  How do you add a default route or a "default gateway"?  You may not need it, but if you have multiple VLANS with APs on those VLANS, you will need it.  So, if I try to ping 4.2.2.2 without putting the default gateway in, this is what I get:
br-rfs6000-123321#ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 100 data bytes
ping: sendto: Network is unreachable


So, here is what I do in CLI to add the default gateway:
br-rfs6000-123321#
br-rfs6000-123321#config t
Enter configuration commands, one per line.  End with CNTL/Z.
br-rfs6000-123321(config)#self



Notice here below, you can not add it in like you would adding a route on a Brocade switch:
br-rfs6000-123321(config-device-00-01-01-23-32-10)#ip route 0.0.0.0 0.0.0.0 192.168.2.1
                                                                   ^
% Invalid input detected at '^' marker.

So, you have to add it in differently.  I looks like this below:
br-rfs6000-123321(config-device-00-24-38-DC-9E-D1)#ip route 0.0.0.0/0 192.168.2.1
br-rfs6000-123321(config-device-00-24-38-DC-9E-D1)#commit
br-rfs6000-123321(config-device-00-24-38-DC-9E-D1)#wr mem
[OK]


2 comments:

  1. Can you show how to input dynamic route?

    ReplyDelete
    Replies
    1. I hope this is helpful. This is what you would do below.

      Brocade Mobility Wireless

      MC-br-rfs6000-000102>en
      MC-br-rfs6000-000102#self
      Enter configuration commands, one per line. End with CNTL/Z.
      MC-br-rfs6000-000102(config-device-00-00-00-00-01-02)#ip route 192.168.67.0/24 192.168.2.1
      MC-br-rfs6000-000102(config-device-00-00-00-00-01-02)#commit write

      Delete

Your comment will be reviewed for approval. Thank you for submitting your comments.