Multiple context mode example, Etherchannel example, Where to go next – Cisco ASA 5505 User Manual

Page 276

Advertising
background image

6-34

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 6 Starting Interface Configuration (ASA 5510 and Higher)

Where to Go Next

interface gigabitethernet 0/1.1

vlan 101

no shutdown

Multiple Context Mode Example

The following example configures interface parameters in multiple context mode for the system
configuration, and allocates the gigabitethernet 0/1.1 subinterface to contextA:

interface gigabitethernet 0/1

speed 1000

duplex full

no shutdown

interface gigabitethernet 0/1.1

vlan 101

context contextA

allocate-interface gigabitethernet 0/1.1

EtherChannel Example

The following example configures three interfaces as part of an EtherChannel. It also sets the system
priority to be a higher priority, and GigabitEthernet 0/2 to be a higher priority than the other interfaces
in case more than eight interfaces are assigned to the EtherChannel.

lacp system-priority 1234

interface GigabitEthernet0/0

channel-group 1 mode active

interface GigabitEthernet0/1

channel-group 1 mode active

interface GigabitEthernet0/2

lacp port-priority 1234

channel-group 1 mode passive

interface Port-channel1

lacp max-bundle 4

port-channel min-bundle 2

port-channel load-balance dst-ip

Where to Go Next

For multiple context mode:

a.

Assign interfaces to contexts and automatically assign unique MAC addresses to context
interfaces. See

Chapter 5, “Configuring Multiple Context Mode.”

b.

Complete the interface configuration according to

Chapter 8, “Completing Interface

Configuration (Routed Mode),”

or

Chapter 9, “Completing Interface Configuration

(Transparent Mode).”

For single context mode, complete the interface configuration according to

Chapter 8, “Completing

Interface Configuration (Routed Mode),”

or

Chapter 9, “Completing Interface Configuration

(Transparent Mode).”

Advertising