您的位置:首页 > 其它

思科ASA防火墙8.4版本NAT的配置方法

2012-05-18 10:22 405 查看


mac-address-table aging-time

To configure the aging time for entries in the Layer 2 table, use the mac-address[/b]-table aging[/b]-time[/b] command in global configuration mode. To reset the seconds value to the default setting, use the no[/b] form of this command.
Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
mac-address-table aging-time[/b] seconds
no mac-address-table aging-time[/b] seconds
Catalyst Switches
mac-address-table aging-time[/b] seconds [vlan[/b] vlan-id]
no mac-address-table aging-time [/b]seconds [vlan[/b] vlan-id]

Syntax Description

seconds Aging time; valid values are 0, and from 10 to 1,000,000 seconds.
vlan [/b]vlan-id (Optional) Specifies the VLAN to apply the changed aging time; valid values are from 2 to 1001.

Defaults

300 seconds

Command Modes

Global configuration

Command History

Release Modification
12.0(7)XE This command was introduced on Catalyst 6000 family switches.
12.1(1)E This command was implemented on Catalyst 6000 family switches.
12.2(2)XT This command was introduced on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
12.2(8)T This command was integrated into Cisco IOS Release 12.2(8)T on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
12.2(11)T This command was integrated into Cisco IOS Release 12.2(11)T.

Usage Guidelines

Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
The aging time entry will take the specified value. Valid entries are from 10 to 1,000,000 seconds.
This command cannot be disabled.
Catalyst Switches
If you do not enter a VLAN, the change is applied to all routed-port VLANs.
Enter 0 seconds to disable aging.

Examples

Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
The following example shows the aging time being configured:
Router(config)# mac-address-table aging-time 300
[/b]

Catalyst Switches
The following example shows the aging time being configured:
Router(config)# mac-address-table aging-time 400
[/b]

The following example shows the aging time being disabled:
Router(config)# mac-address-table aging-time 0
[/b]

Related Commands

Command Description
show mac[/b]-address[/b]-table aging[/b]-time[/b] Displays the MAC address aging time.
[/b]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: