Skip Navigation Links | |
Exit Print View | |
![]() |
Sun Ethernet Fabric Operating System IPv6 Administration Guide |
Route Redistribution Topology in IPv6
Completing Preliminary Configurations
Configure an IPv4 Address for an Interface
Configuring the Basic IPv6 Topology
Configuring the Route Redistribution Topology
Configuring IPv6 Support in an Interface
Add IPv6 Addresses to an Interface
Remove IPv6 Addresses From an Interface
Configuring IPv6 Static Routes
Configuring Static Neighbor Cache Entries
Checking a Local or Remote Endpoint
Check an Endpoint Using Default Values
Check an Endpoint Using the Link-Local Address
Configuring Router Advertisement Parameters
Configure Router Advertisement Parameters
Setting the MTU for Use in PMTU Discovery
Set the MTU for Use in PMTU Discovery
Configuring the IPv6 Route Redistribution Policy for Routing Protocols
SEFOS# show ipv6 route VRF Name: default 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
SEFOS# show ipv6 route IPv6 Routing Table: Codes : C - Connected, S - Static O - OSPF, R - RIP, B - BGP C fec0::2222:0:0/96 [1/1] via ::, vlan3 C fec0::3333:0:0/96 [1/1] via ::, vlan2
SEFOS# show ipv6 route IPv6 Routing Table: Codes : C - Connected, S - Static O - OSPF, R - RIP, B - BGP C fec0::3333:0:0/96 [1/1] via ::, vlan2 C fec0::4444:0:0/96 [1/1] via ::, vlan1
All of the connected routes are listed in all of the routing tables.
SEFOS# configure terminal SEFOS(config)# redistribute-policy ipv6 deny fec0::4444:0:0 96 rip ospf
Redistribution of each route is permitted by default in each router. If the redistribution of a particular route is to be denied, configure the redistribution policy for that route.
SEFOS(config)# ipv6 router ospf SEFOS(config-router)# router-id 1.1.1.1 SEFOS(config-router)# ASBR Router SEFOS(config-router)# redistribute connected SEFOS(config-router)# exit SEFOS(config)# interface vlan 3 SEFOS(config-if)# ipv6 ospf area 0.0.0.0 SEFOS(config-if)# end
SEFOS# configure terminal SEFOS(config)# ipv6 router ospf SEFOS(config-router)# router-id 2.2.2.2 SEFOS(config-router)# ASBR Router SEFOS(config-router)# redistribute connected SEFOS(config-router)# redistribute ripng SEFOS(config-router)# exit SEFOS(config)# interface vlan 3 SEFOS(config-if)# ipv6 ospf area 0.0.0.0 SEFOS(config-if)# exit
SEFOS(config)# ipv6 router rip SEFOS(config-router)# redistribute connected SEFOS(config-router)# redistribute ospf SEFOS(config-router)# exit SEFOS(config)# interface vlan 2 SEFOS(config-if)# ipv6 rip enable SEFOS(config-if)# end
SEFOS# configure terminal SEFOS(config)# ipv6 router rip SEFOS(config-router)# redistribute connected SEFOS(config-router)# exit SEFOS(config)# interface vlan 2 SEFOS(config-if)# ipv6 rip enable SEFOS(config-if)# end
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 O fec0::3333:0:0/96 [10/110] via fe80::203:2ff:fe03:201, vlan3
The information about route fec0::3333:0:0 is not learned because the policy is set to deny. To permit the redistribution of this route, execute the following commands in switch 2:
SEFOS# configure terminal SEFOS(config)# no redistribute-policy ipv6 fec0::4444:0:0 96 SEFOS(config)# redistribute-policy ipv6 permit fec0::4444:0:0 96 rip ospf SEFOS(config)# exit SEFOS# show ipv6 route ... O fec0::4444:0:0/96 [10/110] via fe80::203:2ff:fe03:201, vlan3
SEFOS# show ipv6 route IPv6 Routing Table: Codes : C - Connected, S - Static O - OSPF, R - RIP, B - BGP O fec0::1111:0:0/96 [10/110] via fe80::201:2ff:fe03:401, vlan3 C fec0::2222:0:0/96 [1/1] via ::, vlan3 C fec0::3333:0:0/96 [1/1] via ::, vlan2 R fec0::4444:0:0/96 [2/120] via fe80::203:2ff:fe03:401, vlan2
The routes to all of the networks are learned using the routing protocols in each router after the route redistribution is configured.
SEFOS# show ipv6 route IPv6 Routing Table: Codes : C - Connected, S - Static O - OSPF, R - RIP, B - BGP R fec0::1111:0:0/96 [2/120] via fe80::202:2ff:fe03:401, vlan2 R fec0::2222:0:0/96 [2/120] via fe80::202:2ff:fe03:401, vlan2 C fec0::3333:0:0/96 [1/1] via ::, vlan2 C fec0::4444:0:0/96 [1/1] via ::, vlan1