Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### IPv6 Administration Guide

Search Scope:

- This Document
- Entire Library

## Add a Static Route

1. On switch 1, add a static route for the `VLAN 2` interface.

       SEFOS# configure terminal
       SEFOS(config)# ipv6 route fec0::3333:0:0 96 fec0::2222:0:10
       SEFOS(config)# exit

   These steps add one static route to the routing table for the destinations of prefix `fec0::3333:0:0` and prefix length `96` with the next hop as `fec0::2222:0:10`. The default administrative distance is 1.

2. On switch 1, review the information about the static routes in the routing table.

       SEFOS# show ipv6 route

       IPv6 Routing Table:
       Codes : C - Connected, S - Static
               O - OSPF, R - RIP, B - BGP
       C   fec0::1111:0:0/96   [1/1]
               via ::, vlan1
       C   fec0::2222:0:0/96   [1/1]
               via ::, vlan3
       S   fec0::3333:0:0/96   [1/20]
               via fec0::2222:0:10, vlan3

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |