Configuration commands
Use these M4500 CLI commands to create a tunnel interface and set its source, destination, and tunnel mode.
interface tunnel
This command uses to enter the Interface Config mode for a tunnel interface. The tunnel id range is from 0 to 7.
To remove the tunnel interface and associated configuration parameters for the specified tunnel interface, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Global Config |
tunnel source
This command specifies the source transport address of the tunnel, either explicitly or by reference to an interface.
To remove the tunnel source, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Tunnel Mode |
| Fields | Definition |
|---|---|
| <slot/port> | The Interface number. |
| <vlan-id> | VLAN ID. The range of VLAN ID is 1 to 4093. |
| <ipv4-address> | A valid IP Address. |
tunnel destination
This command specifies the destination transport address of the tunnel.
To remove the tunnel destination, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Tunnel Mode |
| Fields | Definition |
|---|---|
| <ipv4-address> | A valid IP Address. |
tunnel mode
This command specifies the mode of the tunnel.
To restore the tunnel mode, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Tunnel Mode |
| Fields | Definition |
|---|---|
| [6to4] | With the optional 6to4 argument, the tunnel mode is set to 6to4 automatic. Without the optional 6to4 argument, the tunnel mode is configured. |