Step 1 | enable
Example:
Router> enable
|
Enables privileged EXEC mode.
- Enter your password
if prompted.
|
Step 2 | configure
terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 | ip
vrf
vrf-name
Example:
Router(config)# ip vrf CM-VRF
Example:
rd 100:100
Example:
route-target export 100:100
Example:
route-target import 100:100
|
Defines a VRF instance and enters the interface configuration
mode.
- vrf-name—Name assigned to a VRF.
|
Step 4 | ip
access-list
extended access-list-name
Example:
Router(config)# ip access-list extended vrfcpe
Example:
permit ip 111.1.0.0 0.0.255.255 any
Example:
permit ip 112.1.0.0 0.0.255.255 any
Example:
permit ip 101.1.0.0 0.0.255.255 any
|
Specifies an extended IP access list to enable filtering for
packets with IP helper-address destinations.
- access-list-name—Name of the IP access list or object-group
ACL. Names cannot contain a space or quotation mark, and must begin with an
alphabetic character to prevent ambiguity with numbered access lists.
|
Step 5 | route-map map-tag
permit sequence-number
Example:
Router(config)# route-map cpe permit 10
Example:
Router(config)#route-map cpe permit 10
Example:
Router(config-route-map)# match ip address vrfcpe
Example:
Router(config-route-map)# set global
|
Defines the conditions for redistributing routes from one routing
protocol into another routing protocol, or to enable policy routing. The route
map needs to reference the ACL.
- map-tag—A meaningful name for the route map.
- sequence-number—Number that indicates the position a new route
map will have in the list of route maps already configured with the same name.
|
Step 6 | interface
bundle
n
Example:
Router(config-if)# interface Bundle1
|
Adds the selected interface to the virtual bundle. If this is the
first interface on which the virtual bundle is configured, this command enables
the bundle on the specified interface.
- n—Interface bundle number. You can
configure as many as 40 virtual interface bundles on the Cisco CMTS. The
numeric identifiers may range from 1 to 255.
|
Step 7 | cable
vrf-steering
cable-modem
vrf-name
Example:
Router(config-if)# cable vrf-steering cable-modem CM-VRF
|
Steers or directs cable modems to the specified VRF in the cable
interface configuration mode.
- vrf-name—The VPN Routing/ Forwarding
instance name.
|
Step 8 | interface bundle n.1
Example:
Router(config-if)# interface Bundle1.1
|
Adds the selected interface to the virtual bundle. If this is the
first interface on which the virtual bundle is configured, this command enables
the bundle on the specified interface.
- n.1—Interface sub-bundle number. You
can configure as many as 40 virtual interface bundles on the Cisco CMTS.
Numeric identifiers may range from 1 to 255.
|
Step 9 | ip
address
ip-address
mask
secondary
Example:
Router(config-subif)# ip address 112.1.1.1 255.255.0.0 secondary
|
Sets a secondary IP address for an interface.
Note
| Create a primary interface address before setting a secondary
IP address. If the secondary address is used for a VRF table configuration with
the vrf keyword, the vrf keyword must be specified also.
|
|
Step 10 | cable
dhcp-giaddr
policy
Example:
Router(config-subif)# cable dhcp-giaddr policy
|
(Optional) Selects the control policy, so that the primary
address is used for cable modems and the secondary addresses are used for hosts
and other CPE devices.
|
Step 11 | cable helper-address
IP-address
Example:
Router(config-subif)# cable helper-address 72.10.10.2
|
Specifies a destination IP address for User Datagram Protocol
(UDP) broadcast DHCP packets in cable subinterface configuration mode.
- IP-address—The IP address of a DHCP server to which UDP
broadcast packets will be sent.
|
Step 12 | exit
Example:
Router(config-subif)# exit
|
Exits the subinterface configuration mode.
|
Step 13 | interface bundle n.2
Example:
Router(config-if)# interface Bundle1.2
|
Adds the selected interface to the virtual sub-bundle. If this is
the first interface on which the virtual bundle is configured, this command
enables the bundle on the specified interface.
- n.2—Interface sub-bundle number. You
can configure as many as 40 virtual interface bundles on the Cisco CMTS.
Numeric identifiers may range from 1 to 255.
|
Step 14 | ip vrf forwarding vrf-name
Example:
Router(config-subif)# ip vrf forwarding CM-VRF
|
Associates a VRF instance with an interface or subinterface.
- vrf-name—Name assigned to a VRF.
|
Step 15 |
ip address ip-address mask
Example:
Router(config-subif)# ip address 192.0.2.1 255.255.255.0
|
Sets a primary or secondary IP address for the specified
interface.
- mask—Mask for the associated IP
subnet address.
|
Step 16 | ip
policy
route-map
map-tag
Example:
Router(config-subif)# ip policy route-map cpe
|
Identifies a route map to use for policy routing on an interface.
- map-tag—Name of the route map to use
for policy routing. The name must match a map-tag value specified by a
route-map command.
|
Step 17 | cable
helper-address IP-address
Example:
Router(config-subif)# cable helper-address 192.0.2.200
|
Specifies a destination IP address for User Datagram Protocol
(UDP) broadcast Dynamic Host Configuration Protocol (DHCP) packets in cable
subinterface configuration mode.
- IP-address—The IP address of a DHCP server to which UDP
broadcast packets will be sent.
|
Step 18 | cable
source-route
Example:
Router(config-subif)# cable source-route
|
Configures the VRF source route in the cable modem's sub- bundle
interface configuration mode.
Note
| This command is applicable to Cisco uBR10012 routers only.
|
|
Step 19 | exit
Example:
Router(config-subif)# exit
|
Exits the subinterface configuration mode.
|