To configure the router to originate router advertisement messages on an interface, the interface must be configured under the router-advertisement context and be enabled (no shutdown). All other router advertisement configuration parameters are optional.
Router advertisement can be configured under the config>router>router-advertisement context or under the config>service>vprn>router-advertisement context. Use the following examples of CLI syntax to enable router advertisement and configure router advertisement parameters.
To configure router advertisement on the 7750 SR:
- config>router# router-advertisement
- dns-options
- rdnss-lifetime seconds
- dns-servers ipv6-address
- interface ip-int-name
- current-hop-limit number
- dns-options
- rdnss-lifetime {seconds | infinite}
- dns-servers ipv6-address
- include-dns
- managed-configuration
- max-advertisement-interval seconds
- min-advertisement-interval seconds
- mtu mtu-bytes
- other-stateful-configuration
- prefix ipv6-prefix/prefix-length
- autonomous
- on-link
- preferred-lifetime {seconds | infinite}
- valid-lifetime {seconds | infinite}
- reachable-time milliseconds
- retransmit-time milliseconds
- router-lifetime seconds
- no shutdown
- use-virtual-mac
To configure router advertisement for the 7450 ESS:
- config>router# router-advertisement
- dns-options
- rdnss-lifetime seconds
- interface ip-int-name
- current-hop-limit number
- dns-options
- rdnss-lifetime {seconds | infinite}
- include-dns
- managed-configuration
- max-advertisement-interval seconds
- min-advertisement-interval seconds
- mtu mtu-bytes
- other-stateful-configuration
- autonomous
- on-link
- preferred-lifetime {seconds | infinite}
- valid-lifetime {seconds | infinite}
- reachable-time milliseconds
- retransmit-time milliseconds
- router-lifetime seconds
- no shutdown
- use-virtual-mac
The following example shows a router advertisement configuration:
*A:sim131>config>router>router-advert# info
----------------------------------------------
interface "n1"
prefix 2001:db8:3::/64
exit
use-virtual-mac
no shutdown
exit
----------------------------------------------
*A:sim131>config>router>router-advert# interface n1
*A:sim131>config>router>router-advert>if# prefix 2001:db8:3::/64
----------------------------------------------
autonomous
on-link
preferred-lifetime 604800
valid-lifetime 2592000
----------------------------------------------
*A:tahi>config>router>router-advert>if>prefix#