Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Configuring IP
IP Configuration
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 24-21
To add addresses to an access list, use the 
 (IPv4) or the 
 
(IPv6) command. For example, the following commands add addresses to an existing access list:
-> ip access-list ipaddr address 10.0.0.0/8
-> ipv6 access-list ip6addr address 2001::/64
Use the same access list name each time the above commands are used to add additional addresses to the 
same access list. In addition, both commands provide the ability to configure if an address and/or its 
matching subnet routes are permitted (the default) or denied redistribution. For example:
-> ip access-list ipaddr address 16.24.2.1/16 action deny redist-control all-
subnets
-> ipv6 access-list ip6addr address 2001::1/64 action permit redist-control no-
subnets
For more information about configuring access list commands, see the “IP Commands” chapter in the 
OmniSwitch CLI Reference Guide.
Configuring Route Map Redistribution
 command is used to configure the redistribution of routes from a source protocol into the 
destination protocol. This command is used on the IPv4 router that will perform the redistribution.
A source protocol is a protocol from which the routes are learned. A destination protocol is the one into 
which the routes are redistributed. Make sure that both protocols are loaded and enabled before configur-
ing redistribution.
Redistribution applies criteria specified in a route map to routes received from the source protocol. There-
fore, configuring redistribution requires an existing route map. For example, the following command 
configures the redistribution of OSPF routes into a BGP network using the ospf-to-bgp route map:
-> ip redist ospf into bgp route-map ospf-to-bgp 
OSPF routes received by the router interface are processed based on the contents of the ospf-to-bgp route 
map. Routes that match criteria specified in this route map are either allowed or denied redistribution into 
the BGP network. The route map may also specify the modification of route information before the route 
is redistributed. See 
 for more information.
To remove a route map redistribution configuration, use the no form of the ip redist command. For exam-
ple:
-> no ip redist ospf into bgp route-map ospf-to-bgp
Use th
 command to verify the redistribution configuration:
-> show ip redist
Source       Destination
Protocol     Protocol     Status    Route Map
------------+------------+---------+--------------------
LOCAL4       RIP          Enabled   rip_1
LOCAL4       OSPF         Enabled   ospf_2
LOCAL4       BGP          Enabled   bgp_3
RIP          OSPF         Enabled   ospf-to-bgp