Step 1 |
configure
RP/0/RP0/CPU0:router# configure
|
Enters XR
configuration mode.
|
Step 2 |
interface
Bundle-Ether
bundle-id
RP/0/RP0/CPU0:router#(config)# interface Bundle-Ether 3
|
Creates and
names a new Ethernet link bundle.
This
interface
Bundle-Ether
command enters you into the interface configuration
submode, where you can enter interface-specific configuration commands. Use the
exit command to
exit from the interface configuration submode back to the normal XR
configuration mode.
|
Step 3 |
ipv4
address
ipv4-address
mask
RP/0/RP0/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/RP0/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/RP0/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.
Note
|
The priority
of the active and standby links is based on the value of the
bundle
port-priority
command.
|
|
Step 7 |
lacp
fast-switchover
RP/0/RP0/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/RP0/CPU0:router(config-if)# exit
|
Exits the
interface configuration submode.
|
Step 9 |
interface
Bundle-Ether
bundle-id.vlan-id
RP/0/RP0/CPU0:router#(config)# interface Bundle-Ether 3.1
|
Creates a new
VLAN, and assigns the VLAN to the Ethernet bundle you created in Step 2.
Replace the
bundle-id
argument with the
bundle-id
you created in Step 2.
Replace the
vlan-id
with a subinterface identifier. Range is from 1 to 4094
inclusive (0 and 4095 are reserved).
Note
|
When you
include the
.vlan-id
argument with the
interface
Bundle-Ether
bundle-id
command, you enter subinterface configuration mode.
|
|
Step 10 |
ipv4
address
ipv4-address
mask
RP/0/RP0/CPU0:router#(config-subif)# ipv4 address 10.1.2.3/24
|
Assigns an IP
address and subnet mask to the subinterface.
|
Step 11 |
no
shutdown
RP/0/RP0/CPU0:router#(config-subif)# 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 12 |
exit
RP/0/RP0/CPU0:router(config-subif)# exit
|
Exits
subinterface configuration mode for the VLAN subinterface.
|
Step 13 |
Repeat Step 9
through Step 12 to add more VLANS to the bundle you created in Step 2.
interface Bundle-Ether bundle-id.vlan-id
ipv4 address ipv4-address mask
RP/0/RP0/CPU0:router(config-subif)# interface Bundle-Ether 3.1
RP/0/RP0/CPU0:router(config-subif)# ipv4 address 20.2.3.4/24
RP/0/RP0/CPU0:router(config-subif)# no shutdown
|
(Optional)
Adds more sub-interfaces to the bundle.
|
Step 14 |
Do one of the
following:
RP/0/RP0/CPU0:router(config-subif)# end
RP/0/RP0/CPU0:router(config-subif)# 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
XR EXEC mode.
-
Entering
no exits the
configuration session and returns the router to XR 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 15 |
exit
RP/0/RP0/CPU0:router(config-subif)# end
|
Exits
interface configuration mode.
|
Step 16 |
exit
RP/0/RP0/CPU0:router(config)# exit
|
Exits XR
configuration mode.
|
Step 17 |
configure
RP/0/RP0/CPU0:router # configure
|
Enters XR
configuration mode.
|
Step 18 |
interface
{TenGigE }
interface-path-id
RP/0/RP0/CPU0:router(config)# interface GigabitEthernet 1/0/0/0
|
Enters
interface configuration mode for the Ethernet interface you want to add to the
Bundle.
Enter the
TenGigE
keyword to specify the interface type. Replace the
interface-path-id argument with the node-id in the
rack/slot/module format.
Note
|
A VLAN
bundle is not active until you add an Ethernet interface on both ends of the
link bundle.
|
|
Step 19 |
bundle
id
bundle-id
[mode {active |
on |
passive }]
RP/0/RP0/CPU0:router(config-if)# bundle-id 3
|
Adds an
Ethernet interface to the bundle you configured in Step 2 through Step 13.
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
interface to the bundle without LACP support, include the optional
mode
on keywords with the command string.
Note
|
If you do
not specify the
mode
keyword, the default mode is
on
( LACP is not run over the port).
|
|
Step 20 |
bundle
port-priority
priority
RP/0/RP0/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 21 |
no
shutdown
RP/0/RP0/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 22 |
—
|
Repeat Step
19 through Step 21 to add more Ethernet interfaces to the VLAN bundle.
|
Step 23 |
Do one of the
following:
RP/0/RP0/CPU0:router(config-subif)# end
RP/0/RP0/CPU0:router(config-subif)# 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
XR EXEC mode.
-
Entering
no exits the
configuration session and returns the router toXR 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 24 |
Perform Step
1 through Step 23 on the remote end of the VLAN bundle connection.
|
Brings up the
other end of the link bundle.
|
Step 25 |
show
bundle
Bundle-Ether bundle-id
RP/0/RP0/CPU0:router# show bundle Bundle-Ether 3
|
(Optional)
Shows information about the specified Ethernet link bundle.
The
show
bundle
Bundle-Ether command displays information about
the specified bundle. If your bundle has been configured properly and is
carrying traffic, the State field in the
show
bundle
Bundle-Ether command output shows the number “4,”
which means the specified VLAN bundle port is “distributing.”
|
Step 26 |
show
vlan
interface
RP/0/RP0/CPU0:router# show vlan interface
|
Displays the
current VLAN interface and status configuration.
|
Step 27 |
show
vlan
trunks [{TenGigE |
Bundle-Ether }
interface-path-id ] [brief |
summary ]
[location
node-id ]
RP/0/RP0/CPU0:router# show vlan trunk summary
|
(Optional)
Displays summary information about each of the VLAN trunk interfaces.
- The
keywords have the following meanings:
- brief —Displays a brief summary.
- summary —Displays a full summary.
- location —Displays information about the VLAN trunk
interface on the given slot.
- interface —Displays information about the specified
interface or subinterface.
Use the
show
vlan
trunks command to verify that all configured VLAN
subinterfaces on an Ethernet bundle are “up.”
|
Step 28 |
lacp
fast-switchover
RP/0/RP0/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.
|