Chapter 6: Routing Policy Configuration Guide
6 - 26
SSR User Reference Manual
The following configuration commands for router R1:
• Determine the IP address for each interface
• Specify the static routes configured on the router
• Determine its OSPF configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Create the various IP interfaces.
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
interface create ip to-r2 address-netmask 120.190.1.1/16 port et.1.2
interface create ip to-r3 address-netmask 130.1.1.1/16 port et.1.3
interface create ip to-r41 address-netmask 140.1.1.1/24 port et.1.4
interface create ip to-r42 address-netmask 140.1.2.1/24 port et.1.5
interface create ip to-r6 address-netmask 140.1.3.1/24 port et.1.6
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Configure default routes to the other subnets reachable through R2.
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ip add route 202.1.0.0/16 gateway 120.1.1.2
ip add route 160.1.5.0/24 gateway 120.1.1.2
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Box Level Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf start
ospf create area 140.1.0.0
ospf create area backbone
ospf set ase-defaults cost 4
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Interface Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf add interface 140.1.1.1 to-area 140.1.0.0
ospf add interface 140.1.2.1 to-area 140.1.0.0
ospf add interface 140.1.3.1 to-area 140.1.0.0
ospf add interface 130.1.1.1 to-area backbone
Importing a selected subset of OSPF-ASE routes.
1.
Create a OSPF import source so that only routes that have a tag of 100 are consid-
ered for importation.
ip-router policy create ospf-import-source ospfImpSrct100 tag 100
2.
Create the Import-Policy importing all OSPF ASE routes with a tag of 100 except
the default ASE route.
ip-router policy import source ospfImpSrct100 network all
ip-router policy import source ospfImpSrct100 network default restrict
Содержание SmartSwitch 8-slot
Страница 1: ...SmartSwitch Router User Reference Manual 9032578...
Страница 2: ......
Страница 6: ...Notice vi...
Страница 10: ...About This Manual x SSR User Reference Manual...
Страница 36: ...Chapter 1 SmartSwitch Router Product Overview 1 18 SSR User Reference Manual...
Страница 60: ...Chapter 4 RIP Configuration Guide 4 6 SSR User Reference Manual...
Страница 115: ...Chapter 7 Multicast Routing Configuration Guide SSR User Reference Manual 7 9...
Страница 116: ...Chapter 7 Multicast Routing Configuration Guide 7 10 SSR User Reference Manual...
Страница 142: ...Chapter 9 Security Configuration Guide 9 18 SSR User Reference Manual...