Remove an IPv6 Static Route

  1. (Optional) View configured routes and confirm parameters,
    device# show ipv6 route
    IPv6 Routing Table for VRF "default-vrf"
    Total number of IPv6 routes: 11
    '*' denotes best ucast next-hop
    '[x/y]' denotes [preference/metric]
    
    1200:1201::/64, attached
        *via ::, Eth 2/45, [0/0], 45m29s, direct, tag 0
    1200:1201::1:1/128, attached
        *via ::, Eth 2/45, [0/0], 45m29s, local, tag 0
    1200:1202::/64, attached
        *via ::, Ve 2, [0/0], 45m26s, direct, tag 0
    1200:1202::1:1/128, attached
        *via ::, Ve 2, [0/0], 45m26s, local, tag 0
    2221::/32
        *via 1200:1201::1:2, Eth 2/45, [100/10], 11m41s, static, tag 300
    2222::/48
        *via fe80::205:33ff:fee6:a531, Eth 2/45, [1/1], 43m44s, static, tag 0
    2222::1/128
        *via fe80::205:33ff:fee6:a531, Eth 2/45, [110/1], 0m7s, ospfv3, intra, tag 0
    2223::/64
        *via 1200:1202::1:2, Ve 2, [1/1], 3m45s, static, tag 0
    2224::1/128
        *via fe80::205:33ff:fee6:a501, Ve 2, [1/1], 43m41s, static, tag 0
    fe80::/10, attached
        *via ::, , [0/0], 6h30m, local, tag 0
    ff00::/8, attached
        *via ::, Null0, [0/0], 6h30m, local, tag 0
    
  2. (Optional) Narrow the output to static routes only.
    device# show ipv6 route static
    IPv6 Configured Static Routes for VRF "default-vrf"
    
    3002:7::/64-> 1200:3::1:2 preference: 1
       nh_vrf (default-vrf)
    
    3002:9::/64-> 1200:4::1:2 preference: 1
       nh_vrf (default-vrf)
    
    
  3. Access global configuration mode.
    device# configure terminal
    
  4. Remove the static route, including the destination and next hop.
    device(config)# no ipv6 route 2224::1/128 fe80::205:33ff:fee6:a501 ve 2 
    
    You do not need to include cost metric, distance, or tag parameters.