cc/td/doc/product/software/ios121/121sup/121csum2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Switching Commands: ip cef accounting Through lane fssrp

Switching Commands: ip cef accounting Through lane fssrp

This chapter explains the function and syntax of the switching commands from ip cef accounting through lane fssrp. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Command Reference, Release 12.1.

ip cef accounting

To enable network accounting of Cisco Express Forwarding (CEF), use the ip cef accounting command in global configuration mode. To disable network accounting of CEF, use the no form of this command.

ip cef accounting [per-prefix] [non-recursive]

no ip cef accounting [per-prefix] [non-recursive]

Syntax Description

per-prefix

(Optional) Enables the collection of the number of packets and bytes express forwarded to a destination (or prefix).

non-recursive

(Optional) Enables accounting through nonrecursive prefixes. For prefixes with directly connected next hops, enables the collection of the number of packets and bytes express forwarded through a prefix.

ip cef traffic-statistics

To change the time interval that controls when NHRP will set up or tear down an SVC, use the ip cef traffic-statistics command in global configuration mode. To restore the default values, use the no form of this command.

ip cef traffic-statistics [load-interval seconds] [update-rate seconds]

no ip cef traffic-statistics

Syntax Description

load-interval seconds

(Optional) Length of time (in 30-second increments) during which the average trigger-threshold and teardown-threshold are calculated before an SVC setup or teardown action is taken. (These thresholds are configured in the ip nhrp trigger-svc command.) The load-interval range is 30 seconds to 300 seconds, in 30-second increments. The default value is 30 seconds.

update-rate seconds

(Optional) Frequency with which the port adapter sends the accounting statistics to the RP. When NHRP is used in distributed CEF switching mode, this value must be set to 5 seconds. The default value is 10 seconds.

ip explicit-path

To enter the subcommand mode for IP explicit paths to create or modify the named path, use the ip explicit-path command in global configuration mode. An IP explicit path is a list of IP addresses, each representing a node or link in the explicit path.

ip explicit-path {name WORD | identifier number} [{enable | disable}]

Syntax Description

name WORD

Specifies explicit path by name.

identifier number

Specifies explicit path by number. You can specify a number from 1 to 65535.

enable

Sets the state of the path to be enabled.

disable

Prevents the path from being used for routing while it is being configured.

ip flow-aggregation cache

To enable aggregation cache configuration mode, use the ip flow-aggregation cache command in global configuration mode.

To disable aggregation cache configuration mode, use the no form of this command.

ip flow-aggregation cache {as | destination-prefix | prefix | protocol-port | source-prefix}

no ip flow-aggregation cache {as | destination-prefix | prefix | protocol-port | source-prefix}

Syntax Description

as

Configures the autonomous system aggregation cache scheme.

destination-prefix

Configures the Destination Prefix aggregation cache scheme.

prefix

Configures the Prefix aggregation cache scheme.

protocol-port

Configures the Protocol Port aggregation cache scheme.

source-prefix

Configures the Source Prefix aggregation cache scheme.

ip flow-cache entries

To change the number of entries maintained in the NetFlow cache, use the ip flow-cache entries command in global configuration mode. Use the no form of this command to return to the default number of entries.

ip flow-cache entries number

no ip flow-cache entries

Syntax Description

number

Number of entries to maintain in the NetFlow cache. The valid range is from 1024 to 524288 entries. The default is 65536 (64K).

ip flow-export

To enable the exporting of information in NetFlow cache entries, use the ip flow-export command in global configuration mode. To disable the exporting of information, use the no form of this command.

ip flow-export ip-address udp-port [version 1 | version 5 [origin-as | peer-as]]

no ip flow-export

Syntax Description

ip-address

IP address of the workstation to which you want to send the NetFlow information.

udp-port

UDP protocol-specific port number.

version 1

(Optional) Specifies that the export packet uses the version 1 format. This is the default. The version field occupies the first two bytes of the export record. The number of records stored in the datagram is a variable from 1 to 24 for version 1.

version 5

(Optional) Specifies that the export packet uses the version 5 format. The number of records stored in the datagram is a variable between 1 and 30 for version 5.

origin-as

(Optional) Specifies that export statistics include the origin autonomous system (AS) for the source and destination.

peer-as

(Optional) Specifies that export statistics include the peer AS for the source and destination.

ip load-sharing

To enable load balancing for Cisco Express Forwarding (CEF), use the ip load-sharing command in interface configuration mode. To disable load balancing for CEF, use the no form of this command.

ip load-sharing [per-packet] [per-destination]

no ip cef [per-packet]

Syntax Description

per-packet

(Optional) Enables per-packet load balancing on the interface.

per-destination

(Optional) Enables per-destination load balancing on the interface.

ip mroute-cache

To configure IP multicast fast switching or multicast distributed switching (MDS), use the ip mroute-cache command in interface configuration mode. To disable either of these features, use the no form of this command.

ip mroute-cache [distributed]

no ip mroute-cache [distributed]

Syntax Description

distributed

(Optional) Enables MDS on the interface. In the case of RSP, this keyword is optional; if it is omitted, fast switching occurs. On the GSR, this keyword is required because the GSR does only distributed switching.

ip multicast-routing

To enable IP multicast routing, use the ip multicast-routing command in global configuration mode. To disable IP multicast routing, use the no form of this command.

ip multicast-routing [distributed]

no ip multicast-routing

Syntax Description

distributed

(Optional) Enables MDS.

ip route-cache

To control the use of high-speed switching caches for IP routing, use the ip route-cache command in interface configuration mode. To disable any of these switching modes, use the no form of this command.

ip route-cache [cbus]

no ip route-cache [cbus]

ip route-cache same-interface

no ip route-cache same-interface

ip route-cache [flow]

no ip route-cache [flow]

ip route-cache distributed

no ip route-cache distributed

Syntax Description

cbus

(Optional) Enables both autonomous switching and fast switching.

same-interface

Enables fast-switching packets to back out through the interface on which they arrived.

flow

(Optional) Enables the RSP to perform flow switching on the interface.

distributed

Enables VIP distributed switching on the interface. This feature can be enabled on Cisco 7500 series routers with an RSP and Versatile Interface Processor (VIP) controllers. If both ip route-cache flow and ip route-cache distributed are configured, the VIP does distributed flow switching. If only ip route-cache distributed is configured, the VIP does distributed switching.

ip route-cache cef

To enable Cisco Express Forwarding (CEF) operation on an interface after CEF operation has been disabled, use the ip route-cache cef command in interface configuration mode. To disable CEF operation on an interface, use the no form of this command.

ip route-cache cef

no ip route-cache cef

Syntax Description

This command has no arguments or keywords.

ip route-cache flow

To enable NetFlow switching for IP routing, use the ip route-cache flow command in interface configuration mode. To disable NetFlow switching, use the no form of this command.

ip route-cache flow

no ip route-cache flow

Syntax Description

This command has no arguments or keywords.

ip route vrf

To establish static routes for a VRF, use the ip route vrf command in global configuration mode. To disable static routes, use the no form of this command.

ip route vrf vrf-name prefix mask [next-hop-address] [interface {interface-number}] [global] [distance] [permanent] [tag tag]

no ip route vrf vrf-name prefix mask [next-hop-address] [interface {interface-number}] [global] [distance] [permanent] [tag tag]

Syntax Description

vrf-name

Name of the VPN routing/forwarding instance (VRF) for the static route.

prefix

IP route prefix for the destination, in dotted-decimal format.

mask

Prefix mask for the destination, in dotted-decimal format.

next-hop-address

(Optional) IP address of the next hop (the forwarding router that can be used to reach that network).

interface

(Optional) Type of network interface to use: ATM, Ethernet, loopback, POS (packet over SONET), or null.

interface-number

Number identifying the network interface to use.

global

(Optional) Specifies that the given next hop address is in the non-VRF routing table.

distance

(Optional) An administrative distance for this route.

permanent

(Optional) Specifies that this route will not be removed, even if the interface shuts down.

tag tag

(Optional) Label (tag) value that can be used for controlling redistribution of routes through route maps.

ip vrf forwarding

To associate a VRF with an interface or subinterface, use the ip vrf forwarding command in global configuration mode or interface configuration mode. To disassociate a VRF, use the no form of this command.

ip vrf forwarding vrf-name

no ip vrf forwarding vrf-name

Syntax Description

vrf-name

Name assigned to a VRF.

ip vrf

To configure a VRF routing table, use the ip vrf command in global configuration mode or router configuration mode. To remove a VRF routing table, use the no form of this command.

ip vrf vrf-name

no ip vrf vrf-name

Syntax Description

vrf-name

Name assigned to a VRF.

keepalive-lifetime

To specify the duration that a keepalive message from an MPS is considered valid by the MPC, use the keepalive-lifetime command in global configuration mode.

keepalive-lifetime time

Syntax Description

time

Time, in seconds, for the MPS-p2 variable of the MPS. The default value is 35 seconds.

keepalive-time

To specify the keepalive time value for the MPS-p1variable of an MPS, use the keepalive-time command in MPS configuration mode. To revert to the default value, use the no form of this command.

keepalive-time time

no keepalive-time time

Syntax Description

time

Specifies the keepalive time value in seconds.

lane auto-config-atm-address

To specify that the configuration server ATM address is computed by our automatic method, use the lane auto-config-atm-address command in interface configuration mode. To remove the previously assigned ATM address, use the no form of this command.

lane [config] auto-config-atm-address

no lane [config] auto-config-atm-address


Syntax Description

config

(Optional) When the config keyword is used, this command applies only to the LANE configuration server (LECS). This keyword indicates that the LECS should use the auto-computed LECS address.

lane bus-atm-address

To specify an ATM address---and thus override the automatic ATM address assignment---for the broadcast and unknown server on the specified subinterface, use the lane bus-atm-address command in interface configuration mode. To remove the ATM address previously specified for the broadcast and unknown server on the specified subinterface and thus revert to the automatic address assignment, use the no form of this command.

lane bus-atm-address atm-address-template

no lane bus-atm-address [atm-address-template]

Syntax Description

atm-address-template

ATM address or a template in which wildcard characters are replaced by any nibble or group of nibbles of the prefix bytes, the end-system identifier (ESI) bytes, or the selector byte of the automatically assigned ATM address.

lane client

To activate a LANE client on the specified subinterface, use the lane client command in interface configuration mode. To remove a previously activated LANE client on the subinterface, use the no form of this command.

lane client {ethernet | tokenring} [elan-name]

no lane client [{ethernet | tokenring} [elan-name]]


Syntax Description

ethernet

Identifies the emulated LAN attached to this subinterface as an Ethernet ELAN.

tokenring

Identifies the emulated LAN attached to this subinterface as a Token Ring ELAN.

elan-name

(Optional) Name of the emulated LAN. This argument is optional because the client obtains its emulated LAN name from the configuration server. The maximum length of the name is 32 characters.

lane client-atm-address

To specify an ATM address---and thus override the automatic ATM address assignment---for the LANE client on the specified subinterface, use the lane client-atm-address command in interface configuration mode. To remove the ATM address previously specified for the LANE client on the specified subinterface and thus revert to the automatic address assignment, use the no form of this command.

lane client-atm-address atm-address-template

no lane client-atm-address [atm-address-template]


Syntax Description

atm-address-template

ATM address or a template in which wildcard characters are replaced by any nibble or group of nibbles of the prefix bytes, the ESI bytes, or the selector byte of the automatically assigned ATM address.

lane client mpoa client name

To bind a LEC to the named MPC, use the lane client mpoa client name command in interface configuration mode. To unbind the named MPC from a LEC, use the no form of this command.

lane client mpoa client name mpc-name

no lane client mpoa client name mpc-name

Syntax Description

mpc-name

Name of the specific MPC.

lane client mpoa server name

To bind a LEC with the named MPS, use the lane client mpoa server name command in interface configuration mode. To unbind the server, use the no form of this command.

lane client mpoa server name mps-name

no lane client mpoa server name mps-name

Syntax Description

mps-name

Name of the specific MPOA server.

lane config-atm-address

To specify a configuration server's ATM address explicitly, use the lane config-atm-address command in interface configuration mode. To remove an assigned ATM address, use the no form of this command.

lane [config] config-atm-address atm-address-template

no lane [config] config-atm-address atm-address-template

Syntax Description

config

(Optional) When the config keyword is used, this command applies only to the LANE configuration server (LECS). This keyword indicates that the LECS should use the 20-byte address that you explicitly entered.

atm-address-template

ATM address or a template in which wildcard characters are replaced by any nibble or group of nibbles of the prefix bytes, the ESI bytes, or the selector byte of the automatically assigned ATM address.

lane config database

To associate a named configuration table (database) with the configuration server on the selected ATM interface, use the lane config database command in interface configuration mode. To remove the association between a named database and the configuration server on the specified interface, use the no form of this command.

lane config database database-name

no lane config

Syntax Description

database-name

Name of the LANE database.

lane database

To create a named configuration database that can be associated with a configuration server, use the lane database command in global configuration mode. To delete the database, use the no form of this command.

lane database database-name

no lane database database-name

Syntax Description

database-name

Database name (32 characters maximum).

lane fixed-config-atm-address

To specify that the fixed configuration server ATM address assigned by the ATM Forum will be used, use the lane fixed-config-atm-address command in interface configuration mode. To specify that the fixed ATM address will not be used, use the no form of this command.

lane [config] fixed-config-atm-address

no lane [config] fixed-config-atm-address

Syntax Description

config

(Optional) When the config keyword is used, this command applies only to the LANE configuration server (LECS). This keyword indicates that LECS should use the well-known, ATM Forum, LEC address.

lane fssrp

To enable the special LANE features such that LANE components (such as the LANE configuration server, the LANE client, the LANE server, and the BUS) become aware of FSSRP, use the lane fssrp command in interface configuration mode. To disable the LANE FSSRP configuration, use the no form of this command.

lane fssrp

no lane fssrp

Syntax Description

This command has no arguments or keywords.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 13:11:28 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.