SLAAC Configuration
The basic configuration of SLAAC on a Cisco device is quite simple. The required steps are shown in Table 1.
Table 1: Basic IPv6 SLAAC Configuration
1 |
Enter privileged EXEC mode |
Router>enable |
2 |
Enter global configuration mode |
Router#configure terminal |
4 |
Enable IPv6 routing |
Router(config)#ipv6 unicast-routing |
4 |
Enter interface configuration mode |
Router(config)#interface interface |
5 |
Configure an IPv6 address |
Router(config-if)#ipv6 address ipv6-address/prefix-length |
6 |
Enable the interface |
Router(config-if)#no shutdown |
To bring this together with the example topology shown in Figure 1, the required commands to configure R1 are shown in Table 2.
Table 2: Basic IPv6 SLAAC Example Configuration
1 |
Enter privileged EXEC mode |
R1>enable |
2 |
Enter global configuration mode |
R1#configure terminal |
4 |
Enable IPv6 routing |
R1(config)#ipv6 unicast-routing |
4 |
Enter interface configuration mode |
R1(config)#interface fa0/0 |
5 |
Configure an IPv6 address |
R1(config-if)#ipv6 address 2000:1234:5678::1001:1/64 |
6 |
Enable the interface |
R1(config-if)#no shutdown |