l2ogre-profile

Creates or updates the L2oGRE profile (Layer 2 Services over GRE Tunnel Interfaces) configuration.
Syntax
l2ogre-profile name

After the l2ogre-profile command is entered to enable the L2oGRE configuration mode, the following configuration syntax is available:

[description text|dhcp-relay |icmp-keep-alive-period seconds |icmp-keep-alive-retry number |name name || no dhcp-relay secondary-gateway | primary-gateway ip |secondary-gateway ip |tunnel-mtu auto bytes ]

After the dhcp-relay command is entered, the following configuration syntax is available:

{dhcp-option82|dhcp-server1 server-name|dhcp-server2 server-name}

After the dhcp-option82 command is entered, the following configuration syntax is available:

{subopt1}{ap-essid|ap-info-default|ap-info-location|ap-mac|format}
subopt150
subopt151{essidarea-name area-name}
subopt2{ap-essid|ue-essid|ue-mac|ap-mac}
Command Default

The default L2oGRE Profile is used.

Parameters
name name
Sets the L2oGRE profile name.
description text
Sets the description of the L2oGRE profile for the user.
dhcp-relay
Enables DHCP relay agent.
no dhcp-relay
Disables DHCP relay.
icmp-keep-alive-period seconds
Sets the ICMP (The Internet Control Message Protocol) in seconds. The range is 01 to 32767 seconds.
icmp-keep-alive-retry number
Sets the number of ICMP (The Internet Control Message Protocol) retry. The range is 01 to 255.
primary-gateway ip
Sets the primary server.
secondary-gateway ip
Sets the secondary server.
no secondary-gateway ip
Disables the secondary gateway server.
tunnel-mtu auto
Sets the auto transmission unit size for the particular tunnel to 1500 bytes.
tunnel-mtu bytes
Sets the manual transmission unit size in bytes for the particular tunnel. Byte size is in the range 850–1500.
dhcp-option82
Enables DHCP Option82.
subopt1
Enables Subopt-1.
ap-essid
Uses the Access Point (AP) MAC hex ESSID.
ap-info-default
Uses the default AP information in the following format: IF-Name:VLAN-ID:ESSID:AP-Model:AP-Name:AP-MAC.
ap-info-location
Uses the AP location information in the following format: IF-Name:VLAN-ID:ESSID:AP-Model:AP-Name:AP-MAC:Location.
ap-mac
Uses the AP MACin the following format: AP-MAC-hex.
format
Uses the specified format.
subopt150
Enables Subopt-1.
subopt151
Enables Subopt-1.
subopt2
Enables Subopt-1.
dhcp-server1
Sets DHCP server 1.
dhcp-server2
Sets DHCP server 1.
Modes

Global configuration mode

Usage Guidelines

This command is supported on the SmartZone 300 and vSZ-H controllers only. If a user configures L2oGRE server as IPv6 address, DHCP relay is not supported in release 6.0 but is supported on IPv4 address.

Examples

The following example creates a l2ogre profile named newprofile123 and configures DHCP relay with DHCP Option82 parameters.

device# config
device(config)# l2ogre newprofile123
device(config-l2ogre-profile)# icmp-keep-alive-period 20
Examples

The following example enables Subopt-1.

device# config
device(config)# l2ogre newprofile123
device(config-l2ogre-profile)# dhcp-relay
device(config-l2ogre-profile)# dhcp-option82
device(config-l2ogre-profile-dhcp-option82)# subopt1 ap-essid

The following example disables DHCP Relay when in the Zone configuration mode.

device(config-l2ogre-profile)# no dhcp-relay
Do you want to continue to disable (or input 'no' to cancel)? [yes/no] yes
Successful operation