Step 1
|
configure
RP/0/RSP0/CPU0:router# configure
|
Enters global configuration mode.
|
Step 2
|
interface
Bundle-Ether
bundle-id
RP/0/RSP0/CPU0:router#(config)# interface Bundle-Ether 3
|
Creates a new Ethernet link bundle with the
specified bundle-id. The range is 1 to 65535.
This
interface
Bundle-Ether command enters you into the interface configuration
submode, where you can enter interface specific configuration commands are
entered. Use the
exit command to
exit from the interface configuration submode back to the normal global
configuration mode.
|
Step 3
|
ipv4
address
ipv4-address mask
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.2.3 255.0.0.0
|
Assigns an IP address and subnet mask to the
virtual interface using the
ipv4 address
configuration subcommand.
|
Step 4
|
bundle
minimum-active bandwidth
kbps
RP/0/RSP0/CPU0:router(config-if)# bundle minimum-active bandwidth 580000
|
(Optional) Sets the minimum amount of
bandwidth required before a user can bring up a bundle.
|
Step 5
|
bundle
minimum-active links
links
RP/0/RP0/CPU0:router(config-if)# bundle minimum-active links 2
|
(Optional) Sets the number of active links
required before you can bring up a specific bundle.
|
Step 6
|
bundle
maximum-active links
links
[hot-standby]
RP/0/RSP0/CPU0:router(config-if)# bundle maximum-active links 1 hot-standby
|
(Optional) Implements 1:1 link protection
for the bundle, which causes the highest-priority link in the bundle to become
active and the second-highest-priority link to become the standby. Also,
specifies that a switchover between active and standby LACP-enabled links is
implemented per a proprietary optimization.
|
Step 7
|
lacp
fast-switchover
RP/0/RSP0/CPU0:router(config-if)# lacp fast-switchover
|
(Optional) If you enabled 1:1 link
protection (you set the value of the
bundle maximum-active
links command to 1) on a bundle with member links running LACP,
you can optionally disable the wait-while timer in the LACP state machine.
Disabling this timer causes a bundle member link in standby mode to expedite
its normal state negotiations, thereby enabling a faster switchover from a
failed active link to the standby link.
|
Step 8
|
exit
RP/0/RSP0/CPU0:router(config-if)# exit
|
Exits interface configuration submode for
the Ethernet link bundle.
|
Step 9
|
interface {GigabitEthernet |
TenGigE} interface-path-id
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 1/0/0/0
|
Enters interface configuration mode for the
specified interface.
Enter the
GigabitEthernet or
TenGigE keyword to specify the interface
type. Replace the
interface-path-id
argument with the node-id in the
rack /slot /module format.
|
Step 10
|
bundle
id
bundle-id [mode {active |
on |
passive}]
RP/0/RSP0/CPU0:router(config-if)# bundle-id 3
|
Adds the link to the specified bundle.
To enable active or passive LACP on the
bundle, include the optional
mode active
or
mode passive
keywords in the command string.
To add the link to the bundle without LACP
support, include the optional
mode on keywords with the command
string.
|
Step 11
|
bundle
port-priority
priority
RP/0/RSP0/CPU0:router(config-if)# bundle port-priority 1
|
(Optional) If you set the
bundle maximum-active links
command to 1, you must also set the priority of the
active link to the highest priority (lowest value) and the standby link to the
second-highest priority (next lowest value). For example, you can set the
priority of the active link to 1 and the standby link to 2.
|
Step 12
|
no
shutdown
RP/0/RSP0/CPU0:router(config-if)# no shutdown
|
(Optional) If a link is in the down state,
bring it up. The
no shutdown command
returns the link to an up or down state depending on the configuration and
state of the link.
|
Step 13
|
exit
RP/0/RSP0/CPU0:router(config-if)# exit
|
Exits interface configuration submode for
the Ethernet interface.
|
Step 14
|
bundle
id
bundle-id
[mode {active
|
passive
|
on}]
no shutdown
exit
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 1/0/2/1
RP/0/RSP0/CPU0:router(config-if)# bundle id 3
RP/0/RSP0/CPU0:router(config-if)# bundle port-priority 2
RP/0/RSP0/CPU0:router(config-if)# no shutdown
RP/0/RSP0/CPU0:router(config-if)# exit
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 1/0/2/3
RP/0/RSP0/CPU0:router(config-if)# bundle id 3
RP/0/RSP0/CPU0:router(config-if)# no shutdown
RP/0/RSP0/CPU0:router(config-if)# exit
|
(Optional) Repeat Step 8 through Step 11 to
add more links to the bundle.
|
Step 15
|
end or
commit
RP/0/RSP0/CPU0:router(config-if)# end
or
RP/0/RSP0/CPU0:router(config-if)# commit
|
Saves configuration changes.
-
When you issue the
end command,
the system prompts you to commit changes:
Uncommitted changes found, commit them before exiting(yes/no/cancel)?
[cancel]:
-
Entering
yes saves configuration changes to the
running configuration file, exits the configuration session, and returns the
router to EXEC mode.
-
Entering
no exits the configuration session and
returns the router to EXEC mode without committing the configuration changes.
-
Entering
cancel leaves the router in the current
configuration session without exiting or committing the configuration changes.
-
Use the
commit
command to save the configuration changes to
the running configuration file and remain within the configuration session.
|
Step 16
|
exit
RP/0/RSP0/CPU0:router(config-if)# exit
|
Exits interface configuration mode.
|
Step 17
|
exit
RP/0/RSP0/CPU0:router(config)# exit
|
Exits global configuration mode.
|
Step 18
|
Perform Step 1 through Step 15 on the remote end of the
connection.
|
Brings up the other end of the link bundle.
|
Step 19
|
show
bundle Bundle-Ether
bundle-id
RP/0/RSP0/CPU0:router# show bundle Bundle-Ether 3
|
(Optional) Shows information about the
specified Ethernet link bundle.
|
Step 20
|
show lacp
bundle Bundle-Ether
bundle-id
RP/0/RSP0/CPU0:router# show lacp bundle
Bundle-Ether 3
|
(Optional) Shows detailed information about
LACP ports and their peers.
|