JUNOSe 11.1.x IP Services Configuration Guide
The implicit deny rule does not appear in the display for access list 3, because any
prefix matches access list 3.
Configuration Example 2
The following example demonstrates how to use a route map and an access list to
redistribute static routes to IS-IS.
1.
2.
3.
4.
5.
Configuration Example 3
The following example demonstrates how to use an access list to filter routes
advertised to a BGP device. Consider the network structure in Figure 2 on page 23.
22
Access Lists
permit ip any any
Configure three static routes.
host1(config)#ip route 20.20.20.0 255.255.255.0 192.168.1.0
host1(config)#ip route 20.20.21.0 255.255.255.0 192.168.2.0
host1(config)#ip route 20.21.0.0 255.255.255.0 192.168.30.0
Configure an access list, fltra, that filters routes 20.20.20.0/24 and 20.20.21.0/24.
host1(config)#access-list fltra permit 20.20.0.0 0.0.255.255
Configure route map 1 to match access list fltra, and apply an internal metric
type.
host1(config)#route-map 1
host1(config-route-map)#match ip address fltra
host1(config-route-map)#set metric-type internal
Configure redistribution into IS-IS of the static routes with route map 1.
host1(config)#router isis testnet
host1(config-router)#redistribute static route-map 1
Verify the effect of the redistribution (the two static routes matching the route
map are redistributed as level 2 internal routes).
host1#show isis database detail l2
IS-IS Level-2 Link State Database
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.6666.00-00 0x000002B7
Area Address: 47.0005.80FF.F800.0000.0001.0001
NLPID:
0xcc
IP Address:
192.168.1.105
Metric: 10 IS 0000.0000.6666.01
Metric: 10 IS 0000.0000.3333.00
Metric: 10 IS 0000.0000.7777.00
Metric: 30 IP 20.20.20.0 255.255.255.0
Metric: 30 IP 20.20.21.0 255.255.255.0
0x3E1F 1198 0/0/0
Need help?
Do you have a question about the IP SERVICES - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?