для Cisco Cisco IOS Software Release 12.0(13)S7

Скачать
Страница из 18
      Unicast Reverse Path Forwarding for IPv6 on the Cisco 12000 Series Internet Router
Configuration Examples for Unicast RPF for IPv6
9
Cisco IOS Release 12.0(31)S
Configuration Examples for Unicast RPF for IPv6
This section contains the following configuration examples for Unicast RPF for IPv6:
Configuring Unicast RPF for IPv6 with Strict Checking—Examples
The following example shows how to configure the Unicast RPF for IPv6 feature in strict checking mode 
on an input 10G SIP Gigabit Ethernet interface in a Cisco 12000 series Internet router:
Router# configure terminal
Router(config)# interface gigabitethernet 3/1/1
Router(config-if)# ipv6 verify unicast source reachable-via rx
The next example also shows how to configure the Unicast RPF for IPv6 feature in strict checking mode 
on the same input interface in a Cisco 12000 series Internet router using the ipv6 verify unicast 
reverse-path
 command:
Router# configure terminal
Router(config)# interface gigabitethernet 3/1/1
Router(config-if)# ipv6 verify unicast reverse-path
Verifying Unicast RPF for IPv6—Example
To verify that Unicast RPF for IPv6 is operational, use the show cef interface type slot/subslot/port 
internal
 command in privileged EXEC mode.
As shown in the following example, Unicast RPF for IPv6 is enabled if the line starting with IPv6 unicast 
RPF appears. If this line is not displayed, the Unicast RPF feature is not enabled. The numbers following 
drop= and sdrop= show the number of IPv6 packets dropped by Unicast RPF.
Router# show cef interface pos 2/0/1 internal
POS2/1 is up (if_number 6)
  Corresponding hwidb fast_if_number 6
  Corresponding hwidb firstsw->if_number 6
  Internet Protocol processing disabled
  Interface is marked as point to point interface
  Interface generates an auto-adjacency
  Hardware idb is POS2/0/1 (6)
  Software idb is POS2/0/1 (6)
  Fast switching type 4, interface type 11
  IP Distributed CEF switching enabled
  IP Null turbo vector
  Input fast flags 0x0, Output fast flags 0x0, Flags 0x80041
  ifindex 5(5)
  Slot 2 Slot unit 1 VC -1
  Transmit limit accumulator 0x0 (0x0)
  IP MTU 4470
 Subblocks:
  IPv6 unicast RPF: acl=None, drop=0, sdrop=0 
  IPv6: enabled 1 unreachable FALSE redirect TRUE mtu 4470 flags 0x0
        link-local address is FE80::204:6DFF:FE9A:CFFF
        Global unicast address(es):
        BBBB::1, subnet is BBBB::/64
        Input features: RPF